1. Home
  2. How To
  3. How to add ads in iframe?

How to add ads in iframe?

Here are the steps to add ads in Iframe :

Step 1: You can download ADSforWP Plugin it’s a free plugin and you can download from WordPress.

Step 2: After installing this plugin, Ads option will be displayed on the WordPress dashboard ->Ads Option -> create new Ads -> Select the Custom code Option -> Custom code -> Paste the following format code

This is example code of the ads iframe:

<iframe src="https://i2.wp.com/www.internetmarketinginc.com/assets/Display_Advertising1.gif?fit=300%2C300&ssl=1" width="300" height="300"></iframe>


Step 3: Click on “Publish” button your Ads will be displayed on AMP pages.

The output of iframe Ad in Non-AMP


The output of iframe Ad in AMP

That’s it for this tutorial! We hope we’ve clear your doubts in case If you have any feedback or questions, then please share them in the comments section below.

Or you Just contact us here and we are always available for you.

Updated on June 14, 2019

Was this article helpful?

Related Articles

Need Support?
Can’t find the answer you’re looking for? Don’t worry we’re here to help!
Contact Support

Leave a Comment