• Resolved enurion

    (@enurion)


    I run Google ads on my ColorMag based site. These are running fine on both PC and smartphones:

    PC view

    Smartphone view

    Site and plugins are updated. Zero issues with my AdSense account.

    However, I have problem running ads on Facebook’s in-app browser, which is built in iPhones and Android phones. When you open links, posted on Facebook on a smartphone, ads simply do not show 90% of the time:

    Ads not showing in Facebook built-in in-app browser on smartphones

    My site is https://www.techbulgaria.com

    Here is the code for the the ads:

    <!-- For PCs -->
    <div class="pc-ad">
        <script async src="https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js?client=ca-pub-6568149107086945"
            crossorigin="anonymous"></script>
        <!-- Leaderboard 728x90 -->
        <ins class="adsbygoogle"
            style="display:inline-block;width:728px;height:90px"
            data-ad-client="ca-pub-6568149107086945"
            data-ad-slot="4661644598"></ins>
        <script>
            (adsbygoogle = window.adsbygoogle || []).push({});
        </script>
    </div>
    
    <!-- For Smartphones -->
    <div class="mobile-ad" style="margin-top: 20px;">
        <script async src="https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js?client=ca-pub-6568149107086945"
            crossorigin="anonymous"></script>
        <!-- 320x50 -->
        <ins class="adsbygoogle"
            style="display:inline-block;width:320px;height:50px"
            data-ad-client="ca-pub-6568149107086945"
            data-ad-slot="9348549395"></ins>
        <script>
            (adsbygoogle = window.adsbygoogle || []).push({});
        </script>
    </div>
    
    <style>
        /* Hide mobile ad on PCs */
        @media screen and (min-width: 768px) {
            .mobile-ad {
                display: none;
            }
        }
    
        /* Hide PC ad on smartphones */
        @media screen and (max-width: 767px) {
            .pc-ad {
                display: none;
            }
        }
    </style>

    And a custom CSS which makes the placeholders black instead of the original white:

    
    
    /* Additional CSS to style ad placeholders */
    .adsbygoogle {
        background-color: black !important;
    }

    Would you address the issue and guess how to invoke showing the ads in the built-in in-app Facebook browser every time users open links from Facebook on their smartphones?

    The page I need help with: [log in to see the link]

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

    (@enurion)

    Dear support team,

    Please move on and don’t answer. My site won’t run Google Ads for some time, so don’t bother.

    Thanks

    Hi @enurion,

    Thanks for the update. Feel free to get back to us of any queries or confusion.

    Regards

    I’m going through what he went through please help.

    For some time now, for about two months now, I’ve had a problem with displaying Google ads when opening texts via Facebook.I contacted Facebook and they say that there are no problems on their part, which is why I suspect that some plugin blocks the display of advertisements on articles when they are opened via Facebook. To clarify, it happens to show only one ad in the whole article, and it is necessary to show them for example 5. Also, it often happens that one opening of the article does not show any ads, when I leave that article, I reopen it via Facebook then show all ads. So, for some reason, their presentation is limited.Interestingly, when articles are opened via other search engines (Chrome, Firefox, Safari) Google ads are normally displayed, as well as if they are opened via Instagram and the SWIPE UP option.So, the only problem is with Facebook, which restricts the display of advertisements. I’m asking for help.

    Thread Starter enurion

    (@enurion)

    Thanks, @orisaife for raising the issue. I’m running Google ads again for a few days now, and I noticed my site still has the same problem with Facebook’s in-app browser on both iOS and Android. Dear @barsha04, please count me in if you can solve this issue.

    please @enurion please, incase you find solution to it, please Tag me so that I can also apply it here. It’s really reducing my revenue.

    • This reply was modified 6 months, 4 weeks ago by orisaife.
    Thread Starter enurion

    (@enurion)

    @orisaife You got it.

    @barsha04 Let me add a few more details: The problem appears also on PC (tested in Chrome and Firefox) when being redirected from Facebook. In this case only one of the three ads appears. Those who are on top (fixed size) and on the right side (responsive ad, but limited from the space) – these never appear. The only one that is working file is a responsive one, posted at the end of each article. If directly loaded (not from FB links) everything is fine.

    • This reply was modified 6 months, 4 weeks ago by enurion.
    Thread Starter enurion

    (@enurion)

    @orisaife @barsha04

    Small update: After switching on this Adsense option: Ads – Global settings – Ad size (Let Google optimize the size of your mobile ads) now my top banner appears most of the time, although not the size I like the most. Now the problem is with the other two banners I usually place (at the bottom of every article and the one in the right frame) – both won’t show most of the time, when redirected from Facebook to FB internal browser for smartphones. This is similar to the problem @orisaife reported. No problem on PCs and other mobile browsers, other than Facebook’s own one.

    Hi enurion,

    In order to better understand the problem, it would be very helpful if you could provide us with a screen recording/video of the issue you’re seeing.

    If you’re unsure how to take a screen recording/video, please let us know, and we’ll be happy to assist you.

    Regards

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘Google Ads do not appear in Facebook built-in in-app browser on smartphones’ is closed to new replies.