Class: Google::Ads::AdManager::V1::VideoPosition

Inherits:
Object
  • Object
show all
Extended by:
Protobuf::MessageExts::ClassMethods
Includes:
Protobuf::MessageExts
Defined in:
proto_docs/google/ads/admanager/v1/targeting.rb

Overview

Video Position Targeting Criterion

Instance Attribute Summary collapse

Instance Attribute Details

#bumper_type::Google::Ads::AdManager::V1::TargetedVideoBumperTypeEnum::TargetedVideoBumperType

Returns Optional. The video bumper type to target. This field must be unset in order to target a specific video position (e.g. position_type), pod position (e.g. pod_position), or custom ad spot (e.g. custom_spot_id).

Returns:



263
264
265
266
# File 'proto_docs/google/ads/admanager/v1/targeting.rb', line 263

class VideoPosition
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#midroll_index::Integer

Returns Optional. The index of the mid-roll to target. This field is ignored when targeting any video position (e.g. position_type) other than MIDROLL.

Returns:

  • (::Integer)

    Optional. The index of the mid-roll to target. This field is ignored when targeting any video position (e.g. position_type) other than MIDROLL.



263
264
265
266
# File 'proto_docs/google/ads/admanager/v1/targeting.rb', line 263

class VideoPosition
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#pod_position::Integer

Returns Optional. The video position within a pod to target. This field must be unset in order to target a specific video position (e.g. position_type), bumper type (e.g. bumper_type), or custom ad spot (e.g. custom_spot_id).

Returns:

  • (::Integer)

    Optional. The video position within a pod to target. This field must be unset in order to target a specific video position (e.g. position_type), bumper type (e.g. bumper_type), or custom ad spot (e.g. custom_spot_id).



263
264
265
266
# File 'proto_docs/google/ads/admanager/v1/targeting.rb', line 263

class VideoPosition
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#position_type::Google::Ads::AdManager::V1::VideoPositionEnum::VideoPosition

Returns Optional. The position within a video to target. A video ad can target a position (pre-roll, all mid-rolls, or post-roll) or a specific mid-roll index.

Returns:



263
264
265
266
# File 'proto_docs/google/ads/admanager/v1/targeting.rb', line 263

class VideoPosition
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#reverse_midroll_index::Integer

Returns Optional. The index from the back of the pod of the mid-roll to target. This field is ignored when targeting any video position (e.g. position_type) other than MIDROLL or if targeting a specific midroll index (e.g. midroll_index != 0).

Returns:

  • (::Integer)

    Optional. The index from the back of the pod of the mid-roll to target. This field is ignored when targeting any video position (e.g. position_type) other than MIDROLL or if targeting a specific midroll index (e.g. midroll_index != 0).



263
264
265
266
# File 'proto_docs/google/ads/admanager/v1/targeting.rb', line 263

class VideoPosition
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end