v29

latestOpenAPI 3.0.3MITraw.githubusercontent.com2026-06-042661,1122.5 MB
business_access_assets

Update asset groups.

Update a batch of asset groups with the specified parameters.

patch/businesses/{business_id}/asset_groups

Path parameters

business_idstring required

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
    }
  ]
}