class Google::Apis::DisplayvideoV1::Channel

A single channel. Channels are custom groups of related websites and apps.

Attributes

advertiser_id[RW]

The ID of the advertiser that owns the channel. Corresponds to the JSON property `advertiserId` @return [Fixnum]

channel_id[RW]

Output only. The unique ID of the channel. Assigned by the system. Corresponds to the JSON property `channelId` @return [Fixnum]

display_name[RW]

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]

name[RW]

Output only. The resource name of the channel. Corresponds to the JSON property `name` @return [String]

negatively_targeted_line_item_count[RW]

Output only. Number of line items that are directly targeting this channel negatively. Corresponds to the JSON property `negativelyTargetedLineItemCount` @return [Fixnum]

partner_id[RW]

The ID of the partner that owns the channel. Corresponds to the JSON property `partnerId` @return [Fixnum]

positively_targeted_line_item_count[RW]

Output only. Number of line items that are directly targeting this channel positively. Corresponds to the JSON property `positivelyTargetedLineItemCount` @return [Fixnum]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/displayvideo_v1/classes.rb, line 2454
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 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