Developers

Passing Editorial Tags Into DFP Tags for Ad Targeting

Passing Editorial Tags Into DFP Tags for Ad Targeting

Monetization is a tricky hurdle for every site. On RebelMouse, we try to make every ad feature easy to use, organize, and change if needed. For example, you may have a special editorial section or set of articles that require targeting specific ads, or no ads at all.


By passing editorial tags into your DoubleClick for Publishers (DFP) tags, you can control turning ads on or off, or targeting them for specific campaigns. We have a variable you can invoke and pass into ad tags easily using the {{tags}} and/or {{section}} variables in the Ad Header Code.

Here's an example in our Layout & Design tool:

Doing that will output the following code to your website:

Using Private Tags

You can also use private tags by implementing the (*) symbol. This will make it so that sensitive content will not show up for your users while still being passed into the ad tag system.

Note: This feature is not yet supported for Facebook Instant Articles or Google Accelerated Mobile Pages (AMP), but it will be in the future.
What Is RebelMouse?
Request a Proposal

Where
Websites Are Built

The Fastest Sites in the World Run on RebelMouse

Let’s Chat

new!

RebelMouse Performance Monitoring

Real-Time Core Web Vitals

Get Started
DISCOVER MORE

Our Core Features

Our platform is a complete digital publishing toolbox that's built for modern-day content creators, and includes game-changing features such as our:

Why RebelMouse?

Unprecedented Scale

RebelMouse sites reach more than 120M people a month, with an always-modern solution that combines cutting-edge technology with decades of media savvy. And due to our massive scale, 1 in 3 Americans have visited a website powered by RebelMouse.

120M+ Users
550M+ Pageviews
17+ Avg. Minutes per User
6+ Avg. Pages per User

Today's Top Websites Use RebelMouse

Thanks to the tremendous scale of our network, we are able to analyze a wealth of traffic data that informs our strategies and allows us to be a true strategic partner instead of just a vendor.

What Clients Say

We’re here to help you weigh and understand every tech and strategic decision that affects your digital presence. Spend less time managing everything yourself, and more time focused on creating the quality content your users deserve.

Case Studies

A Team Built Like No Other

RebelMouse employs a unique, diverse, and decentralized team that consists of 70+ digital traffic experts across more than 25 different countries. We have no central office, and we cover every time zone to ensure that we’re able to deliver amazing results and enterprise-grade support around the clock.

Our team is well-versed in all things product, content, traffic, and revenue, and we strategically deploy ourselves to help with each element across all of our clients. We thrive on solving the complex.

Let's Chat