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.