ad_group_error.proto 3.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889
  1. // Copyright 2022 Google LLC
  2. //
  3. // Licensed under the Apache License, Version 2.0 (the "License");
  4. // you may not use this file except in compliance with the License.
  5. // You may obtain a copy of the License at
  6. //
  7. // http://www.apache.org/licenses/LICENSE-2.0
  8. //
  9. // Unless required by applicable law or agreed to in writing, software
  10. // distributed under the License is distributed on an "AS IS" BASIS,
  11. // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  12. // See the License for the specific language governing permissions and
  13. // limitations under the License.
  14. syntax = "proto3";
  15. package google.ads.googleads.v10.errors;
  16. option csharp_namespace = "Google.Ads.GoogleAds.V10.Errors";
  17. option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v10/errors;errors";
  18. option java_multiple_files = true;
  19. option java_outer_classname = "AdGroupErrorProto";
  20. option java_package = "com.google.ads.googleads.v10.errors";
  21. option objc_class_prefix = "GAA";
  22. option php_namespace = "Google\\Ads\\GoogleAds\\V10\\Errors";
  23. option ruby_package = "Google::Ads::GoogleAds::V10::Errors";
  24. // Proto file describing ad group errors.
  25. // Container for enum describing possible ad group errors.
  26. message AdGroupErrorEnum {
  27. // Enum describing possible ad group errors.
  28. enum AdGroupError {
  29. // Enum unspecified.
  30. UNSPECIFIED = 0;
  31. // The received error code is not known in this version.
  32. UNKNOWN = 1;
  33. // AdGroup with the same name already exists for the campaign.
  34. DUPLICATE_ADGROUP_NAME = 2;
  35. // AdGroup name is not valid.
  36. INVALID_ADGROUP_NAME = 3;
  37. // Advertiser is not allowed to target sites or set site bids that are not
  38. // on the Google Search Network.
  39. ADVERTISER_NOT_ON_CONTENT_NETWORK = 5;
  40. // Bid amount is too big.
  41. BID_TOO_BIG = 6;
  42. // AdGroup bid does not match the campaign's bidding strategy.
  43. BID_TYPE_AND_BIDDING_STRATEGY_MISMATCH = 7;
  44. // AdGroup name is required for Add.
  45. MISSING_ADGROUP_NAME = 8;
  46. // No link found between the ad group and the label.
  47. ADGROUP_LABEL_DOES_NOT_EXIST = 9;
  48. // The label has already been attached to the ad group.
  49. ADGROUP_LABEL_ALREADY_EXISTS = 10;
  50. // The CriterionTypeGroup is not supported for the content bid dimension.
  51. INVALID_CONTENT_BID_CRITERION_TYPE_GROUP = 11;
  52. // The ad group type is not compatible with the campaign channel type.
  53. AD_GROUP_TYPE_NOT_VALID_FOR_ADVERTISING_CHANNEL_TYPE = 12;
  54. // The ad group type is not supported in the country of sale of the
  55. // campaign.
  56. ADGROUP_TYPE_NOT_SUPPORTED_FOR_CAMPAIGN_SALES_COUNTRY = 13;
  57. // Ad groups of AdGroupType.SEARCH_DYNAMIC_ADS can only be added to
  58. // campaigns that have DynamicSearchAdsSetting attached.
  59. CANNOT_ADD_ADGROUP_OF_TYPE_DSA_TO_CAMPAIGN_WITHOUT_DSA_SETTING = 14;
  60. // Promoted hotels ad groups are only available to customers on the
  61. // allow-list.
  62. PROMOTED_HOTEL_AD_GROUPS_NOT_AVAILABLE_FOR_CUSTOMER = 15;
  63. // The field type cannot be excluded because an active ad group-asset link
  64. // of this type exists.
  65. INVALID_EXCLUDED_PARENT_ASSET_FIELD_TYPE = 16;
  66. }
  67. }