amphtml icon indicating copy to clipboard operation
amphtml copied to clipboard

Intent to Implement Prebid as <amp-embed> type

Open protonate opened this issue 9 years ago • 6 comments

We would like to integrate Prebid header bidding wrapper with AMP as an <amp-embed> type.

Prebid.js is a client side library implemented on publisher pages that wraps multiple advertising demand partners to request RTB bids, run an auction, set targeting and call the ad server.

More Prebid.js info is here: prebid.org

protonate avatar Mar 08 '17 21:03 protonate

Prebid already has AMP support http://prebid.org/dev-docs/how-prebid-on-amp-works.html

jpettitt avatar Mar 09 '17 02:03 jpettitt

@protonate, curious to hear how this is different than what @jpettitt points to. Thanks.

jasti avatar Mar 10 '17 17:03 jasti

Current support is dependent on a custom remote.html file on publisher domain, so the intention here is to provide an alternative.

protonate avatar Mar 10 '17 17:03 protonate

Out of curiosity, @protonate how would you do that within the no 3p javascript rules on the main page that AMP enforces?

jpettitt avatar Mar 11 '17 01:03 jpettitt

@jpettitt our thinking there was to communicate across iframes using postMessage so the Prebid <amp-embed-prebid> would contain the Prebid.js library and would hold the Prebid demand, and the <amp-ad-prebid> slots would have their targeting (e.g. Prebid auction winner keys) set via postMessage from the <amp-embed-prebid>.

Basically, the goal is to have the <amp-embed> serve the same purpose as remote.html.

However it seems that remote.html will be reliable enough for the short term, and we might prefer to just focus on the Prebid A4A integration in this case. If so then this issue could be closed.

protonate avatar Mar 14 '17 23:03 protonate

It is up to the ad networks. DoubleClick is planning to retire support for non-A4A remote.html integration. A new design is under consideration but won't be ready for at least another quarter. Agree that it's prob best to focus on the A4A integration.

jasti avatar Mar 15 '17 00:03 jasti