promotion_placeholder_field.proto 3.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293
  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.enums;
  16. option csharp_namespace = "Google.Ads.GoogleAds.V10.Enums";
  17. option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v10/enums;enums";
  18. option java_multiple_files = true;
  19. option java_outer_classname = "PromotionPlaceholderFieldProto";
  20. option java_package = "com.google.ads.googleads.v10.enums";
  21. option objc_class_prefix = "GAA";
  22. option php_namespace = "Google\\Ads\\GoogleAds\\V10\\Enums";
  23. option ruby_package = "Google::Ads::GoogleAds::V10::Enums";
  24. // Proto file describing Promotion placeholder fields.
  25. // Values for Promotion placeholder fields.
  26. message PromotionPlaceholderFieldEnum {
  27. // Possible values for Promotion placeholder fields.
  28. enum PromotionPlaceholderField {
  29. // Not specified.
  30. UNSPECIFIED = 0;
  31. // Used for return value only. Represents value unknown in this version.
  32. UNKNOWN = 1;
  33. // Data Type: STRING. The text that appears on the ad when the extension is
  34. // shown.
  35. PROMOTION_TARGET = 2;
  36. // Data Type: STRING. Allows you to add "up to" phrase to the promotion,
  37. // in case you have variable promotion rates.
  38. DISCOUNT_MODIFIER = 3;
  39. // Data Type: INT64. Takes a value in micros, where 1 million micros
  40. // represents 1%, and is shown as a percentage when rendered.
  41. PERCENT_OFF = 4;
  42. // Data Type: MONEY. Requires a currency and an amount of money.
  43. MONEY_AMOUNT_OFF = 5;
  44. // Data Type: STRING. A string that the user enters to get the discount.
  45. PROMOTION_CODE = 6;
  46. // Data Type: MONEY. A minimum spend before the user qualifies for the
  47. // promotion.
  48. ORDERS_OVER_AMOUNT = 7;
  49. // Data Type: DATE. The start date of the promotion.
  50. PROMOTION_START = 8;
  51. // Data Type: DATE. The end date of the promotion.
  52. PROMOTION_END = 9;
  53. // Data Type: STRING. Describes the associated event for the promotion using
  54. // one of the PromotionExtensionOccasion enum values, for example NEW_YEARS.
  55. OCCASION = 10;
  56. // Data Type: URL_LIST. Final URLs to be used in the ad when using Upgraded
  57. // URLs.
  58. FINAL_URLS = 11;
  59. // Data Type: URL_LIST. Final mobile URLs for the ad when using Upgraded
  60. // URLs.
  61. FINAL_MOBILE_URLS = 12;
  62. // Data Type: URL. Tracking template for the ad when using Upgraded URLs.
  63. TRACKING_URL = 13;
  64. // Data Type: STRING. A string represented by a language code for the
  65. // promotion.
  66. LANGUAGE = 14;
  67. // Data Type: STRING. Final URL suffix for the ad when using parallel
  68. // tracking.
  69. FINAL_URL_SUFFIX = 15;
  70. }
  71. }