*

piter

  • ****
  • 104 posts
Banner doesn not show on the page
« on: July 14, 2019, 03:24:52 AM »
I have Adsense (working) banner created in form of this script
Code: [Select]
<script async src="https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script>
<script>
     (adsbygoogle = window.adsbygoogle || []).push({
          google_ad_client: "XXXXXXXXXXXXXXX",
          enable_page_level_ads: true
     });
</script>

This banner is attached to all categories and to its own Banner Group.
The code which shows the banner <?php echo show_banner( {BANNER_GROUP_ID} ); ?>  has been added to many places on various pages.
I added the code to the same files and places as you used in Banner Ads Plugin.

If I add the code to JavaScript (9) the banner does not display.
If I add the code to Body (for text & html banners, adsense code) (10) the banner does not display either.
« Last Edit: July 14, 2019, 03:26:46 AM by piter »

*

piter

  • ****
  • 104 posts
Re: Banner doesn not show on the page
« Reply #1 on: July 18, 2019, 02:28:12 AM »
Again, please reply.

If I paste the banner code directly into the php files all banners are displayed on the pages.
But the same banners wont display if set via this plugin.

I pasted the script into the Javascript (9) and it does not work.
I pasted the script into the Body (10) section it doesnt work either...

I tried any type of Adsense banners (automatic, In-feed, In-article, Display) and none works if added to the plugin...
« Last Edit: July 18, 2019, 02:52:42 AM by piter »

*

MB Themes

Re: Banner doesn not show on the page
« Reply #2 on: July 21, 2019, 02:15:37 PM »
@piter
You can test plugin functionality with putting just some text to body of banner. You can place script of adsense directly to body.
Make sure to replace {BANNER_GROUP_ID} with id of banner group.
  To get fast support, we need following details: Detail description, URL to reproduce problem, Screenshots