Home Top Ad

How to setup Ad Units so that you can serve Ads via DFP Small Business

From my previous post you came to now that we know what each option is let us set up your Ad Unit Inventory. Go to the Inventory Tab, select Ad Units on the left and then click on ‘+ New Ad Unit“.
Create ad unit in DFP

Give your Ad Unit a descriptive name so that you know where it is located exactly. The name can only contain letters, numbers, underscore and hyphens. No spaces allowed.

As an example for a descriptive naming of Ad Units this is one Ad Unit I use:

PatFra-LR-1P-Threads-First_Aid
PatFra = Acronym for my website Patientenfragen.net
LR = Large Rectangle
1P-Threads = Ad is located inside the first post of a thread in my forum
First_Aid = The Ad Unit only shows in my sub forum with threads about “First Aid”

This way you have all the important information about your Ad Unit combined in the Ad Unit name so you know exactly what kind of Ad Unit it is and where it is located. 

Now enter a description for your Ad Unit.
Then select the size of your Ad Unit e.g. 336x280px if it is a large rectangle.

The target window option defines the behavior of the Ad after a user clicked on it.
_top = the advertised website opens in the same window
_blank = the advertised website opens in a new window

Okay let’s continue.
Below the Target Window option you find the placement option. If you already have placements and want your Ad Unit to be part of one or more placements you can select them now. But don’t worry, you can always add them later too.

Now click on save and you created your first Ad Unit.

The Page looks like this (if maximize revenue was selected):
Create ad unit in DFP

Continue to create as many Ad Units as you have on your website(s).

After you have finished creating all Ad Units for your website you need to implement them into your website.

Click on the Inventory Tab and then on Generate tags on the left
Create ad unit in DFP
Select all the Ad Units that appear on your website for which you want to implement the Ad Units. After you selected all the Ad Units for your website, click on Generate tags at the bottom.
Create ad unit in DFP

First you need to click on the drop down menu (1) and select Google Publisher Tag (asynchronous).

You then get a HTML implementation example where to put your DFP Ad Server Tags into your websites HTML.

There are two parts of code you need to implement. The first JavaScript part (2) goes into your websites header and contains all the Ad Units and your Publisher ID for that page.

The second part (3) is the actual Ad Units which you place into the spots of your Ad Units (below <body> tag in your source code). Because of your descriptive naming for your Ad Units you know where to put each Ad Units JavaScript into your HTML Body.
Create ad unit in DFP
Now your website is set up to serve Ads via your new DFP Small Business Ad Server.

Source: DFP Tutorials
How to setup Ad Units so that you can serve Ads via DFP Small Business How to setup Ad Units so that you can serve Ads via DFP Small Business Reviewed by Journey Of Digital Media on 9/23/2014 Rating: 5

No comments