Contents

AssetConstraintGroup

A constraint group defining the supply placements and countries or regions where an asset is blocked or allowed to serve.

Declaration

object AssetConstraintGroup

Properties

NameTypeDescription
supplyPlacement[string]

Supply placement identifiers scoped by this constraint. Example values: SEARCH_TAB, TODAY_TAB, SEARCH_RESULTS.

countryOrRegion[string]

ISO 3166-1 alpha-2 country or region codes scoped by this constraint. Example values: US, GB, CN.

Discussion

The AssetConstraintGroup object defines a pairing of supply placements and geographic markets that collectively describe where an asset eligibility rule applies. The AssetEligibility objects embed it to specify the exact scope of a blocking or allowing rule for an asset.

When both supplyPlacement and countryOrRegion are populated, the constraint applies to the intersection of those placements and markets.

Example

{
  "supplyPlacement": [
    "SEARCH_TAB",
    "TODAY_TAB"
  ],
  "countryOrRegion": [
    "US",
    "GB"
  ]
}

See Also