DocumentationAudience ManagerAudience Manager User Guide

Formatting Key-Value Pairs in DCS Calls

Last update: April 4, 2021
  • Topics:
  • DCS

When making a call, the DCS accepts key-value data in standard or serialized format. Review this section for information about how to format standard and serialized key-value data.

Standard and Serialized Key-Value Pairs

Key-Value TypeDescriptionExample
StandardA standard key-value pair consists of a single key and value. This structure organizes data into separate key-value pairs. Each key is stated explicitly, even when it’s used again to define a different value. This is the most common way to send data to the DCS.key1=val1&key2=val2&key3=val3
SerializedA serialized key-value pair consists of a single key and multiple values. This can be an efficient way to organize data, but serialized key-value pairs require specific symbols to separate each key and each key-value set.key1=val1,val2,val3

Delimiters and Separators for Serialized Key-Value Pairs

With serialized key-value pairs, you must specify the markers that separate values within and between these variables. Audience Manager requires the following delimiters and separators:

Requirements forSymbolSeparates Individual
DelimitersAmpersand &

Key-value pairs:

key1=val1&key2=val2,val3

SeparatorsComma ,

Values within key-value pairs:

key1=val1,val2,val3&key2=valA,valB,valC

Related Articles
  • Send Data to the DCS
  • Key-Value Prefixes and Variables Supported by the DCS
  • Key-Value Pairs Explained
recommendation-more-help
de293fbf-b489-49b0-8daa-51ed303af695