class Google::Apis::DisplayvideoV1::ChannelAssignedTargetingOptionDetails

Details for assigned channel targeting option. This will be populated in the details field of an AssignedTargetingOption when targeting_type is ` TARGETING_TYPE_CHANNEL`.

Attributes

channel_id[RW]

Required. ID of the channel. Should refer to the channel ID field on a [ Partner-owned channel](partners.channels#Channel.FIELDS.channel_id) or [ advertiser-owned channel](advertisers.channels#Channel.FIELDS.channel_id) resource. Corresponds to the JSON property `channelId` @return [Fixnum]

negative[RW]

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` @return [Boolean]

negative?[RW]

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` @return [Boolean]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/displayvideo_v1/classes.rb, line 2491
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File lib/google/apis/displayvideo_v1/classes.rb, line 2496
def update!(**args)
  @channel_id = args[:channel_id] if args.key?(:channel_id)
  @negative = args[:negative] if args.key?(:negative)
end