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

require 'google/protobuf'

require 'google/ads/google_ads/v19/common/criteria_pb'
require 'google/ads/google_ads/v19/enums/campaign_criterion_status_pb'
require 'google/ads/google_ads/v19/enums/criterion_type_pb'
require 'google/api/field_behavior_pb'
require 'google/api/resource_pb'


descriptor_data = "\n;google/ads/googleads/v19/resources/campaign_criterion.proto\x12\"google.ads.googleads.v19.resources\x1a.google/ads/googleads/v19/common/criteria.proto\x1a>google/ads/googleads/v19/enums/campaign_criterion_status.proto\x1a\x33google/ads/googleads/v19/enums/criterion_type.proto\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\"\xe5\x18\n\x11\x43\x61mpaignCriterion\x12I\n\rresource_name\x18\x01 \x01(\tB2\xe0\x41\x05\xfa\x41,\n*googleads.googleapis.com/CampaignCriterion\x12@\n\x08\x63\x61mpaign\x18% \x01(\tB)\xe0\x41\x05\xfa\x41#\n!googleads.googleapis.com/CampaignH\x01\x88\x01\x01\x12\x1e\n\x0c\x63riterion_id\x18& \x01(\x03\x42\x03\xe0\x41\x03H\x02\x88\x01\x01\x12\x19\n\x0c\x64isplay_name\x18+ \x01(\tB\x03\xe0\x41\x03\x12\x19\n\x0c\x62id_modifier\x18\' \x01(\x02H\x03\x88\x01\x01\x12\x1a\n\x08negative\x18( \x01(\x08\x42\x03\xe0\x41\x05H\x04\x88\x01\x01\x12R\n\x04type\x18\x06 \x01(\x0e\x32?.google.ads.googleads.v19.enums.CriterionTypeEnum.CriterionTypeB\x03\xe0\x41\x03\x12\x63\n\x06status\x18# \x01(\x0e\x32S.google.ads.googleads.v19.enums.CampaignCriterionStatusEnum.CampaignCriterionStatus\x12\x44\n\x07keyword\x18\x08 \x01(\x0b\x32,.google.ads.googleads.v19.common.KeywordInfoB\x03\xe0\x41\x05H\x00\x12H\n\tplacement\x18\t \x01(\x0b\x32..google.ads.googleads.v19.common.PlacementInfoB\x03\xe0\x41\x05H\x00\x12Z\n\x13mobile_app_category\x18\n \x01(\x0b\x32\x36.google.ads.googleads.v19.common.MobileAppCategoryInfoB\x03\xe0\x41\x05H\x00\x12Y\n\x12mobile_application\x18\x0b \x01(\x0b\x32\x36.google.ads.googleads.v19.common.MobileApplicationInfoB\x03\xe0\x41\x05H\x00\x12\x46\n\x08location\x18\x0c \x01(\x0b\x32-.google.ads.googleads.v19.common.LocationInfoB\x03\xe0\x41\x05H\x00\x12\x42\n\x06\x64\x65vice\x18\r \x01(\x0b\x32+.google.ads.googleads.v19.common.DeviceInfoB\x03\xe0\x41\x05H\x00\x12K\n\x0b\x61\x64_schedule\x18\x0f \x01(\x0b\x32/.google.ads.googleads.v19.common.AdScheduleInfoB\x03\xe0\x41\x05H\x00\x12G\n\tage_range\x18\x10 \x01(\x0b\x32-.google.ads.googleads.v19.common.AgeRangeInfoB\x03\xe0\x41\x05H\x00\x12\x42\n\x06gender\x18\x11 \x01(\x0b\x32+.google.ads.googleads.v19.common.GenderInfoB\x03\xe0\x41\x05H\x00\x12M\n\x0cincome_range\x18\x12 \x01(\x0b\x32\x30.google.ads.googleads.v19.common.IncomeRangeInfoB\x03\xe0\x41\x05H\x00\x12S\n\x0fparental_status\x18\x13 \x01(\x0b\x32\x33.google.ads.googleads.v19.common.ParentalStatusInfoB\x03\xe0\x41\x05H\x00\x12G\n\tuser_list\x18\x16 \x01(\x0b\x32-.google.ads.googleads.v19.common.UserListInfoB\x03\xe0\x41\x05H\x00\x12O\n\ryoutube_video\x18\x14 \x01(\x0b\x32\x31.google.ads.googleads.v19.common.YouTubeVideoInfoB\x03\xe0\x41\x05H\x00\x12S\n\x0fyoutube_channel\x18\x15 \x01(\x0b\x32\x33.google.ads.googleads.v19.common.YouTubeChannelInfoB\x03\xe0\x41\x05H\x00\x12H\n\tproximity\x18\x17 \x01(\x0b\x32..google.ads.googleads.v19.common.ProximityInfoB\x03\xe0\x41\x05H\x00\x12@\n\x05topic\x18\x18 \x01(\x0b\x32*.google.ads.googleads.v19.common.TopicInfoB\x03\xe0\x41\x05H\x00\x12O\n\rlisting_scope\x18\x19 \x01(\x0b\x32\x31.google.ads.googleads.v19.common.ListingScopeInfoB\x03\xe0\x41\x05H\x00\x12\x46\n\x08language\x18\x1a \x01(\x0b\x32-.google.ads.googleads.v19.common.LanguageInfoB\x03\xe0\x41\x05H\x00\x12\x45\n\x08ip_block\x18\x1b \x01(\x0b\x32,.google.ads.googleads.v19.common.IpBlockInfoB\x03\xe0\x41\x05H\x00\x12O\n\rcontent_label\x18\x1c \x01(\x0b\x32\x31.google.ads.googleads.v19.common.ContentLabelInfoB\x03\xe0\x41\x05H\x00\x12\x44\n\x07\x63\x61rrier\x18\x1d \x01(\x0b\x32,.google.ads.googleads.v19.common.CarrierInfoB\x03\xe0\x41\x05H\x00\x12O\n\ruser_interest\x18\x1e \x01(\x0b\x32\x31.google.ads.googleads.v19.common.UserInterestInfoB\x03\xe0\x41\x05H\x00\x12\x44\n\x07webpage\x18\x1f \x01(\x0b\x32,.google.ads.googleads.v19.common.WebpageInfoB\x03\xe0\x41\x05H\x00\x12\x64\n\x18operating_system_version\x18  \x01(\x0b\x32;.google.ads.googleads.v19.common.OperatingSystemVersionInfoB\x03\xe0\x41\x05H\x00\x12O\n\rmobile_device\x18! \x01(\x0b\x32\x31.google.ads.googleads.v19.common.MobileDeviceInfoB\x03\xe0\x41\x05H\x00\x12Q\n\x0elocation_group\x18\" \x01(\x0b\x32\x32.google.ads.googleads.v19.common.LocationGroupInfoB\x03\xe0\x41\x05H\x00\x12S\n\x0f\x63ustom_affinity\x18$ \x01(\x0b\x32\x33.google.ads.googleads.v19.common.CustomAffinityInfoB\x03\xe0\x41\x05H\x00\x12S\n\x0f\x63ustom_audience\x18) \x01(\x0b\x32\x33.google.ads.googleads.v19.common.CustomAudienceInfoB\x03\xe0\x41\x05H\x00\x12W\n\x11\x63ombined_audience\x18* \x01(\x0b\x32\x35.google.ads.googleads.v19.common.CombinedAudienceInfoB\x03\xe0\x41\x05H\x00\x12O\n\rkeyword_theme\x18- \x01(\x0b\x32\x31.google.ads.googleads.v19.common.KeywordThemeInfoB\x03\xe0\x41\x05H\x00\x12T\n\x10local_service_id\x18. \x01(\x0b\x32\x33.google.ads.googleads.v19.common.LocalServiceIdInfoB\x03\xe0\x41\x05H\x00\x12I\n\nbrand_list\x18/ \x01(\x0b\x32..google.ads.googleads.v19.common.BrandListInfoB\x03\xe0\x41\x05H\x00:v\xea\x41s\n*googleads.googleapis.com/CampaignCriterion\x12\x45\x63ustomers/{customer_id}/campaignCriteria/{campaign_id}~{criterion_id}B\x0b\n\tcriterionB\x0b\n\t_campaignB\x0f\n\r_criterion_idB\x0f\n\r_bid_modifierB\x0b\n\t_negativeB\x88\x02\n&com.google.ads.googleads.v19.resourcesB\x16\x43\x61mpaignCriterionProtoP\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.KeywordInfo", "google/ads/googleads/v19/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 V19
        module Resources
          CampaignCriterion = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.ads.googleads.v19.resources.CampaignCriterion").msgclass
        end
      end
    end
  end
end
