• Resolved AllyV4

    (@allyv4)


    Hi,

    I might be wrong but I think that since I’ve added the new mobile code ads that Google requires us to add before May, the wp-touch code needs to be changed also because the code doesn’t match anymore with the new one.

    Now it’s something like this:

    <script type=”text/javascript”><!–
    google_ad_client = “ca-pub-***MYCODE***”;
    google_ad_slot = “***MYCHANNELCODE***”;
    google_ad_width = 320;
    google_ad_height = 50;
    //–>
    </script>
    <script type=”text/javascript”
    src=”https://pagead2.googlesyndication.com/pagead/show_ads.js”&gt;
    </script>

    I have doubts that with my new code added in wp-touch, clicks are counted or not. So today I tried clicking one ad with my iPhone and for now nothing has been counted by Google Adsense.

    Thanks!

    https://www.ads-software.com/extend/plugins/wptouch/

Viewing 8 replies - 1 through 8 (of 8 total)
  • Thread Starter AllyV4

    (@allyv4)

    Anyone?

    Hi,

    We’ll be including a solution for this in a later release soon to maintain compatibility with Adsense for mobile. Just so you know, WPtouch Pro has already been updated to reflect these changes by Google and maintain compatibility.

    I fixed this by manually editing: wptouch/include/adsense-new.php. I think it is fairly straight forward… just be sure you back the file up in case you need to update the plugin.

    sykesjs:

    Could you please provide a little more insight into how exactly you modified the adsense-new.php file to make the ads function in compliance with the New Adsense mobile platform.

    I see the difference in formatting between how original adsense-new.php file is compiling the Adsense code and how the new Adsense mobile code appears but I am having some difficulty getting it to appear in the WPTouch. The only thing that is happening with the fixes I have implemented is that a blank space is now appearing in place of the ads, which is an improvement since an error was appearing before.

    Any further clarification you can provide would be greatly appreciated.

    Hi mckaymultimedia,

    Please make sure you’re using the latest version of WPtouch. You’ll need to simply include your Google publisher ID (with the pub- prefix) in the WPtouch admin panel and your ads should be showing up as normal. This was tested just now on WPtouch 1.9.41 and WordPress 3.4.

    After extensive research, I came the conclusion that this is a known compatibility issue with Google Adsense code and Windows Mobile OS. So there is not much I can do about it. It works just fine on IOS and Android so it’s not so bad. Thanks for the info though. Hopefully this will provide some insight for others that may be dealing with this issue.

    Thanks for the follow-up mckaymultimedia!

    sykesjs Did you update only wptouch/include/adsense-new.php ? or maybe also wptouch/include/adsense.php ?

    BraveNewCode Inc. Member Did you have any news when the problem will be resolved by the plugin update? I am using WPtouch 1.9.42 and it is not working with the Adsense for Content… Ads are shown on the site but are not reported by Adsense.

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘[Plugin: WPtouch] New Google mobile ads’ is closed to new replies.