Skip to main content

DSPData

A named collection of targeting segments. The data and segment objects together let publishers define custom targeting criteria such as demographics and behaviour to target different audience sets. When an ad request includes key-values, FCC serves only demand that targets those key-values.

namestringrequired

Pass user_targeting in this field for custom targeting.

Example: user_targeting
segment object[]required

Array of targeting segments. Each segment is a name and value pair. FCC applies OR logic to multiple values within the same segment and AND logic across different segment keys. Publish segment names and value options in FCC Ads Manager before sending them in requests.

  • Array [
  • namestringrequired

    Name of the data segment you configured in FCC Ads Manager.

    Example: key-id-1
    valuestringrequired

    One or more values for this segment key as a comma separated string.

    Example: value-id-11,value-id-12
  • ]
  • DSPData
    {
    "name": "user_targeting",
    "segment": [
    {
    "name": "key-id-1",
    "value": "value-id-11,value-id-12"
    }
    ]
    }