Mobile Auto Redirect Ads - Increasing Major PROBLEM.
Type of issue
Lately myself and many people i know are seeing an increase in auto redirect ads across mobile devices.
I have a possible solution for this but lake the skills to implement it within prebid, perhaps someone can offer a pull request or a custom code snippet to the implementation.
Possible solution - programmatically inspect the ad payload before you append the unit code to the page. This provides an excellent opportunity to regex / search the ad payload string for code that sets window.location, and enables the developer to take specific actions when detected (such as bypass the bad ad and instead display a trusted remnant solution or house ad).
So simply adding a regex that detects bad behavior auto redirect ads and when detected just chose the next winning bid ad payload.
This is a serious problem that is increasing rapidly.
There are 2 types of ads that prebid renders first one is usually contains html markup to render on page via document.write and the other is a url rendered on an iframe.
The problem is that if you get an ad as a URL you dont know what this url is going to load unless you render it, and the code it return may also load more JS from other urls so i think it will be hard to be able inspect all the JS these ads load.
We could think the first type of ads may be easier to inspect but given that the code can be an iframe itself it could also present same problem.
on /adops slack somebody suggested as a work arround to remove all line items below 1 USD for mobile US traffic to prevent this bad ads, you may want to try that.
Thank for the feedback @ialex what i actually did was set a .50 floor for all bidders for now. Our mobile traffic is 80% of our total traffic so removing all or disabling all line items below 1.00 will big a huge downset even setting a global 0.50 floor to avoid most spam auto redirect ads is a big draw back.
Hopefully prebid can force all networks to use safe frames in the next update in my opinion this should be a high priority this is a very rapidly growing trend spammers are picking up on prebid and buying huge amounts of remnant inventory from the exchanges. This hurts sites credibility. It is such a huge problem for us that im willing to leave a big amount of $ on the table by setting unnecessary floor prices for US mobile traffic to avoid SOME/MOST of these ads.
Or perhaps loading prebid ads in a container that can be controlled using javascript to block iframe redirects or anything like that. Really hope for some sort of solution.
@mercuryyy You should be able to start testing using SafeFrames after the next release. That should prevent this behavior.
@mkendall07 do every ad network need to update their adapter or delivery system to support safeFrames or the pull i see merged for safeFrame support adds it globally ?
Most adapters should work already. There could be a few that are relying on window.top operations, but I don't think it is many. As we identify those bidders we will request changes.
The changes require you to update your creative line items with creative code that supports SF, as well as checking the SF creative option. I would recommend you testing this out on a few placements to see how it affects your impressions levels (SF itself has some overhead.)
@mkendall07 Im about to give this a try now, I cant find the SF creative code for dfp on the adops docs in prebid.org can you post it here please.
https://github.com/prebid/Prebid.js/blob/master/integrationExamples/gpt/x-domain/creative.js
Thank you! Do i leave this part untouched ?
const publisherDomain = 'http://localhost:9999'; const adServerDomain = 'http://tpc.googlesyndication.com';
@mercuryyy
You need to update with your own domain for publisherDomain
suggest you use protocol as well in case you serve both HTTP and HTTPS pages.
Yeah i figured but for DFP - const adServerDomain = 'http://tpc.googlesyndication.com'; will stay as is right?
@mercuryyy It will change from http to https based on whether you're running https or not, but from my knowledge, SafeFrames always serve from "tpc.googlesyndication.com" as the domain at least.
Right, we'll update the example to pick up the protocol automatically.
@mercuryyy the updated example included in #955 and #971 should help. Closing as answered, please reopen if any additional info.
@protonate Do you know if this is being used by anyone with success? We have tried the new creative and there seems to be a disconnect between the bidding and the ad serving - the ads do seem to load from the correct bidder and DFP reflects this, but all bidding partners report zero impressions and zero revenue, leading to a 100% discrepancy. Furthermore, most of the ads served seem to be PSAs, which seems to indicate that something's amiss.
We'd love to debug this ourselves, but don't know where to start or what signs to look for to indicate a problem.
We're building prebid 0.19.0 and made a minor modification to the creative to have the protocol for tpc.googlesyndication automatically match the site (which we tested and found to be working), but are otherwise doing everything as instructed. We've made sure that "Serve into a SafeFrame" is selected as well.
Is there any solution for this issue? Can ads be served now via safe frames? We're experiencing this massively now as well.
We're seeing a crazy spike with this issue. Any updates? Anyone using this successfully?
@pribeh Are you using safeFrame? SafeFrame can be used if you swap out the creative line item with the safeframe one.
@mkendall07 we are also seeing a spike in mobile redirects originating from Prebid. Any issues with us tweaking the creatives in Appnexus to safeframe ?
Benjamin
@mkendall07 We are using safeframe as outlined here. We're still getting some reports but trying to discern if there's any difference in the amount of them.