Skip to main content
POST
Create an ad audience

Authorizations

Authorization
string
header
required

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

Body

application/json
accountId
string
required
Required string length: 16
Pattern: ^[abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ]{16}$
adAccountId
string
required
Minimum string length: 1
name
string
required
Required string length: 1 - 255
type
enum<string>
required
Available options:
customer_list,
website,
lookalike
description
string
Minimum string length: 1
pixelId
string
Minimum string length: 1
retentionDays
integer
Required range: 1 <= x <= 540
sourceAudienceId
string
Minimum string length: 1
customerListId
string
Minimum string length: 1
country
string
Required string length: 2
ratio
number
Required range: 0.01 <= x <= 0.2
rule
object
customerFileSource
string
Minimum string length: 1
filePaths
string[]
Required array length: 1 - 50 elements
Minimum string length: 1
calculateType
string
Minimum string length: 1
audienceSubType
enum<string>
Available options:
NORMAL,
REACH_FREQUENCY
audienceEnhancement
boolean
sourcePlatform
string
Minimum string length: 1
sourceSegmentId
string
Minimum string length: 1
dmpSegmentType
enum<string>
Available options:
USER,
COMPANY,
LIST_UPLOAD

Response

Create an ad audience completed.

ok
boolean
required
data
object
required