# Generated by the protocol buffer compiler.  DO NOT EDIT!
# source: google/ads/google_ads/v1/resources/ad.proto

require 'google/protobuf'

require 'google/ads/google_ads/v1/common/ad_type_infos_pb'
require 'google/ads/google_ads/v1/common/custom_parameter_pb'
require 'google/ads/google_ads/v1/common/final_app_url_pb'
require 'google/ads/google_ads/v1/common/url_collection_pb'
require 'google/ads/google_ads/v1/enums/ad_type_pb'
require 'google/ads/google_ads/v1/enums/device_pb'
require 'google/ads/google_ads/v1/enums/system_managed_entity_source_pb'
require 'google/protobuf/wrappers_pb'
require 'google/api/annotations_pb'
Google::Protobuf::DescriptorPool.generated_pool.build do
  add_message "google.ads.googleads.v1.resources.Ad" do
    optional :id, :message, 1, "google.protobuf.Int64Value"
    repeated :final_urls, :message, 2, "google.protobuf.StringValue"
    repeated :final_app_urls, :message, 35, "google.ads.googleads.v1.common.FinalAppUrl"
    repeated :final_mobile_urls, :message, 16, "google.protobuf.StringValue"
    optional :tracking_url_template, :message, 12, "google.protobuf.StringValue"
    repeated :url_custom_parameters, :message, 10, "google.ads.googleads.v1.common.CustomParameter"
    optional :display_url, :message, 4, "google.protobuf.StringValue"
    optional :type, :enum, 5, "google.ads.googleads.v1.enums.AdTypeEnum.AdType"
    optional :added_by_google_ads, :message, 19, "google.protobuf.BoolValue"
    optional :device_preference, :enum, 20, "google.ads.googleads.v1.enums.DeviceEnum.Device"
    repeated :url_collections, :message, 26, "google.ads.googleads.v1.common.UrlCollection"
    optional :name, :message, 23, "google.protobuf.StringValue"
    optional :system_managed_resource_source, :enum, 27, "google.ads.googleads.v1.enums.SystemManagedResourceSourceEnum.SystemManagedResourceSource"
    oneof :ad_data do
      optional :text_ad, :message, 6, "google.ads.googleads.v1.common.TextAdInfo"
      optional :expanded_text_ad, :message, 7, "google.ads.googleads.v1.common.ExpandedTextAdInfo"
      optional :call_only_ad, :message, 13, "google.ads.googleads.v1.common.CallOnlyAdInfo"
      optional :expanded_dynamic_search_ad, :message, 14, "google.ads.googleads.v1.common.ExpandedDynamicSearchAdInfo"
      optional :hotel_ad, :message, 15, "google.ads.googleads.v1.common.HotelAdInfo"
      optional :shopping_smart_ad, :message, 17, "google.ads.googleads.v1.common.ShoppingSmartAdInfo"
      optional :shopping_product_ad, :message, 18, "google.ads.googleads.v1.common.ShoppingProductAdInfo"
      optional :gmail_ad, :message, 21, "google.ads.googleads.v1.common.GmailAdInfo"
      optional :image_ad, :message, 22, "google.ads.googleads.v1.common.ImageAdInfo"
      optional :video_ad, :message, 24, "google.ads.googleads.v1.common.VideoAdInfo"
      optional :responsive_search_ad, :message, 25, "google.ads.googleads.v1.common.ResponsiveSearchAdInfo"
      optional :legacy_responsive_display_ad, :message, 28, "google.ads.googleads.v1.common.LegacyResponsiveDisplayAdInfo"
      optional :app_ad, :message, 29, "google.ads.googleads.v1.common.AppAdInfo"
      optional :legacy_app_install_ad, :message, 30, "google.ads.googleads.v1.common.LegacyAppInstallAdInfo"
      optional :responsive_display_ad, :message, 31, "google.ads.googleads.v1.common.ResponsiveDisplayAdInfo"
      optional :display_upload_ad, :message, 33, "google.ads.googleads.v1.common.DisplayUploadAdInfo"
      optional :app_engagement_ad, :message, 34, "google.ads.googleads.v1.common.AppEngagementAdInfo"
    end
  end
end

module Google::Ads::GoogleAds::V1::Resources
  Ad = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.ads.googleads.v1.resources.Ad").msgclass
end
