{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/google-ads/json-schema/google-ads-google-ads-googleads-v25-services-mutate-customer-asset-sets-request-schema.json",
  "title": "GoogleAdsGoogleadsV25Services__MutateCustomerAssetSetsRequest",
  "description": "Request message for CustomerAssetSetService.MutateCustomerAssetSets.",
  "x-generated": "2026-11-04",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/google-ads-customers-customerassetsets-api-openapi.yml#/components/schemas/GoogleAdsGoogleadsV25Services__MutateCustomerAssetSetsRequest",
  "type": "object",
  "properties": {
    "partialFailure": {
      "type": "boolean",
      "description": "If true, successful operations will be carried out and invalid operations will return errors. If false, all operations will be carried out in one transaction if and only if they are all valid. Default is false."
    },
    "operations": {
      "type": "array",
      "description": "Required. The list of operations to perform on individual customer asset sets.",
      "items": {
        "$ref": "#/$defs/GoogleAdsGoogleadsV25Services__CustomerAssetSetOperation"
      }
    },
    "validateOnly": {
      "description": "If true, the request is validated but not executed. Only errors are returned, not results.",
      "type": "boolean"
    },
    "responseContentType": {
      "description": "The response content type setting. Determines whether the mutable resource or just the resource name should be returned post mutation.",
      "type": "string",
      "x-enumDescriptions": [
        "Not specified. Will return the resource name only in the response.",
        "The mutate response will be the resource name.",
        "The mutate response will contain the resource name and the resource with mutable fields if possible. Otherwise, only the resource name will be returned."
      ],
      "enum": [
        "UNSPECIFIED",
        "RESOURCE_NAME_ONLY",
        "MUTABLE_RESOURCE"
      ]
    }
  },
  "$defs": {
    "GoogleAdsGoogleadsV25Resources__CustomerAssetSet": {
      "description": "CustomerAssetSet is the linkage between a customer and an asset set. Adding a CustomerAssetSet links an asset set with a customer.",
      "type": "object",
      "properties": {
        "assetSet": {
          "type": "string",
          "description": "Immutable. The asset set which is linked to the customer."
        },
        "resourceName": {
          "type": "string",
          "description": "Immutable. The resource name of the customer asset set. Asset set asset resource names have the form: `customers/{customer_id}/customerAssetSets/{asset_set_id}`"
        },
        "customer": {
          "type": "string",
          "description": "Immutable. The customer to which this asset set is linked."
        },
        "status": {
          "description": "Output only. The status of the customer asset set asset. Read-only.",
          "type": "string",
          "enum": [
            "UNSPECIFIED",
            "UNKNOWN",
            "ENABLED",
            "REMOVED"
          ],
          "x-enumDescriptions": [
            "The status has not been specified.",
            "The received value is not known in this version. This is a response-only value.",
            "The linkage between asset set and its container is enabled.",
            "The linkage between asset set and its container is removed."
          ]
        }
      }
    },
    "GoogleAdsGoogleadsV25Services__CustomerAssetSetOperation": {
      "description": "A single operation (create, remove) on a customer asset set.",
      "type": "object",
      "properties": {
        "create": {
          "$ref": "#/$defs/GoogleAdsGoogleadsV25Resources__CustomerAssetSet",
          "description": "Create operation: No resource name is expected for the new customer asset set."
        },
        "remove": {
          "type": "string",
          "description": "Remove operation: A resource name for the removed customer asset set is expected, in this format: `customers/{customer_id}/customerAssetSets/{asset_set_id}`"
        }
      }
    }
  }
}