distance_bucket.proto 3.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125
  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.v11.enums;
  16. option csharp_namespace = "Google.Ads.GoogleAds.V11.Enums";
  17. option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v11/enums;enums";
  18. option java_multiple_files = true;
  19. option java_outer_classname = "DistanceBucketProto";
  20. option java_package = "com.google.ads.googleads.v11.enums";
  21. option objc_class_prefix = "GAA";
  22. option php_namespace = "Google\\Ads\\GoogleAds\\V11\\Enums";
  23. option ruby_package = "Google::Ads::GoogleAds::V11::Enums";
  24. // Proto file describing distance buckets.
  25. // Container for distance buckets of a user's distance from an advertiser's
  26. // location extension.
  27. message DistanceBucketEnum {
  28. // The distance bucket for a user's distance from an advertiser's location
  29. // extension.
  30. enum DistanceBucket {
  31. // Not specified.
  32. UNSPECIFIED = 0;
  33. // Used for return value only. Represents value unknown in this version.
  34. UNKNOWN = 1;
  35. // User was within 700m of the location.
  36. WITHIN_700M = 2;
  37. // User was within 1KM of the location.
  38. WITHIN_1KM = 3;
  39. // User was within 5KM of the location.
  40. WITHIN_5KM = 4;
  41. // User was within 10KM of the location.
  42. WITHIN_10KM = 5;
  43. // User was within 15KM of the location.
  44. WITHIN_15KM = 6;
  45. // User was within 20KM of the location.
  46. WITHIN_20KM = 7;
  47. // User was within 25KM of the location.
  48. WITHIN_25KM = 8;
  49. // User was within 30KM of the location.
  50. WITHIN_30KM = 9;
  51. // User was within 35KM of the location.
  52. WITHIN_35KM = 10;
  53. // User was within 40KM of the location.
  54. WITHIN_40KM = 11;
  55. // User was within 45KM of the location.
  56. WITHIN_45KM = 12;
  57. // User was within 50KM of the location.
  58. WITHIN_50KM = 13;
  59. // User was within 55KM of the location.
  60. WITHIN_55KM = 14;
  61. // User was within 60KM of the location.
  62. WITHIN_60KM = 15;
  63. // User was within 65KM of the location.
  64. WITHIN_65KM = 16;
  65. // User was beyond 65KM of the location.
  66. BEYOND_65KM = 17;
  67. // User was within 0.7 miles of the location.
  68. WITHIN_0_7MILES = 18;
  69. // User was within 1 mile of the location.
  70. WITHIN_1MILE = 19;
  71. // User was within 5 miles of the location.
  72. WITHIN_5MILES = 20;
  73. // User was within 10 miles of the location.
  74. WITHIN_10MILES = 21;
  75. // User was within 15 miles of the location.
  76. WITHIN_15MILES = 22;
  77. // User was within 20 miles of the location.
  78. WITHIN_20MILES = 23;
  79. // User was within 25 miles of the location.
  80. WITHIN_25MILES = 24;
  81. // User was within 30 miles of the location.
  82. WITHIN_30MILES = 25;
  83. // User was within 35 miles of the location.
  84. WITHIN_35MILES = 26;
  85. // User was within 40 miles of the location.
  86. WITHIN_40MILES = 27;
  87. // User was beyond 40 miles of the location.
  88. BEYOND_40MILES = 28;
  89. }
  90. }