Enter a Code, which is used to identify the ad unit in the associated ad tag.

Often publishers choose to use codes that identify the ad unit's location. For example, you might use the
format SiteName_Section_SubSection_Location_PagePosition, and a specific ad unit code might be
ABCPublisher_News_International_RightSidebarTop.

Enter a Name for the ad unit, which is used in targeting and reports. You can change the
name at any time. As with the code, publishers typically use naming conventions that give information
about the ad unit's location and size.

Set the Sizes for the ad unit.

Select Fixed size and then enter the size of the creatives the ad unit can host.
You can enter multiple sizes if you want to use the same ad unit for multiple ad slots or across
different platforms with different sizes, such as mobile and desktop.

Under Fixed size, select Out-of-page if you want to serve creatives that don’t fit in a traditional banner space or browser window. They may include pop-ups, floating line items, and interstitials. Learn more about out-of-page creatives.

Select Smart Banner if the ad unit is for a mobile app and you want the ad unit
to fill the width of the screen and have a fixed height. The Google Mobile Ads
SDK has native support for Smart Banners. Learn more about Smart Banners.

Define a target window, which identifies the browser window where an ad's landing page will open. This
value is set as the target attribute of the ad link.

_top: The target URL will load in the full body of the window, breaking out of
any potential framesets. This value is selected by default.

_blank: The target URL will open in a new, unnamed window.

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

Add optional features and settings to the ad unit as needed.

Associate the ad unit with one or more placements by
clicking Add next to the appropriate placements.

If you'd like to maximize the revenue of unsold and non-guaranteed inventory with AdSense, select
the Maximize revenue of unsold and remnant inventory with AdSense checkbox. (If
all ad units in your network are enabled for AdSense by default, the AdSense inventory
settings field will display Enabled.)

Ad units enabled for AdSense will only compete with AdSense if certain
criteria are met; AdSense competition doesn't work for ad units that are placed in mobile
apps.

Set a refresh rate to determine how often a new ad impression is generated on a
mobile app. If you select Refresh rate in seconds, DFP will auto-populate a value
of 60, which you can change to 30 - 120 seconds. Learn more about refresh
rates.

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.

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.

Contact Us

The following articles may help you resolve your issue right away. If the articles don't address your issue, try the contact options below. You can quickly return to this page after visiting an article.

Still need help? To contact the support team, click below.

Oops! Looks like something went wrong. Please try again.If you still get an error, please try again in a day or two. We're on it.