Skip to content

Commit

Permalink
Criteo: Add uid and pid macro to amp endpoint (ampproject#39723)
Browse files Browse the repository at this point in the history
  • Loading branch information
vraybaud authored and eszponder committed Apr 22, 2024
1 parent 5e4083b commit ec1cdb0
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/service/real-time-config/callout-vendors.js
Original file line number Diff line number Diff line change
Expand Up @@ -69,14 +69,16 @@ const RTC_VENDORS = jsonConfiguration({
disableKeyAppend: true,
},
criteo: {
url: 'https://bidder.criteo.com/amp/rtc?zid=ZONE_ID&nid=NETWORK_ID&psubid=PUBLISHER_SUB_ID&lir=LINE_ITEM_RANGES&w=ATTR(width)&h=ATTR(height)&ow=ATTR(data-override-width)&oh=ATTR(data-override-height)&ms=ATTR(data-multi-size)&slot=ATTR(data-slot)&timeout=TIMEOUT&curl=CANONICAL_URL&href=HREF&cst=CONSENT_STATE&cst_str=CONSENT_STRING&cst_type=CONSENT_METADATA(consentStringType)&cst_gdpr_applies=CONSENT_METADATA(gdprApplies)',
url: 'https://bidder.criteo.com/amp/rtc?zid=ZONE_ID&nid=NETWORK_ID&uid=ADUNIT_ID&pid=PUBLISHER_ID&psubid=PUBLISHER_SUB_ID&lir=LINE_ITEM_RANGES&w=ATTR(width)&h=ATTR(height)&ow=ATTR(data-override-width)&oh=ATTR(data-override-height)&ms=ATTR(data-multi-size)&slot=ATTR(data-slot)&timeout=TIMEOUT&curl=CANONICAL_URL&href=HREF&cst=CONSENT_STATE&cst_str=CONSENT_STRING&cst_type=CONSENT_METADATA(consentStringType)&cst_gdpr_applies=CONSENT_METADATA(gdprApplies)',
macros: [
'ZONE_ID',
'NETWORK_ID',
'PUBLISHER_SUB_ID',
'LINE_ITEM_RANGES',
'CONSENT_STATE',
'CONSENT_STRING',
'ADUNIT_ID',
'PUBLISHER_ID',
],
disableKeyAppend: true,
},
Expand Down

0 comments on commit ec1cdb0

Please sign in to comment.