Table of Contents |
---|
...
2. - 2.111 | Supported AdserversSupported AdServers | Google AdManager Ad Manager only |
---|
In order to extend the adserver AdServer interface functionality, you can add key values in the objects Ad Spec, Ad Type, and Placement (not supported after 2.112).
...
Info |
---|
If you manually edit make sure that
We highly recommend that if you are using version 2.112 to automate these values by adding the 3.5.5.3 KeyValue Generator to generate key-values for AdType and AdSpec. Otherwise, use the /wiki/spaces/SO/pages/126422313 if you are not sure how the correct syntax is. |
Manual Syntax Examples:
gender!=male
age=18,19,20,21 and gender=male
age!=0 or (gender=female and (cat=sport OR cat2="value with spaces") and location=de,at,ch,fr,nl)
...
Version | 2.112 and up |
---|---|
Supported Adservers | Google AdManagerAd Manager, Xandr, Freewheel |
With version 2.112 we changed the logic of the predefined keys and values on Ad Spec and Ad Type to the new format based on AdServer IDs: 4.3.4.4 Key-Value / Audience (AdServer) Targeting
This will allow us to provide a more stable and flexible solution for you and also enables this feature for the AdServers Xandr and Freewheel. If you were using the old format for Google Ad Manager, your existing products will continue to work, but the /wiki/spaces/SO/pages/126422313 won't support the creation of new Key Values in the old format will not be supported. Please see the chapter below on detailed migration steps.
This results in the following changes to the feature:
1.) Keys & Values will be saved in a JSON string
Instead of the old format (e.g. Key = Value) The key values will now be entered in the form of a JSON string into the field:
{"KeyValue":{"type":"List","logic":"||","valL":[{"type":"List","logic":"&&","valL":[{"type":"List","logic":"==","valL":[{"type":"Id","valS":"a09A0000010it2KIAQ"},{"type":"List","logic":"||","valL":[{"type":"Id","valS":"a09A0000010it3yIAA"},{"type":"Id","valS":"a09A0000010it4KIAQ"},{"type":"Id","valS":"a09A0000010it4MIAQ"}]}]}]}]}}
As this refers to IDs instead of names, the system makes it easier to handle keys and values with special characters in their names.
...
Enable the usage of 4.3.4.4 Key-Value / Audience (AdServer) Targeting: All you need to do is display the field AdServer Targeting field into in your Media Configuration
Enable the new Key-Value Generator. Make sure that the lightning action for the Key-Value generator is included in your Page Layouts:
Turn your existing data into the new format: To do so, simply open your Ad Spec or Ad Type with the Key Value Generator. It will automatically be turned into the new format and you can simply click save, to change your products:
Note |
---|
We do not recommend to use the two different formats of Keys and Values in combination, as there might be unexpected results. |
Additional Note - Key-Value connecting logic for Xandr
When you are using the fixed Key Values for Xandr, it's possible to create a targeting set, which can not be edited in the console UI of Xandr. This will be displayed as follows:
...