Skip to main content
POST
Promote an existing Page post: creates the campaign, ad set and ad in one call

Authorizations

Authorization
string
header
required

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

Path Parameters

accountId
string
required

Body

application/json
postId
string
required

Page post to promote, as {page-id}_{post-id}.

Example:

"123456789_987654321"

dailyBudget
number
required

Daily budget in minor units of the account currency (2000 = €20.00).

Example:

2000

days
number

Run duration in days (default 7).

countries
string[]
Example:
ageMin
number
Example:

18

ageMax
number
Example:

65

name
string
status
enum<string>

PAUSED by default: nothing spends without an explicit go.

Available options:
ACTIVE,
PAUSED

Response

200 - undefined