Class: Google::Apis::RealtimebiddingV1::NumericTargetingDimension

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
generated/google/apis/realtimebidding_v1/classes.rb,
generated/google/apis/realtimebidding_v1/representations.rb,
generated/google/apis/realtimebidding_v1/representations.rb

Overview

Generic targeting used for targeting dimensions that contain a list of included and excluded numeric IDs used in app, user list, geo, and vertical id targeting.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ NumericTargetingDimension

Returns a new instance of NumericTargetingDimension.



1118
1119
1120
# File 'generated/google/apis/realtimebidding_v1/classes.rb', line 1118

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#excluded_idsArray<Fixnum>

The IDs excluded in a configuration. Corresponds to the JSON property excludedIds

Returns:

  • (Array<Fixnum>)


1111
1112
1113
# File 'generated/google/apis/realtimebidding_v1/classes.rb', line 1111

def excluded_ids
  @excluded_ids
end

#included_idsArray<Fixnum>

The IDs included in a configuration. Corresponds to the JSON property includedIds

Returns:

  • (Array<Fixnum>)


1116
1117
1118
# File 'generated/google/apis/realtimebidding_v1/classes.rb', line 1116

def included_ids
  @included_ids
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1123
1124
1125
1126
# File 'generated/google/apis/realtimebidding_v1/classes.rb', line 1123

def update!(**args)
  @excluded_ids = args[:excluded_ids] if args.key?(:excluded_ids)
  @included_ids = args[:included_ids] if args.key?(:included_ids)
end