From d6ecf7c550860635506eb6d5d34ea9f0c7b91180 Mon Sep 17 00:00:00 2001 From: greg-silvermine <44864298+greg-silvermine@users.noreply.github.com> Date: Thu, 23 Jan 2020 16:16:43 +0100 Subject: [PATCH] The Ozone Project callout endpoint (#26039) --- extensions/amp-a4a/0.1/callout-vendors.js | 14 ++++++++++++++ extensions/amp-a4a/rtc-documentation.md | 1 + .../amp-a4a/rtc-publisher-implementation-guide.md | 1 + 3 files changed, 16 insertions(+) diff --git a/extensions/amp-a4a/0.1/callout-vendors.js b/extensions/amp-a4a/0.1/callout-vendors.js index 481039c0c508..5c8d37de3db2 100644 --- a/extensions/amp-a4a/0.1/callout-vendors.js +++ b/extensions/amp-a4a/0.1/callout-vendors.js @@ -50,6 +50,20 @@ const RTC_VENDORS = jsonConfiguration({ //////////////////////////////////////////////////////////////////// // Add vendors here + ozone: { + url: + 'https://elb.the-ozone-project.com/openrtb2/amp?tag_id=PLACEMENT_ID&gdpr_consent=CONSENT_STRING&ad_unit_code=AD_UNIT_CODE&site_id=SITE_ID&publisher_id=PUBLISHER_ID&custom_data=TGT&pubcid=PUBCID&adcid=ADCID&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)&curl=CANONICAL_URL&timeout=TIMEOUT&purl=HREF', + macros: [ + 'PLACEMENT_ID', + 'SITE_ID', + 'PUBLISHER_ID', + 'AD_UNIT_CODE', + 'PUBCID', + ], + errorReportingUrl: + 'https://elb.the-ozone-project.com/amp_error?err=ERROR_TYPE&url=HREF', + disableKeyAppend: true, + }, medianet: { url: 'https://amprtc.media.net/rtb/getrtc?cid=CID&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)&tgt=TGT&curl=CANONICAL_URL&to=TIMEOUT&purl=HREF', diff --git a/extensions/amp-a4a/rtc-documentation.md b/extensions/amp-a4a/rtc-documentation.md index 24cce5f60f60..69230ac7c1ac 100644 --- a/extensions/amp-a4a/rtc-documentation.md +++ b/extensions/amp-a4a/rtc-documentation.md @@ -131,6 +131,7 @@ The `errorReportingUrl` property is optional. The only available macros are ERRO - IndexExchange - Lotame - Media.net +- The Ozone Project - PubMatic OpenWrap - Purch - Rubicon diff --git a/extensions/amp-a4a/rtc-publisher-implementation-guide.md b/extensions/amp-a4a/rtc-publisher-implementation-guide.md index f47858171ad2..2a53cb0ba643 100644 --- a/extensions/amp-a4a/rtc-publisher-implementation-guide.md +++ b/extensions/amp-a4a/rtc-publisher-implementation-guide.md @@ -27,6 +27,7 @@ To use RTC, you must meet the following requirements: - IndexExchange - Lotame - Media.net +- The Ozone Project - PubMatic OpenWrap - Purch - Rubicon