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
amp-ad width="300" height="250"
type="medianet"
data-tagtype="cm"
data-cid="8CUS8O7EX"
data-crid="112682482">
amp-ad>
B) For Header Bidder
amp-ad width="300" height="250"
type="medianet"
data-tagtype="headerbidder"
data-cid="8CU852274"
data-slot="/45361917/AMP_Header_Bidder"
json='{"targeting":{"mnetAmpTest":"1","pos":"mnetSlot1"}}'>
amp-ad>
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.
If you want to add an AWeber form in AMP then first you need to…
Webpushr is the fastest growing web push notifications platform that marketers love & developers rely…
Follow these steps to add Adobe Analytics in AMP Step 1: Go to WordPress Admin Area -> AMP…
Core Web Vitals are the subset of Web Vitals that apply to all web pages,…
The following reasons can be shown for non-indexing. Server error (5xx) Your server returned a 500-level…
We have added the Google Analytics 4 ( GA 4 ) integration in AMPforWP v1.0.80.…