Class: Google::Apis::AuthorizedbuyersmarketplaceV1::PlacementTargeting
- Inherits:
-
Object
- Object
- Google::Apis::AuthorizedbuyersmarketplaceV1::PlacementTargeting
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/authorizedbuyersmarketplace_v1/classes.rb,
lib/google/apis/authorizedbuyersmarketplace_v1/representations.rb,
lib/google/apis/authorizedbuyersmarketplace_v1/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::AuthorizedbuyersmarketplaceV1::MobileApplicationTargeting
Mobile application targeting settings.
-
#uri_targeting ⇒ Google::Apis::AuthorizedbuyersmarketplaceV1::UriTargeting
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.
1354 1355 1356 |
# File 'lib/google/apis/authorizedbuyersmarketplace_v1/classes.rb', line 1354 def initialize(**args) update!(**args) end |
Instance Attribute Details
#mobile_application_targeting ⇒ Google::Apis::AuthorizedbuyersmarketplaceV1::MobileApplicationTargeting
Mobile application targeting settings.
Corresponds to the JSON property mobileApplicationTargeting
1345 1346 1347 |
# File 'lib/google/apis/authorizedbuyersmarketplace_v1/classes.rb', line 1345 def mobile_application_targeting @mobile_application_targeting end |
#uri_targeting ⇒ Google::Apis::AuthorizedbuyersmarketplaceV1::UriTargeting
Represents a list of targeted and excluded URLs (e.g., google.com). For
Private Auction Deals, URLs are either included or excluded. For Programmatic
Guaranteed and Preferred Deals, this doesn't apply.
Corresponds to the JSON property uriTargeting
1352 1353 1354 |
# File 'lib/google/apis/authorizedbuyersmarketplace_v1/classes.rb', line 1352 def uri_targeting @uri_targeting end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1359 1360 1361 1362 |
# File 'lib/google/apis/authorizedbuyersmarketplace_v1/classes.rb', line 1359 def update!(**args) @mobile_application_targeting = args[:mobile_application_targeting] if args.key?(:mobile_application_targeting) @uri_targeting = args[:uri_targeting] if args.key?(:uri_targeting) end |