# frozen_string_literal: true
# Generated by the protocol buffer compiler.  DO NOT EDIT!
# source: google/ads/googleads/v19/resources/ad.proto

require 'google/protobuf'

require 'google/ads/google_ads/v19/common/ad_type_infos_pb'
require 'google/ads/google_ads/v19/common/custom_parameter_pb'
require 'google/ads/google_ads/v19/common/final_app_url_pb'
require 'google/ads/google_ads/v19/common/url_collection_pb'
require 'google/ads/google_ads/v19/enums/ad_type_pb'
require 'google/ads/google_ads/v19/enums/device_pb'
require 'google/ads/google_ads/v19/enums/system_managed_entity_source_pb'
require 'google/api/field_behavior_pb'
require 'google/api/resource_pb'


descriptor_data = "\n+google/ads/googleads/v19/resources/ad.proto\x12\"google.ads.googleads.v19.resources\x1a\x33google/ads/googleads/v19/common/ad_type_infos.proto\x1a\x36google/ads/googleads/v19/common/custom_parameter.proto\x1a\x33google/ads/googleads/v19/common/final_app_url.proto\x1a\x34google/ads/googleads/v19/common/url_collection.proto\x1a,google/ads/googleads/v19/enums/ad_type.proto\x1a+google/ads/googleads/v19/enums/device.proto\x1a\x41google/ads/googleads/v19/enums/system_managed_entity_source.proto\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\"\xe8\x18\n\x02\x41\x64\x12:\n\rresource_name\x18% \x01(\tB#\xe0\x41\x05\xfa\x41\x1d\n\x1bgoogleads.googleapis.com/Ad\x12\x14\n\x02id\x18( \x01(\x03\x42\x03\xe0\x41\x03H\x01\x88\x01\x01\x12\x12\n\nfinal_urls\x18) \x03(\t\x12\x44\n\x0e\x66inal_app_urls\x18# \x03(\x0b\x32,.google.ads.googleads.v19.common.FinalAppUrl\x12\x19\n\x11\x66inal_mobile_urls\x18* \x03(\t\x12\"\n\x15tracking_url_template\x18+ \x01(\tH\x02\x88\x01\x01\x12\x1d\n\x10\x66inal_url_suffix\x18, \x01(\tH\x03\x88\x01\x01\x12O\n\x15url_custom_parameters\x18\n \x03(\x0b\x32\x30.google.ads.googleads.v19.common.CustomParameter\x12\x18\n\x0b\x64isplay_url\x18- \x01(\tH\x04\x88\x01\x01\x12\x44\n\x04type\x18\x05 \x01(\x0e\x32\x31.google.ads.googleads.v19.enums.AdTypeEnum.AdTypeB\x03\xe0\x41\x03\x12%\n\x13\x61\x64\x64\x65\x64_by_google_ads\x18. \x01(\x08\x42\x03\xe0\x41\x03H\x05\x88\x01\x01\x12L\n\x11\x64\x65vice_preference\x18\x14 \x01(\x0e\x32\x31.google.ads.googleads.v19.enums.DeviceEnum.Device\x12G\n\x0furl_collections\x18\x1a \x03(\x0b\x32..google.ads.googleads.v19.common.UrlCollection\x12\x16\n\x04name\x18/ \x01(\tB\x03\xe0\x41\x05H\x06\x88\x01\x01\x12\x88\x01\n\x1esystem_managed_resource_source\x18\x1b \x01(\x0e\x32[.google.ads.googleads.v19.enums.SystemManagedResourceSourceEnum.SystemManagedResourceSourceB\x03\xe0\x41\x03\x12\x43\n\x07text_ad\x18\x06 \x01(\x0b\x32+.google.ads.googleads.v19.common.TextAdInfoB\x03\xe0\x41\x05H\x00\x12O\n\x10\x65xpanded_text_ad\x18\x07 \x01(\x0b\x32\x33.google.ads.googleads.v19.common.ExpandedTextAdInfoH\x00\x12>\n\x07\x63\x61ll_ad\x18\x31 \x01(\x0b\x32+.google.ads.googleads.v19.common.CallAdInfoH\x00\x12g\n\x1a\x65xpanded_dynamic_search_ad\x18\x0e \x01(\x0b\x32<.google.ads.googleads.v19.common.ExpandedDynamicSearchAdInfoB\x03\xe0\x41\x05H\x00\x12@\n\x08hotel_ad\x18\x0f \x01(\x0b\x32,.google.ads.googleads.v19.common.HotelAdInfoH\x00\x12Q\n\x11shopping_smart_ad\x18\x11 \x01(\x0b\x32\x34.google.ads.googleads.v19.common.ShoppingSmartAdInfoH\x00\x12U\n\x13shopping_product_ad\x18\x12 \x01(\x0b\x32\x36.google.ads.googleads.v19.common.ShoppingProductAdInfoH\x00\x12\x45\n\x08image_ad\x18\x16 \x01(\x0b\x32,.google.ads.googleads.v19.common.ImageAdInfoB\x03\xe0\x41\x05H\x00\x12@\n\x08video_ad\x18\x18 \x01(\x0b\x32,.google.ads.googleads.v19.common.VideoAdInfoH\x00\x12U\n\x13video_responsive_ad\x18\' \x01(\x0b\x32\x36.google.ads.googleads.v19.common.VideoResponsiveAdInfoH\x00\x12W\n\x14responsive_search_ad\x18\x19 \x01(\x0b\x32\x37.google.ads.googleads.v19.common.ResponsiveSearchAdInfoH\x00\x12\x66\n\x1clegacy_responsive_display_ad\x18\x1c \x01(\x0b\x32>.google.ads.googleads.v19.common.LegacyResponsiveDisplayAdInfoH\x00\x12<\n\x06\x61pp_ad\x18\x1d \x01(\x0b\x32*.google.ads.googleads.v19.common.AppAdInfoH\x00\x12]\n\x15legacy_app_install_ad\x18\x1e \x01(\x0b\x32\x37.google.ads.googleads.v19.common.LegacyAppInstallAdInfoB\x03\xe0\x41\x05H\x00\x12Y\n\x15responsive_display_ad\x18\x1f \x01(\x0b\x32\x38.google.ads.googleads.v19.common.ResponsiveDisplayAdInfoH\x00\x12@\n\x08local_ad\x18  \x01(\x0b\x32,.google.ads.googleads.v19.common.LocalAdInfoH\x00\x12Q\n\x11\x64isplay_upload_ad\x18! \x01(\x0b\x32\x34.google.ads.googleads.v19.common.DisplayUploadAdInfoH\x00\x12Q\n\x11\x61pp_engagement_ad\x18\" \x01(\x0b\x32\x34.google.ads.googleads.v19.common.AppEngagementAdInfoH\x00\x12j\n\x1eshopping_comparison_listing_ad\x18$ \x01(\x0b\x32@.google.ads.googleads.v19.common.ShoppingComparisonListingAdInfoH\x00\x12Q\n\x11smart_campaign_ad\x18\x30 \x01(\x0b\x32\x34.google.ads.googleads.v19.common.SmartCampaignAdInfoH\x00\x12\\\n\x17\x61pp_pre_registration_ad\x18\x32 \x01(\x0b\x32\x39.google.ads.googleads.v19.common.AppPreRegistrationAdInfoH\x00\x12_\n\x19\x64\x65mand_gen_multi_asset_ad\x18> \x01(\x0b\x32:.google.ads.googleads.v19.common.DemandGenMultiAssetAdInfoH\x00\x12Z\n\x16\x64\x65mand_gen_carousel_ad\x18? \x01(\x0b\x32\x38.google.ads.googleads.v19.common.DemandGenCarouselAdInfoH\x00\x12i\n\x1e\x64\x65mand_gen_video_responsive_ad\x18@ \x01(\x0b\x32?.google.ads.googleads.v19.common.DemandGenVideoResponsiveAdInfoH\x00\x12X\n\x15\x64\x65mand_gen_product_ad\x18= \x01(\x0b\x32\x37.google.ads.googleads.v19.common.DemandGenProductAdInfoH\x00\x12\x42\n\ttravel_ad\x18\x36 \x01(\x0b\x32-.google.ads.googleads.v19.common.TravelAdInfoH\x00:E\xea\x41\x42\n\x1bgoogleads.googleapis.com/Ad\x12#customers/{customer_id}/ads/{ad_id}B\t\n\x07\x61\x64_dataB\x05\n\x03_idB\x18\n\x16_tracking_url_templateB\x13\n\x11_final_url_suffixB\x0e\n\x0c_display_urlB\x16\n\x14_added_by_google_adsB\x07\n\x05_nameB\xf9\x01\n&com.google.ads.googleads.v19.resourcesB\x07\x41\x64ProtoP\x01ZKgoogle.golang.org/genproto/googleapis/ads/googleads/v19/resources;resources\xa2\x02\x03GAA\xaa\x02\"Google.Ads.GoogleAds.V19.Resources\xca\x02\"Google\\Ads\\GoogleAds\\V19\\Resources\xea\x02&Google::Ads::GoogleAds::V19::Resourcesb\x06proto3"

pool = Google::Protobuf::DescriptorPool.generated_pool

begin
  pool.add_serialized_file(descriptor_data)
rescue TypeError
  # Compatibility code: will be removed in the next major version.
  require 'google/protobuf/descriptor_pb'
  parsed = Google::Protobuf::FileDescriptorProto.decode(descriptor_data)
  parsed.clear_dependency
  serialized = parsed.class.encode(parsed)
  file = pool.add_serialized_file(serialized)
  warn "Warning: Protobuf detected an import path issue while loading generated file #{__FILE__}"
  imports = [
    ["google.ads.googleads.v19.common.FinalAppUrl", "google/ads/googleads/v19/common/final_app_url.proto"],
    ["google.ads.googleads.v19.common.CustomParameter", "google/ads/googleads/v19/common/custom_parameter.proto"],
    ["google.ads.googleads.v19.common.UrlCollection", "google/ads/googleads/v19/common/url_collection.proto"],
    ["google.ads.googleads.v19.common.TextAdInfo", "google/ads/googleads/v19/common/ad_type_infos.proto"],
  ]
  imports.each do |type_name, expected_filename|
    import_file = pool.lookup(type_name).file_descriptor
    if import_file.name != expected_filename
      warn "- #{file.name} imports #{expected_filename}, but that import was loaded as #{import_file.name}"
    end
  end
  warn "Each proto file must use a consistent fully-qualified name."
  warn "This will become an error in the next major version."
end

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