1 // Copyright 2018 Google LLC.
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
7 // http://www.apache.org/licenses/LICENSE-2.0
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.
18 package google.ads.googleads.v0.enums;
20 option csharp_namespace = "Google.Ads.GoogleAds.V0.Enums";
21 option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v0/enums;enums";
22 option java_multiple_files = true;
23 option java_outer_classname = "PromotionPlaceholderFieldProto";
24 option java_package = "com.google.ads.googleads.v0.enums";
25 option objc_class_prefix = "GAA";
26 option php_namespace = "Google\\Ads\\GoogleAds\\V0\\Enums";
27 option ruby_package = "Google::Ads::GoogleAds::V0::Enums";
29 // Proto file describing Promotion placeholder fields.
31 // Values for Promotion placeholder fields.
32 message PromotionPlaceholderFieldEnum {
33 // Possible values for Promotion placeholder fields.
34 enum PromotionPlaceholderField {
38 // Used for return value only. Represents value unknown in this version.
41 // Data Type: STRING. The text that appears on the ad when the extension is
45 // Data Type: STRING. Allows you to add "up to" phrase to the promotion,
46 // in case you have variable promotion rates.
47 DISCOUNT_MODIFIER = 3;
49 // Data Type: INT64. Takes a value in micros, where 1 million micros
50 // represents 1%, and is shown as a percentage when rendered.
53 // Data Type: PRICE. Requires a currency and an amount of money.
56 // Data Type: STRING. A string that the user enters to get the discount.
59 // Data Type: PRICE. A minimum spend before the user qualifies for the
61 ORDERS_OVER_AMOUNT = 7;
63 // Data Type: DATE. The start date of the promotion.
66 // Data Type: DATE. The end date of the promotion.
69 // Data Type: STRING. Describes the associated event for the promotion using
70 // one of the PromotionExtensionOccasion enum values, for example NEW_YEARS.
73 // Data Type: URL_LIST. Final URLs to be used in the ad when using Upgraded
77 // Data Type: URL_LIST. Final mobile URLs for the ad when using Upgraded
79 FINAL_MOBILE_URLS = 12;
81 // Data Type: URL. Tracking template for the ad when using Upgraded URLs.
84 // Data Type: STRING. A string represented by a language code for the
88 // Data Type: STRING. Final URL suffix for the ad when using parallel
90 FINAL_URL_SUFFIX = 15;