Bulk upload and download ad units
You can create ad units by uploading a CSV file into DFP.
To bulk upload ad units:
Click the Inventory tab.
Click Bulk upload new ad units.
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.
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.
Click Choose File to find your CSV file.
Click Upload and validate.
Verify that the ad unit settings are correct.
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.
|#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:
|Name||The ad unit name, which you can change later.|
|Sizes||Ad unit sizes, in pixels, in
|Description||Maximum 4,000 characters.|
|Placements||To assign the ad unit to a placement, enter the placement name.|
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.
|Enabled for AdSense||
|Border color||Use hexidecimal (six-character) color code, without a pound sign, such as
|Ad type||The ad type can be
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:
- In DFP, click the Inventory tab.
- Click Ad units, then click Download ad units.