Targeting Value Service
The targeting-value service works in conjunction with the targeting-key service to allow you to create your own key/value combinations for use in targeting on line items, campaigns, and so on. (See Custom Key Value Targeting for more information.)
Add a new targeting value:
Add multiple new targeting values:
Modify a targeting value:
View all targeting values for a specific key:
View a specific targeting value:
Delete a targeting value:
The ID of the targeting value.
|The ID of the associated targeting key. The targeting key must exist before a value can be created. (See Targeting Key Service.)|
|The name of the targeting value. This name must be unique within a given targeting key.|
|A label for the value, used for reporting purposes. This value is not required, but if you supply a value it must be unique within the a key. Labels can be a maximum of 190 characters.|
|Read-only. The date and time the targeting value was created.|
|Read-only. The date and time the targeting value was last modified.|
Number of values:
- You can have up to 100,000 values per key.
- You can have up to 2,500,000 total active values at one time.
- Value names are not case-sensitive.
- Maximum value name length is 100 characters.
- Value names may contain whitespace, so they can be more than one word.
- Value names cannot contain any of the following special characters:
- " (double quotes)
- ' (apostrophe)
- = (equal sign)
- ! (exclamation point)
- + (plus sign)
- # (hashtag)
- * (asterisk)
- ~ (tilde)
- ; (semicolon)
- ^ (caret)
- () (parentheses)
- < > (angle brackets)
- [ ] (square brackets)
- , (comma)
- & (ampersand)
- @ (at)
- : (colon)
- ? (question mark)
- % (percent)
- / (forward slash)
View all targeting values for a given key
View a specific targeting value
Add a targeting value (string)
Add multiple targeting values (string)
Add a targeting value (numeric)
The name field requires a string value (enclosed in quotes). However, if the key has been defined with a type of numeric, that string must contain numeric characters.
Modify a targeting value
Sort by value name
You can sort your results by id, name, label, created_on, or last_modified. You can sort in ascending (asc) or descending (desc) order.
Delete a targeting value