Advertisement:

Author Topic: Google Adsense not working  (Read 2977 times)

raphael

  • Newbie
  • *
  • Posts: 6
Google Adsense not working
« on: April 30, 2015, 03:12:55 pm »
Hey ther,
I am a new user on asclass and I need your help:

I can not save the Google Ads code in the Ads management (BENDER THEME). Every time I enter the code and save it the code is no longer there and no ads are displayed on the page. Does anyone advice?

Thank you!
Raphael

frosticek

  • Hero Member
  • *****
  • Posts: 3948
Re: Google Adsense not working
« Reply #1 on: April 30, 2015, 03:15:44 pm »
@raphael
Try to reinstall theme, it seems like incorrect installation of variables.

raphael

  • Newbie
  • *
  • Posts: 6
Re: Google Adsense not working
« Reply #2 on: April 30, 2015, 03:26:02 pm »
ok. Thank you.

jimzubemo

  • Newbie
  • *
  • Posts: 29
Re: Google Adsense not working
« Reply #3 on: September 04, 2015, 09:16:45 pm »
I am also struggling to make Google Adsense work with Bender and Bender Black Themes.

Things I tried:
1. Added Manually in main.php ---area appears but no ad loaded.
2. Added in Theme Settings > Ad Management: ---area appears but no ad loaded.
3. Manage Widgets (header and footer), the code changes on save. So not loaded.
4. Tried with Ad-4-Osclass plugin (http://sourceforge.net/projects/osclass/files/Plugins/ads-4-osclass/), added the short code too in main.php. Same. No ad loaded.
Uninstalled.
5. Changed Theme to Bender and pasted the Google adsense code in main.php. Still the same.
6. Upgraded OS Class to 3.5.7 in local test system. Applied Google adsense in the main.php of the Default Bender Theme. Still the Same.

Any suggestion guys. Has any one solved similar issue?
« Last Edit: September 04, 2015, 09:49:53 pm by jimzubemo »

frosticek

  • Hero Member
  • *****
  • Posts: 3948
Re: Google Adsense not working
« Reply #4 on: September 04, 2015, 11:52:24 pm »
@jimzubemo
If you add your adsense code into theme files directly and it is not loaded, problem is not on osclass side.

osCanyon

  • Hero Member
  • *****
  • Posts: 701
  • osCanyon, the class of Osclass
Re: Google Adsense not working
« Reply #5 on: April 29, 2016, 06:32:07 am »
I know this is a bit old :)
but 2 things,
 1, Google has to approve your site (if its new)
 2, if your running an Ad Blocker, you wont see the ads either ;)
just some things I have run across......


I am also struggling to make Google Adsense work with Bender and Bender Black Themes.

Things I tried:
1. Added Manually in main.php ---area appears but no ad loaded.
2. Added in Theme Settings > Ad Management: ---area appears but no ad loaded.
3. Manage Widgets (header and footer), the code changes on save. So not loaded.
4. Tried with Ad-4-Osclass plugin (http://sourceforge.net/projects/osclass/files/Plugins/ads-4-osclass/), added the short code too in main.php. Same. No ad loaded.
Uninstalled.
5. Changed Theme to Bender and pasted the Google adsense code in main.php. Still the same.
6. Upgraded OS Class to 3.5.7 in local test system. Applied Google adsense in the main.php of the Default Bender Theme. Still the Same.

Any suggestion guys. Has any one solved similar issue?

Ibowills

  • Newbie
  • *
  • Posts: 5
Re: Google Adsense not working
« Reply #6 on: August 14, 2018, 10:37:25 am »
I'm experiencing this too. This is an issue with OSCLASS, and not theme. I have tried on more than 5 themes, but each time I try to save code from Ad Management, I'm only redirected to my site's homepage.

Is there no support team or admins on OSCLASS to respond to issues that affect a good number of people?

calinbehtuk

  • Sr. Member
  • ****
  • Posts: 450
Re: Google Adsense not working
« Reply #7 on: August 14, 2018, 04:06:23 pm »
@Ibowills This is a hosting problem not osclass. Ask you hosting provider about this.

Aficionado

  • Guest
Re: Google Adsense not working
« Reply #8 on: August 14, 2018, 09:05:36 pm »
You better Enable OSCLASS DEBUG TO A LOG and check for fatal or other errors.

Definitely a Hosting related problem and not of Osclass.

jimzubemo

  • Newbie
  • *
  • Posts: 29
Re: Google Adsense not working
« Reply #9 on: September 27, 2018, 10:55:28 pm »
I'm experiencing this too. This is an issue with OSCLASS, and not theme. I have tried on more than 5 themes, but each time I try to save code from Ad Management, I'm only redirected to my site's homepage.

Is there no support team or admins on OSCLASS to respond to issues that affect a good number of people?

Hi,
Sorry for the late response...
I am kinda sure now that it is not an OSCLASS issue. But somehow during the time I was trying it did not work though I has Google Adsense approved. Probably I was trying with a new Google Adsense ad code, so the ads did not appear soon as I expected.

But like someone else point out in this thread, if you added Adsense code in the php file itself and the ads still won't show , it is probably not an OSCLASS issue.


kajamd

  • Newbie
  • *
  • Posts: 1
Re: Google Adsense not working
« Reply #10 on: November 19, 2018, 10:38:10 pm »
For me also it happen finally I came to know its not the problem with OSCLASS the problem made by the hosting so I complained them they solved by white listed in their server. Now the problem solved and working fine.