{
  "$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-asset-set-assets-request-schema.json",
  "title": "GoogleAdsGoogleadsV25Services__MutateAssetSetAssetsRequest",
  "description": "Request message for AssetSetAssetService.MutateAssetSetAssets.",
  "x-generated": "2026-11-04",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/google-ads-customers-assetsetassets-api-openapi.yml#/components/schemas/GoogleAdsGoogleadsV25Services__MutateAssetSetAssetsRequest",
  "type": "object",
  "properties": {
    "partialFailure": {
      "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.",
      "type": "boolean"
    },
    "operations": {
      "type": "array",
      "description": "Required. The list of operations to perform on individual asset set assets.",
      "items": {
        "$ref": "#/$defs/GoogleAdsGoogleadsV25Services__AssetSetAssetOperation"
      }
    },
    "validateOnly": {
      "type": "boolean",
      "description": "If true, the request is validated but not executed. Only errors are returned, not results."
    },
    "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__AssetSetAsset": {
      "description": "AssetSetAsset is the link between an asset and an asset set. Adding an AssetSetAsset links an asset with an asset set.",
      "type": "object",
      "properties": {
        "status": {
          "x-enumDescriptions": [
            "The status has not been specified.",
            "The received value is not known in this version. This is a response-only value.",
            "The asset set asset is enabled.",
            "The asset set asset is removed."
          ],
          "enum": [
            "UNSPECIFIED",
            "UNKNOWN",
            "ENABLED",
            "REMOVED"
          ],
          "type": "string",
          "description": "Output only. The status of the asset set asset. Read-only."
        },
        "assetSet": {
          "type": "string",
          "description": "Immutable. The asset set which this asset set asset is linking to."
        },
        "resourceName": {
          "type": "string",
          "description": "Immutable. The resource name of the asset set asset. Asset set asset resource names have the form: `customers/{customer_id}/assetSetAssets/{asset_set_id}~{asset_id}`"
        },
        "asset": {
          "type": "string",
          "description": "Immutable. The asset which this asset set asset is linking to."
        }
      }
    },
    "GoogleAdsGoogleadsV25Services__AssetSetAssetOperation": {
      "description": "A single operation (create, remove) on an asset set asset.",
      "type": "object",
      "properties": {
        "create": {
          "description": "Create operation: No resource name is expected for the new asset set asset",
          "$ref": "#/$defs/GoogleAdsGoogleadsV25Resources__AssetSetAsset"
        },
        "remove": {
          "description": "Remove operation: A resource name for the removed asset set asset is expected, in this format: `customers/{customer_id}/assetSetAssets/{asset_set_id}~{asset_id}`",
          "type": "string"
        }
      }
    }
  }
}