Skip to main content
POST
Create a conversion destination

Authorizations

Authorization
string
header
required

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

Path Parameters

accountId
string
required
Required string length: 16
Pattern: ^[abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ]{16}$

Body

application/json
adAccountId
string
required
Minimum string length: 1
name
string
required
Required string length: 1 - 255
type
string
required
Minimum string length: 1
attributionType
enum<string>
Available options:
LAST_TOUCH_BY_CAMPAIGN,
LAST_TOUCH_BY_CONVERSION
postClickAttributionWindowSize
integer
Required range: -9007199254740991 <= x <= 9007199254740991
viewThroughAttributionWindowSize
integer
Required range: -9007199254740991 <= x <= 9007199254740991
valueType
enum<string>
Available options:
DYNAMIC,
FIXED,
NO_VALUE
value
object
autoAssociationType
enum<string>
Available options:
ALL_CAMPAIGNS,
OBJECTIVE_BASED,
NONE

Response

Create a conversion destination completed.

ok
boolean
required
data
object
required