# frozen_string_literal: true
# Generated by the protocol buffer compiler.  DO NOT EDIT!
# source: google/ads/googleads/v21/services/content_creator_insights_service.proto

require 'google/protobuf'

require 'google/ads/google_ads/v21/common/additional_application_info_pb'
require 'google/ads/google_ads/v21/common/audience_insights_attribute_pb'
require 'google/ads/google_ads/v21/common/criteria_pb'
require 'google/ads/google_ads/v21/enums/insights_trend_pb'
require 'google/api/annotations_pb'
require 'google/api/client_pb'
require 'google/api/field_behavior_pb'


descriptor_data = "\nHgoogle/ads/googleads/v21/services/content_creator_insights_service.proto\x12!google.ads.googleads.v21.services\x1a\x41google/ads/googleads/v21/common/additional_application_info.proto\x1a\x41google/ads/googleads/v21/common/audience_insights_attribute.proto\x1a.google/ads/googleads/v21/common/criteria.proto\x1a\x33google/ads/googleads/v21/enums/insights_trend.proto\x1a\x1cgoogle/api/annotations.proto\x1a\x17google/api/client.proto\x1a\x1fgoogle/api/field_behavior.proto\"\xf8\x08\n\x1eGenerateCreatorInsightsRequest\x12\x18\n\x0b\x63ustomer_id\x18\x01 \x01(\tB\x03\xe0\x41\x02\x12$\n\x17\x63ustomer_insights_group\x18\x02 \x01(\tB\x03\xe0\x41\x02\x12\x62\n\x19insights_application_info\x18\x08 \x01(\x0b\x32:.google.ads.googleads.v21.common.AdditionalApplicationInfoB\x03\xe0\x41\x01\x12M\n\x11\x63ountry_locations\x18\x06 \x03(\x0b\x32-.google.ads.googleads.v21.common.LocationInfoB\x03\xe0\x41\x02\x12L\n\x15sub_country_locations\x18\x07 \x03(\x0b\x32-.google.ads.googleads.v21.common.LocationInfo\x12o\n\x11search_attributes\x18\x03 \x01(\x0b\x32R.google.ads.googleads.v21.services.GenerateCreatorInsightsRequest.SearchAttributesH\x00\x12\x65\n\x0csearch_brand\x18\x05 \x01(\x0b\x32M.google.ads.googleads.v21.services.GenerateCreatorInsightsRequest.SearchBrandH\x00\x12l\n\x0fsearch_channels\x18\x04 \x01(\x0b\x32Q.google.ads.googleads.v21.services.GenerateCreatorInsightsRequest.YouTubeChannelsH\x00\x1a\xcd\x01\n\x10SearchAttributes\x12\\\n\x13\x61udience_attributes\x18\x01 \x03(\x0b\x32:.google.ads.googleads.v21.common.AudienceInsightsAttributeB\x03\xe0\x41\x01\x12[\n\x12\x63reator_attributes\x18\x02 \x03(\x0b\x32:.google.ads.googleads.v21.common.AudienceInsightsAttributeB\x03\xe0\x41\x01\x1a\x8b\x01\n\x0bSearchBrand\x12W\n\x0e\x62rand_entities\x18\x01 \x03(\x0b\x32:.google.ads.googleads.v21.common.AudienceInsightsAttributeB\x03\xe0\x41\x01\x12#\n\x16include_related_topics\x18\x02 \x01(\x08\x42\x03\xe0\x41\x01\x1a\x65\n\x0fYouTubeChannels\x12R\n\x10youtube_channels\x18\x01 \x03(\x0b\x32\x33.google.ads.googleads.v21.common.YouTubeChannelInfoB\x03\xe0\x41\x01\x42\n\n\x08\x63riteria\"v\n\x1fGenerateCreatorInsightsResponse\x12S\n\x10\x63reator_insights\x18\x01 \x03(\x0b\x32\x39.google.ads.googleads.v21.services.YouTubeCreatorInsights\"\xb7\x03\n\x1fGenerateTrendingInsightsRequest\x12\x18\n\x0b\x63ustomer_id\x18\x01 \x01(\tB\x03\xe0\x41\x02\x12$\n\x17\x63ustomer_insights_group\x18\x02 \x01(\tB\x03\xe0\x41\x02\x12\x62\n\x19insights_application_info\x18\x06 \x01(\x0b\x32:.google.ads.googleads.v21.common.AdditionalApplicationInfoB\x03\xe0\x41\x01\x12L\n\x10\x63ountry_location\x18\x03 \x01(\x0b\x32-.google.ads.googleads.v21.common.LocationInfoB\x03\xe0\x41\x02\x12L\n\x0fsearch_audience\x18\x04 \x01(\x0b\x32\x31.google.ads.googleads.v21.services.SearchAudienceH\x00\x12H\n\rsearch_topics\x18\x05 \x01(\x0b\x32/.google.ads.googleads.v21.services.SearchTopicsH\x00\x42\n\n\x08\x63riteria\"k\n GenerateTrendingInsightsResponse\x12G\n\x0etrend_insights\x18\x01 \x03(\x0b\x32/.google.ads.googleads.v21.services.TrendInsight\"\x83\x01\n\x16YouTubeCreatorInsights\x12\x14\n\x0c\x63reator_name\x18\x01 \x01(\t\x12S\n\x10\x63reator_channels\x18\x02 \x03(\x0b\x32\x39.google.ads.googleads.v21.services.YouTubeChannelInsights\"\xb4\x03\n\x0eYouTubeMetrics\x12\x18\n\x10subscriber_count\x18\x01 \x01(\x03\x12\x13\n\x0bviews_count\x18\x02 \x01(\x03\x12\x13\n\x0bvideo_count\x18\x03 \x01(\x03\x12\x13\n\x0blikes_count\x18\x05 \x01(\x03\x12\x14\n\x0cshares_count\x18\x06 \x01(\x03\x12\x16\n\x0e\x63omments_count\x18\x07 \x01(\x03\x12\x17\n\x0f\x65ngagement_rate\x18\x08 \x01(\x01\x12\x1f\n\x17\x61verage_views_per_video\x18\t \x01(\x01\x12\x1f\n\x17\x61verage_likes_per_video\x18\n \x01(\x01\x12 \n\x18\x61verage_shares_per_video\x18\x0b \x01(\x01\x12\"\n\x1a\x61verage_comments_per_video\x18\x0c \x01(\x01\x12\x1a\n\x12shorts_views_count\x18\r \x01(\x03\x12\x1a\n\x12shorts_video_count\x18\x0e \x01(\x03\x12 \n\x18is_active_shorts_creator\x18\x04 \x01(\x08\x12 \n\x18is_brand_connect_creator\x18\x0f \x01(\x08\"\xb7\x05\n\x16YouTubeChannelInsights\x12\x14\n\x0c\x64isplay_name\x18\x01 \x01(\t\x12L\n\x0fyoutube_channel\x18\x02 \x01(\x0b\x32\x33.google.ads.googleads.v21.common.YouTubeChannelInfo\x12\x13\n\x0b\x63hannel_url\x18\t \x01(\t\x12\x1b\n\x13\x63hannel_description\x18\n \x01(\t\x12\x0e\n\x06handle\x18\x0b \x01(\t\x12\x15\n\rthumbnail_url\x18\x0c \x01(\t\x12\x14\n\x0cpublish_date\x18\r \x01(\t\x12G\n\x10\x63ountry_location\x18\x0e \x01(\x0b\x32-.google.ads.googleads.v21.common.LocationInfo\x12J\n\x0f\x63hannel_metrics\x18\x03 \x01(\x0b\x32\x31.google.ads.googleads.v21.services.YouTubeMetrics\x12g\n\x1b\x63hannel_audience_attributes\x18\x07 \x03(\x0b\x32\x42.google.ads.googleads.v21.common.AudienceInsightsAttributeMetadata\x12^\n\x12\x63hannel_attributes\x18\x05 \x03(\x0b\x32\x42.google.ads.googleads.v21.common.AudienceInsightsAttributeMetadata\x12V\n\ntop_videos\x18\x08 \x03(\x0b\x32\x42.google.ads.googleads.v21.common.AudienceInsightsAttributeMetadata\x12\x14\n\x0c\x63hannel_type\x18\x06 \x01(\t\"n\n\x0eSearchAudience\x12\\\n\x13\x61udience_attributes\x18\x01 \x03(\x0b\x32:.google.ads.googleads.v21.common.AudienceInsightsAttributeB\x03\xe0\x41\x02\"^\n\x0cSearchTopics\x12N\n\x08\x65ntities\x18\x01 \x03(\x0b\x32\x37.google.ads.googleads.v21.common.AudienceInsightsEntityB\x03\xe0\x41\x02\"\x8a\x02\n\x0cTrendInsight\x12[\n\x0ftrend_attribute\x18\x01 \x01(\x0b\x32\x42.google.ads.googleads.v21.common.AudienceInsightsAttributeMetadata\x12M\n\rtrend_metrics\x18\x02 \x01(\x0b\x32\x36.google.ads.googleads.v21.services.TrendInsightMetrics\x12N\n\x05trend\x18\x03 \x01(\x0e\x32?.google.ads.googleads.v21.enums.InsightsTrendEnum.InsightsTrend\"B\n\x13TrendInsightMetrics\x12\x13\n\x0bviews_count\x18\x01 \x01(\x03\x12\x16\n\x0e\x61udience_share\x18\x02 \x01(\x01\x32\xb6\x04\n\x1d\x43ontentCreatorInsightsService\x12\xe3\x01\n\x17GenerateCreatorInsights\x12\x41.google.ads.googleads.v21.services.GenerateCreatorInsightsRequest\x1a\x42.google.ads.googleads.v21.services.GenerateCreatorInsightsResponse\"A\x82\xd3\xe4\x93\x02;\"6/v21/customers/{customer_id=*}:generateCreatorInsights:\x01*\x12\xe7\x01\n\x18GenerateTrendingInsights\x12\x42.google.ads.googleads.v21.services.GenerateTrendingInsightsRequest\x1a\x43.google.ads.googleads.v21.services.GenerateTrendingInsightsResponse\"B\x82\xd3\xe4\x93\x02<\"7/v21/customers/{customer_id=*}:generateTrendingInsights:\x01*\x1a\x45\xca\x41\x18googleads.googleapis.com\xd2\x41\'https://www.googleapis.com/auth/adwordsB\x8e\x02\n%com.google.ads.googleads.v21.servicesB\"ContentCreatorInsightsServiceProtoP\x01ZIgoogle.golang.org/genproto/googleapis/ads/googleads/v21/services;services\xa2\x02\x03GAA\xaa\x02!Google.Ads.GoogleAds.V21.Services\xca\x02!Google\\Ads\\GoogleAds\\V21\\Services\xea\x02%Google::Ads::GoogleAds::V21::Servicesb\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.v21.common.AdditionalApplicationInfo", "google/ads/googleads/v21/common/additional_application_info.proto"],
    ["google.ads.googleads.v21.common.LocationInfo", "google/ads/googleads/v21/common/criteria.proto"],
    ["google.ads.googleads.v21.common.AudienceInsightsAttribute", "google/ads/googleads/v21/common/audience_insights_attribute.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 V21
        module Services
          GenerateCreatorInsightsRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.ads.googleads.v21.services.GenerateCreatorInsightsRequest").msgclass
          GenerateCreatorInsightsRequest::SearchAttributes = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.ads.googleads.v21.services.GenerateCreatorInsightsRequest.SearchAttributes").msgclass
          GenerateCreatorInsightsRequest::SearchBrand = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.ads.googleads.v21.services.GenerateCreatorInsightsRequest.SearchBrand").msgclass
          GenerateCreatorInsightsRequest::YouTubeChannels = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.ads.googleads.v21.services.GenerateCreatorInsightsRequest.YouTubeChannels").msgclass
          GenerateCreatorInsightsResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.ads.googleads.v21.services.GenerateCreatorInsightsResponse").msgclass
          GenerateTrendingInsightsRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.ads.googleads.v21.services.GenerateTrendingInsightsRequest").msgclass
          GenerateTrendingInsightsResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.ads.googleads.v21.services.GenerateTrendingInsightsResponse").msgclass
          YouTubeCreatorInsights = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.ads.googleads.v21.services.YouTubeCreatorInsights").msgclass
          YouTubeMetrics = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.ads.googleads.v21.services.YouTubeMetrics").msgclass
          YouTubeChannelInsights = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.ads.googleads.v21.services.YouTubeChannelInsights").msgclass
          SearchAudience = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.ads.googleads.v21.services.SearchAudience").msgclass
          SearchTopics = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.ads.googleads.v21.services.SearchTopics").msgclass
          TrendInsight = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.ads.googleads.v21.services.TrendInsight").msgclass
          TrendInsightMetrics = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.ads.googleads.v21.services.TrendInsightMetrics").msgclass
        end
      end
    end
  end
end
