amphtml icon indicating copy to clipboard operation
amphtml copied to clipboard

How to specify DFP responsive ad sizes

Open bjalford opened this issue 9 years ago • 3 comments

Trying to find documentation or an example of how to implement an amp-ad component so that it bring in the correct sizes for a given viewport size (728x90 on desktop and small sizes when less than 728px wide (I'm testing AMP across mobile and desktop). Any pointers?

bjalford avatar Jan 23 '17 20:01 bjalford

/to @jasti

jridgewell avatar Jan 23 '17 22:01 jridgewell

@lannka can you add media queries to only trigger a certain amp-ad wxh depending on the device?

jasti avatar Jan 23 '17 23:01 jasti

Thanks. That worked!

bjalford avatar Jan 26 '17 12:01 bjalford