flight_placeholder_field.proto 4.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116
  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 = "FlightsPlaceholderFieldProto";
  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 Flight placeholder fields.
  25. // Values for Flight placeholder fields.
  26. // For more information about dynamic remarketing feeds, see
  27. // https://support.google.com/google-ads/answer/6053288.
  28. message FlightPlaceholderFieldEnum {
  29. // Possible values for Flight placeholder fields.
  30. enum FlightPlaceholderField {
  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. Destination id. Example: PAR, LON.
  36. // For feed items that only have destination id, destination id must be a
  37. // unique key. For feed items that have both destination id and origin id,
  38. // then the combination must be a unique key.
  39. DESTINATION_ID = 2;
  40. // Data Type: STRING. Origin id. Example: PAR, LON.
  41. // Optional. Combination of destination id and origin id must be unique per
  42. // offer.
  43. ORIGIN_ID = 3;
  44. // Data Type: STRING. Required. Main headline with product name to be shown
  45. // in dynamic ad.
  46. FLIGHT_DESCRIPTION = 4;
  47. // Data Type: STRING. Shorter names are recommended.
  48. ORIGIN_NAME = 5;
  49. // Data Type: STRING. Shorter names are recommended.
  50. DESTINATION_NAME = 6;
  51. // Data Type: STRING. Price to be shown in the ad.
  52. // Example: "100.00 USD"
  53. FLIGHT_PRICE = 7;
  54. // Data Type: STRING. Formatted price to be shown in the ad.
  55. // Example: "Starting at $100.00 USD", "$80 - $100"
  56. FORMATTED_PRICE = 8;
  57. // Data Type: STRING. Sale price to be shown in the ad.
  58. // Example: "80.00 USD"
  59. FLIGHT_SALE_PRICE = 9;
  60. // Data Type: STRING. Formatted sale price to be shown in the ad.
  61. // Example: "On sale for $80.00", "$60 - $80"
  62. FORMATTED_SALE_PRICE = 10;
  63. // Data Type: URL. Image to be displayed in the ad.
  64. IMAGE_URL = 11;
  65. // Data Type: URL_LIST. Required. Final URLs for the ad when using Upgraded
  66. // URLs. User will be redirected to these URLs when they click on an ad, or
  67. // when they click on a specific flight for ads that show multiple
  68. // flights.
  69. FINAL_URLS = 12;
  70. // Data Type: URL_LIST. Final mobile URLs for the ad when using Upgraded
  71. // URLs.
  72. FINAL_MOBILE_URLS = 13;
  73. // Data Type: URL. Tracking template for the ad when using Upgraded URLs.
  74. TRACKING_URL = 14;
  75. // Data Type: STRING. Android app link. Must be formatted as:
  76. // android-app://{package_id}/{scheme}/{host_path}.
  77. // The components are defined as follows:
  78. // package_id: app ID as specified in Google Play.
  79. // scheme: the scheme to pass to the application. Can be HTTP, or a custom
  80. // scheme.
  81. // host_path: identifies the specific content within your application.
  82. ANDROID_APP_LINK = 15;
  83. // Data Type: STRING_LIST. List of recommended destination IDs to show
  84. // together with this item.
  85. SIMILAR_DESTINATION_IDS = 16;
  86. // Data Type: STRING. iOS app link.
  87. IOS_APP_LINK = 17;
  88. // Data Type: INT64. iOS app store ID.
  89. IOS_APP_STORE_ID = 18;
  90. }
  91. }