Follow these steps to add Media.net ads:
You can download Advanced AMP Ads Plugin from here.
Step 1: After installing this plugin Ads option will be displayed on the WordPress dashboard ->AMP option panel -> Advanced AMP ADS.
Step 2: Here We have 4 Incontent Ad which you want just Enable Incontent Ad option.
Step 3: In Advertisement Type, you need to Select the Custom Advertisement Option.
Step 4: In this option, you need to enter Media.net Ads code this code is directly added into the body tag.
Step 5: In this option “Custom Ads incontent Ads Position” Select after how many paragraphs your ads should show.
This is the example of Code
Media.net adapter supports the integration of both, its Contextual Monetization solution and the Header Bidding solution. The example listed below states the configuration and the implementation-related details.
A) For Contextual Monetization
B) For Header Bidder
- Advertisement Code: In this field, you can add your custom Advertisement code for any third party companies who provide AMP compatible code or you can also add images.
- Click on the “Save changes” button.
Note: Replace the parameters with your preferred parameters. Such as width, height, data-cid, data-slot, json.
That’s it for this tutorial!
We hope it helped you. If you have any feedback or questions, then please share them in the comments section below.
How to use media.net display ads
They only shows Contextual Ads
Hi Rabbiul Ahmed,
Will you please provide us the URL of your website. So that we will check and will get back to you.
your idea is working and conceptual base for more information click here