Follow these steps to add Taboola ads:
You can download ADSforWP Plugin from here.
Step 1: After installing this plugin Ads option will be displayed on the WordPress dashboard ->Ads Option -> create new Ads.
Step 2: In Ad Type, you need to Select the Custom Code Option.
Step 3: In this option, you need to enter Taboola Ads code this code is directly added into the body tag.
This is the example of Code
<amp-embed width="100" height="283" type=taboola layout=responsive 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" data-mode="thumbnails-a" data-placement="Ads Example" data-article="auto"> </amp-embed>
- data-publisher: Make sure to change the data-publisher.
For more details follow this below links
Step 4: Click on “Publish” button your Auto Ads will be displayed on AMP pages.
How to set the position of Ads
- Display Type: In Display type, you’ll see the number of display type which you can use as per your convenience. However, if you want to display the InContent Ads as the name suggests it is used to display the ads in the content of your post by simply putting between the paragraphs.
- Position: In this option, you’ll see two Position’s in which you can display the ad’s by selecting 1.) 50% of the content 2.) The number of paragraph option in which It asks you to enter the paragraph number to display the ads.
- Alignment: This option allows you to select the alignment option of the ad.
- Margin: You can also set the margins of the ads as per your taste.
- Embed Shortcode: Copy the shortcode and place where you want to display the Sticky Ads.
2. Advanced Display Conditions
- In this section, you need to set the condition for the specific post or page or all posts where you want to show MGID Ads.
That’s it for this tutorial!
We hope it helped you. If you have any feedback or questions or do you want us to create compatibility for any other Ad company which isn’t listed in our plugin then you can request us we will surely implement it as soon as possible.
Just contact us here and we are always available for you.