Skip to main content
POST
Search campaign ads

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

brand_id
integer<int32>
required

The Dash Social assigned ID of the brand.

campaign_id
integer
required

The ID of the campaign object.

Required range: x >= 0

Body

application/json
source
enum<string>
required

Source specifies which ads platform to return ads for.

Available options:
META_ADS,
TIKTOK_ADS
limit
integer
default:100

The maximum number of ads to return.

Required range: 0 <= x <= 100
offset
integer
default:0

The offset of the first ad returned.

Required range: x >= 0
sort
string | null

The metric to sort the results by.

source_campaign_ids
string[]

Filter the results by ad campaign ID.

Response

OK

data
object[]
paging
object