feed_error.proto 3.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112
  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 = "FeedErrorProto";
  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 feed errors.
  25. // Container for enum describing possible feed errors.
  26. message FeedErrorEnum {
  27. // Enum describing possible feed errors.
  28. enum FeedError {
  29. // Enum unspecified.
  30. UNSPECIFIED = 0;
  31. // The received error code is not known in this version.
  32. UNKNOWN = 1;
  33. // The names of the FeedAttributes must be unique.
  34. ATTRIBUTE_NAMES_NOT_UNIQUE = 2;
  35. // The attribute list must be an exact copy of the existing list if the
  36. // attribute ID's are present.
  37. ATTRIBUTES_DO_NOT_MATCH_EXISTING_ATTRIBUTES = 3;
  38. // Cannot specify USER origin for a system generated feed.
  39. CANNOT_SPECIFY_USER_ORIGIN_FOR_SYSTEM_FEED = 4;
  40. // Cannot specify GOOGLE origin for a non-system generated feed.
  41. CANNOT_SPECIFY_GOOGLE_ORIGIN_FOR_NON_SYSTEM_FEED = 5;
  42. // Cannot specify feed attributes for system feed.
  43. CANNOT_SPECIFY_FEED_ATTRIBUTES_FOR_SYSTEM_FEED = 6;
  44. // Cannot update FeedAttributes on feed with origin GOOGLE.
  45. CANNOT_UPDATE_FEED_ATTRIBUTES_WITH_ORIGIN_GOOGLE = 7;
  46. // The given ID refers to a removed Feed. Removed Feeds are immutable.
  47. FEED_REMOVED = 8;
  48. // The origin of the feed is not valid for the client.
  49. INVALID_ORIGIN_VALUE = 9;
  50. // A user can only create and modify feeds with USER origin.
  51. FEED_ORIGIN_IS_NOT_USER = 10;
  52. // Invalid auth token for the given email.
  53. INVALID_AUTH_TOKEN_FOR_EMAIL = 11;
  54. // Invalid email specified.
  55. INVALID_EMAIL = 12;
  56. // Feed name matches that of another active Feed.
  57. DUPLICATE_FEED_NAME = 13;
  58. // Name of feed is not allowed.
  59. INVALID_FEED_NAME = 14;
  60. // Missing OAuthInfo.
  61. MISSING_OAUTH_INFO = 15;
  62. // New FeedAttributes must not affect the unique key.
  63. NEW_ATTRIBUTE_CANNOT_BE_PART_OF_UNIQUE_KEY = 16;
  64. // Too many FeedAttributes for a Feed.
  65. TOO_MANY_ATTRIBUTES = 17;
  66. // The business account is not valid.
  67. INVALID_BUSINESS_ACCOUNT = 18;
  68. // Business account cannot access Business Profile.
  69. BUSINESS_ACCOUNT_CANNOT_ACCESS_LOCATION_ACCOUNT = 19;
  70. // Invalid chain ID provided for affiliate location feed.
  71. INVALID_AFFILIATE_CHAIN_ID = 20;
  72. // There is already a feed with the given system feed generation data.
  73. DUPLICATE_SYSTEM_FEED = 21;
  74. // An error occurred accessing Business Profile.
  75. GMB_ACCESS_ERROR = 22;
  76. // A customer cannot have both LOCATION and AFFILIATE_LOCATION feeds.
  77. CANNOT_HAVE_LOCATION_AND_AFFILIATE_LOCATION_FEEDS = 23;
  78. // Feed-based extension is read-only for this extension type.
  79. LEGACY_EXTENSION_TYPE_READ_ONLY = 24;
  80. }
  81. }