Your Ad Code should now be generated

Within the Ad Code you just generated you will need to copy your "Data-Ad-Client" ID also known as your Publisher ID and also copy your "Data-Ad-Slot" ID also known as your Ad Units ID

Click Close once you have the code and necessary information copied and pasted somewhere so you have it for when you need it later.

The Ad Units should now be reflected on the Ad Units dashboard.

Creating an Amp Ad Code

Important to note When Creating an Amp Ad Code. There are two types of code Above the Fold and Below the Fold

ABOVE THE FOLD AMP AD CODE:<amp-adlayout="fixed-height"height=100type="adsense"data-ad-client="ca-pub-5935955049057572"data-ad-slot="9343466507"></amp-ad>

BELOW THE FOLD AMP AD CODE:<amp-adlayout="responsive"width=300height=250type="adsense"data-ad-client="ca-pub-5935955049057572"data-ad-slot="5885892631"></amp-ad>



Join the Discussion
Write something…
Recent messages
kelechi87 Premium
also can you give your ad any name? again, what happens to custom channel,text and style, if no ad available?
Reply
gifted76 Premium
In AdSense you have to choose a backup ad which will show if no ad is available. This is where I place my Amazon Affiliate Ad code. This way when Ad Sense isn't showing I can always count on Amazon.
Reply
kelechi87 Premium
thanks for this tutorial, please where do one see the data ad slot?
Reply
PMbaluka Premium
I've gone thru your training and I must admit that I've learned a lot from this material you have presented. I know I would still need this information along the way so I've just bookmarked it. Well done!
Reply
gifted76 Premium
thank you I appreciate that
Reply
Top