curl --request GET \
--url https://api.topsort.com/public/v1/offsite-ads/campaigns/{campaign-id} \
--header 'Authorization: Bearer <token>'
{
"budget": 123,
"campaignId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"dsp": "google_ads",
"endDate": "2023-11-07T05:31:56Z",
"name": "<string>",
"startDate": "2023-11-07T05:31:56Z",
"status": "ENABLED"
}
Get campaign.
curl --request GET \
--url https://api.topsort.com/public/v1/offsite-ads/campaigns/{campaign-id} \
--header 'Authorization: Bearer <token>'
{
"budget": 123,
"campaignId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"dsp": "google_ads",
"endDate": "2023-11-07T05:31:56Z",
"name": "<string>",
"startDate": "2023-11-07T05:31:56Z",
"status": "ENABLED"
}
A valid API key generated in Topsort's UI.
The ID of the campaign to get.
The ID of the vendor to get the campaign for.
Successful Response
The response is of type object
.