Update Goal Settings
PUT/api/advertising/goals/settings
Sets the tenant's goal mode. The change is recorded in the activity log.
advertising:writeGrant this scope to your token under Settings → Developer → Personal Access Tokens.
Requires the advertising.manage permission; the tenant must have the advertising-manager feature enabled. Setting auto additionally requires the advertising.approve permission (403 otherwise).
Body fields:
goal_mode(required):suggestorauto.
The response also returns dismissal_suppression_days: how many days a dismissed goal suggestion is not offered again for the same product and goal (14 by default).
Request
Responses
- 200
- 401
- 403
- 422
- 429
OK
Response Headers
Unauthenticated — the bearer token is missing, revoked, expired, or malformed. Never retry automatically; fix the credential. See the Errors guide.
Forbidden
Response Headers
Unprocessable Entity
Response Headers
Rate limited — platform limit is 1,000 requests/min; individual tokens may carry lower limits. Honor the Retry-After header before retrying. See the Rate Limits guide.