Skip to content

Commit a1b6342

Browse files
authored
Merge pull request #2 from DimaIntentIQ/AGT-466-module-reporting-placement-id-unit-code
IntentIq ID & Analytics Modules: placementId parameter documentation
1 parent 12e6e0e commit a1b6342

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

dev-docs/modules/userid-submodules/intentiq.md

+4-2
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,7 @@ Please find below list of parameters that could be used in configuring Intent IQ
4848
| params.domainName | Optional | String | Specifies the domain of the page in which the IntentIQ object is currently running and serving the impression. This domain will be used later in the revenue reporting breakdown by domain. For example, cnn.com. It identifies the primary source of requests to the IntentIQ servers, even within nested web pages. | `"currentDomain.com"` |
4949
| params.gamObjectReference | Optional | Object | This is a reference to the Google Ad Manager (GAM) object, which will be used to set targeting. If this parameter is not provided, the group reporting will not be configured. | `googletag` |
5050
| params.gamParameterName | Optional | String | The name of the targeting parameter that will be used to pass the group. If not specified, the default value is `intent_iq_group`. | `"intent_iq_group"` |
51+
| params.adUnitConfig | Optional | Number | Determines how the `placementId` parameter is extracted in the report (default is 1). Possible values: 1 – adUnitCode first, 2 – placementId first, 3 – only adUnitCode, 4 – only placementId | `1` |
5152

5253
### Configuration example
5354

@@ -60,11 +61,12 @@ pbjs.setConfig({
6061
partner: 123456, // valid partner id
6162
timeoutInMillis: 500,
6263
browserBlackList: "chrome",
63-
callback: (data, group) => window.pbjs.requestBids(),
64+
callback: (data, group) => {...}, // your logic here
6465
manualWinReportEnabled: true,
6566
domainName: "currentDomain.com",
6667
gamObjectReference: googletag,
67-
gamParameterName: "intent_iq_group"
68+
gamParameterName: "intent_iq_group",
69+
adUnitConfig: 1 // Extracting placementId strategy (adUnitCode or placementId order of priorities)
6870
},
6971
storage: {
7072
type: "html5",

0 commit comments

Comments
 (0)