Introduction to Google DFP: Using House Ads

Final product image
What You'll Be Creating

This is the sixth tutorial in a series about Google DoubleClick for Publishers. DFP is a service that can seem incredibly complicated to the uninitiated—our series aims to simplify it. 

In this tutorial, I'm going to walk you through configuring a group of internal house ads which can deliver revenue but simultaneously pressure Google AdSense to provide higher-paying advertisements.

If you're new to this series, please review our earlier episodes before continuing: Introduction to Google DFP Small Business, Beginning Ad Integration With Your Website and Placements.

I do try to participate in the discussions below. If you have a question or topic suggestion for a future episode, please post a comment below or contact me on Twitter @reifman.

What Are House Ads?

Typically, when you a run a website, you'll have more page views than demand from quality advertisers. House ads are what you put in those unbooked spaces. Sometimes, a house ad might link a viewer to actually buy an advertisement on your site. Other times, house ads link to products, services or events that you offer and wish visitors to see.

One of the ways I earn revenue is by filling my unsold inventory with house ads that link to my favorite affiliate programs. As I've mentioned here before, I've been quite impressed with the affiliate offerings of WPEngine and Digital Ocean—I also promote FastMail. All of these services tend to appeal to my readers as well.

Today, I'll walk you through configuring your Google DFP account and your website to compete with AdSense's paid advertisers with your selected house ads. 

Integrating Your House Ads

We can implement house ads in a few different ways in Google DFP. For this tutorial, I'm going to create an order for my own company which uses different line items for different ad units and sizes.

Follow along below as I walk you through the various steps. First, let's create the ad units on my website Publishing with WordPress.

Create New Ad Units

Ad units represent the exact areas of your site where you want an ad to appear. They represent specific locations. The first ad I'll create is for the top of the sidebar. Its size is 250x250. Just visit the Google DFP Inventory page and click New Ad Unit:

Google DFP House Ads - New ad unit

I'm making the top sidebar ad for square 250 x 250 images.

Google DFP House Ads - AdSense Inventory Settings

We'll also create a second ad unit for the sidebar middle at 160x600, using the same process. I wanted to experiment with a small ad near the top and a taller ad down the page. The taller ads generally are more effective, but using the small square ad higher up makes the sidebar a bit more functional for readers, better exposing access to search and recent posts widgets.

Generate Tags for Our Website

Next, on the Inventory page, I chose Generate Tags on the left-hand sidebar. I selected the two ad units planned for my page: Sidebar Top and Sidebar Middle:

Google DFP House Ads - Generate Tags

Google DFP then runs you through a short wizard:

Google DFP House Ads - Tag Wizard

When you click Continue, you'll be presented with the HTML and JavaScript tags for your website:

Google DFP House Ads - Tag Results HTML to Paste

Configuring the WordPress Theme Header

Using the WordPress theme editor in Appearance > Editor and choosing header.php, I pasted the top global HEAD code above:

Google DFP House Ads - Theme Editor to Paste HTML

Whenever our site loads, this prepares the page to load the group of ads from DFP. Next we need to place the individual ad units in their actual positions.

Placing the DFP Ad Unit Code

For this we use the Appearance > Widgets editor and Text fields:

Google DFP House Ads - Widgets for Ad Units

I created two Text fields, pasting the Sidebar Top into one widget and the Sidebar Middle into another. Then I dragged them into place where I wanted them.

Google DFP House Ads - Widget Organizer

After that, we can begin populating our network of house ads.

Upload Creative Images

I went to the DFP Delivery page and clicked Creatives, then Add Creatives. Separately, I had to access my affiliate banners and click-through URLs so I could upload the images and provide DFP the target URLs:

Google DFP House Ads - New Creative

After repeating this for all the advertisements, DFP showed me All creatives together:

Google DFP House Ads - Creatives

Then it was time to create my company's house order.

Create a New Order

Google DFP House Ads - Create a New Order

For the new order, I created a new company house advertiser after my consulting arm, Lookahead Consulting. Then I specified a line item for the Sidebar Top 250x250 ads:

Google DFP House Ads - New company and line item

Then I experimented with my first technique of outpricing Google AdSense. There are different approaches you can take here. 

Line item types and their delivery priorities explains that if you're not interested in revenue from house ads and just want them to fill when there are no paying advertisers, you can use the House type. For me, I just left my Type as Standard to compete with AdSense.

My first experiment was to set up an infinite (for my site) number of clicks (10M) at $1 per click (CPC). I guessed that this would be enough to outprice most AdSense ads for a while. However, I knew I would have to come back and monitor these settings.

Google DFP House Ads - Settings

For Add Targeting—my favorite mislabeled DFP field (not Ad Targeting, Add Targeting), I specified that this line item placed ads in PubWP Sidebar Top:

Google DFP House Ads - Add Targeting

After creating a line item order, you have to click it and Approve it. There's not much UX notification about this.

Google DFP House Ads - Approve Your Order

Then, I added my existing creatives. I selected my three 250x250 square ads: two for WP Engine and one for Digital Ocean.

Because I had previously uploaded these creatives for a different company name, I had to make copies a couple of times to get them into the correct new company. You can ignore the (copy) and (copy)(copy) text.

Google DFP House Ads - Use existing creatives

According to Google: 

"After you activate a line item, the first impression is delivered within approximately 30 minutes. Once the first impression is delivered, reports are updated (and the line item status will change from "Ready" to "Delivering") within another 30 minutes."

While I was waiting, I repeated the process for the middle sidebar 160x600 ads. For this line item, I priced it to compete with Google AdSense using impressions at $5 CPM.

Review Your Ad Placements

I visited Publishing with WordPress to see if the ads had begun to run. The house ads weren't yet delivering, so Google AdSense ads appeared in both ad units:

Google DFP House Ads - Home page with AdSense

Here's a complete look at the sidebar:

Google DFP House Ads - Sidebar with AdSense

Shortly after, image advertisers appeared, but not my house ads:

Google DFP House Ads - Sidebar with AdSense Image

I've worked with Google DFP enough to know that at this stage you just have to come back in an hour or two. There aren't very good ways to see what's happening.

My favorite DFP UX issue is how it says Ready when it should really say pending 120 minutes or something. Sorry Google engineers, I know not everything is easy—but you're geniuses!

Google DFP House Ads - House Ad Status

It took a while, but gradually my house ads appeared in Sidebar Top, first Digital Ocean and then WP Engine:

Google DFP House Ads - Top sidebar House ad

After a little while longer, the right sidebar started rotating middle house ads:

Google DFP - Sidebar Middle

The line item delivery status was a bit behind, first continuing to say only Ready even once the top ads had begun, and then belatedly saying one was delivering. I'm sure by the end of the year, this will say Delivering (2). In the end, it only took an hour.

Google DFP - Line Item Status

In Closing

Over time, I'll expand my ad placement and the inventory of house ads. It will be fun to see if this performs better than my earlier static WordPress placements. I used to use the widgets to place static HTML of my hosted ads. They wouldn't generally rotate or include paid advertising networks like AdSense.

Over time, I'll need to review the pricing with clicks and impressions to see how well they compete with AdSense. I can also add in various affiliate programs and price them accurately against their average return. This way, DFP will help optimize the delivery of the most profitable ads to visitors.

What's Next?

In the next episode, we'll explore Google DFP Reports. Hopefully by then our ads have started running and we have good data to present.

As the series evolves, I'd love to hear more of your feedback about DFP topics you'd like me to explore. Please feel free to post your questions and comments below. You can also contact me on Twitter @reifman. To see other tutorials I've written, browse my Envato Tuts+ instructor page.

Related Links

Tags:

Comments

Related Articles