{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/google-ads/json-schema/google-ads-mutate-bidding-strategies-request-schema.json",
  "title": "MutateBiddingStrategiesRequest",
  "x-generated": "2026-11-04",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/google-ads-bidding-strategies-api-openapi.yml#/components/schemas/MutateBiddingStrategiesRequest",
  "type": "object",
  "required": [
    "operations"
  ],
  "properties": {
    "operations": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/BiddingStrategyOperation"
      }
    },
    "partialFailure": {
      "type": "boolean"
    },
    "validateOnly": {
      "type": "boolean"
    }
  },
  "$defs": {
    "BiddingStrategy": {
      "type": "object",
      "description": "A portfolio bidding strategy shared across multiple campaigns.",
      "properties": {
        "resourceName": {
          "type": "string",
          "description": "Resource name of the bidding strategy."
        },
        "id": {
          "type": "integer",
          "format": "int64",
          "description": "The unique ID of the bidding strategy."
        },
        "name": {
          "type": "string",
          "description": "Name of the bidding strategy."
        },
        "type": {
          "type": "string",
          "enum": [
            "TARGET_CPA",
            "TARGET_ROAS",
            "TARGET_SPEND",
            "MAXIMIZE_CONVERSIONS",
            "MAXIMIZE_CONVERSION_VALUE",
            "UNKNOWN",
            "UNSPECIFIED"
          ],
          "description": "The type of bidding strategy."
        },
        "status": {
          "type": "string",
          "enum": [
            "ENABLED",
            "REMOVED",
            "UNKNOWN",
            "UNSPECIFIED"
          ],
          "description": "The status of the bidding strategy."
        },
        "campaignCount": {
          "type": "integer",
          "format": "int64",
          "description": "Number of campaigns using this bidding strategy."
        }
      }
    },
    "BiddingStrategyOperation": {
      "type": "object",
      "properties": {
        "create": {
          "$ref": "#/$defs/BiddingStrategy"
        },
        "update": {
          "$ref": "#/$defs/BiddingStrategy"
        },
        "remove": {
          "type": "string"
        },
        "updateMask": {
          "type": "string"
        }
      }
    }
  }
}