Assign or unassign tags to resources
This can be used for both accounts and campaigns. Please check the resource_type field for more information.
Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Body
The list of tag ids to assign or unassign
1The resource type to assign or unassign the tags to
1, 2 1
Whether to assign the tags to the resources.
true
The list of resource ids to assign or unassign. A resource id is the id of an account or a campaign. Required unless selected_all is true.
1Optional list of resource ids to exclude when selected_all is true.
1Whether to select all resources.
false
Optional selected-all filter. Accepts the existing account-status string shape and the merged object shape for account status, tag, any-tag, all-tags, and search criteria.
ACC_FILTER_PAUSED, ACC_FILTER_ERROR, ACC_FILTER_NO_CTD, ACC_FILTER_PW_ACCOUNTS, ACC_FILTER_DFY, ACC_FILTER_DFY_SETUP_PENDING, ACC_FILTER_W_ACTIVE, ACC_FILTER_W_PAUSED, ACC_FILTER_W_ERROR, null "ACC_FILTER_PAUSED"
Optional selected-all search query. If omitted, filter.search is used when present.
"jon@doe.com"
Response
Default Response
true