Comments 1San started the conversationNovember 20, 2018 at 8:23amHi,How to add AMP ads (adsense) for other formats ?as per guide, below code for normal ads, say for 336X280<amp-ad width="336" height="280"type="adsense"data-ad-client="xxxxxxxxxxx"data-ad-slot="xxxxxxxxxxxx"></amp-ad>Pl Share AMP Ads format for below adsense ad types :1. Link Ads2. Infeed Ads3. InArticle Ads4. Responsive.What to change in the given amp ad code for above formats.Thanks 501Penci repliedNovember 20, 2018 at 3:24pmHi,Please checkthis guide to know more information AMP Adsand please check example : https://ampbyexample.com/components/amp-ad/Best Regards,PenciDesign 1San repliedDecember 2, 2018 at 7:44amHi,i checked all but unable to find the amp code for link ads and infeed/inarticle ad types.please suggest, how can i place these ad types. Thanks 501Penci repliedDecember 2, 2018 at 4:40pmHi,1 .AMP ad code ( Link Ads, Infeed Ads ) <amp-ad width="336" height="280"type="adsense"data-ad-client="xxxxxxxxxxx"data-ad-slot="xxxxxxxxxxxx"> </amp-ad> 2 .AMP ad with variable width and fixed height this example shows you how to create an AMP ad unit with a variable width and fixed height (100px). We recommend you leave the width as responsive so it fits naturally with the rest of your page layout. <amp-ad layout="fixed-height" height="100" type="adsense" data-ad-client="xxxx" data-ad-slot="xxxx"></amp-ad> 3. AMP ad with fixed width and height This example shows you how to create an AMP ad unit with a fixed width (300px) and a fixed height (250px). <amp-ad layout="responsive" width="300" height="250" type="adsense" data-ad-client="xxxx" data-ad-slot="xxxx"></amp-ad>Best Regards,PenciDesign Sign in to reply ...
Hi,
How to add AMP ads (adsense) for other formats ?
as per guide, below code for normal ads, say for 336X280
<amp-ad width="336" height="280"
type="adsense"
data-ad-client="xxxxxxxxxxx"
data-ad-slot="xxxxxxxxxxxx"></amp-ad>
Pl Share AMP Ads format for below adsense ad types :
1. Link Ads
2. Infeed Ads
3. InArticle Ads
4. Responsive.
What to change in the given amp ad code for above formats.
Thanks
Hi,
Please checkthis guide to know more information AMP Ads
and please check example : https://ampbyexample.com/components/amp-ad/
Best Regards,
PenciDesign
Hi,
i checked all but unable to find the amp code for link ads and infeed/inarticle ad types.
please suggest, how can i place these ad types.
Thanks
Hi,
1 .AMP ad code ( Link Ads, Infeed Ads )
2 .AMP ad with variable width and fixed height
this example shows you how to create an AMP ad unit with a variable width and fixed height (100px). We recommend you leave the width as responsive so it fits naturally with the rest of your page layout.
3. AMP ad with fixed width and height
This example shows you how to create an AMP ad unit with a fixed width (300px) and a fixed height (250px).
Best Regards,
PenciDesign