Class: Google::Apis::DisplayvideoV3::ChannelAssignedTargetingOptionDetails
- Inherits:
-
Object
- Object
- Google::Apis::DisplayvideoV3::ChannelAssignedTargetingOptionDetails
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/displayvideo_v3/classes.rb,
lib/google/apis/displayvideo_v3/representations.rb,
lib/google/apis/displayvideo_v3/representations.rb
Overview
Details for assigned channel targeting option. This will be populated in the
details field of an AssignedTargetingOption when targeting_type is
TARGETING_TYPE_CHANNEL
.
Instance Attribute Summary collapse
-
#channel_id ⇒ Fixnum
Required.
-
#negative ⇒ Boolean
(also: #negative?)
Indicates if this option is being negatively targeted.
Instance Method Summary collapse
-
#initialize(**args) ⇒ ChannelAssignedTargetingOptionDetails
constructor
A new instance of ChannelAssignedTargetingOptionDetails.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ ChannelAssignedTargetingOptionDetails
Returns a new instance of ChannelAssignedTargetingOptionDetails.
3458 3459 3460 |
# File 'lib/google/apis/displayvideo_v3/classes.rb', line 3458 def initialize(**args) update!(**args) end |
Instance Attribute Details
#channel_id ⇒ Fixnum
Required. ID of the channel. Should refer to the channel ID field on a
Partner-owned channel or
advertiser-owned channel
resource.
Corresponds to the JSON property channelId
3449 3450 3451 |
# File 'lib/google/apis/displayvideo_v3/classes.rb', line 3449 def channel_id @channel_id end |
#negative ⇒ Boolean Also known as: negative?
Indicates if this option is being negatively targeted. For advertiser level
assigned targeting option, this field must be true.
Corresponds to the JSON property negative
3455 3456 3457 |
# File 'lib/google/apis/displayvideo_v3/classes.rb', line 3455 def negative @negative end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
3463 3464 3465 3466 |
# File 'lib/google/apis/displayvideo_v3/classes.rb', line 3463 def update!(**args) @channel_id = args[:channel_id] if args.key?(:channel_id) @negative = args[:negative] if args.key?(:negative) end |