amphtml icon indicating copy to clipboard operation
amphtml copied to clipboard

amp-ad DFP rendering issue

Open antipath opened this issue 10 years ago • 9 comments

Hey guys,

ads served via DFP using amp-ad tags seems to create a random issue where the body of the ad would get a margin:8px by default from the browser causing the ad to be mis-aligned with others.

please see screenshot for example. screen shot 2016-05-30 at 11 08 23 am

Since i can't override it with CSS from the parent frame, it might need to be done on your end?

Thanks, Vince

antipath avatar May 30 '16 15:05 antipath

Thanks for the bug report -- quite right, looks like we have a serving path is failing to override the browser-default styling. We'll look into it.

michaelkleber avatar May 31 '16 15:05 michaelkleber

@michaelkleber: Is this an AMP specific issue, or is there another place better suited to track this?

jridgewell avatar May 31 '16 17:05 jridgewell

I think this might be a Glade issue. @nekodo

cramforce avatar May 31 '16 17:05 cramforce

It's a Glade problem, a fix will not involve touching AMP code, and tracking would be Google-internal.

michaelkleber avatar May 31 '16 18:05 michaelkleber

i'm having this problem too.

monteduro avatar Jun 07 '16 12:06 monteduro

Fixed

mlb7687 avatar Jun 27 '16 14:06 mlb7687

Has this been fixed in Glade? Still seeing the same issue in AMP, and just with Glade http://output.jsbin.com/xulivucuso/2

adgad avatar Aug 30 '16 12:08 adgad

adgad@, it looks like this is a bad interaction with the creative wrapper header/footer. We can investigate, but the most immediate fix for you would be to have the creative wrapper result in a full html doc where you specify no margin on the body. I'll re-open while we investigate.

mlb7687 avatar Aug 30 '16 13:08 mlb7687

The fix for this is now live. Closing this issue.

mlb7687 avatar Sep 21 '16 14:09 mlb7687