Replace all profiles for a target group with provided profiles.
POST/demand/accounts/{account_id}/projects/{project_id}/target-groups/{target_group_id}/profiles/apply-profiles
Verifies the input and if valid, applies all profiles to a specified target group. This endpoint overwrites all existing profiles on the target group. Any profiles currently assigned to the target group that are not included in this request's payload will be permanently removed.
This endpoint was intended to be used in conjuction with profile templates, to quickly replace all profile setup with pre-existing standards.
Prerequisite for Interlocked Profiles: To apply an interlocked profile, you must first call the generate_interlock endpoint. Use the response from that call when constructing the interlocked profile object for this request.
Note that if you have enabled any fielding assistant automation (quota_overlay, balance_fill, pacing) then any update to quotas will apply to filling_goal. If automation is not enabled, then any changes to quotas will also update the actual quota value.
Request
Responses
- 200
- 400
- 401
- 403
- 404
- 422
- 500
Successfully applied profiles
Bad Request
Unauthorized
Forbidden
Not Found
Unprocessable Entity
Internal Server Error