Single Page Template – Google Adsense – Not Displaying

Posted in: Newspaper
Post count: 104

I have a pickle, after search forums and trying the recommended suggestion I am still stuck. Using Single Post Template – Default Pro, I have google adsense code, when I use the default template, not single post, it will show inline ad after specific paragraphs, but when I choose “Single Post Template” no ads and error in the inspector “Only one ‘enable_page_level_ads’ allowed per page.” this error only shows when I put google adsense code in the single page template and no ads are shown, now I should say no ads are showing on desktop, but if I view AMP page on the desktop it displays the ads, but what is weird is on the actual mobile device the amp page shows no ads except for seemingly at the very bottom, not inline, now that might be some other issue, so far just trying to figure out how to get ads listed in this single post template. Thoughts, suggestions? I have run out of things to try. NOTE: if I enter shortcode for my internal ad system it does show ads, though they are tiny, not sure what that is about.

Post count: 35449

Hi,

Please make a test, set the code in a div with a width for inline ads and check the results.
-> https://i.imgur.com/421qX6d.png
<div style="width:320px">
<div>

If is working, set the width to auto or 100%.

Thank you!

Post count: 104

Tried, it does seem to make the space as you can see it is there:
https://fortworthbusiness.com/business/eat-local-eat-often/
Shows here: https://fortworthbusiness.com/business/eat-local-eat-often/?amp

Ps. I assume you meant a closing tag </div> not <div> so tested the </div> for the closing tag.

  • This reply was modified 6 years by elvisfrog.
Post count: 104

I get this error in Inspector:
“adsbygoogle.push() error: Only one AdSense head tag supported per page. The second tag is ignored.”, name: “TagError”, pbr: true, stack: “TagError: adsbygoogle.push() error: Only one AdSen…esyndication.com/pagead/js/adsbygoogle.js:214:370”}
message: “adsbygoogle.push() error: Only one AdSense head tag supported per page. The second tag is ignored.”
name: “TagError”
pbr: true
stack: “TagError: adsbygoogle.push() error: Only one AdSense head tag supported per page. The second tag is ignored.↵ at Mk (https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js:209:358)↵ at ef.l.fa (https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js:65:290)↵ at tf (https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js:73:357)↵ at Lk (https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js:205:470)↵ at https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js:214:362↵ at https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js:214:370&#8221;
__proto__: Error
constructor: ƒ O(a)
__proto__: Object

Post count: 104

Not sure if this is something, but I don’t see Single Post Template – Default PRO listed in the Cloud Template any more, was trying to add to another site of mine for testing?

Perhaps there was a problem with that page?

Post count: 35449

Hi,

Indeed that was my mistake, the div needed to be close like you said.
Make sure that you do not have a plugin conflict, please deactivate ALL plugins except tagDiv plugins, also if you are using child theme or cache plugin, deactivate them, clear all cache and try again.
If there is still a problem, you can send us an email at contact@tagdiv.com and provide admin login, as well as cPanel. We will take a look. Include a link to this topic in the email.

Let me know the results
Thank you!

Post count: 104

I wanted an update in case someone else comes across this, I think it was a combination with the ad plugin I was using, switch to Advanced Ads, AND used the <div width> trick and that does work. Without the <div> it does not display. So thanks Calin!

Post count: 35449

Thank you for sharing with us the results!
If you have other questions/problems, let us know!
Have a nice day!

Viewing 8 posts - 1 through 8 (of 8 total)
You must be logged in to reply to this topic.