How to Implement Custom Targeting Within DFP

DoubleClick For Publishers / Google Ad Manager Ad Optimization
Last updated: September 5, 2019 | by Kean Graham

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

best_gaming_ad_networks
Ad Network Reviews, Tips & Guides
September 22, 2022

Best Gaming Ad Networks [2022]

Read More
what-is-average-revenue-per-visitor
Blog
September 20, 2022

Average Revenue Per Visitor: The money making KPI

Read More
video-ad-servers-vs-display-ad-servers
Blog
September 15, 2022

Video Ad Servers vs Display Ad Servers: Use Both or One?

Read More
Close

Enjoying this post? Let's put things to action

Get started