Setting up Prebid AMP in HB Manager
Configure AMP placements, Prebid Server requests, consent, and cookie syncing in HB Manager.
Configure Prebid AMP placements in HB Manager.
Use this guide when your site already serves AMP pages.
For general AMP guidance, see the official AMP documentation.
1. Enable AMP for placements
Enable AMP from Prebid parameters. Configure the setting at these levels:
Global — HB Management → Prebid Parameters.
Placement type — HB Management → Placement Types or the account's Placement Types.
Account, site, or placement — Use the relevant account page.
Prebid configuration — Use the site's configuration on the account page.
This example enables AMP for a placement type on the account page.


Use the override switch to change a setting at the current level.
Enabled placements display an AMP icon. Select it to find the tag ID for the <amp-ad> tag.

2. Find your Prebid Server URL
Go to Global Settings → Global Programmatic Tag Data.
Copy the Prebid Server URL.

Contact Relevant Yield Support if the field is empty. Do not use the Analytics URL.
3. Construct <amp-ad> tags
Use the placement's tag ID and your Prebid Server URL:
Construct the rtc-config URL as follows:
[server]/openrtb2/amp?tag_id=[tag]&gdpr_consent=CONSENT_STRING
[server]— The Prebid Server URL.[tag]— The placement's tag ID.
Each request must have a unique URL when the same tag_id appears multiple times. Otherwise, browsers can queue requests and reduce fill rates.
Add a unique dummy parameter:
4. Enable cookie syncing
Enable cookie syncing for active bidders.
Each site with an AMP-enabled placement has a cookie-sync HTML file. It updates with the site's enabled bidders.
Embed the file with an <amp-iframe>:
Replace src with the site's cookie-sync URL.
Start with the site's regular Prebid configuration URL. Replace .js with _cookiesync.html.

Open Prebid configurations for the site. Copy the URL at the top of Prebid tag.
Example
https://example-cdn.relevant-digital.com/static/tags/abcd.js
becomes
https://example-cdn.relevant-digital.com/static/tags/abcd_cookiesync.html
Last updated
Was this helpful?