List platform integration campaigns for a given account
Platform Integrations
List platform integration campaigns for a given account
Make a call to external platform API to retrieve a list of campaigns available for the given account.
Response Format:
- Google Ads: Returns asset groups (campaigns). The
detailsfield isnull. - TikTok: Returns campaigns with their associated ad groups. Each item represents one search campaign.
The
detailsfield contains:{ "ad_groups": [ { "id": "string", "name": "string" } ] }
TikTok Response Structure:
id: Campaign ID (unique identifier for the campaign)name: Campaign namecampaign_id: Campaign IDdetails.ad_groups: List of ad group objects, each containing:id: Ad group IDname: Ad group name
Note: Campaigns with no ad groups are skipped for TikTok.
POST
List platform integration campaigns for a given account
Authorizations
Path Parameters
A UUID string identifying this platform integration.
A UUID string identifying the organization.
A UUID string identifying the workspace.
Body
application/json
The ID of the account.
Response
A list of campaigns associated with the account. For TikTok, each campaign includes its ad groups in the details field.