custom_placeholder_field.proto 4.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127
  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 = "CustomPlaceholderFieldProto";
  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 Custom placeholder fields.
  25. // Values for Custom placeholder fields.
  26. // For more information about dynamic remarketing feeds, see
  27. // https://support.google.com/google-ads/answer/6053288.
  28. message CustomPlaceholderFieldEnum {
  29. // Possible values for Custom placeholder fields.
  30. enum CustomPlaceholderField {
  31. // Not specified.
  32. UNSPECIFIED = 0;
  33. // Used for return value only. Represents value unknown in this version.
  34. UNKNOWN = 1;
  35. // Data Type: STRING. Required. Combination ID and ID2 must be unique per
  36. // offer.
  37. ID = 2;
  38. // Data Type: STRING. Combination ID and ID2 must be unique per offer.
  39. ID2 = 3;
  40. // Data Type: STRING. Required. Main headline with product name to be shown
  41. // in dynamic ad.
  42. ITEM_TITLE = 4;
  43. // Data Type: STRING. Optional text to be shown in the image ad.
  44. ITEM_SUBTITLE = 5;
  45. // Data Type: STRING. Optional description of the product to be shown in the
  46. // ad.
  47. ITEM_DESCRIPTION = 6;
  48. // Data Type: STRING. Full address of your offer or service, including
  49. // postal code. This will be used to identify the closest product to the
  50. // user when there are multiple offers in the feed that are relevant to the
  51. // user.
  52. ITEM_ADDRESS = 7;
  53. // Data Type: STRING. Price to be shown in the ad.
  54. // Example: "100.00 USD"
  55. PRICE = 8;
  56. // Data Type: STRING. Formatted price to be shown in the ad.
  57. // Example: "Starting at $100.00 USD", "$80 - $100"
  58. FORMATTED_PRICE = 9;
  59. // Data Type: STRING. Sale price to be shown in the ad.
  60. // Example: "80.00 USD"
  61. SALE_PRICE = 10;
  62. // Data Type: STRING. Formatted sale price to be shown in the ad.
  63. // Example: "On sale for $80.00", "$60 - $80"
  64. FORMATTED_SALE_PRICE = 11;
  65. // Data Type: URL. Image to be displayed in the ad. Highly recommended for
  66. // image ads.
  67. IMAGE_URL = 12;
  68. // Data Type: STRING. Used as a recommendation engine signal to serve items
  69. // in the same category.
  70. ITEM_CATEGORY = 13;
  71. // Data Type: URL_LIST. Final URLs for the ad when using Upgraded
  72. // URLs. User will be redirected to these URLs when they click on an ad, or
  73. // when they click on a specific product for ads that have multiple
  74. // products.
  75. FINAL_URLS = 14;
  76. // Data Type: URL_LIST. Final mobile URLs for the ad when using Upgraded
  77. // URLs.
  78. FINAL_MOBILE_URLS = 15;
  79. // Data Type: URL. Tracking template for the ad when using Upgraded URLs.
  80. TRACKING_URL = 16;
  81. // Data Type: STRING_LIST. Keywords used for product retrieval.
  82. CONTEXTUAL_KEYWORDS = 17;
  83. // Data Type: STRING. Android app link. Must be formatted as:
  84. // android-app://{package_id}/{scheme}/{host_path}.
  85. // The components are defined as follows:
  86. // package_id: app ID as specified in Google Play.
  87. // scheme: the scheme to pass to the application. Can be HTTP, or a custom
  88. // scheme.
  89. // host_path: identifies the specific content within your application.
  90. ANDROID_APP_LINK = 18;
  91. // Data Type: STRING_LIST. List of recommended IDs to show together with
  92. // this item.
  93. SIMILAR_IDS = 19;
  94. // Data Type: STRING. iOS app link.
  95. IOS_APP_LINK = 20;
  96. // Data Type: INT64. iOS app store ID.
  97. IOS_APP_STORE_ID = 21;
  98. }
  99. }