Keyword Targeting

Keyword Targeting allows you to show certain campaigns only if a they match the keywords passed in the ad code. This powerful targeting feature can be used on in a wide range of cases.

Example: with Keyword Targeting you can show a campaign only...
  • if the page is the home page
  • on article pages about cars
  • to upgraded members

Good to know...

  • 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).

Passing on keywords in the ad code

Keywords are passed via the key/value pair &keyword= and separated by commas.
If your zone's invocation code looks like:
<script async src='//'></script>
<span id=zone123456789></span>
Change that to:
<script async src='//,audi,upgraded_silver'></script>
<span id=zone123456789></span>

Targeting campaigns to those keywords

In your AdGlare ad server, browse to Campaigns => Targeting 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 deepen this further 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

Full-blown example

Now we could combine all syntax to target the campaign to the keywords 'cars' OR 'motors' AND when the member is NOT upgraded to any silver, golden or any other precious metal membership.

No exclusivity by default

Passing on keywords in the ad code doesn't target campaigns matching those keywords exclusively. Campaigns without keyword targeting rules that are also eligible to be displayed in that zone will have a chance too. Briefly put, campaigns with Keyword Targeting enabled are just more restrictive than those which haven't.

Serving keyword-targeted campaigns exclusively

If you pass on keywords to your ad code, you may want to show campaigns that matches those keywords exclusively. In other words, matching campaigns will be served first. If no campaign can be found that matches your keywords at all, other campaigns will be served.

To do this, you should push your keyword-targeted campaigns to a higher campaign tier. On the page Campaigns => Settings, set the Campaign Tier to 'Override Campaign', while leaving your non-targeted campaigns at the normal level. Note that you can also customize the campaign tier names, giving you a bit more freedom to manage these channels. To do so, click the settings icon at the right side on the page Campaigns.

If you would like to discuss further technical details, feel free to contact us.

Share this article