Update asset groups.
Update a batch of asset groups with the specified parameters.
Path parameters
Unique identifier of the requesting business.
Request body
Example request
{
"asset_groups_to_update": [
{
"asset_group_types": [
"BRAND",
"LOCATION_OR_LANGUAGE",
"PRODUCT_LINE",
"OTHER"
]
}
],
"updated_asset_groups": [
{
"ad_accounts_ids": [
"549755885175"
],
"asset_group_description": "Asset group that has ad accounts used in Canada",
"asset_group_name": "Canada Ad Accounts",
"asset_group_types": [
"LOCATION_OR_LANGUAGE"
],
"catalogs_ids": [
"4836859046874"
],
"created_by": {
"email": "business0101@business.com",
"id": "549755885175",
"username": "business0101"
},
"created_time": 1646767577816,
"id": "666791336903426391",
"owner": {
"email": "business0101@business.com",
"id": "549755885175",
"username": "business0101"
},
"profiles_ids": [
"630433785246278264"
],
"updated_time": 1646767577816
}
]
}Response
The request has succeeded.
Example response
{
"updated_asset_groups": [
{
"ad_accounts_ids": [
"549755885175"
],
"asset_group_description": "Asset group that has ad accounts used in Canada",
"asset_group_name": "Canada Ad Accounts",
"asset_group_types": [
"LOCATION_OR_LANGUAGE"
],
"catalogs_ids": [
"4836859046874"
],
"created_by": {
"email": "business0101@business.com",
"id": "549755885175",
"username": "business0101"
},
"created_time": 1646767577816,
"id": "666791336903426391",
"owner": {
"email": "business0101@business.com",
"id": "549755885175",
"username": "business0101"
},
"profiles_ids": [
"630433785246278264"
],
"updated_time": 1646767577816
}
]
}Changes
Changed in 3 of the 29 revisions of this API.219
- ▲
the
//response's property type changed fromobjectto no type for statusresponse-property-type-changed
- ▲
the
//response's property type changed fromobjectto no type for statusresponse-property-type-changed
- ○
added the non-success response with the status
response-non-success-status-added
- ○
added the non-success response with the status
response-non-success-status-added
- ○
added the non-success response with the status
response-non-success-status-added
- ○
added the non-success response with the status
response-non-success-status-added
- ○
the response optional property
became read-only for the statusresponse-optional-property-became-read-only
- ○
the response optional property
became read-only for the statusresponse-optional-property-became-read-only
- ○
the response property
//became required for the statusresponse-property-became-required
- ○
the response property
//became required for the statusresponse-property-became-required
- ○
the response property
//became required for the statusresponse-property-became-required
- ○
the response property
//became required for the statusresponse-property-became-required
- ○
the response property
//became required for the statusresponse-property-became-required
- ○
the response property
//became required for the statusresponse-property-became-required
- ○
the response property
//became required for the statusresponse-property-became-required
- ○
the response property
//became required for the statusresponse-property-became-required
- ○
the response property
//became required for the statusresponse-property-became-required
- ○
the response property
//became required for the statusresponse-property-became-required
- ○
the response property
//became required for the statusresponse-property-became-required
This revision also has 182 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog
- ▲
- ○
added the optional property
//to the response with the statusresponse-optional-property-added
This revision also has 2 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog
- ○
- ○
endpoint added
endpoint-added
This revision also has 4 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog
- ○