ProxySG & Advanced Secure Gateway

 View Only
  • 1.  Google Ads

    Posted Feb 20, 2019 11:24 PM
      |   view attached

    I would like to check on the work around for page advertised by google analytical or other advertise vendor before reaching the actual landing page.

    FYI, currently we block ads from our proxy, but some search result will return page which consist the ads header before reaching the actual page. In this case, the page will be blocked totally

     

     



  • 2.  RE: Google Ads

    Posted Feb 21, 2019 04:19 AM

    When you block Web Ads/Analytics category I recommend to exclude http.response.code=302, so that advertising sites that are just used for redirects to the actual page are not blocked. Of course this won't work for advertising pages that redirect via Javascript or "meta http-equiv=refresh" in the HTML header, as Google does. For that reason we also excluded https://www.googleadservices.com/pagead/aclk from blocking. You should check which URL Google is currently using for their advertising redirects on the search results page.



  • 3.  RE: Google Ads



  • 4.  RE: Google Ads

    Posted Feb 22, 2019 12:59 PM

    Hello Lokesh,

    this URL is using a HTTP 301 redirect to redirect from HTTP to HTTPS. So you'd have to exclude http.response.code=301 from your Web Ads/Analytics block as well.

     

    <Proxy>
    category="Web Ads/Analytics" condition=!Ads-Exception FORCE_DENY
    
    define condition Ads-Exception
        url.domain=https://www.googleadservices.com/pagead/aclk
        http.response.code=301
        http.response.code=302 
    end

    Of course this is just a minimal example, you can exclude 301 and 302 redirects in your VPM policy.



  • 5.  RE: Google Ads

    Posted Feb 27, 2019 09:34 PM

    Hi Fi-da/ Team,

    The above method doesnt help us to resolve this issue.

    still user could see the Ad pages when accessing sites.

    Please advise.

     

    Thanks,

    Ram.



  • 6.  RE: Google Ads

    Posted Feb 28, 2019 04:23 AM

    What do you mean by "user could see the Ad pages when accessing sites"? My example code is specifically to allow users to visit those Google ads on the search result page.

    If you need detailed advice on configuring a policy I recommend to open a support case.