Skip to main content
POST
Create an ad set (audience, budget, schedule)

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
campaignId
string
required

Campaign the ad set belongs to.

status
enum<string>
Available options:
ACTIVE,
PAUSED
dailyBudget
number

Minor units of the account currency.

lifetimeBudget
number

Minor units of the account currency.

billingEvent
string
Example:

"IMPRESSIONS"

optimizationGoal
string
Example:

"REACH"

bidAmount
number

Bid cap in minor units of the account currency.

targeting
object

Meta targeting spec, passed through as-is. Defaults to France if omitted.

Example:
startTime
string
Example:

"2026-08-10T09:00:00+0200"

endTime
string
Example:

"2026-08-20T09:00:00+0200"

promotedObject
object

What the ad set optimizes towards (page, pixel, application…), passed through as-is.

Response

201 - undefined