Adding Ads using DoubleClick for Publishers

  • craggy

    #9518

    I’ve set up an account with Google to server ads to my site via DoubleClick for Publishers.

    According to Google/DFP all I need to do (plus 10 steps they assume I know but don’t) is past some code in the header and in the HTML content. The actual ads should appear in widgets I have defined for posting ads. I am currently using AdRotate to manage the placement of those ads.

    I’m guessing that I need to put the code for the headers, for each type of ad, in the header. But, since this is WordPress, and I’m using a the Graphene Theme I’m hoping someone here can be more specific about where to place the code to appear in the header.

    IOW – isn’t there a place in the Graphene Options pages (sort of like how Google Analytics code is inserted – there’s a dedicated tab for that) for placing stuff that appears in the header.

    If not, what page in the template do I insert the DFP code? I’m hoping it goes in the AdSense tab…but this isn’t quite the same as Ad Sense, hence my stupid questions.

    Mod

    Kenneth John Odle

    #43820
    Quote:
    According to Google/DFP all I need to do (plus 10 steps they assume I know but don’t) is past some code in the header and in the HTML content.

    I’ve never heard of using Google Ads in quite this way; all my ads are just text/javascript that I drop in a widget (WordPress) or just about anywhere in a hand-coded site. Which ads program is this?

    Quote:
    isn’t there a place in the Graphene Options pages (sort of like how Google Analytics code is inserted – there’s a dedicated tab for that) for placing stuff that appears in the header.

    Advanced Options >> Custom <head> tags

    That option will allow you to add data directly to your site’s <head> element.

    craggy

    #43821

    As I said, this isn’t just Google Ad Sense, this is DoubleClick for Publishers. It is sometimes referred to by the acronym DFP.

    Anyway, there are two chunks of code. One is to set up the link (I think that’s what it is doing) to DFP for ads from a DFP inventory that defines locations on your site. The second is a small snippet of code that can drop in a widget that grabs the creative material for a given advertiser. At least that’s my understanding before getting it to work.

    Thank you for your help. I’ll respond with what I learn when I get it wired correctly.

Viewing 3 posts - 1 through 3 (of 3 total)

You must be logged in to reply to this topic.