Class: Google::Apis::Adexchangebuyer2V2beta1::PlacementTargeting
- Inherits:
-
Object
- Object
- Google::Apis::Adexchangebuyer2V2beta1::PlacementTargeting
- 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
Represents targeting about where the ads can appear, e.g., certain sites or mobile applications. Different placement targeting types will be logically OR' ed.
Instance Attribute Summary collapse
-
#mobile_application_targeting ⇒ Google::Apis::Adexchangebuyer2V2beta1::MobileApplicationTargeting
Mobile application targeting settings.
-
#url_targeting ⇒ Google::Apis::Adexchangebuyer2V2beta1::UrlTargeting
Represents a list of targeted and excluded URLs (e.g., google.com).
Instance Method Summary collapse
-
#initialize(**args) ⇒ PlacementTargeting
constructor
A new instance of PlacementTargeting.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ PlacementTargeting
Returns a new instance of PlacementTargeting.
2990 2991 2992 |
# File 'generated/google/apis/adexchangebuyer2_v2beta1/classes.rb', line 2990 def initialize(**args) update!(**args) end |
Instance Attribute Details
#mobile_application_targeting ⇒ Google::Apis::Adexchangebuyer2V2beta1::MobileApplicationTargeting
Mobile application targeting settings.
Corresponds to the JSON property mobileApplicationTargeting
2981 2982 2983 |
# File 'generated/google/apis/adexchangebuyer2_v2beta1/classes.rb', line 2981 def mobile_application_targeting @mobile_application_targeting end |
#url_targeting ⇒ Google::Apis::Adexchangebuyer2V2beta1::UrlTargeting
Represents a list of targeted and excluded URLs (e.g., google.com). For
Private Auction and AdX Preferred Deals, URLs are either included or excluded.
For Programmatic Guaranteed and Preferred Deals, this doesn't apply.
Corresponds to the JSON property urlTargeting
2988 2989 2990 |
# File 'generated/google/apis/adexchangebuyer2_v2beta1/classes.rb', line 2988 def url_targeting @url_targeting end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
2995 2996 2997 2998 |
# File 'generated/google/apis/adexchangebuyer2_v2beta1/classes.rb', line 2995 def update!(**args) @mobile_application_targeting = args[:mobile_application_targeting] if args.key?(:mobile_application_targeting) @url_targeting = args[:url_targeting] if args.key?(:url_targeting) end |