Skip to content

Instantly share code, notes, and snippets.

@chaseroden
Last active August 29, 2015 14:05
Show Gist options
  • Save chaseroden/749e38dc7167ed023a50 to your computer and use it in GitHub Desktop.
Save chaseroden/749e38dc7167ed023a50 to your computer and use it in GitHub Desktop.
The workaround
Take your tag that looks like this:
<script language="JavaScript" src="http://ad.doubleclick.net/N4206/adj/rmm.usnews/prairieview_cc_wichitahutchinson_300x250vid;sz=300x250;ord=[timestamp]?" type="text/javascript"></script>
<noscript><a href="http://ad.doubleclick.net/N4206/jump/rmm.usnews/prairieview_cc_wichitahutchinson_300x250vid;sz=300x250;ord=[timestamp]?"
target="_blank"><img src="http://ad.doubleclick.net/N4206/ad/rmm.usnews/prairieview_cc_wichitahutchinson_300x250vid;sz=300x250;ord=[timestamp]?"
width="300" height="250" border="0" alt=""></a></noscript>
<!-- end ad tag -->
This part ...
prairieview_cc_wichitahutchinson_300x250vid
... needs to be a DFP code in order for it to work right now.
To find the code, login to DFP and search for that code using the box in the upper-right corner.
Note that one ad unit show up for each publisher.
Underneath the heading that will look something like this:
"USNews.com (cpm) > prairieview_cc_wichitahutchinson_300x250vid"
... you will see a "Code" and a "Name."
Normally, the code and name are supposed to be the same. Right now, however,
you may find a code that's just a number, e.g.:
250137299
You will need to replace the zone (prairieview_cc_wichitahutchinson_300x250vid) with the code (250137299) in your tag
so that they will now look like this:
<script language="JavaScript" src="http://ad.doubleclick.net/N4206/adj/rmm.usnews/250137299;sz=300x250;ord=[timestamp]?" type="text/javascript"></script>
<noscript><a href="http://ad.doubleclick.net/N4206/jump/rmm.usnews/250137299;sz=300x250;ord=[timestamp]?"
target="_blank"><img src="http://ad.doubleclick.net/N4206/ad/rmm.usnews/250137299;sz=300x250;ord=[timestamp]?"
width="300" height="250" border="0" alt=""></a></noscript>
<!-- end ad tag -->
Notice that the zone is in three places in each tag.
Also notice that the publisher (before the slash /) and the information after the semicolon should not be changed!
These new tags should preview.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment