Class: Google::Ads::AdManager::V1::AdUnitSize
- Inherits:
-
Object
- Object
- Google::Ads::AdManager::V1::AdUnitSize
- Extended by:
- Protobuf::MessageExts::ClassMethods
- Includes:
- Protobuf::MessageExts
- Defined in:
- proto_docs/google/ads/admanager/v1/ad_unit_messages.rb
Overview
Represents the size, environment, and companions of an ad in an ad unit.
Instance Attribute Summary collapse
-
#companions ⇒ ::Array<::Google::Ads::AdManager::V1::Size>
The companions for this ad unit size.
-
#environment_type ⇒ ::Google::Ads::AdManager::V1::EnvironmentTypeEnum::EnvironmentType
Required.
-
#size ⇒ ::Google::Ads::AdManager::V1::Size
Required.
Instance Attribute Details
#companions ⇒ ::Array<::Google::Ads::AdManager::V1::Size>
Returns The companions for this ad unit size. Companions are only valid if the environment is VIDEO_PLAYER.
151 152 153 154 |
# File 'proto_docs/google/ads/admanager/v1/ad_unit_messages.rb', line 151 class AdUnitSize include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#environment_type ⇒ ::Google::Ads::AdManager::V1::EnvironmentTypeEnum::EnvironmentType
Returns Required. The EnvironmentType of the AdUnit.
151 152 153 154 |
# File 'proto_docs/google/ads/admanager/v1/ad_unit_messages.rb', line 151 class AdUnitSize include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#size ⇒ ::Google::Ads::AdManager::V1::Size
Returns Required. The Size of the AdUnit.
151 152 153 154 |
# File 'proto_docs/google/ads/admanager/v1/ad_unit_messages.rb', line 151 class AdUnitSize include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |