Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Qortex RealTime Data Module Documentation #4892

Merged
merged 7 commits into from
Oct 3, 2023
Merged
Changes from 4 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
87 changes: 87 additions & 0 deletions dev-docs/modules/qortexRtdProvider.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,87 @@
---
layout: page_v2
title: Qortex Realtime Data Module
display_name: Qortex RTD Module
description: Appends contextual segments to the bidding object based on the content of a page
page_type: module
module_type: rtd
module_code : qortexRtdProvider
enable_download : true
vendor_specific: true
sidebarType : 1
---

# Qortex Real-time Data Submodule

{:.no_toc}

* TOC
{:toc}

## Overview

```

Check failure on line 23 in dev-docs/modules/qortexRtdProvider.md

View workflow job for this annotation

GitHub Actions / run markdownlint

Fenced code blocks should have a language specified

dev-docs/modules/qortexRtdProvider.md:23 MD040/fenced-code-language Fenced code blocks should have a language specified [Context: "```"] https://github.com/DavidAnson/markdownlint/blob/v0.29.0/doc/md040.md
Module Name: Qortex RTD Provider
Module Type: RTD Provider
Maintainer: mannese@qortex.ai
```
shilohannese marked this conversation as resolved.
Show resolved Hide resolved

## Description

The Qortex RTD module appends contextual segments to the bidding object based on the content of a page using the Qortex API.

Upon load, the Qortex context API will analyze the bidder page (video, text, image, etc.) and will return a [Content object](https://www.iab.com/wp-content/uploads/2016/03/OpenRTB-API-Specification-Version-2-5-FINAL.pdf#page=26). The module will then merge that object into the appropriate bidders' `ortb2.site.content`, which can be used by prebid adapters that use `site.content` data.


Check failure on line 35 in dev-docs/modules/qortexRtdProvider.md

View workflow job for this annotation

GitHub Actions / run markdownlint

Multiple consecutive blank lines

dev-docs/modules/qortexRtdProvider.md:35 MD012/no-multiple-blanks Multiple consecutive blank lines [Expected: 1; Actual: 2] https://github.com/DavidAnson/markdownlint/blob/v0.29.0/doc/md012.md
## Build
```

Check failure on line 37 in dev-docs/modules/qortexRtdProvider.md

View workflow job for this annotation

GitHub Actions / run markdownlint

Fenced code blocks should be surrounded by blank lines

dev-docs/modules/qortexRtdProvider.md:37 MD031/blanks-around-fences Fenced code blocks should be surrounded by blank lines [Context: "```"] https://github.com/DavidAnson/markdownlint/blob/v0.29.0/doc/md031.md

Check failure on line 37 in dev-docs/modules/qortexRtdProvider.md

View workflow job for this annotation

GitHub Actions / run markdownlint

Fenced code blocks should have a language specified

dev-docs/modules/qortexRtdProvider.md:37 MD040/fenced-code-language Fenced code blocks should have a language specified [Context: "```"] https://github.com/DavidAnson/markdownlint/blob/v0.29.0/doc/md040.md
gulp build --modules="rtdModule,qortexRtdProvider,qortexBidAdapter,..."
```

> `rtdModule` is a required module to use Qortex RTD module.

## Configuration

Please refer to [Prebid Documentation](https://docs.prebid.org/dev-docs/publisher-api-reference/setConfig.html#setConfig-realTimeData) on RTD module configuration for details on required and optional parameters of `realTimeData`

When configuring Qortex as a data provider, refer to the template below to add the necessary information to ensure the proper connection is made.

### RTD Module Setup

```javascript
pbjs.setConfig({
realTimeData: {
auctionDelay: 1000,
dataProviders: [{
name: 'qortex',
waitForIt: true,
params: {
groupId: 'ABC123', //required
bidders: ['qortex', 'adapter2'], //optional (see below)
tagConfig: { // optional, please reach out to your account manager for configuration reccommendation
videoContainer: 'string',
htmlContainer: 'string',
attachToTop: 'string',
esm6Mod: 'string',
continuousLoad: 'string'
}
}
}]
}
});
```

### Paramter Details
shilohannese marked this conversation as resolved.
Show resolved Hide resolved

#### `groupId` - Required
- The Qortex groupId linked to the publisher, this is required to make a request using this adapter

Check failure on line 77 in dev-docs/modules/qortexRtdProvider.md

View workflow job for this annotation

GitHub Actions / run markdownlint

Unordered list style

dev-docs/modules/qortexRtdProvider.md:77:1 MD004/ul-style Unordered list style [Expected: asterisk; Actual: dash] https://github.com/DavidAnson/markdownlint/blob/v0.29.0/doc/md004.md

Check failure on line 77 in dev-docs/modules/qortexRtdProvider.md

View workflow job for this annotation

GitHub Actions / run markdownlint

Lists should be surrounded by blank lines

dev-docs/modules/qortexRtdProvider.md:77 MD032/blanks-around-lists Lists should be surrounded by blank lines [Context: "- The Qortex groupId linked to..."] https://github.com/DavidAnson/markdownlint/blob/v0.29.0/doc/md032.md

#### `bidders` - optional
- If this parameter is included, it must be an array of the strings that match the bidder code of the prebid adapters you would like this module to impact. `ortb2.site.content` will be updated *only* for adapters in this array

Check failure on line 80 in dev-docs/modules/qortexRtdProvider.md

View workflow job for this annotation

GitHub Actions / run markdownlint

Unordered list style

dev-docs/modules/qortexRtdProvider.md:80:1 MD004/ul-style Unordered list style [Expected: asterisk; Actual: dash] https://github.com/DavidAnson/markdownlint/blob/v0.29.0/doc/md004.md

Check failure on line 80 in dev-docs/modules/qortexRtdProvider.md

View workflow job for this annotation

GitHub Actions / run markdownlint

Lists should be surrounded by blank lines

dev-docs/modules/qortexRtdProvider.md:80 MD032/blanks-around-lists Lists should be surrounded by blank lines [Context: "- If this parameter is include..."] https://github.com/DavidAnson/markdownlint/blob/v0.29.0/doc/md032.md

- If this parameter is omitted, the RTD module will default to updating `ortb2.site.content` on *all* bid adapters being used on the page

Check failure on line 82 in dev-docs/modules/qortexRtdProvider.md

View workflow job for this annotation

GitHub Actions / run markdownlint

Unordered list style

dev-docs/modules/qortexRtdProvider.md:82:1 MD004/ul-style Unordered list style [Expected: asterisk; Actual: dash] https://github.com/DavidAnson/markdownlint/blob/v0.29.0/doc/md004.md

#### `tagConfig` - optional
- This optional parameter is an object containing the config settings that could be usedto initialize the Qortex integration on your page. A preconfigured object for this step will be provided to you by the Qortex team.

Check failure on line 85 in dev-docs/modules/qortexRtdProvider.md

View workflow job for this annotation

GitHub Actions / run markdownlint

Unordered list style

dev-docs/modules/qortexRtdProvider.md:85:1 MD004/ul-style Unordered list style [Expected: asterisk; Actual: dash] https://github.com/DavidAnson/markdownlint/blob/v0.29.0/doc/md004.md

- If this parameter is not present, the Qortex integration can still be configured and loaded manually on your page outside of prebid. The RTD module will continue to initialize and operate as normal.