// Copyright 2018 Google LLC
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
//     http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
// implied. See the License for the specific language governing
// permissions and limitations under the License.


// Proto file describing the ad type.
syntax = "proto3";

package google.ads.googleads.v0.enums;

option java_package = "com.google.ads.googleads.v0.enums";
option java_outer_classname = "AdTypeProto";
option java_multiple_files = true;

// Objective-C prefix. Google Ads API.
option objc_class_prefix = "GAA";
option csharp_namespace = "Google.Ads.GoogleAds.V0.Enums";
option php_namespace = "Google\\Ads\\GoogleAds\\V0\\Enums";
option php_metadata_namespace = "Google\\Ads\\GoogleAds\\V0\\Enums";

// Container for enum describing possible types of an ad.
message AdTypeEnum {

  // The possible types of an ad.
  enum AdType {
    // No value has been specified.
    UNSPECIFIED = 0;
    // The received value is not known in this version.
    //
    // This is a response-only value.
    UNKNOWN = 1;
    // The ad is a text ad.
    TEXT_AD = 2;
    // The ad is an expanded text ad.
    EXPANDED_TEXT_AD = 3;
    // The ad is a dynamic search ad.
    DYNAMIC_SEARCH_AD = 4;
    // The ad is a responsive display ad.
    RESPONSIVE_DISPLAY_AD = 5;
    // The ad is a call only ad.
    CALL_ONLY_AD = 6;
    // The ad is an expanded dynamic search ad.
    EXPANDED_DYNAMIC_SEARCH_AD = 7;
    // The ad is a hotel ad.
    HOTEL_AD = 8;
  }
}
