Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

 Ad

Key-Value Field


Version 2. - 2.111
Supported AdserversDFP 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). 

...

Info

If you manually edit make sure that

  1. Only the Adserver's API names are allowed, do not use display names.
  2. Use spaces only before or after a connective (and, or). If a value contains spaces, you have to use quotation marks.
  3. If you have a key-value string in more than one object (AdSpec, Placement, and AdType) the resulting string will be concatenated with an AND
  4. No new values will be created. If a value does not exist, it will be ignored.
  5. Make sure that you combine expressions with the same key and operator into on line: (location=de,at,ch,fr,nl) instead of (location=de OR location=at OR ...)

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) /wiki/spaces/SO/pages/126422313 if you are not sure how the correct syntax is.

...

This will allow us to provide a more stable and flexible solution for you and also enables this feature for the AdServers Appnexus and Freewheel. If you were using the old format for Google Ad Manager, your existing products will continue to work, but the 3.5.5.3.1 Key-Value String Generator (old)/wiki/spaces/SO/pages/126422313 won't support the creation of new Key Values in the old format. Please see the chapter below on detailed migration steps.

...

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.

...