Class: Google::Ads::AdManager::V1::InventoryTargeting

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

Overview

Targeted ad units and AU placements are applied with logical OR. Example:

(au:1 OR au:2 OR au_placement:5) AND (NOT (au:3))

Instance Attribute Summary collapse

Instance Attribute Details

#excluded_ad_units::Array<::Google::Ads::AdManager::V1::AdUnitTargeting>

Returns Optional. A list of ad units that should be excluded.

Excluded AUs take precedence over targeted AUs. In fact an AU can be excluded only if one of its ancestors is targeted. Subsequently child AUs of an excluded AU can not be targeted (except via a placement).

Returns:

  • (::Array<::Google::Ads::AdManager::V1::AdUnitTargeting>)

    Optional. A list of ad units that should be excluded.

    Excluded AUs take precedence over targeted AUs. In fact an AU can be excluded only if one of its ancestors is targeted. Subsequently child AUs of an excluded AU can not be targeted (except via a placement).



154
155
156
157
# File 'proto_docs/google/ads/admanager/v1/targeting.rb', line 154

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

#targeted_ad_units::Array<::Google::Ads::AdManager::V1::AdUnitTargeting>

Returns Optional. A list of ad units that should be targeted/included.

Returns:



154
155
156
157
# File 'proto_docs/google/ads/admanager/v1/targeting.rb', line 154

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

#targeted_placements::Array<::String>

Returns Optional. The resource names of the placements that should be targeted/included.

Returns:

  • (::Array<::String>)

    Optional. The resource names of the placements that should be targeted/included.



154
155
156
157
# File 'proto_docs/google/ads/admanager/v1/targeting.rb', line 154

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