GET
/
v2
/
offsite-ads
/
campaigns
/
{campaign_id}
curl --request GET \
  --url https://api.topsort.com/v2/offsite-ads/campaigns/{campaign_id} \
  --header 'Authorization: Bearer <token>'
{
  "budget": 123,
  "endDate": "2023-11-07T05:31:56Z",
  "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "name": "<string>",
  "startDate": "2023-11-07T05:31:56Z",
  "status": "ENABLED"
}

Authorizations

Authorization
string
header
required

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

Path Parameters

campaign_id
string
required

The unique identifier of the campaign.

Response

200
application/json
Successful Response
budget
integer
required

The campaign budget in minor currency units.

id
string
required

The unique identifier of the campaign.

name
string
required

The name of the campaign.

startDate
string
required

The start date and time of the campaign (UTC).

status
enum<string>
required
Available options:
ENABLED,
PAUSED,
REMOVED
endDate
string

The end date and time of the campaign (UTC), optional.