Class: Google::Ads::AdManager::V1::AdUnitSize

Inherits:
Object
  • Object
show all
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

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.

Returns:



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.

Returns:



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.

Returns:



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