How to Implement Custom Targeting Within DFP

DoubleClick For Publishers / Google Ad Manager Ad Optimization
Last updated: September 5, 2019

This post was most recently updated on September 5th, 2019

Custom targeting is a useful tool to enable targeting of specific types of pages without having to build a ridiculous amount of ad units. It is necessary for having great targeting capability while having a lean DFP setup.

Related Read: DFP Cheat Sheet for Beginners: Targeting Line Items

Below are the directions for setting up custom targeting:

Step 1: Log into DFP

Step 2: Click the Inventory tab

DFP Custom Targeting Inventory

Step 3: Click Custom Targeting

DFP Custom Targeting

Step 4: Click New Key and name it — this is the title of segmentation variable (eg. category, demographic)

DFP Custom Targeting New Key

Step 5: List each variable (one per line)

DFP Custom Targeting Ad Variables
Now that you have set it up on DFP, it’s time to implement it within your site. As an example, this is how the strings would read on the home page from affiliate1 traffic:

googletag.pubads().set(‘page_url’, ‘http://www.homepage.com’);
googletag.pubads().setTargeting(‘publisher’, ‘affiliate1’);:

Each variable should be placed on the relevant page. When you target a custom variable when creating a line item, it will show up on the relevant pages that have that variable. For reference, here is a publisher that has custom targeting set up: view-source:http://geebo.com/jobs-online/list/.

If you’d like to learn how MonetizeMore can implement custom targeting for your DFP account, contact us here for a free consultation.


Related Reads:

Ad Ops Tips & Guides, Industry News, Latest Tech and Success Stories - right in your inbox.

We are committed to protecting you Privacy Data

Here’s the course that 300+ pubs used to scale their ad revenue.

Enroll today

Book Banner

Recommended Reading

ads-optimization
Blog
August 18, 2022

10X your Revenue with these 4 Ad Placement Strategies

Read More
adsense-ctr
Blog
August 16, 2022

5 Tips for Improving Your AdSense CTR

Read More
mobile-in-app-advertising
Blog
Last updated: August 18, 2022

6 In-App Advertising Revenue Models that Make Millions

Read More
Close

Enjoying this post? Let's put things to action

Get started