Skip to main content
POST
Create a campaign (paused unless stated)

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
name
string
required
Example:

"Soldes été — trafic"

objective
enum<string>
required
Available options:
OUTCOME_AWARENESS,
OUTCOME_TRAFFIC,
OUTCOME_ENGAGEMENT,
OUTCOME_LEADS,
OUTCOME_APP_PROMOTION,
OUTCOME_SALES
status
enum<string>

PAUSED by default: a campaign created running starts spending immediately.

Available options:
ACTIVE,
PAUSED
dailyBudget
number

Daily budget in minor units of the ad account currency (2000 = €20.00). Set it here for campaign budget optimization, or on the ad set instead.

Example:

2000

lifetimeBudget
number

Lifetime budget in minor units of the account currency.

bidStrategy
string
Example:

"LOWEST_COST_WITHOUT_CAP"

specialAdCategories
string[]

Special ad categories (CREDIT, EMPLOYMENT, HOUSING, ISSUES_ELECTIONS_POLITICS, ONLINE_GAMBLING_AND_GAMING). Empty means none — declaring wrongly gets the campaign rejected at Meta review.

Example:

Response

201 - undefined