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