{
  "$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-campaign-bid-modifiers-response-schema.json",
  "title": "GoogleAdsGoogleadsV25Services__MutateCampaignBidModifiersResponse",
  "description": "Response message for campaign bid modifiers mutate.",
  "x-generated": "2026-11-04",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/google-ads-customers-campaignbidmodifiers-api-openapi.yml#/components/schemas/GoogleAdsGoogleadsV25Services__MutateCampaignBidModifiersResponse",
  "type": "object",
  "properties": {
    "results": {
      "type": "array",
      "description": "All results for the mutate.",
      "items": {
        "$ref": "#/$defs/GoogleAdsGoogleadsV25Services__MutateCampaignBidModifierResult"
      }
    },
    "partialFailureError": {
      "description": "Errors that pertain to operation failures in the partial failure mode. Returned only when partial_failure = true and all errors occur inside the operations. If any errors occur outside the operations (for example, auth errors), we return an RPC level error.",
      "$ref": "#/$defs/GoogleRpc__Status"
    }
  },
  "$defs": {
    "GoogleAdsGoogleadsV25Common__InteractionTypeInfo": {
      "type": "object",
      "properties": {
        "type": {
          "type": "string",
          "description": "The interaction type.",
          "x-enumDescriptions": [
            "Not specified.",
            "Used for return value only. Represents value unknown in this version.",
            "Calls."
          ],
          "enum": [
            "UNSPECIFIED",
            "UNKNOWN",
            "CALLS"
          ]
        }
      },
      "description": "Criterion for Interaction Type."
    },
    "GoogleAdsGoogleadsV25Resources__CampaignBidModifier": {
      "description": "Represents a bid-modifiable only criterion at the campaign level.",
      "type": "object",
      "properties": {
        "bidModifier": {
          "type": "number",
          "description": "The modifier for the bid when the criterion matches.",
          "format": "double"
        },
        "campaign": {
          "description": "Output only. The campaign to which this criterion belongs.",
          "type": "string"
        },
        "interactionType": {
          "description": "Immutable. Criterion for interaction type. Only supported for search campaigns.",
          "$ref": "#/$defs/GoogleAdsGoogleadsV25Common__InteractionTypeInfo"
        },
        "criterionId": {
          "description": "Output only. The ID of the criterion to bid modify. This field is ignored for mutates.",
          "type": "string",
          "format": "int64"
        },
        "resourceName": {
          "type": "string",
          "description": "Immutable. The resource name of the campaign bid modifier. Campaign bid modifier resource names have the form: `customers/{customer_id}/campaignBidModifiers/{campaign_id}~{criterion_id}`"
        }
      }
    },
    "GoogleAdsGoogleadsV25Services__MutateCampaignBidModifierResult": {
      "type": "object",
      "properties": {
        "resourceName": {
          "description": "Returned for successful operations.",
          "type": "string"
        },
        "campaignBidModifier": {
          "$ref": "#/$defs/GoogleAdsGoogleadsV25Resources__CampaignBidModifier",
          "description": "The mutated campaign bid modifier with only mutable fields after mutate. The field will only be returned when response_content_type is set to \"MUTABLE_RESOURCE\"."
        }
      },
      "description": "The result for the criterion mutate."
    },
    "GoogleRpc__Status": {
      "description": "The `Status` type defines a logical error model that is suitable for different programming environments, including REST APIs and RPC APIs. It is used by [gRPC](https://github.com/grpc). Each `Status` message contains three pieces of data: error code, error message, and error details. You can find out more about this error model and how to work with it in the [API Design Guide](https://cloud.google.com/apis/design/errors).",
      "type": "object",
      "properties": {
        "message": {
          "description": "A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the google.rpc.Status.details field, or localized by the client.",
          "type": "string"
        },
        "code": {
          "type": "integer",
          "description": "The status code, which should be an enum value of google.rpc.Code.",
          "format": "int32"
        },
        "details": {
          "type": "array",
          "description": "A list of messages that carry the error details. There is a common set of message types for APIs to use.",
          "items": {
            "type": "object",
            "additionalProperties": {
              "description": "Properties of the object. Contains field @type with type URL."
            }
          }
        }
      }
    }
  }
}