Skip to content

Commit

Permalink
✨ Add Snigel to RTC callout vendors (#36334)
Browse files Browse the repository at this point in the history
* [SN-3414]: Add Snigel to RTC callout vendors

* [SN-3414]: Fix lint's prettier/prettier error
  • Loading branch information
snigel-nelson committed Oct 18, 2021
1 parent d6b60fd commit ae430ae
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 0 deletions.
1 change: 1 addition & 0 deletions extensions/amp-a4a/rtc-documentation.md
Expand Up @@ -149,6 +149,7 @@ The `errorReportingUrl` property is optional. The only available macros are ERRO
- Purch
- Rubicon
- Salesforce
- [Snigel](https://www.snigel.com)
- T13
- Tail
- The Ozone Project
Expand Down
1 change: 1 addition & 0 deletions extensions/amp-a4a/rtc-publisher-implementation-guide.md
Expand Up @@ -43,6 +43,7 @@ To use RTC, you must meet the following requirements:
- Purch
- Rubicon
- Salesforce
- [Snigel](https://www.snigel.com)
- T13
- Tail
- The Ozone Project
Expand Down
5 changes: 5 additions & 0 deletions src/service/real-time-config/callout-vendors.js
Expand Up @@ -239,6 +239,11 @@ const RTC_VENDORS = jsonConfiguration({
macros: ['ADSLOT_ID', 'CONSENT_STRING'],
disableKeyAppend: true,
},
snigel: {
url: 'https://adserv.snigelweb.com/bp/v1/openrtb2/amp?tag_id=PLACEMENT_ID&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)&targeting=TGT&curl=CANONICAL_URL&timeout=TIMEOUT&adcid=ADCID&purl=HREF&consent_string=CONSENT_STRING&account=ACCOUNT_ID&gdpr_applies=CONSENT_METADATA(gdprApplies)&addtl_consent=CONSENT_METADATA(additionalConsent)&consent_type=CONSENT_METADATA(consentStringType)',
macros: ['PLACEMENT_ID', 'CONSENT_STRING', 'ACCOUNT_ID'],
disableKeyAppend: true,
},
});

// DO NOT MODIFY: Setup for tests
Expand Down

0 comments on commit ae430ae

Please sign in to comment.