How to Add WordPress AMP Inline Ads? After replacing mobile devices and computers in the internet space, the speed problems of the sites have disappeared.
When you search for WordPress amp insert in-post ads on the internet, you will come across many articles, but none of them worked for me. At least I couldn’t find or do it. I personally tried those methods many times but it didn’t work amp in-text ads never appear. In the Adsense panel, it says It may take up to an hour for ads to appear on your page and I waited for days.
How to Add WordPress AMP Inline Ads?
What needs to be done to make the amp automatic advertising feature offered by Adsense work in the wordpress version is quite simple.
I share this process, which I personally tried and got successful results, with you, our valuable readers.
The add-ons we need:
- AMP for WP plugin
- (Ad Inserter) ad placement plugin
We will do this method on the AMP – Accelerated Mobile Pages plugin for WordPress. I use this plugin myself and I am very satisfied with it.
First, download and install the AMP for WP plugin here or download and install it by searching for a new plugin in your WordPress admin panel.
After installing the plugin, open the AMP plugin at the bottom left, click General. Then click on Advance Settings and you will see a peer as in the picture below.
When you see the top screen, go to your Google Adsense account without touching anything. Advertisements>By ad unit>Display ads You can see the steps you need to open in order in the picture below.
Then give your ad a name and click the create button. In the picture below I have again marked what needs to be done in order.
It will give us two codes as in the picture above. We paste the top code into the Enter HTML in Head box of the AMP for WP plugin and save it by clicking the Save Changes button. In the top image I shared first, there is the code I added myself.
Now we are done with the AMP for WP plugin, now we download and install the Ad Inserter plugin by saying add new in the plugins section. After opening the plugin, you will encounter the screen below, I made the adjustments and you can do the same.
As you can see at the top, there are two codes, the top code is the normal in-site code without AMP. The second one is the second code we created in Adsense for AMP that I marked. So we paste the second code we created for AMP into the code field of the Ad Inserter plugin and save it by clicking the Save Settings button on the right.
This is how I solved my amp in-text ad insertion problem, I hope I was able to explain it. If you have any questions about the subject, you can send them to me in the comments without hesitation. I wish you plenty of earnings.