Skip to main content

Who this guide is for

This guide is for advertisers who configure line items and operators who prepare custom targeting keys and values. Operators generally manage keys and values; advertisers select the available options and apply them to line items. Available pages and actions depend on account permissions.

How custom targeting is structured

Custom targeting consists of keys, values, conditions, and line items. For example, suppose Brand A is the advertiser on the sample retailer’s Spring promotion order, with a Promotion banner line item. If the retailer sends a visitor’s promotion interest in ad requests as the interest key with the spring_fair value, an operator registers that key and value and the advertiser selects the condition for the line item. Keys and values must match the targeting data sent with the retailer’s ad requests.

For operators: prepare keys and values

An operator or admin with key and value management access registers the targeting keys and values that the retailer actually sends in ad requests.
1

Open Key-Value

In Custom Targeting, open Key-Values and select Add Key.
2

Enter key details

Enter a Targeting Key code that starts with a lowercase English letter. Codes may contain lowercase letters, numbers, periods, underscores, and hyphens. The code cannot be changed after creation. Enter a recognizable Display Name and, optionally, a description. Predefined is the currently available value type. Choose the visibility that fits the retailer’s setup.
3

Register targeting values

After saving the key, open Value List on the key details page and select Add Value. Enter the code sent in the ad request in Value Code, and a recognizable label in Display Name. When adding multiple values, check that each value is paired with the correct display name.
4

Activate keys and values

In the list, you can display inactive items. Inactive keys and values are unavailable for new targeting conditions. Activate the required items, then refresh attributes in the line item editor and confirm they appear.
Key codes cannot be edited after creation. The key owner or an admin can edit an existing key’s display name and description. Only admins can delete keys and values. Check the impact before deleting a key or value that is already used by line items. You can deactivate an item instead of deleting it and reactivate it later if needed.
Key-Values list

For advertisers: apply conditions to a line item

In Custom Targeting on a line item, you can build conditions directly or load a saved segment. You need permission to edit the line item.
1

Open the line item

Select the line item in its order and open the Custom Targeting section in the editor. Select On to show the condition controls. Select Off to configure the line item without custom targeting.
2

Choose keys and values

In the condition panel, select a key, choose Include or Exclude, and then select values for that key. If you select multiple values for a key, matching any one of them satisfies an Include condition. An Exclude condition fails when a request matches any selected value. If you configure multiple keys, every key condition must be satisfied. For the example’s Promotion banner line item, select Include for spring_fair under interest. If a key or value is missing, ask an operator to check that it is registered and active, then select Refresh attribute list. You can also open key and value management through Manage key-values.
3

Review all conditions

Selected conditions appear in the applied conditions list. Review the operator and values for each key. If you load a segment, review the preview and select Apply to bring its conditions into the line item. A segment whose operator conflicts with an existing condition on the same key is marked Cannot apply and cannot be selected.
4

Save and verify the line item

Check that the conditions match the intended setup and save the line item. Reopen the editor to verify that custom targeting is enabled and the conditions were saved.
For each key, the saved condition uses an include or exclude rule. The same key cannot have conflicting operators at once, so review the preview before importing a segment.

Save and reuse a segment

A segment is a saved set of custom targeting conditions. In Custom Targeting, open Segments, select Add segment, and enter its name, description, and conditions. If you have segment management access, you can select and edit segments in the list. You can also show inactive segments and activate or deactivate selected segments. To use a saved segment in a line item, select Import in the line item’s Custom Targeting section, choose a segment, review the conditions preview, and select Apply. The conditions are copied into the line item. Editing that line item’s conditions later does not change the original segment definition.
Segments list

Troubleshooting