class Google::Apis::DisplayvideoV1::Channel
A single channel. Channels are custom groups of related websites and apps.
Attributes
The ID of the advertiser that owns the channel. Corresponds to the JSON property `advertiserId` @return [Fixnum]
Output only. The unique ID of the channel. Assigned by the system. Corresponds to the JSON property `channelId` @return [Fixnum]
Required. The display name of the channel. Must be UTF-8 encoded with a maximum length of 240 bytes. Corresponds to the JSON property `displayName` @return [String]
Output only. The resource name of the channel. Corresponds to the JSON property `name` @return [String]
Output only. Number of line items that are directly targeting this channel negatively. Corresponds to the JSON property `negativelyTargetedLineItemCount` @return [Fixnum]
The ID of the partner that owns the channel. Corresponds to the JSON property `partnerId` @return [Fixnum]
Output only. Number of line items that are directly targeting this channel positively. Corresponds to the JSON property `positivelyTargetedLineItemCount` @return [Fixnum]
Public Class Methods
# File lib/google/apis/displayvideo_v1/classes.rb, line 2454 def initialize(**args) update!(**args) end
Public Instance Methods
Update properties of this object
# File lib/google/apis/displayvideo_v1/classes.rb, line 2459 def update!(**args) @advertiser_id = args[:advertiser_id] if args.key?(:advertiser_id) @channel_id = args[:channel_id] if args.key?(:channel_id) @display_name = args[:display_name] if args.key?(:display_name) @name = args[:name] if args.key?(:name) @negatively_targeted_line_item_count = args[:negatively_targeted_line_item_count] if args.key?(:negatively_targeted_line_item_count) @partner_id = args[:partner_id] if args.key?(:partner_id) @positively_targeted_line_item_count = args[:positively_targeted_line_item_count] if args.key?(:positively_targeted_line_item_count) end