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.



5254
5255
5256
# File 'lib/google/apis/displayvideo_v3/classes.rb', line 5254

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)


5241
5242
5243
# File 'lib/google/apis/displayvideo_v3/classes.rb', line 5241

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)


5252
5253
5254
# File 'lib/google/apis/displayvideo_v3/classes.rb', line 5252

def youtube_and_partners_bid_multiplier
  @youtube_and_partners_bid_multiplier
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



5259
5260
5261
5262
# File 'lib/google/apis/displayvideo_v3/classes.rb', line 5259

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