class Google::Apis::DfareportingV2_1::AdSlot
Ad Slot
Attributes
Comment for this ad slot. Corresponds to the JSON property `comment` @return [String]
Ad slot compatibility. WEB and WEB_INTERSTITIAL refer to rendering either on desktop or on mobile devices for regular or interstitial ads respectively. APP and APP_INTERSTITIAL are for rendering in mobile apps. IN_STREAM_VIDEO refers to rendering in in-stream video ads developed with the VAST standard. Corresponds to the JSON property `compatibility` @return [String]
Height of this ad slot. Corresponds to the JSON property `height` @return [String]
ID of the placement from an external platform that is linked to this ad slot. Corresponds to the JSON property `linkedPlacementId` @return [String]
Name of this ad slot. Corresponds to the JSON property `name` @return [String]
Payment source type of this ad slot. Corresponds to the JSON property `paymentSourceType` @return [String]
Primary ad slot of a roadblock inventory item. Corresponds to the JSON property `primary` @return [Boolean]
Primary ad slot of a roadblock inventory item. Corresponds to the JSON property `primary` @return [Boolean]
Width of this ad slot. Corresponds to the JSON property `width` @return [String]
Public Class Methods
# File generated/google/apis/dfareporting_v2_1/classes.rb, line 942 def initialize(**args) update!(**args) end
Public Instance Methods
Update properties of this object
# File generated/google/apis/dfareporting_v2_1/classes.rb, line 947 def update!(**args) @comment = args[:comment] unless args[:comment].nil? @compatibility = args[:compatibility] unless args[:compatibility].nil? @height = args[:height] unless args[:height].nil? @linked_placement_id = args[:linked_placement_id] unless args[:linked_placement_id].nil? @name = args[:name] unless args[:name].nil? @payment_source_type = args[:payment_source_type] unless args[:payment_source_type].nil? @primary = args[:primary] unless args[:primary].nil? @width = args[:width] unless args[:width].nil? end