Targets let you show different ads in the same zone for different users or pages in the publisher's site. With keyword targeting, you can serve the assigned campaign only on pages with certain URLs or words. You can also use keyword targeting to require specific publishers to be served, or to exclude them from being served certain ads.
This guide will show you how to use keyword targeting in campaigns and in email ads. For other forms of targeting, read Geographic and location targeting, Platform & device targeting, and Data Keys. To find out how to set schedules and target dates, days, or periods, read Pacing & Schedule.
You will learn:
- How keyword targeting works.
- About keyword syntax and special keyword characters.
- How to assign keywords to a campaign.
- How to enable keyword targeting in the publisher's website.
- How to check if a keyword is properly set in the publisher's website.
- How to enable keyword targeting in email ads.
How keyword targeting works
window.abkw is recorded as the keyword for that page. This is the variable to which keywords are assigned. In most cases,
window.abkw won't be set to any keyword and AdButler will ignore it.
For emails, the keyword variable is
kw. You must manually include this variable in the email zone tag along with the keyword to enable targeting in email ads.
kw is set to a keyword, AdButler will then look at the assigned ads or campaigns in the zone to see if any of them match the keyword.
- If an ad or campaign's keyword is set to Preferred, the matching ad will be more likely to appear.
- If the keyword is Required, the matching ad will have a chance to be served only if the keyword matches, and its chance of being served increases.
- If a keyword is Filtered, the matching ad will have a chance to be served only if the keyword matches, but its likelihood of being served does not increase.
window.abkwwhen adding the zone tag into the publisher site. If the publisher site has variables for keywords, make sure to assign the appropriate variable to
window.abkwSee Enabling keyword targeting in the publisher's website.
Keyword syntax and special characters
Keywords and keyword macros
- string: this is the word or phrase that you want to be in the publisher's page, e.g.
inurl:: a keyword macro that you use to target a string in the publisher's URL instead of within the page. Do not add a space between the colon and the string, e.g.
publisherid:: a keyword macro that you use to target a specific publisher based on the publisher ID. Do not add a space between the colon and the ID, e.g.
Aside from the string itself or the keyword macros, there are special characters that extend the features of keyword targeting, such as letting you search for multiple keywords at once, or excluding the matching page or publisher from being served.
||A wildcard character.
||Specifies that a keyword is a negative match. While a regular match gives an ad a chance to be served, a negative match prevents the ad from appearing at all. This works with all keyword types. Do not add a space between
||Allows you to specify multiple keywords. This works with all keyword types, but it is an OR operator. In other words, AdButler will consider a match even if only one or some of the keywords match. Do not add a space between keywords and commas.
||Makes a keyword a required match. If the keyword is not detected, the ad will not be served. Do not add a space between
||Groups keywords together. This lets you apply other special characters to groups of keywords as if they were individual keywords. This is an AND operator.
|\||Specifies that the succeeding hyphen (-) or plus sign (+) inside the AND operator
Assigning keywords to a campaign
- Go to the relevant campaign's dashboard (Advertisers > Your Advertiser > Your Campaign).
- Click Assign to Zone under the Zone Assignments table.
- Select a zone to which the campaign will be assigned. The Assignment Details page will appear.
- Select a serve method. The rest of the settings will appear.
- Set the initial settings as needed, then scroll down to the bottom of the page. Click Targeting to expand its settings.
- Enter your keyword or keywords. Be sure to use the correct syntax.
- Click Save.
You can now enable keyword targeting in your publisher's website.
Enabling keyword targeting in the publisher's website
These instructions show the most common way to set keywords in the publisher's website.
- Open the source code for the web page header.
- Add this snippet to the header, replacing
'YOUR_KEYWORD'with the keyword for the page. Be sure to enclose the keyword in single quotes.
<script> window.abkw = 'YOUR_KEYWORD'; </script>
window.abkw = 'artist,painter,illustrator';
- Save your changes.
Checking if a keyword is enabled in the publisher's website
- Open the page in a browser.
- Right-click the page then select the inspect option. The browser inspector will open.
- Click on Console.
- Search for
window.abkwwithin the console. If it appears and has the right keyword, then the keyword was properly set.
Enabling keyword targeting in email ads
- Go to the dashboard of the email ad zone to which you assigned the campaign (Publishers > Your Publisher > Your Email Ad Zone).
- Click Get Zone Tags on the far right panel. The Zone Tags window will appear.
&kw=YOUR.KEYWORDafter your EUID in the
img srctag, replacing
YOUR.KEYWORDwith the keyword for the email. Do not add quotation marks to the keyword.
- Copy the entire zone tag.
- Log in to your admin dashboard in your email provider and create a new email template.
- Look for the field in the template where HTML code is added. Paste the zone tag into that section.
- Save the template.