Search
Clear search
Close search
Google apps
Main menu

Bulk upload and download ad units

As of April 2016, "Target platform" and "Mobile platform" are no longer available as bulk upload criteria, as they have been deprecated from inventory settings. Do not include these columns in your bulk upload files.

You can create ad units by uploading a CSV file into DFP.

 

To bulk upload ad units:

  1. Click the Inventory tab.

  2. Click Bulk upload new ad units.

  3. Click Download sample CSV file to download a file that you can use to define your ad units. The sample CSV file will contain the fields and examples that are relevant to your network, based on the features you have enabled. Don't change the column order or the column headings.

  4. Open the CSV file and make changes based on the examples and the descriptions in the tables below. When you're done, save the CSV file.

  5. Click Choose File to find your CSV file.

  6. Click Upload and validate.

  7. Verify that the ad unit settings are correct.

  8. Click Confirm upload to upload the new ad units.

The values for each column must follow the same formatting rules as those fields when you create an ad unit directly in DFP.

Column Description
#Code The ad unit code, used in the tags. Only letters, numbers, underscores, hyphens, periods, asterisks, forward slashes, backslashes, exclamations, left angle brackets, colons and parentheses are allowed. Maximum 100 characters. Example: MyCompany_HelpCenter_FAQs_Top_728x90
Name The ad unit name, which you can change later.
Sizes Ad unit sizes, in pixels, in WIDTHxHEIGHT format, separated by semicolons. Use a standard AdSense ad unit size to enable an ad unit for AdSense. Otherwise, any size is acceptable.
Description Maximum 4,000 characters.
Placements To assign the ad unit to a placement, enter the placement name.
Target window Enter _top to load the target URL in the full body of the window. Enter _blank to force the ad to open in a new, unnamed window.

If the ad unit is in an app, the target window is ignored. On Android and iOS apps, the ad clicks through to an external browser.

The following columns are included in the CSV file if your DFP account is linked to an AdSense account.

Column Description
Enabled for AdSense

Enter TRUE to allow AdSense to deliver ads to the ad unit. If you enable AdSense, you can enter values for the additional AdSense columns, listed below. To apply default AdSense settings, leave them blank.

Enter FALSE and leave the other AdSense columns blank if you don't want to enable AdSense for this ad unit.

Border color Use hexidecimal (six-character) color code, without a pound sign, such as FFFFFF.
Title color
Background color
Text color
URL color
Ad type The ad type can be text or image, or you can use both, separated by a comma.
Download ad units

You can download a list of all of your ad units at once to review your current ad unit settings and inventory structure.

To bulk download ad units:

  1. In DFP, click the Inventory tab.
  2. Click Ad units, then click Download ad units.
Was this article helpful?