Skip to main content
POST
Create campaign

Authorizations

Authorization
string
header
required

JWT token obtained from /api/auth/token endpoint. Token is verified using JWKS and must include a valid user identifier.

Path Parameters

projectId
string<uuid>
required
accountId
string<uuid>
required

Body

application/json
adAccountId
string
required
name
string
required
Required string length: 1 - 400
objective
enum<string>
required
Available options:
OUTCOME_AWARENESS,
OUTCOME_ENGAGEMENT,
OUTCOME_LEADS,
OUTCOME_SALES,
OUTCOME_TRAFFIC,
OUTCOME_APP_PROMOTION
specialAdCategories
enum<string>[]
Available options:
NONE,
EMPLOYMENT,
HOUSING,
CREDIT,
ISSUES_ELECTIONS_POLITICS,
ONLINE_GAMBLING_AND_GAMING,
FINANCIAL_PRODUCTS_SERVICES
dailyBudget
integer
lifetimeBudget
integer

Response

Campaign created

success
boolean
required
data
object
required