{
  "$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-conversion-goal-campaign-configs-request-schema.json",
  "title": "GoogleAdsGoogleadsV25Services__MutateConversionGoalCampaignConfigsRequest",
  "description": "Request message for ConversionGoalCampaignConfigService.MutateConversionGoalCampaignConfigs.",
  "x-generated": "2026-11-04",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/google-ads-customers-conversiongoalcampaignconfigs-api-openapi.yml#/components/schemas/GoogleAdsGoogleadsV25Services__MutateConversionGoalCampaignConfigsRequest",
  "type": "object",
  "properties": {
    "operations": {
      "description": "Required. The list of operations to perform on individual conversion goal campaign config.",
      "items": {
        "$ref": "#/$defs/GoogleAdsGoogleadsV25Services__ConversionGoalCampaignConfigOperation"
      },
      "type": "array"
    },
    "validateOnly": {
      "type": "boolean",
      "description": "If true, the request is validated but not executed. Only errors are returned, not results."
    },
    "responseContentType": {
      "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"
      ],
      "type": "string",
      "description": "The response content type setting. Determines whether the mutable resource or just the resource name should be returned post mutation."
    }
  },
  "$defs": {
    "GoogleAdsGoogleadsV25Resources__ConversionGoalCampaignConfig": {
      "description": "Conversion goal settings for a Campaign.",
      "type": "object",
      "properties": {
        "resourceName": {
          "type": "string",
          "description": "Immutable. The resource name of the conversion goal campaign config. Conversion goal campaign config resource names have the form: `customers/{customer_id}/conversionGoalCampaignConfigs/{campaign_id}`"
        },
        "goalConfigLevel": {
          "x-enumDescriptions": [
            "The goal config level has not been specified.",
            "The goal config level is not known in this version.",
            "The goal config is defined at the customer level.",
            "The goal config is defined at the campaign level."
          ],
          "enum": [
            "UNSPECIFIED",
            "UNKNOWN",
            "CUSTOMER",
            "CAMPAIGN"
          ],
          "description": "The level of goal config the campaign is using.",
          "type": "string"
        },
        "campaign": {
          "type": "string",
          "description": "Immutable. The campaign with which this conversion goal campaign config is associated."
        },
        "customConversionGoal": {
          "type": "string",
          "description": "The custom conversion goal the campaign is using for optimization."
        }
      }
    },
    "GoogleAdsGoogleadsV25Services__ConversionGoalCampaignConfigOperation": {
      "description": "A single operation (update) on a conversion goal campaign config.",
      "type": "object",
      "properties": {
        "updateMask": {
          "format": "google-fieldmask",
          "description": "FieldMask that determines which resource fields are modified in an update.",
          "type": "string"
        },
        "update": {
          "$ref": "#/$defs/GoogleAdsGoogleadsV25Resources__ConversionGoalCampaignConfig",
          "description": "Update operation: The conversion goal campaign config is expected to have a valid resource name."
        }
      }
    }
  }
}