Class: Google::Apis::DisplayvideoV2::DeviceTypeAssignedTargetingOptionDetails

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/displayvideo_v2/classes.rb,
lib/google/apis/displayvideo_v2/representations.rb,
lib/google/apis/displayvideo_v2/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.



4676
4677
4678
# File 'lib/google/apis/displayvideo_v2/classes.rb', line 4676

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)


4663
4664
4665
# File 'lib/google/apis/displayvideo_v2/classes.rb', line 4663

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)


4674
4675
4676
# File 'lib/google/apis/displayvideo_v2/classes.rb', line 4674

def youtube_and_partners_bid_multiplier
  @youtube_and_partners_bid_multiplier
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



4681
4682
4683
4684
# File 'lib/google/apis/displayvideo_v2/classes.rb', line 4681

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