Skip to main content
GET
Get campaign products

Authorizations

Authorization
string
header
required

API key or access token

Path Parameters

id
string
required

Unique identifier for the campaign

Minimum string length: 1
Example:

"cmp_987654321"

Response

Get campaign products

Every product attached to a campaign, sourced from the campaign's media buys (authoritative) plus any discovery-staged products that have not yet been executed onto a media buy. Use this to get the full ad-product list for a campaign without paging through the nested mediaBuys[] tree on get_campaign. Pass mediaBuyId to narrow to a specific buy.

campaignId
string
required

Campaign ID

discoveryId
string | null
required

Discovery session attached to the campaign, or null if none attached

products
object[]
required

Products staged on this campaign

searchContexts
object[]
required

Discovery runs that have contributed products

summary
object
required

Aggregate counts for products on the campaign