Expose if ad is being served to an AMP page
An ad often wants to do different things depending if it is on an AMP pages vs a non-AMP page. This should be be available to both a regular ad and AMP format ad.
May I ask why? What exactly would it do differently? The plan is to expose the safeframe API to doubleclick FF retrieved AMP creatives. Idea being that creatives do not need to worry about their environment as the APIs are consistent.
The specific use case here was wanting the ability to write some HTML outside the iframe. It's apparently possible to do so when served to non-AMP but when served to AMP page, the HTML (which just fires an image tag) is written inside the iframe.
More over, wouldn't developers want to know things like, can I expand and serve an interstitial even if the creative doesn't use SafeFrame?
This issue hasn't been updated in awhile. @keithwrightbos Do you have any updates?
This issue hasn't been updated in awhile. @keithwrightbos Do you have any updates?
This issue hasn't been updated in awhile. @keithwrightbos Do you have any updates?
This issue hasn't been updated in awhile. @keithwrightbos Do you have any updates?
I feel all the use cases described above is AMP agnostic, what really matters is whether the ad is in friendly or foreign iframe. If ad wants to mutate an AMP page, there will need to be behaviors and APIs defined. Exposing a boolean state won't be helpful.
Closing for inactivity. Feel free to reopen with more info.