Stay organized with collections
Save and categorize content based on your preferences.
--- v20/errors/ad_group_error.proto 2025-06-04 18:55:28.000000000 +0000+++ v21/errors/ad_group_error.proto 2025-08-05 14:28:35.000000000 +0000@@ -1,97 +1,108 @@// Copyright 2025 Google LLC
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.
syntax = "proto3";
-package google.ads.googleads.v20.errors;+package google.ads.googleads.v21.errors;-option csharp_namespace = "Google.Ads.GoogleAds.V20.Errors";-option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v20/errors;errors";+option csharp_namespace = "Google.Ads.GoogleAds.V21.Errors";+option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v21/errors;errors";option java_multiple_files = true;
option java_outer_classname = "AdGroupErrorProto";
-option java_package = "com.google.ads.googleads.v20.errors";+option java_package = "com.google.ads.googleads.v21.errors";option objc_class_prefix = "GAA";
-option php_namespace = "Google\\Ads\\GoogleAds\\V20\\Errors";-option ruby_package = "Google::Ads::GoogleAds::V20::Errors";+option php_namespace = "Google\\Ads\\GoogleAds\\V21\\Errors";+option ruby_package = "Google::Ads::GoogleAds::V21::Errors";// Proto file describing ad group errors.
// Container for enum describing possible ad group errors.
message AdGroupErrorEnum {
// Enum describing possible ad group errors.
enum AdGroupError {
// Enum unspecified.
UNSPECIFIED = 0;
// The received error code is not known in this version.
UNKNOWN = 1;
// AdGroup with the same name already exists for the campaign.
DUPLICATE_ADGROUP_NAME = 2;
// AdGroup name is not valid.
INVALID_ADGROUP_NAME = 3;
// Advertiser is not allowed to target sites or set site bids that are not
// on the Google Search Network.
ADVERTISER_NOT_ON_CONTENT_NETWORK = 5;
// Bid amount is too big.
BID_TOO_BIG = 6;
// AdGroup bid does not match the campaign's bidding strategy.
BID_TYPE_AND_BIDDING_STRATEGY_MISMATCH = 7;
// AdGroup name is required for Add.
MISSING_ADGROUP_NAME = 8;
// No link found between the ad group and the label.
ADGROUP_LABEL_DOES_NOT_EXIST = 9;
// The label has already been attached to the ad group.
ADGROUP_LABEL_ALREADY_EXISTS = 10;
// The CriterionTypeGroup is not supported for the content bid dimension.
INVALID_CONTENT_BID_CRITERION_TYPE_GROUP = 11;
// The ad group type is not compatible with the campaign channel type.
AD_GROUP_TYPE_NOT_VALID_FOR_ADVERTISING_CHANNEL_TYPE = 12;
// The ad group type is not supported in the country of sale of the
// campaign.
ADGROUP_TYPE_NOT_SUPPORTED_FOR_CAMPAIGN_SALES_COUNTRY = 13;
// Ad groups of AdGroupType.SEARCH_DYNAMIC_ADS can only be added to
// campaigns that have DynamicSearchAdsSetting attached.
CANNOT_ADD_ADGROUP_OF_TYPE_DSA_TO_CAMPAIGN_WITHOUT_DSA_SETTING = 14;
// Promoted hotels ad groups are only available to customers on the
// allow-list.
PROMOTED_HOTEL_AD_GROUPS_NOT_AVAILABLE_FOR_CUSTOMER = 15;
// The field type cannot be excluded because an active ad group-asset link
// of this type exists.
INVALID_EXCLUDED_PARENT_ASSET_FIELD_TYPE = 16;
// The asset set type is invalid for setting the
// excluded_parent_asset_set_types field.
INVALID_EXCLUDED_PARENT_ASSET_SET_TYPE = 17;
// Cannot add ad groups for the campaign type.
CANNOT_ADD_AD_GROUP_FOR_CAMPAIGN_TYPE = 18;
// Invalid status for the ad group.
INVALID_STATUS = 19;
++ // For video ads sequencing, AdGroup `step_id` has to use a `step_id`+ // defined in `campaign.video_campaign_settings.video_ad_sequence`.+ INVALID_STEP_ID_FOR_VIDEO_ADS_SEQUENCING = 20;++ // For video ads sequencing, AdGroup type has to use a type defined in+ // `campaign.video_campaign_settings.video_ad_sequence`.+ INVALID_AD_GROUP_TYPE_FOR_VIDEO_ADS_SEQUENCING = 21;++ // Only one AdGroup is allowed for each step ID in video ads sequencing.+ DUPLICATE_STEP_ID = 22; }
}
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-20 UTC."],[],[],null,["# /errors/ad_group_error.proto\n\n```diff\n--- v20/errors/ad_group_error.proto 2025-06-04 18:55:28.000000000 +0000\n+++ v21/errors/ad_group_error.proto 2025-08-05 14:28:35.000000000 +0000\n@@ -1,97 +1,108 @@\n // Copyright 2025 Google LLC\n //\n // Licensed under the Apache License, Version 2.0 (the \"License\");\n // you may not use this file except in compliance with the License.\n // You may obtain a copy of the License at\n //\n // http://www.apache.org/licenses/LICENSE-2.0\n //\n // Unless required by applicable law or agreed to in writing, software\n // distributed under the License is distributed on an \"AS IS\" BASIS,\n // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n // See the License for the specific language governing permissions and\n // limitations under the License.\n\n syntax = \"proto3\";\n\n-package google.ads.googleads.v20.errors;\n+package google.ads.googleads.v21.errors;\n\n-option csharp_namespace = \"Google.Ads.GoogleAds.V20.Errors\";\n-option go_package = \"google.golang.org/genproto/googleapis/ads/googleads/v20/errors;errors\";\n+option csharp_namespace = \"Google.Ads.GoogleAds.V21.Errors\";\n+option go_package = \"google.golang.org/genproto/googleapis/ads/googleads/v21/errors;errors\";\n option java_multiple_files = true;\n option java_outer_classname = \"AdGroupErrorProto\";\n-option java_package = \"com.google.ads.googleads.v20.errors\";\n+option java_package = \"com.google.ads.googleads.v21.errors\";\n option objc_class_prefix = \"GAA\";\n-option php_namespace = \"Google\\\\Ads\\\\GoogleAds\\\\V20\\\\Errors\";\n-option ruby_package = \"Google::Ads::GoogleAds::V20::Errors\";\n+option php_namespace = \"Google\\\\Ads\\\\GoogleAds\\\\V21\\\\Errors\";\n+option ruby_package = \"Google::Ads::GoogleAds::V21::Errors\";\n\n // Proto file describing ad group errors.\n\n // Container for enum describing possible ad group errors.\n message AdGroupErrorEnum {\n // Enum describing possible ad group errors.\n enum AdGroupError {\n // Enum unspecified.\n UNSPECIFIED = 0;\n\n // The received error code is not known in this version.\n UNKNOWN = 1;\n\n // AdGroup with the same name already exists for the campaign.\n DUPLICATE_ADGROUP_NAME = 2;\n\n // AdGroup name is not valid.\n INVALID_ADGROUP_NAME = 3;\n\n // Advertiser is not allowed to target sites or set site bids that are not\n // on the Google Search Network.\n ADVERTISER_NOT_ON_CONTENT_NETWORK = 5;\n\n // Bid amount is too big.\n BID_TOO_BIG = 6;\n\n // AdGroup bid does not match the campaign's bidding strategy.\n BID_TYPE_AND_BIDDING_STRATEGY_MISMATCH = 7;\n\n // AdGroup name is required for Add.\n MISSING_ADGROUP_NAME = 8;\n\n // No link found between the ad group and the label.\n ADGROUP_LABEL_DOES_NOT_EXIST = 9;\n\n // The label has already been attached to the ad group.\n ADGROUP_LABEL_ALREADY_EXISTS = 10;\n\n // The CriterionTypeGroup is not supported for the content bid dimension.\n INVALID_CONTENT_BID_CRITERION_TYPE_GROUP = 11;\n\n // The ad group type is not compatible with the campaign channel type.\n AD_GROUP_TYPE_NOT_VALID_FOR_ADVERTISING_CHANNEL_TYPE = 12;\n\n // The ad group type is not supported in the country of sale of the\n // campaign.\n ADGROUP_TYPE_NOT_SUPPORTED_FOR_CAMPAIGN_SALES_COUNTRY = 13;\n\n // Ad groups of AdGroupType.SEARCH_DYNAMIC_ADS can only be added to\n // campaigns that have DynamicSearchAdsSetting attached.\n CANNOT_ADD_ADGROUP_OF_TYPE_DSA_TO_CAMPAIGN_WITHOUT_DSA_SETTING = 14;\n\n // Promoted hotels ad groups are only available to customers on the\n // allow-list.\n PROMOTED_HOTEL_AD_GROUPS_NOT_AVAILABLE_FOR_CUSTOMER = 15;\n\n // The field type cannot be excluded because an active ad group-asset link\n // of this type exists.\n INVALID_EXCLUDED_PARENT_ASSET_FIELD_TYPE = 16;\n\n // The asset set type is invalid for setting the\n // excluded_parent_asset_set_types field.\n INVALID_EXCLUDED_PARENT_ASSET_SET_TYPE = 17;\n\n // Cannot add ad groups for the campaign type.\n CANNOT_ADD_AD_GROUP_FOR_CAMPAIGN_TYPE = 18;\n\n // Invalid status for the ad group.\n INVALID_STATUS = 19;\n+\n+ // For video ads sequencing, AdGroup `step_id` has to use a `step_id`\n+ // defined in `campaign.video_campaign_settings.video_ad_sequence`.\n+ INVALID_STEP_ID_FOR_VIDEO_ADS_SEQUENCING = 20;\n+\n+ // For video ads sequencing, AdGroup type has to use a type defined in\n+ // `campaign.video_campaign_settings.video_ad_sequence`.\n+ INVALID_AD_GROUP_TYPE_FOR_VIDEO_ADS_SEQUENCING = 21;\n+\n+ // Only one AdGroup is allowed for each step ID in video ads sequencing.\n+ DUPLICATE_STEP_ID = 22;\n }\n }\n```"]]