conversion_upload_error.proto 8.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209
  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.v12.errors;
  16. option csharp_namespace = "Google.Ads.GoogleAds.V12.Errors";
  17. option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/errors;errors";
  18. option java_multiple_files = true;
  19. option java_outer_classname = "ConversionUploadErrorProto";
  20. option java_package = "com.google.ads.googleads.v12.errors";
  21. option objc_class_prefix = "GAA";
  22. option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Errors";
  23. option ruby_package = "Google::Ads::GoogleAds::V12::Errors";
  24. // Proto file describing conversion upload errors.
  25. // Container for enum describing possible conversion upload errors.
  26. message ConversionUploadErrorEnum {
  27. // Enum describing possible conversion upload errors.
  28. enum ConversionUploadError {
  29. // Enum unspecified.
  30. UNSPECIFIED = 0;
  31. // The received error code is not known in this version.
  32. UNKNOWN = 1;
  33. // The request contained more than 2000 conversions.
  34. TOO_MANY_CONVERSIONS_IN_REQUEST = 2;
  35. // The specified gclid could not be decoded.
  36. UNPARSEABLE_GCLID = 3;
  37. // The specified conversion_date_time is before the event time
  38. // associated with the given identifier or iOS URL parameter.
  39. CONVERSION_PRECEDES_EVENT = 42;
  40. // The click associated with the given identifier or iOS URL parameter is
  41. // either too old to be imported or occurred outside of the click through
  42. // lookback window for the specified conversion action.
  43. EXPIRED_EVENT = 43;
  44. // The click associated with the given identifier or iOS URL parameter
  45. // occurred too recently. Try uploading again after 6 hours have
  46. // passed since the click occurred.
  47. TOO_RECENT_EVENT = 44;
  48. // The click associated with the given identifier or iOS URL parameter could
  49. // not be found in the system. This can happen if the identifier or iOS URL
  50. // parameter are collected for non Google Ads clicks.
  51. EVENT_NOT_FOUND = 45;
  52. // The click associated with the given identifier or iOS URL parameter is
  53. // owned by a customer account that the uploading customer does not manage.
  54. UNAUTHORIZED_CUSTOMER = 8;
  55. // No upload eligible conversion action that matches the provided
  56. // information can be found for the customer.
  57. INVALID_CONVERSION_ACTION = 9;
  58. // The specified conversion action was created too recently.
  59. // Try the upload again after 4-6 hours have passed since the
  60. // conversion action was created.
  61. TOO_RECENT_CONVERSION_ACTION = 10;
  62. // The click associated with the given identifier does not contain
  63. // conversion tracking information.
  64. CONVERSION_TRACKING_NOT_ENABLED_AT_IMPRESSION_TIME = 11;
  65. // The specified conversion action does not use an external attribution
  66. // model, but external_attribution_data was set.
  67. EXTERNAL_ATTRIBUTION_DATA_SET_FOR_NON_EXTERNALLY_ATTRIBUTED_CONVERSION_ACTION = 12;
  68. // The specified conversion action uses an external attribution model, but
  69. // external_attribution_data or one of its contained fields was not set.
  70. // Both external_attribution_credit and external_attribution_model must be
  71. // set for externally attributed conversion actions.
  72. EXTERNAL_ATTRIBUTION_DATA_NOT_SET_FOR_EXTERNALLY_ATTRIBUTED_CONVERSION_ACTION = 13;
  73. // Order IDs are not supported for conversion actions which use an external
  74. // attribution model.
  75. ORDER_ID_NOT_PERMITTED_FOR_EXTERNALLY_ATTRIBUTED_CONVERSION_ACTION = 14;
  76. // A conversion with the same order id and conversion action combination
  77. // already exists in our system.
  78. ORDER_ID_ALREADY_IN_USE = 15;
  79. // The request contained two or more conversions with the same order id and
  80. // conversion action combination.
  81. DUPLICATE_ORDER_ID = 16;
  82. // The call occurred too recently. Try uploading again after 12 hours
  83. // have passed since the call occurred.
  84. TOO_RECENT_CALL = 17;
  85. // The click that initiated the call is too old for this conversion to be
  86. // imported.
  87. EXPIRED_CALL = 18;
  88. // The call or the click leading to the call was not found.
  89. CALL_NOT_FOUND = 19;
  90. // The specified conversion_date_time is before the call_start_date_time.
  91. CONVERSION_PRECEDES_CALL = 20;
  92. // The click associated with the call does not contain conversion tracking
  93. // information.
  94. CONVERSION_TRACKING_NOT_ENABLED_AT_CALL_TIME = 21;
  95. // The caller's phone number cannot be parsed. It should be formatted either
  96. // as E.164 "+16502531234", International "+64 3-331 6005" or US national
  97. // number "6502531234".
  98. UNPARSEABLE_CALLERS_PHONE_NUMBER = 22;
  99. // A conversion with this timestamp already exists for this click. To upload
  100. // another conversion, use a different timestamp.
  101. CLICK_CONVERSION_ALREADY_EXISTS = 23;
  102. // A conversion with this timestamp already exists for this call. To upload
  103. // another conversion, use a different timestamp.
  104. CALL_CONVERSION_ALREADY_EXISTS = 24;
  105. // This conversion has the same click and timestamp as another conversion in
  106. // the request. To upload another conversion for this click, use a
  107. // different timestamp.
  108. DUPLICATE_CLICK_CONVERSION_IN_REQUEST = 25;
  109. // This conversion has the same call and timestamp as another conversion in
  110. // the request. To upload another conversion for this call, use a
  111. // different timestamp.
  112. DUPLICATE_CALL_CONVERSION_IN_REQUEST = 26;
  113. // The custom variable is not enabled.
  114. CUSTOM_VARIABLE_NOT_ENABLED = 28;
  115. // The value of the custom variable contains personally identifiable
  116. // information (PII), such as an email address or phone number.
  117. CUSTOM_VARIABLE_VALUE_CONTAINS_PII = 29;
  118. // The click associated with the given identifier or iOS URL parameter isn't
  119. // from the account where conversion tracking is set up.
  120. INVALID_CUSTOMER_FOR_CLICK = 30;
  121. // The click associated with the given call isn't from the account where
  122. // conversion tracking is set up.
  123. INVALID_CUSTOMER_FOR_CALL = 31;
  124. // The conversion can't be uploaded because the conversion source didn't
  125. // comply with the App Tracking Transparency (ATT) policy or the person who
  126. // converted didn't consent to tracking.
  127. CONVERSION_NOT_COMPLIANT_WITH_ATT_POLICY = 32;
  128. // No click was found for the provided user identifiers. This may be because
  129. // the conversion did not come from a Google Ads campaign.
  130. CLICK_NOT_FOUND = 33;
  131. // The provided user identifier is not a SHA-256 hash. It is either unhashed
  132. // or hashed using a different hash function.
  133. INVALID_USER_IDENTIFIER = 34;
  134. // Conversion actions which use an external attribution model cannot be used
  135. // with UserIdentifier.
  136. EXTERNALLY_ATTRIBUTED_CONVERSION_ACTION_NOT_PERMITTED_WITH_USER_IDENTIFIER = 35;
  137. // The provided user identifier is not supported. ConversionUploadService
  138. // only supports hashed_email and hashed_phone_number.
  139. UNSUPPORTED_USER_IDENTIFIER = 36;
  140. // gbraid and wbraid are both set in the request. Only one is allowed.
  141. GBRAID_WBRAID_BOTH_SET = 38;
  142. // The specified wbraid could not be decoded.
  143. UNPARSEABLE_WBRAID = 39;
  144. // The specified gbraid could not be decoded.
  145. UNPARSEABLE_GBRAID = 40;
  146. // Conversion actions which use the one-per-click counting type cannot be
  147. // used with gbraid or wbraid.
  148. ONE_PER_CLICK_CONVERSION_ACTION_NOT_PERMITTED_WITH_BRAID = 46;
  149. // Per our customer data policies, enhanced conversions have been prohibited
  150. // in your account. If you have any questions, contact your Google
  151. // representative.
  152. CUSTOMER_DATA_POLICY_PROHIBITS_ENHANCED_CONVERSIONS = 47;
  153. // The customer has not accepted the customer data terms in the conversion
  154. // settings page.
  155. CUSTOMER_NOT_ACCEPTED_CUSTOMER_DATA_TERMS = 48;
  156. // The order_id contains personally identifiable information (PII), such as
  157. // an email address or phone number.
  158. ORDER_ID_CONTAINS_PII = 49;
  159. }
  160. }