Class: Google::Apis::DisplayvideoV3::DeviceTypeAssignedTargetingOptionDetails

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/displayvideo_v3/classes.rb,
lib/google/apis/displayvideo_v3/representations.rb,
lib/google/apis/displayvideo_v3/representations.rb

Overview

Targeting details for device type. This will be populated in the details field of an AssignedTargetingOption when targeting_type is TARGETING_TYPE_DEVICE_TYPE.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ DeviceTypeAssignedTargetingOptionDetails

Returns a new instance of DeviceTypeAssignedTargetingOptionDetails.



5356
5357
5358
# File 'lib/google/apis/displayvideo_v3/classes.rb', line 5356

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#device_typeString

Required. The display name of the device type. Corresponds to the JSON property deviceType

Returns:

  • (String)


5343
5344
5345
# File 'lib/google/apis/displayvideo_v3/classes.rb', line 5343

def device_type
  @device_type
end

#youtube_and_partners_bid_multiplierFloat

Output only. Bid multiplier allows you to show your ads more or less frequently based on the device type. It will apply a multiplier on the original bid price. When this field is 0, it indicates this field is not applicable instead of multiplying 0 on the original bid price. For example, if the bid price without multiplier is $10.0 and the multiplier is 1.5 for Tablet, the resulting bid price for Tablet will be $15.0. Only applicable to YouTube and Partners line items. Corresponds to the JSON property youtubeAndPartnersBidMultiplier

Returns:

  • (Float)


5354
5355
5356
# File 'lib/google/apis/displayvideo_v3/classes.rb', line 5354

def youtube_and_partners_bid_multiplier
  @youtube_and_partners_bid_multiplier
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



5361
5362
5363
5364
# File 'lib/google/apis/displayvideo_v3/classes.rb', line 5361

def update!(**args)
  @device_type = args[:device_type] if args.key?(:device_type)
  @youtube_and_partners_bid_multiplier = args[:youtube_and_partners_bid_multiplier] if args.key?(:youtube_and_partners_bid_multiplier)
end