Quantcast
Channel: WordPress.org Forums » All Topics
Viewing all articles
Browse latest Browse all 59525

Incorrect screen loading of amp page

$
0
0

Replies: 0

Hi,

This is the amp ad code I am using –

<amp-ad width=”100vw” height=”320″
type=”adsense”
data-ad-client=”ca-pub-3613xxxxxxxxx”
data-ad-slot=”4xxxxxx”
data-auto-format=”rspv”
data-full-width=””>
<div overflow=””></div>
</amp-ad>

error image

The problem (100vw) is when [width = 100% of viewport] then that incorrect screen is loading in amp pages don’t know why? I can edit that width, but it’ll become a ‘fixed ad,’ which is not good. Even after fixing the width, the page isn’t showing any ads.

Is it possible to fix the width, and the ad will remain responsive? OR any other way that it will not exceed the width. I’ve tried reading the related documents but didn’t get the solution. Help, please.


Viewing all articles
Browse latest Browse all 59525

Trending Articles