Hey guys,
We have implemented dfp on our network using js and xml but are having issues with companion ads.
We are looking for someone to tweak our js since we are running out of ideas, we would of course compensate you for your time.
Basically what we are doing is scanning our page for specific <DIV> after the page has loaded, match that div and url with an XML file then insert the proper doubleclick tag to display our ads.
example:
<div class=”_DblClick” id=”300x250top” size=”300×250″ pos=”top”></div>
It has been working like a charm until we started to do sponsorships whith companion ads:
Here is an example of a page working perfectly (hard coded tags):
[url]http://emmisdigitalvault.com/test/tag-hardcoded.html
Here is the same campaign using JS, you will notice that on some refresh sometime wrongs ads will show up:
[url]http://emmisdigitalvault.com/test/tag.html
Here is the feedback we received from google:
My investigation indicates that the ads sometimes appear in the
wrong order because the ad calls from the three ad tags on this page are
not always made in the order intended. The ad tags appear to be
dynamically generated by scripts that aren’t accessible externally, with
the responses from the DFP ad server then automatically inserted into
the page. In order for Roadblocking (master/companion pairs) to
function properly, the ad calls must be made sequentially, with the ad
tag that calls the master first and the ad tag that calls the companion
immediately after. In the case of this website, it appears that the
order of the ad calls can vary with each page load, making which ads
serve to the two 300×250 ad slots unpredictable.
If you have already encountered this road block or can think of a solution please contact me ?