How to Target Ads on a Specific URL in 2023? [Best Practices Included]

Last updated: January 18, 2023 | by Kean Graham
How to Target Ads on a Specific URL

This post was most recently updated on January 18th, 2023

One of the many ways you can maximize the revenue of your site is by targeting an ad on a specific URL with substantial traffic. Serving the right and profitable ad to the right audience can result in better and higher earning potential. There are several ways we can target ads on specific URLs, depending on what publishers use to implement or show ads on the site.

Key-Value Targeting in Google Ad Manager

Key-value targeting is a feature offered by Google Ads Manager that allows you to display tags in pages where you would want it to appear. Below are the steps on how to set up key values and target specific pages in GAM:

  • Create a key-value pair
  • In Google Ad Manager click on Inventory > Key-values > New Key-value.
  • Enter a Name for the key and a Display name
  • Select a Value type

Dynamic: Users will enter targeting values when creating line items or checking inventory.

Predefined: Keys and their values are static and don’t change based on the information of a particular user.

  • On Report on values, select how the key-value appears in reports
  • Go to the Targeting values > New values
  • Enter one or multiple values
  • Click Save.


  • Include key-values in Google Publisher Tags (GPT)

There are two methods in key-value targeting :

Ad Slot level targeting – Allows you to set key values for individual ad slots on your page. After passing the key values, the line items targeted to the KVP below will be eligible to serve on the ad slot.


Page-level targeting – Allows you to set key values across all ad slots on your page.


Below is an example of a script with ad slot-level and page-level targeting:


  • Target key-values in line items

Follow the below steps to get started with targeting the specific pages or ad slots of a page in Google Ad Manager

  • From the left-hand side menu click on Delivery > Order
  • Select the Line item that you want to target.
  • Scroll down to the Add targeting section and go to Custom targeting
  • Select the Key from the dropdown and enter the values

And/Or feature allows you to create different sets of key-values while “is not” prohibit the ads to appear on a specific area of a web page

  • Save the setting once done


Ad Inserter in WordPress

One of the easiest ways to target ads on specific URLs is doing it in WP using the ad inserter plugin.

  • Place the ad code on a  block.


  • Click on LISTS


  • Go ahead grab the URL and paste it  here in this section



Don’t forget to remove the root domain and add a star at the end of the URL


  • Target or Whitelist the ad by ticking the checkbox next to the URL box.


  • After that, click SAVE SETTINGS

Both processes we have presented above aim to help publishers achieve their goal – target the right audience and pick the best placement for the ads to display for a better yield and optimal revenue.

For more information on key values and targeting you may check these blog articles below:

Need help optimizing your ad revenue? You may contact our ad revenue experts for a free consultation.

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

"Working with MonetizeMore has been a transformative experience as they helped to increase my overall revenues by over 180%"



Paid to Publishers


Ad Requests Monthly


Happy Publishers

Recommended Reading

October 3, 2023

Elevate Your Q4 Earnings: Dive into Uncharted Ad Revenue Territories!

Read More
Search Engine Optimization (SEO)
October 2, 2023

10 Easy Ways to Increase Website Speed

Read More
September 29, 2023

Advanced Ads vs Ad Inserter

Read More

Trusted by 1,500+ publishers worldwide

10X your ad revenue with our award-winning solutions.

Let's Talk


Ready to 10X your ad revenue with the #1 ad management partner?

Start Now