# frozen_string_literal: true # Generated by the protocol buffer compiler. DO NOT EDIT! # source: google/ads/googleads/v14/common/targeting_setting.proto require 'google/protobuf' require 'google/ads/google_ads/v14/enums/targeting_dimension_pb' descriptor_data = "\n7google/ads/googleads/v14/common/targeting_setting.proto\x12\x1fgoogle.ads.googleads.v14.common\x1a\x38google/ads/googleads/v14/enums/targeting_dimension.proto\"\xc7\x01\n\x10TargetingSetting\x12O\n\x13target_restrictions\x18\x01 \x03(\x0b\x32\x32.google.ads.googleads.v14.common.TargetRestriction\x12\x62\n\x1dtarget_restriction_operations\x18\x02 \x03(\x0b\x32;.google.ads.googleads.v14.common.TargetRestrictionOperation\"\x9f\x01\n\x11TargetRestriction\x12\x66\n\x13targeting_dimension\x18\x01 \x01(\x0e\x32I.google.ads.googleads.v14.enums.TargetingDimensionEnum.TargetingDimension\x12\x15\n\x08\x62id_only\x18\x03 \x01(\x08H\x00\x88\x01\x01\x42\x0b\n\t_bid_only\"\xf6\x01\n\x1aTargetRestrictionOperation\x12V\n\x08operator\x18\x01 \x01(\x0e\x32\x44.google.ads.googleads.v14.common.TargetRestrictionOperation.Operator\x12\x41\n\x05value\x18\x02 \x01(\x0b\x32\x32.google.ads.googleads.v14.common.TargetRestriction\"=\n\x08Operator\x12\x0f\n\x0bUNSPECIFIED\x10\x00\x12\x0b\n\x07UNKNOWN\x10\x01\x12\x07\n\x03\x41\x44\x44\x10\x02\x12\n\n\x06REMOVE\x10\x03\x42\xf5\x01\n#com.google.ads.googleads.v14.commonB\x15TargetingSettingProtoP\x01ZEgoogle.golang.org/genproto/googleapis/ads/googleads/v14/common;common\xa2\x02\x03GAA\xaa\x02\x1fGoogle.Ads.GoogleAds.V14.Common\xca\x02\x1fGoogle\\Ads\\GoogleAds\\V14\\Common\xea\x02#Google::Ads::GoogleAds::V14::Commonb\x06proto3" pool = Google::Protobuf::DescriptorPool.generated_pool begin pool.add_serialized_file(descriptor_data) rescue TypeError => e # 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 = [ ] 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 V14 module Common TargetingSetting = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.ads.googleads.v14.common.TargetingSetting").msgclass TargetRestriction = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.ads.googleads.v14.common.TargetRestriction").msgclass TargetRestrictionOperation = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.ads.googleads.v14.common.TargetRestrictionOperation").msgclass TargetRestrictionOperation::Operator = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.ads.googleads.v14.common.TargetRestrictionOperation.Operator").enummodule end end end end end