Tag Archive for: DFP Ad units

Google Ad Manager Ad units Basics, Placements creation and GPT Generation

Ad unit

Google Ad Manager Ad unit defines the inventory in DFP / Google Ad Manager. Creation of Ad units are essential in Google Ad Manager to target the website Ad slots by means of integrating Google Publisher Tags (GPT) with Website Ad slots.

1. A) Ad unit Creation










Steps to Create an Ad unit

  1. Click on the Inventory tab in the Left hand side Menu bar.
  2. Click on Ad Units in the Top menu bar. Then click New Ad Unit.
  3. Prefer “CURRENT LEVEL” (if you have own site)OR Prefer “ONE LEVEL BELOW NETWORK” (if you are an agency, dealing with multiple client – However the First Ad unit should be created as “current level” and follow by you can create Sub-Ad units under the main Ad unit)
  4. Name the ad unit, and make sure there is no space in the ad unit name, i.e. yoursite_300x250ATF”
  5. Fill the required size you want to define for the Ad unit (May be 728×90; 970×90; 300×250; 300×600; 970×250 etc)
  6. Target window should always be “BLANK” this is because of when you choose this option, the user will be redirected to the advertiser’s site in another window. But you prefer “TOP”, then the user will redirected to the advertiser’s site on the same widow i.e overriding your website through advertiser’ site.
  7. Reward deals with Video Ad inventory. Enter the details of the reward the user receives for watching a video ad. For example, if the reward for watching a video ad is to get 10 more lives in a game, enter a “Reward amount” of “10” and a “Reward type” of “lives”.
  8. Select Placements if you want to do Ad Grouping (will discuss about placement below)
  9. Select “Enabled” in Adsense inventory settings. This should be done for Dynamic allocation of Adsense with Google Ad Manager inventory. This will help the publisher to monetize the unfilled Ad slots with Adsense.
  10. Click “Save” the Ad unit.

Please take a look of Ad unit creation for “yoursite_300x250ATF”

Bulk Ad units Creation & Upload

    1. Step into Google Ad Manager account
    2. Click Inventory Tab
    3. Select “Bulk Upload Ad units”
    4. Click Download sample CSV file to download a spreadsheet to list them down and define your ad units. The sample CSV file may contain the fields and examples that are relevant to your network, based on the features you have enabled.
    5. No changes to be made in Columns and Column headings on the spread sheet
    6. Open the CSV file and make changes based on the settings you want. Refer to the convention or setting you used when creating your single ad unit directly into Google Ad Manager
    7. Enter the Name, Size and Placements as mentioned on above.   
    8. Click and save the CSV file.  
    9. Move to Google Ad Manager interface, click Choose File button to find your CSV file.
    10. Click Upload and validate button.
    11. Verify that the ad unit settings are correct.
    12. Click Confirm upload to upload the new ad units.
    13. The values for each column must follow the same formatting rules as those fields when you created a single ad unit directly in Google Ad Manager.


Once the Ad unit is created, Now this is the time to generate GPT (Google Publisher tags) for the created Ad units.

Placements Creation

placement is a group of ad units set together in Google Ad Manager for targeting purposes.


  1. Click on the Inventory tab in Google Ad Manager.
  2. Select Ad unit on the left hand side vertical menu bar.
  3. Now click on Placements
  4. Give a Name, and start to select sets of Ad units under in 1 Placement (Ad grouping)
  5. For example, you can select the the following Ad units such as side bar Ad slot-1 and side bar Ad slot-2 under 1 placements.
  6. By doing this, In line item targeting level, It’s sufficient to target Placement-1 instead of mentioning side bar Ad slot-1 and side bar Ad slot-2, so that the line item itself starts to deliver ads in both Ad units accordingly.

2. Creation of GPT (Google Publisher Tags)

  1. Look at the top right side of the picture mentioned above, where you can see “Generate Tags” click on it.
  2. Select Tag type as “Google Publisher Tag” then click on “Continue”                                                                GPT works as the bridge between the ad server and the user’s browser. It carries the various settings defined in Google Ad Manager – and then selects the best matching ads to appear on a page on a user’s browser.GPT Benefits & Features:
    • Faster loading time of web pages
    • Google publisher console
    • Single request mode
    • Automated setup for interstitials
    • Passbacks
    • SSL support
    • Slot-level custom targeting
    • Asynchronous tags
    • Non-Javascript rendering (for email ads)
  3. Mark a tick in “Enable Single request”
    If you enable single request,
    Google Ad Manager will count the impressions from head to code. For instance, a particular ad runs ad slot fills with an impression only some of the time but is present in the head code all the time. EVERY TIME the webpage loads, an impression is counted by Google Ad Manager. Single Request is a straight way to inaccurate reporting. It’s recommended disabling it at all cost.
    Enable Sync Request: Uncheck and re-check (Enabled).

               By default, It has a tick. But the tag is Asynchronous, that is why a refresh is necessary. Asynchronous tags render ads in iFrames. In spite the promises of best page load experience when using Async tags, there have been horror stories about flexible sizing, discrepancies, impressions, etc. It also needs adding ‘Frame Buster’ from the 3rd party ad network to expand the ads outside iFrames.  Conversely, sync tags do not need an extraneous ‘Frame Buster’. It’s recommended using Sync tags.
  4. Ensure the mentioned “inventory Size” and “Ad unit name” Then click on Continue
  5. No need of giving input in additional parameters. Click on Continue
  6. Now you can get a Tag results, where it consists of <head> and <body> GPT’s
  7. Now, copy those codes, Separately and send them to web master to deploy those tags in Website back end.

Please take a look of below screenshot which deals with “Generation of GPT (header and Body GPTs)”

Related Posts

How to setup New Order and Line Items in GAM

Line Item setup Basics Google Ad Manager – DFP