# frozen_string_literal: true
# Generated by the protocol buffer compiler.  DO NOT EDIT!
# source: google/ads/googleads/v20/common/audience_insights_attribute.proto

require 'google/protobuf'

require 'google/ads/google_ads/v20/common/criteria_pb'
require 'google/ads/google_ads/v20/enums/audience_insights_dimension_pb'
require 'google/ads/google_ads/v20/enums/insights_knowledge_graph_entity_capabilities_pb'
require 'google/api/field_behavior_pb'


descriptor_data = "\nAgoogle/ads/googleads/v20/common/audience_insights_attribute.proto\x12\x1fgoogle.ads.googleads.v20.common\x1a.google/ads/googleads/v20/common/criteria.proto\x1a@google/ads/googleads/v20/enums/audience_insights_dimension.proto\x1aQgoogle/ads/googleads/v20/enums/insights_knowledge_graph_entity_capabilities.proto\x1a\x1fgoogle/api/field_behavior.proto\"\xd7\x07\n!AudienceInsightsAttributeMetadata\x12j\n\tdimension\x18\x01 \x01(\x0e\x32W.google.ads.googleads.v20.enums.AudienceInsightsDimensionEnum.AudienceInsightsDimension\x12M\n\tattribute\x18\x02 \x01(\x0b\x32:.google.ads.googleads.v20.common.AudienceInsightsAttribute\x12\x14\n\x0c\x64isplay_name\x18\x03 \x01(\t\x12\x14\n\x0c\x64isplay_info\x18\x04 \x01(\t\x12\x1f\n\x17potential_youtube_reach\x18\x08 \x01(\x03\x12\x18\n\x10subscriber_share\x18\t \x01(\x01\x12\x14\n\x0cviewer_share\x18\r \x01(\x01\x12\x64\n\x18youtube_channel_metadata\x18\x05 \x01(\x0b\x32@.google.ads.googleads.v20.common.YouTubeChannelAttributeMetadataH\x00\x12`\n\x16youtube_video_metadata\x18\n \x01(\x0b\x32>.google.ads.googleads.v20.common.YouTubeVideoAttributeMetadataH\x00\x12]\n\x19lineup_attribute_metadata\x18\x0e \x01(\x0b\x32\x38.google.ads.googleads.v20.common.LineupAttributeMetadataH\x00\x12\x61\n\x1blocation_attribute_metadata\x18\x07 \x01(\x0b\x32:.google.ads.googleads.v20.common.LocationAttributeMetadataH\x00\x12j\n user_interest_attribute_metadata\x18\x0b \x01(\x0b\x32>.google.ads.googleads.v20.common.UserInterestAttributeMetadataH\x00\x12n\n\"knowledge_graph_attribute_metadata\x18\x0c \x01(\x0b\x32@.google.ads.googleads.v20.common.KnowledgeGraphAttributeMetadataH\x00\x42\x14\n\x12\x64imension_metadata\"\x94\x07\n\x19\x41udienceInsightsAttribute\x12\x42\n\tage_range\x18\x01 \x01(\x0b\x32-.google.ads.googleads.v20.common.AgeRangeInfoH\x00\x12=\n\x06gender\x18\x02 \x01(\x0b\x32+.google.ads.googleads.v20.common.GenderInfoH\x00\x12\x41\n\x08location\x18\x03 \x01(\x0b\x32-.google.ads.googleads.v20.common.LocationInfoH\x00\x12J\n\ruser_interest\x18\x04 \x01(\x0b\x32\x31.google.ads.googleads.v20.common.UserInterestInfoH\x00\x12I\n\x06\x65ntity\x18\x05 \x01(\x0b\x32\x37.google.ads.googleads.v20.common.AudienceInsightsEntityH\x00\x12M\n\x08\x63\x61tegory\x18\x06 \x01(\x0b\x32\x39.google.ads.googleads.v20.common.AudienceInsightsCategoryH\x00\x12I\n\x06lineup\x18\r \x01(\x0b\x32\x37.google.ads.googleads.v20.common.AudienceInsightsLineupH\x00\x12N\n\x0fparental_status\x18\x08 \x01(\x0b\x32\x33.google.ads.googleads.v20.common.ParentalStatusInfoH\x00\x12H\n\x0cincome_range\x18\t \x01(\x0b\x32\x30.google.ads.googleads.v20.common.IncomeRangeInfoH\x00\x12N\n\x0fyoutube_channel\x18\n \x01(\x0b\x32\x33.google.ads.googleads.v20.common.YouTubeChannelInfoH\x00\x12J\n\ryoutube_video\x18\x0b \x01(\x0b\x32\x31.google.ads.googleads.v20.common.YouTubeVideoInfoH\x00\x12=\n\x06\x64\x65vice\x18\x0c \x01(\x0b\x32+.google.ads.googleads.v20.common.DeviceInfoH\x00\x42\x0b\n\tattribute\"\xba\x01\n\x15\x41udienceInsightsTopic\x12I\n\x06\x65ntity\x18\x01 \x01(\x0b\x32\x37.google.ads.googleads.v20.common.AudienceInsightsEntityH\x00\x12M\n\x08\x63\x61tegory\x18\x02 \x01(\x0b\x32\x39.google.ads.googleads.v20.common.AudienceInsightsCategoryH\x00\x42\x07\n\x05topic\"A\n\x16\x41udienceInsightsEntity\x12\'\n\x1aknowledge_graph_machine_id\x18\x01 \x01(\tB\x03\xe0\x41\x02\"4\n\x18\x41udienceInsightsCategory\x12\x18\n\x0b\x63\x61tegory_id\x18\x01 \x01(\tB\x03\xe0\x41\x02\"0\n\x16\x41udienceInsightsLineup\x12\x16\n\tlineup_id\x18\x01 \x01(\tB\x03\xe0\x41\x02\";\n\x1fYouTubeChannelAttributeMetadata\x12\x18\n\x10subscriber_count\x18\x01 \x01(\x03\"I\n\x1dYouTubeVideoAttributeMetadata\x12\x15\n\rthumbnail_url\x18\x01 \x01(\t\x12\x11\n\tvideo_url\x18\x02 \x01(\t\"\xee\x04\n\x17LineupAttributeMetadata\x12H\n\x11inventory_country\x18\x01 \x01(\x0b\x32-.google.ads.googleads.v20.common.LocationInfo\x12%\n\x18median_monthly_inventory\x18\x02 \x01(\x03H\x00\x88\x01\x01\x12&\n\x19\x63hannel_count_lower_bound\x18\x03 \x01(\x03H\x01\x88\x01\x01\x12&\n\x19\x63hannel_count_upper_bound\x18\x04 \x01(\x03H\x02\x88\x01\x01\x12_\n\x0fsample_channels\x18\x05 \x03(\x0b\x32\x46.google.ads.googleads.v20.common.LineupAttributeMetadata.SampleChannel\x1a\xd7\x01\n\rSampleChannel\x12L\n\x0fyoutube_channel\x18\x01 \x01(\x0b\x32\x33.google.ads.googleads.v20.common.YouTubeChannelInfo\x12\x14\n\x0c\x64isplay_name\x18\x02 \x01(\t\x12\x62\n\x18youtube_channel_metadata\x18\x03 \x01(\x0b\x32@.google.ads.googleads.v20.common.YouTubeChannelAttributeMetadataB\x1b\n\x19_median_monthly_inventoryB\x1c\n\x1a_channel_count_lower_boundB\x1c\n\x1a_channel_count_upper_bound\"d\n\x19LocationAttributeMetadata\x12G\n\x10\x63ountry_location\x18\x01 \x01(\x0b\x32-.google.ads.googleads.v20.common.LocationInfo\"B\n\x1dUserInterestAttributeMetadata\x12!\n\x19user_interest_description\x18\x01 \x01(\t\"\xb6\x01\n\x1fKnowledgeGraphAttributeMetadata\x12\x92\x01\n\x13\x65ntity_capabilities\x18\x01 \x03(\x0e\x32u.google.ads.googleads.v20.enums.InsightsKnowledgeGraphEntityCapabilitiesEnum.InsightsKnowledgeGraphEntityCapabilitiesB\xfe\x01\n#com.google.ads.googleads.v20.commonB\x1e\x41udienceInsightsAttributeProtoP\x01ZEgoogle.golang.org/genproto/googleapis/ads/googleads/v20/common;common\xa2\x02\x03GAA\xaa\x02\x1fGoogle.Ads.GoogleAds.V20.Common\xca\x02\x1fGoogle\\Ads\\GoogleAds\\V20\\Common\xea\x02#Google::Ads::GoogleAds::V20::Commonb\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.v20.common.AgeRangeInfo", "google/ads/googleads/v20/common/criteria.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 V20
        module Common
          AudienceInsightsAttributeMetadata = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.ads.googleads.v20.common.AudienceInsightsAttributeMetadata").msgclass
          AudienceInsightsAttribute = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.ads.googleads.v20.common.AudienceInsightsAttribute").msgclass
          AudienceInsightsTopic = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.ads.googleads.v20.common.AudienceInsightsTopic").msgclass
          AudienceInsightsEntity = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.ads.googleads.v20.common.AudienceInsightsEntity").msgclass
          AudienceInsightsCategory = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.ads.googleads.v20.common.AudienceInsightsCategory").msgclass
          AudienceInsightsLineup = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.ads.googleads.v20.common.AudienceInsightsLineup").msgclass
          YouTubeChannelAttributeMetadata = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.ads.googleads.v20.common.YouTubeChannelAttributeMetadata").msgclass
          YouTubeVideoAttributeMetadata = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.ads.googleads.v20.common.YouTubeVideoAttributeMetadata").msgclass
          LineupAttributeMetadata = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.ads.googleads.v20.common.LineupAttributeMetadata").msgclass
          LineupAttributeMetadata::SampleChannel = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.ads.googleads.v20.common.LineupAttributeMetadata.SampleChannel").msgclass
          LocationAttributeMetadata = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.ads.googleads.v20.common.LocationAttributeMetadata").msgclass
          UserInterestAttributeMetadata = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.ads.googleads.v20.common.UserInterestAttributeMetadata").msgclass
          KnowledgeGraphAttributeMetadata = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.ads.googleads.v20.common.KnowledgeGraphAttributeMetadata").msgclass
        end
      end
    end
  end
end
