• 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 = "AdTypeProto";
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 the ad type.
29
30// Container for enum describing possible types of an ad.
31message AdTypeEnum {
32  // The possible types of an ad.
33  enum AdType {
34    // No value has been specified.
35    UNSPECIFIED = 0;
36
37    // The received value is not known in this version.
38    //
39    // This is a response-only value.
40    UNKNOWN = 1;
41
42    // The ad is a text ad.
43    TEXT_AD = 2;
44
45    // The ad is an expanded text ad.
46    EXPANDED_TEXT_AD = 3;
47
48    // The ad is an expanded dynamic search ad.
49    EXPANDED_DYNAMIC_SEARCH_AD = 7;
50
51    // The ad is a hotel ad.
52    HOTEL_AD = 8;
53
54    // The ad is a Smart Shopping ad.
55    SHOPPING_SMART_AD = 9;
56
57    // The ad is a standard Shopping ad.
58    SHOPPING_PRODUCT_AD = 10;
59
60    // The ad is a video ad.
61    VIDEO_AD = 12;
62
63    // This ad is an Image ad.
64    IMAGE_AD = 14;
65
66    // The ad is a responsive search ad.
67    RESPONSIVE_SEARCH_AD = 15;
68
69    // The ad is a legacy responsive display ad.
70    LEGACY_RESPONSIVE_DISPLAY_AD = 16;
71
72    // The ad is an app ad.
73    APP_AD = 17;
74
75    // The ad is a legacy app install ad.
76    LEGACY_APP_INSTALL_AD = 18;
77
78    // The ad is a responsive display ad.
79    RESPONSIVE_DISPLAY_AD = 19;
80
81    // The ad is a local ad.
82    LOCAL_AD = 20;
83
84    // The ad is a display upload ad with the HTML5_UPLOAD_AD product type.
85    HTML5_UPLOAD_AD = 21;
86
87    // The ad is a display upload ad with one of the DYNAMIC_HTML5_* product
88    // types.
89    DYNAMIC_HTML5_AD = 22;
90
91    // The ad is an app engagement ad.
92    APP_ENGAGEMENT_AD = 23;
93
94    // The ad is a Shopping Comparison Listing ad.
95    SHOPPING_COMPARISON_LISTING_AD = 24;
96
97    // Video bumper ad.
98    VIDEO_BUMPER_AD = 25;
99
100    // Video non-skippable in-stream ad.
101    VIDEO_NON_SKIPPABLE_IN_STREAM_AD = 26;
102
103    // Video outstream ad.
104    VIDEO_OUTSTREAM_AD = 27;
105
106    // Video TrueView in-stream ad.
107    VIDEO_TRUEVIEW_IN_STREAM_AD = 29;
108
109    // Video responsive ad.
110    VIDEO_RESPONSIVE_AD = 30;
111
112    // Smart campaign ad.
113    SMART_CAMPAIGN_AD = 31;
114
115    // Call ad.
116    CALL_AD = 32;
117
118    // Universal app pre-registration ad.
119    APP_PRE_REGISTRATION_AD = 33;
120
121    // In-feed video ad.
122    IN_FEED_VIDEO_AD = 34;
123
124    // Discovery multi asset ad.
125    DISCOVERY_MULTI_ASSET_AD = 35;
126
127    // Discovery carousel ad.
128    DISCOVERY_CAROUSEL_AD = 36;
129
130    // Travel ad.
131    TRAVEL_AD = 37;
132
133    // Discovery video responsive ad.
134    DISCOVERY_VIDEO_RESPONSIVE_AD = 38;
135  }
136}
137