Class: Google::Apis::Adexchangebuyer2V2beta1::MarketplaceTargeting
- Inherits:
-
Object
- Object
- Google::Apis::Adexchangebuyer2V2beta1::MarketplaceTargeting
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/adexchangebuyer2_v2beta1/classes.rb,
generated/google/apis/adexchangebuyer2_v2beta1/representations.rb,
generated/google/apis/adexchangebuyer2_v2beta1/representations.rb
Overview
Targeting represents different criteria that can be used by advertisers to target ad inventory. For example, they can choose to target ad requests only if the user is in the US. Multiple types of targeting are always applied as a logical AND, unless noted otherwise.
Instance Attribute Summary collapse
-
#geo_targeting ⇒ Google::Apis::Adexchangebuyer2V2beta1::CriteriaTargeting
Generic targeting used for targeting dimensions that contains a list of included and excluded numeric IDs.
-
#inventory_size_targeting ⇒ Google::Apis::Adexchangebuyer2V2beta1::InventorySizeTargeting
Represents the size of an ad unit that can be targeted on an ad request.
-
#placement_targeting ⇒ Google::Apis::Adexchangebuyer2V2beta1::PlacementTargeting
Represents targeting about where the ads can appear, e.g., certain sites or mobile applications.
-
#technology_targeting ⇒ Google::Apis::Adexchangebuyer2V2beta1::TechnologyTargeting
Represents targeting about various types of technology.
-
#video_targeting ⇒ Google::Apis::Adexchangebuyer2V2beta1::VideoTargeting
Represents targeting information about video.
Instance Method Summary collapse
-
#initialize(**args) ⇒ MarketplaceTargeting
constructor
A new instance of MarketplaceTargeting.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ MarketplaceTargeting
Returns a new instance of MarketplaceTargeting.
2675 2676 2677 |
# File 'generated/google/apis/adexchangebuyer2_v2beta1/classes.rb', line 2675 def initialize(**args) update!(**args) end |
Instance Attribute Details
#geo_targeting ⇒ Google::Apis::Adexchangebuyer2V2beta1::CriteriaTargeting
Generic targeting used for targeting dimensions that contains a list of
included and excluded numeric IDs.
Corresponds to the JSON property geoTargeting
2648 2649 2650 |
# File 'generated/google/apis/adexchangebuyer2_v2beta1/classes.rb', line 2648 def geo_targeting @geo_targeting end |
#inventory_size_targeting ⇒ Google::Apis::Adexchangebuyer2V2beta1::InventorySizeTargeting
Represents the size of an ad unit that can be targeted on an ad
request. It only applies to Private Auction, AdX Preferred Deals and
Auction Packages. This targeting does not apply to Programmatic Guaranteed
and Preferred Deals in Ad Manager.
Corresponds to the JSON property inventorySizeTargeting
2656 2657 2658 |
# File 'generated/google/apis/adexchangebuyer2_v2beta1/classes.rb', line 2656 def inventory_size_targeting @inventory_size_targeting end |
#placement_targeting ⇒ Google::Apis::Adexchangebuyer2V2beta1::PlacementTargeting
Represents targeting about where the ads can appear, e.g., certain sites or
mobile applications.
Different placement targeting types will be logically OR'ed.
Corresponds to the JSON property placementTargeting
2663 2664 2665 |
# File 'generated/google/apis/adexchangebuyer2_v2beta1/classes.rb', line 2663 def placement_targeting @placement_targeting end |
#technology_targeting ⇒ Google::Apis::Adexchangebuyer2V2beta1::TechnologyTargeting
Represents targeting about various types of technology.
Corresponds to the JSON property technologyTargeting
2668 2669 2670 |
# File 'generated/google/apis/adexchangebuyer2_v2beta1/classes.rb', line 2668 def technology_targeting @technology_targeting end |
#video_targeting ⇒ Google::Apis::Adexchangebuyer2V2beta1::VideoTargeting
Represents targeting information about video.
Corresponds to the JSON property videoTargeting
2673 2674 2675 |
# File 'generated/google/apis/adexchangebuyer2_v2beta1/classes.rb', line 2673 def video_targeting @video_targeting end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
2680 2681 2682 2683 2684 2685 2686 |
# File 'generated/google/apis/adexchangebuyer2_v2beta1/classes.rb', line 2680 def update!(**args) @geo_targeting = args[:geo_targeting] if args.key?(:geo_targeting) @inventory_size_targeting = args[:inventory_size_targeting] if args.key?(:inventory_size_targeting) @placement_targeting = args[:placement_targeting] if args.key?(:placement_targeting) @technology_targeting = args[:technology_targeting] if args.key?(:technology_targeting) @video_targeting = args[:video_targeting] if args.key?(:video_targeting) end |