class Google::Apis::DfareportingV3_5::AdSlot
Ad
Slot
Attributes
Comment for this ad slot. Corresponds to the JSON property `comment` @return [String]
Ad
slot compatibility. DISPLAY and DISPLAY_INTERSTITIAL refer to rendering either on desktop, mobile devices or in mobile apps 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 [Fixnum]
ID of the placement from an external platform that is linked to this ad slot. Corresponds to the JSON property `linkedPlacementId` @return [Fixnum]
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 [Fixnum]
Public Class Methods
# File lib/google/apis/dfareporting_v3_5/classes.rb, line 925 def initialize(**args) update!(**args) end
Public Instance Methods
Update properties of this object
# File lib/google/apis/dfareporting_v3_5/classes.rb, line 930 def update!(**args) @comment = args[:comment] if args.key?(:comment) @compatibility = args[:compatibility] if args.key?(:compatibility) @height = args[:height] if args.key?(:height) @linked_placement_id = args[:linked_placement_id] if args.key?(:linked_placement_id) @name = args[:name] if args.key?(:name) @payment_source_type = args[:payment_source_type] if args.key?(:payment_source_type) @primary = args[:primary] if args.key?(:primary) @width = args[:width] if args.key?(:width) end