AdGuard 2.9 doesn't remove ad frames

Discussion in 'Technical Support (AdGuard for Android)' started by GermanKiwi, Jul 7, 2017.

  1. GermanKiwi

    GermanKiwi New Member

    Joined:
    Jul 7, 2017
    Messages:
    13
    Since I upgraded to AdGuard 2.9 a little while ago, I've found that when AdGuard blocks an ad, it leaves the ad frame in place with an annoying error saying "Web page not available" inside the frame.

    You can see this in the three attached screenshots, taken from the BBC app on my phone.

    Previously I was using AdGuard 2.8.76 and I'm quite certain that these ad frames were completely removed from the page when I used that version - just as they are in Chrome on my desktop, when I use AdGuard there. This is what I want and expect: that the entire frame is removed so that the page looks nice and clean.

    I've also found, since upgrading to 2.9, that ads in many other apps on my phone don't get removed at all. Not even with a "Web page not available" error. The ads continue to display untouched.

    What can I do to troubleshoot this?

    I'm currently running AdGuard 2.9.70 on my Google Pixel XL (unrooted), using VPN mode.
     

    Attached Files:

  2. Blaz

    Blaz Moderator & Translator Moderator

    Joined:
    Dec 21, 2014
    Messages:
    8,755
    Please post the sites in question.
     
  3. GermanKiwi

    GermanKiwi New Member

    Joined:
    Jul 7, 2017
    Messages:
    13
    Which sites do you mean? The screenshots are taken from the BBC news app, not from a browser site. The ad frames (containing the error message) appear on any and every page, within this app, that has had the ads blocked by AdGuard.
     
  4. zebrum

    zebrum Administrator Staff Member Administrator

    Joined:
    Nov 21, 2016
    Messages:
    361
    @GermanKiwi Don't have ads even without Adguard on latest beta ) I'll check on 2.9.70

    What filters and filtering method (settings - advanced - filtering method) are enabled?
     
  5. GermanKiwi

    GermanKiwi New Member

    Joined:
    Jul 7, 2017
    Messages:
    13
    Not sure what you mean about not having ads without Adguard - do you mean that you don't see any ads at all in the BBC app even without using Adguard?

    Note that I'm referring to the international version of the BBC app, which does use ads: https://play.google.com/store/apps/details?id=bbc.mobile.news.ww

    They also have a separate, UK-only version of their app, which doesn't use ads, but I don't have access to that app as I'm not in the UK.

    I'm using Filtering Method = high-quality (but using high-speed makes no difference here). HTTPS filtering is also enabled. Using these filters:
    • English filter
    • Annoyances filter
    • German filter
    • Mobile ads filter
    • Anti-adblock Killer
    I think the filtering must be working, otherwise it wouldn't show the "Web page not available" error inside the ad frame, right? If I totally disable Adguard and restart the phone, then the BBC ads display correctly without that error message. That suggests that the filtering is working in the BBC app (although still not in some other apps I use), but the ad frames are not being removed as they used to be.
     
  6. zebrum

    zebrum Administrator Staff Member Administrator

    Joined:
    Nov 21, 2016
    Messages:
    361
    @GermanKiwi try to clear cache in BBC app. Also check how it works in latest beta 2.9.135

    I can't reproduce the issue so far.
     
  7. GermanKiwi

    GermanKiwi New Member

    Joined:
    Jul 7, 2017
    Messages:
    13
    Hi @zebrum, I may have solved this myself by chance. I went to the App Management page in AdGuard's settings, and saw a notice there that "The firewall functionality is disabled in the settings".

    That's because I turned off the "Enable firewall" setting quite a while ago, as I didn't think it was necessary for me.

    I've just turned it back on, and since doing so, the ad frames in the BBC app - and other apps - no longer appear at all. So this seems to have solved the problem!

    However, this leaves me a bit puzzled about what exactly the AdGuard firewall feature actually does. I had assumed that it was merely a feature for controlling whether an app can access the internet over cellular data and/or wifi data. I assumed it had nothing to do with ad filtering. But it seems I'm mistaken?

    Could you give me an explanation of what the firewall feature does, and why it seems to result in the ad frames still showing when I had it turned off?

    Thanks!
     
  8. avatar

    avatar Administrator Staff Member Administrator

    Joined:
    Oct 26, 2010
    Messages:
    12,980
    This might actually be a bug, we will test it
     
  9. aegis

    aegis Administrator Staff Member Administrator

    Joined:
    Feb 25, 2016
    Messages:
    417
    Doesn't seem to work this way for me with those settings.
    @GermanKiwi still able to reproduce it? Are you sure that disabling firewall affects the issue, not anything else?
     
  10. GermanKiwi

    GermanKiwi New Member

    Joined:
    Jul 7, 2017
    Messages:
    13
    No, for some reason I can't reproduce it now! If I disable the firewall now, the ads remain blocked, and the ad frames with the error text inside them (as reported in the OP) are not there either! So it's working as expected now. No idea why or what changed. All I know is that the firewall had been disabled before, when I first reported this issue, and then I enabled it, and the issue was immediately resolved (no more empty ad frames with error text inside).

    I turned the firewall off again several days ago, have rebooted the phone since then, and have been using the BBC app and other apps daily with no ads or ad frames. Go figure!
     
  11. GermanKiwi

    GermanKiwi New Member

    Joined:
    Jul 7, 2017
    Messages:
    13
    ...I'd still love an explanation of what the firewall actually does, though. Is it just a way to block internet access to apps on WiFi and cellular data? Therefore, completely unrelated to the ad filtering functionality of Adguard?
     
  12. Boo Berry

    Boo Berry Moderator + Beta Tester Moderator

    Joined:
    May 30, 2012
    Messages:
    3,358
    https://kb.adguard.com/en/android/features#firewall

     
  13. GermanKiwi

    GermanKiwi New Member

    Joined:
    Jul 7, 2017
    Messages:
    13
  14. GermanKiwi

    GermanKiwi New Member

    Joined:
    Jul 7, 2017
    Messages:
    13
    Hi aegis, I'm getting this problem again now! I updated my Google Pixel to Android 8 recently, and since then I'm seeing the same empty ad frames inside the BBC News app from https://play.google.com/store/apps/details?id=bbc.mobile.news.ww.

    I've attached a couple more screenshots. As you can see, sometimes the ad frame contains a "Web page not found" error, and other times it's just empty, but either way it's annoying to have it there.

    I do have the AdGuard firewall enabled - currently using version 2.10.108 on the Beta channel, although this issue has existed for the past several versions. I also use HTTPS filtering and DNS filtering as well, although I've also tried disabling both of those features with no luck.

    Note: the ads are shown when I'm viewing the news articles inside the BBC app itself. However, if I copy the article link and view the same article in the Chrome app, I get no ads and no empty ad frames there at all, as they're all nicely blocked by AdGuard.

    Any ideas why AdGuard isn't managing to remove the empty ad frames inside the BBC app, although it is able to remove them in Chrome?
     

    Attached Files:

  15. vasily_bagirov

    vasily_bagirov Administrator Staff Member Administrator

    Joined:
    Jul 1, 2014
    Messages:
    6,368
    @GermanKiwi do you use VPN or HTTP proxy mode by the way?
     
  16. GermanKiwi

    GermanKiwi New Member

    Joined:
    Jul 7, 2017
    Messages:
    13
  17. zIBiT

    zIBiT Administrator Staff Member Administrator

    Joined:
    May 15, 2017
    Messages:
    398
    Hi!

    Could you please clear the BBC app's cache, then install the latest beta and enable - english, spyware, social media, annoyances and mobile ads filters + toggle the high-quality filtering mode + HTTPS filtering.

    Let us know how it goes!
     
  18. GermanKiwi

    GermanKiwi New Member

    Joined:
    Jul 7, 2017
    Messages:
    13
    Thanks for the tip. I've tried this, and it seems to be holding up so far. What's odd, though, is that currently the Filtering Log doesn't show any blocked requests for the BBC app - none at all. Whereas in the past, when I was having the problem with the empty ad frames, the Filtering Log showed many blocked requests for the app - indicating that AdGuard was actually blocking ads (which I know was correct - the problem was that the ads were blocked but the empty frames were left behind).

    Now I'm not getting any empty frames, nor any ads at all, but also nothing in the Filtering Log. Which makes me wonder that perhaps the app itself is currently not trying to show ads at all, for some unknown, unrelated reason, and it's just a coincidence.

    Anyway I'll keep an eye on it and hopefully it will stick!
     
  19. vasily_bagirov

    vasily_bagirov Administrator Staff Member Administrator

    Joined:
    Jul 1, 2014
    Messages:
    6,368
    @GermanKiwi if the problem reappears -- let us know please.