Follow these steps to add Taboola ads:
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 Taboola 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
<amp-embed width="100" height="283"
heights="(min-width:1907px) 39%, (min-width:1200px) 46%, (min-width:780px) 64%, (min-width:480px) 98%, (min-width:460px) 167%, 196%" data-publisher="amp-demo"
For more details follow this below links
- 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-publisher, data-mode, data-placement with the one from your Taboola ad code.
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.