Sha256: b8a171f657a7e78b9c610918ae912312f8483caf4da08cb540669420ead8002d

Contents?: true

Size: 1.95 KB

Versions: 3

Compression:

Stored size: 1.95 KB

Contents

# Generated by the protocol buffer compiler.  DO NOT EDIT!
# source: google/ads/google_ads/v3/common/targeting_setting.proto

require 'google/protobuf'

require 'google/ads/google_ads/v3/enums/targeting_dimension_pb'
require 'google/protobuf/wrappers_pb'
require 'google/api/annotations_pb'
Google::Protobuf::DescriptorPool.generated_pool.build do
  add_message "google.ads.googleads.v3.common.TargetingSetting" do
    repeated :target_restrictions, :message, 1, "google.ads.googleads.v3.common.TargetRestriction"
    repeated :target_restriction_operations, :message, 2, "google.ads.googleads.v3.common.TargetRestrictionOperation"
  end
  add_message "google.ads.googleads.v3.common.TargetRestriction" do
    optional :targeting_dimension, :enum, 1, "google.ads.googleads.v3.enums.TargetingDimensionEnum.TargetingDimension"
    optional :bid_only, :message, 2, "google.protobuf.BoolValue"
  end
  add_message "google.ads.googleads.v3.common.TargetRestrictionOperation" do
    optional :operator, :enum, 1, "google.ads.googleads.v3.common.TargetRestrictionOperation.Operator"
    optional :value, :message, 2, "google.ads.googleads.v3.common.TargetRestriction"
  end
  add_enum "google.ads.googleads.v3.common.TargetRestrictionOperation.Operator" do
    value :UNSPECIFIED, 0
    value :UNKNOWN, 1
    value :ADD, 2
    value :REMOVE, 3
  end
end

module Google::Ads::GoogleAds::V3::Common
  TargetingSetting = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.ads.googleads.v3.common.TargetingSetting").msgclass
  TargetRestriction = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.ads.googleads.v3.common.TargetRestriction").msgclass
  TargetRestrictionOperation = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.ads.googleads.v3.common.TargetRestrictionOperation").msgclass
  TargetRestrictionOperation::Operator = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.ads.googleads.v3.common.TargetRestrictionOperation.Operator").enummodule
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
google-ads-googleads-6.0.0 lib/google/ads/google_ads/v3/common/targeting_setting_pb.rb
google-ads-googleads-5.1.0 lib/google/ads/google_ads/v3/common/targeting_setting_pb.rb
google-ads-googleads-5.0.0 lib/google/ads/google_ads/v3/common/targeting_setting_pb.rb