Display Ad Server
Serve ads in standard fixed-size units
Native Ad Server
Build native ads into your web page or app
VAST Video Server
Serve MP4 video ads as pre-rolls
Display Ad Server
Native Ad Server
VAST Video Ad Server
content_pasteRelease Notes
error_outlineNetwork Status
Terms of Service
Security Policy
Ad Tags
auto_storiesMacros for Ad Serving
auto_storiesAMP HTML Ads
Best Practices
auto_storiesEvaluating 3P Ad Tags for Speed
Campaign Setup
auto_storiesFlight Dates, Quantity & Pacing
auto_storiesCampaign Tiers
Getting Started
auto_storiesGetting Started with AdGlare
auto_storiesAdGlare Glossary
Good To Know
auto_storiesAdblock Detection Script
auto_storiesRevive vs AdGlare
auto_storiesThe Importance of Async Ad Tags
auto_storiesAd Server Pricing
auto_storiesVideo Ad Server with VAST Support
License & Billing
auto_storiesCDN Bandwidth & Fees
auto_storiesDownload Invoice PDFs
auto_storiesCancel License
auto_storiesReplace Credit Card
auto_storiesUpgrade Plan
Native Ads
auto_storiesNative Ads API
auto_storiesConversion Tracking
auto_storiesMetrics & Dimensions
auto_storiesExporting Data
auto_storiesCustom Formulas
auto_storiesFrequency Capping (GDPR)
auto_storiesKeyword Targeting
auto_storiesKey/Value Targeting
auto_storiesGeotargeting Locations
auto_storiesBrowser/OS/Device Targeting
auto_storiesWhite Labeled Ad Serving
auto_storiesBot Filtering for Ads
auto_storiesLazy-Loading Ads
auto_storiesKeeping Ads On The Screen
auto_storiesAdding a 3rd Party Tag
auto_storiesMove to different Folder

Keyword Targeting

menu_book Knowledge Base chevron_right Targeting
AdGlare Ad Server

Keyword Targeting allows you to show certain campaigns only if they match the keywords passed in the ad code. This type of targeting can be used in a wide range of cases. It will help you to deliver the message to an audience who may likely be interest in the ad. This will drive conversions and increase CTR.

For example, you can fine-tune delivery:
  • in articles about cars (contextual)
  • to upgraded members only
  • based on the visitor's search query

Below we'll discuss how to set up keyword targeting in your AdGlare Ad Server.

Passing on keywords to the Ad Tag

Append your keywords to the ad tag via the key/value pair &keywords=... Separate multiple keywords by commas. Here's an example:

<span id=zone123456789></span>
<script async src='//,audi,upgraded_silver'></script>

Please note that:

  • Allowable characters are limited to letters (a-z), digits (0-9) and underscores.
  • Keywords are case-insensitive.
  • Keywords should contains at least 3 characters.
  • Spaces are ignored (Tip: replace them with underscores).

Next: Targeting campaigns to those Keywords

In your AdGlare ad server, browse to Campaigns arrow_forwardTargeting Rules and scroll down to the section Keyword Targeting. The rules that you can define here can contain logical OR and AND operators by writing a comma or a new line accordingly. Let me give you a few examples.

We'd like to target the campaign to the keywords 'cars' OR 'motors'. We then write:

cars, motors

Now, if we want to target the campaign to the keywords 'cars' AND 'audi', we write:

Imagine we'd like to elaborate further on this by only showing the campaign when the keywords 'cars' OR 'motors' are present AND the visit came from a member upgraded to a silver membership:
cars, motors

Negative Keywords

Negative keywords can be targeted by adding the ! sign before the word. Let's take the last example, but now I'd like to target the campaign when the member is NOT upgraded to a silver membership.

cars, motors

Wildcards, partial-matches

Instead of an exact match, you can specify partial matches by using the % sign. Here it goes:

%juice targets juice, apple_juice, but NOT juice_bottle
juice% targets juice, juice_bottle, but NOT apple_juice
%juice% targets juice, juice_bottle, apple_juice, apple_juice_bottle and juicer

No exclusivity by default

If you add keywords to your ad tag, that doesn't mean that only campaigns with Keyword Targeting enabled are served. Campaigns with Keyword Targeting disabled are still eligible to be displayed.

Serving Keyword Targeted Campaigns First

If you pass on keywords to your ad code, you may want to show campaigns that matches those keywords first. To set this up, simply add your Keyword Targeted campaigns to a higher campaign tier than non-targeted campaigns. The engines will evaluate all campaigns in higher tiers first. If none are eligible, campaigns in lower tiers are checked.

External Resources

Share This

emoji_peopleMore about AdGlare

Since 2013, AdGlare powers the ad serving stack of hundreds of brands and publishers worldwide. With ideas and suggestions coming from Publishers, AdOps and Marketeers like you, we're proud to offer one of the most up-to-date ad servers in the market. We adhere to IAB's LEAN Ads Program and Google's Coalition for Better Ads.

Are you a publisher or brand? Reach out to see how we can help you.