Skip to content
Wazapin
Esc
navigateopen⌘Jpreview

Update CTWA conversion settings

PATCH/v1/ctwa/conversion-settings
Authorization
bearerAuthbearerAuthrequired
or
apiKeyAuthapiKeyAuthrequired
Request body
requiredapplication/json
attribution_window_daysinteger<int64>
enabledboolean
max_conversion_pointsinteger<int64>
Responses
200OK
attribution_window_daysinteger<int64>required
created_atstring
enabledbooleanrequired
max_conversion_pointsinteger<int64>required
updated_atstring
400Bad Request
errorErrorBodyrequired
Show properties
codestringrequired
detailsErrorDetail[] | null
Show properties
Array of ErrorDetail
codestring
fieldstring
locationstring
messagestringrequired
messagestringrequired
request_idstring
401Unauthorized
errorErrorBodyrequired
Show properties
codestringrequired
detailsErrorDetail[] | null
Show properties
Array of ErrorDetail
codestring
fieldstring
locationstring
messagestringrequired
messagestringrequired
request_idstring
403Forbidden
errorErrorBodyrequired
Show properties
codestringrequired
detailsErrorDetail[] | null
Show properties
Array of ErrorDetail
codestring
fieldstring
locationstring
messagestringrequired
messagestringrequired
request_idstring
422Unprocessable Entity
errorErrorBodyrequired
Show properties
codestringrequired
detailsErrorDetail[] | null
Show properties
Array of ErrorDetail
codestring
fieldstring
locationstring
messagestringrequired
messagestringrequired
request_idstring
500Internal Server Error
errorErrorBodyrequired
Show properties
codestringrequired
detailsErrorDetail[] | null
Show properties
Array of ErrorDetail
codestring
fieldstring
locationstring
messagestringrequired
messagestringrequired
request_idstring
Request
curl -X PATCH "/v1/ctwa/conversion-settings" \
  -H "Content-Type: application/json" \
  -d '{
  "attribution_window_days": 0,
  "enabled": true,
  "max_conversion_points": 0
}'
Response
{
  "attribution_window_days": 0,
  "created_at": "string",
  "enabled": true,
  "max_conversion_points": 0,
  "updated_at": "string"
}