distance_bucket.proto 3.4 KB

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