Is it possible to repeat an ad after n paragraph on a post in newspaper theme?
Also, for the mobile theme, where can I place this line
<script async custom-element="amp-ad" src="https://cdn.ampproject.org/v0/amp-ad-0.1.js"></script>
to insert code in <head> </head> tags for Mobile+AMP
I have tried by pasting it on analytics/js code but I am not sure if it is working for amp, because the ads are not showing on mobile and amp pages.
-
This topic was modified 6 years by
inqusitive-stha.
Hello !
The right place is indeed the analytics one: https://www.screencast.com/t/XdpkZIl9U7C Please make sure that you copied the correct code and also please make sure to test this from another device / browser.
Also make sure to clear the cache.
Thank you !
I have already added that code on the header and added ads script using ad inserter plugin.
But, still, ads are not showing on the mobile view. Could you verify if that heading is loading on https://www.noobietech.com for mobile theme?
@vlad I didn’t get the answer to another question.
1) Is it possible to repeat an ad after n paragraph on a post on a newspaper theme?
2) Also, on the mobile theme AMP settings, what are the three options for, mainly mobile and AMP vs AMP only whats the difference.
3) I noticed that the ads are loading on the amp page, however, when I go to noobietech homepage i.e homepage and open any posts from there why it is not loading amp pages by default?
Hello !
1. You can set ads to be after n paragraph as you can see here: https://www.youtube.com/watch?v=biTpVVlr8j8&t=1s
2. Please follow our guide to understand the difference: https://forum.tagdiv.com/tagdiv-amp-plugin-tutorial/
3. Because AMP posts are loaded by google search not by your website.
Thank you !
Hi Vlad,
I got the answer of 2 and 3, however, in case of 1 I don’t get the options of Edit Template as shown in the video. Instead, I got the Edit post link, and when I click on that I got redirected to the edit post page, with the Gutenberg editor, not the td composer.
Instead of that, it could have better and easier if we had a place where we could mention that this ad should repeat after n paragraphs.
-
This reply was modified 6 years by
inqusitive-stha.
Hi inqusitive-stha, the inline ads that Vlad suggested are on single post templates from tagDiv Cloud Library and can be edited with tagDiv Composer.
standard post templates -> https://i.imgur.com/1rfZZ6z.png
cloud templates -> https://i.imgur.com/bABB0WZ.png
Also for the moment only using cloud templates you can set more the 1 inline ad (you can set 3 inline ads).
Thank you!