Navigation
This is archived content. Visit our new forum.
  • Author
    Posts
  • #386965

    Trankuility
    Participant

    Today I noticed that the first block (and ONLY the first block) of Adsense does not show up on Mobile in Safari. I’m testing on an Iphone 5c, so I don’t know if the same problem happens on other Iphone versions.

    Blog Post Example:

    Adsense <—Doesn’t show up
    Content
    Content
    Adsense
    Content
    Content
    Adsense

    The first Adsense is just a blank space. It doesn’t matter where the ad blocks are placed. The first ad block, on Safari Mobile, does not appear.

    If viewed in Chrome on Mobile, that first ad block DOES appear. If viewed in Chrome on Desktop the first ad block DOES appear as well.

    I last checked the mobile view about 2 weeks ago and it worked correctly on Mobile safari. I don’t know why it’s suddenly not working.

    I just spent over 4 hours trying to troubleshoot this without resolution.

    – I deactivated ALL plugins (except Cornerstone – it wouldn’t allow me to deactivate)
    – I removed all custom CSS
    – I removed all custom JS
    – I removed all changes to the PHP file within Editor
    – I updated to the latest version of X-Theme
    – Created a brand new block of adsense

    Nothing fixed the problem. I’m pretty frustrated.

    Since nothing fixed the issue I activated all the plugins and put all the CSS, JSS, and PHP back in.

    URL: http://backpackerverse.com/backpacking-trips/

    How do I resolve this??

    (I recently noticed that the menus on the left of the WordPress dashboard overlap sometimes. This just started happening recently. Don’t know if it’s related somehow. Will create a separate post for that.)

    So, how do I make the first block of Adsense appear on mobile?

    #386970

    Trankuility
    Participant

    Tested some more. Found that this is only a problem when viewed in Private on Safari.

    If viewed in regular mode, the ad shows up.

    What’s going on?

    #387082

    Rue Nel
    Moderator

    Hello There,

    Thanks for writing in! There are a couple of reasons why ads might not be showing on your mobile webpage. The mobile ad code was not implemented correctly. The code on your mobile web page must be copied and pasted exactly as it appears in your account.

    For more detailed information and solutions about the Google Adsense on mobile issues, please check out this page:
    https://support.google.com/adsense/answer/75764?hl=en

    Hope this helps. Kindly let us know.

    #387109

    Trankuility
    Participant

    That does not help. It sounds like you didn’t read my two posts before replying.

    The mobile ad is implemented correctly.

    1) As I said in my post, the code was working before. The ad was showing up until recently (noticed the problem today).

    2) As I also said in my post, only the first instance doesn’t show. If I put the same code in several times, each ad will show except the first one.

    3) Again, as I said in my second post, the ad shows correctly in Chrome mobile (standard & icognito), Chrome desktop, and Safari standard. The ad does NOT show when viewed in Safari mobile in Private view.

    #387121

    Rue Nel
    Moderator

    Hello There,

    Yes, we have seen your ads on an android phone but not in iPhone Safari.The ads is also showing in Chrome on an iPhone just only in Safari it does not show up.

    The first step into debugging this issue would be to set the option in Adsense to show a backup ad of a solid colour e.g. Blue or something obvious. This will give you a clue as to whether there is an issue in displaying anything from Google, or if it is an issue specifically with Google serving you adverts.

    If the blue colour doesn’t show, that might be a good thing, as it could just mean there is an issue with your code (maybe a conflict with all the page speed stuff you’ve got going on?).

    If it does show, then that means Google isn’t serving you ads. There’s a number of reasons as to why that may be: https://support.google.com/adsense/bin/answer.py?hl=en-GB&answer=75764&topic=2453404&parent=23384&rd=1

    Please let us know how it goes.

    #387486

    Trankuility
    Participant

    Please reread my two original posts.

    I specifically said I deactivated ALL my plugins and the problem still persisted. This means it has nothing to do with my page speed stuff (the wp-rocket plugin).

    I ALSO specifically said that ads DO show. The problem is that the FIRST ad does not show.

    If I place the SAME EXACT ad code 3 times in a row ONLY THE FIRST ONE WON’T SHOW.

    So if it’s like this:

    CONTENT
    ADSENSE <–Won’t show
    ADSENSE
    ADSENSE
    CONTENT

    ONLY THE FIRST BLOCK OF ADSENSE WILL NOT SHOW. I KNOW THE ADS ARE BEING SERVED BECAUSE THE SAME EXACT CODE IS REPEATED SEVERAL TIMES AND ONLY THE FIRST ONE DOESN’T SHOW UP.

    If I swap the position of the codes, again, ONLY THE FIRST ONE WON’T DISPLAY.

    It doesn’t matter where the ads appear on the page. ONLY THE FIRST ONE WON’T DISPLAY.

    I verified this WHILE ALL PLUGINS WERE DEACTIVATED, ALL CUSTOM JS REMOVED, AND ALL CUSTOM CSS REMOVED.

    The same thing happens if I use different adsense code too. So the problem is not that the same ad code is used each time.

    #387604

    Rue Nel
    Moderator

    Hello There,

    Let me explain to you this again. All those ads is being served by Google. It is based on your content and the user’s browsing activity. Google Adsense code is using javascript and this will serve your ads dynamically. We have suggested some steps to test your Adsense code and check if Google is serving the ad or not. Let try this another test. Please wrap the Google Adsense code with a div tag, add some background colors and have a minimum height.

    You can have your ad code this way:

    <div class="my-ad-code" style="background-color: #e5e5e5; min-height: 60px;">
    
    <!-- place your ad code here -->
    
    </div>

    This block of code will always display the ad block whether the ad is displaying or not. If the first ad doesn’t display, please ask assistance from Google Adsense support.

    If you want use to make the test for you, would you please provide us the url and access information of your site. Once you have provided us with your URL, we will be happy to assist you with everything.

    To do this, you can make a post with the following info:
    – Link to your site

    – WordPress Admin username / password

    Don’t forget to select Set as private reply. This ensures your information is only visible to our staff.

    Thank you.