title | Attention |
---|
Key-Value Field
Version | 2. - 2.111 |
---|---|
Supported Adservers | DFP only |
In order to extend the adserver interface functionality, you can add key values in the objects Ad Spec, Ad Type, and Placement (not supported after 2.112).
Please use the field: ADvendio_KeyValues__c on those objects. It is named the same on all objects and gets transferred to the ad server. Also, note that these key values are not getting transported into the campaign item key-value fields and therefore are not shown on the pdf-documents. Instead, they are transmitted directly to the ad server.
Syntax before version 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 3.5.5.3.1 Key-Value String Generator (old) if you are not sure how the correct syntax is. |
...
- 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)
Syntax Changes with version 2.112
Version | 2.112 and up |
---|---|
Supported Adservers | DFP, Appnexus, Freewheel |
...
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.
...
Before 2.112, it was also possible to define a fixed Key-Value string for Placements. For the new format, it will only be possible to do this for Ad Specs and Ad Types.
Migration steps for existing customers
Existing predefined Key Values for Google Ad Manager will continue to work for now, but to switch to the new system, you will have to do the following steps:
- 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 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 Appnexus
When you are using the fixed Key Values for Appnexus, it's possible to create a targeting set, which can not be edited in the console UI of Appnexus. This will be displayed as following:
This can happen when you are using fixed Key Values at multiple objects (Campaign Item, Ad Spec, and Ad Type at the same time) or when you use multiple groups at the Ad Spec or Ad Type. The configured targeting will still work, but it won't be changeable within Appnexus and can only be modified from ADvendio.
...