Campaigns

get/api/v2/campaigns/{id}/sources

Request

  • Base URL: https://api.richads.com (the document declares no server; this is the origin it was published from)
  • URL: https://api.richads.com/api/v2/campaigns/{id}/sources
  • Auth: HTTP bearer

Path parameters

idinteger required

Campaign ID

Response

Returns the campaign sources: SSP IDs (list), whitelisted site IDs (whiteList), and blocked/blacklisted site IDs (blockList).

listinteger[]

SSP (supply-side platform) IDs assigned to the campaign

whiteListstring[]

Whitelisted site IDs for the campaign. Each ID is a unique 32-character string.

blockListstring[]

Blocked (blacklisted) site IDs for the campaign. Each ID is a unique 32-character string. Use this field to check which sites are currently blocked.

Example response

{
  "list": [
    1,
    5,
    12
  ],
  "whiteList": [
    "a1b2c3d4e5f6a1b2c3d4e5f6a1b2c3d4",
    "f6e5d4c3b2a1f6e5d4c3b2a1f6e5d4c3"
  ],
  "blockList": [
    "b2c3d4e5f6a1b2c3d4e5f6a1b2c3d4e5",
    "d4e5f6a1b2c3d4e5f6a1b2c3d4e5f6a1"
  ]
}

Changes

No recorded changes to this operation across all 1 revision of this API.