Class: Google::Apis::AuthorizedbuyersmarketplaceV1alpha::PackagePlacementTargeting
- Inherits:
-
Object
- Object
- Google::Apis::AuthorizedbuyersmarketplaceV1alpha::PackagePlacementTargeting
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/authorizedbuyersmarketplace_v1alpha/classes.rb,
lib/google/apis/authorizedbuyersmarketplace_v1alpha/representations.rb,
lib/google/apis/authorizedbuyersmarketplace_v1alpha/representations.rb
Overview
Represents targeting about where the ads can appear, for example, certain sites or mobile applications. Different placement targeting types will be logically OR'ed.
Instance Attribute Summary collapse
-
#included_mobile_app_category_targeting ⇒ Array<Fixnum>
Optional.
-
#mobile_app_targeting ⇒ Google::Apis::AuthorizedbuyersmarketplaceV1alpha::StringTargetingDimension
Generic targeting with string values.
-
#uri_targeting ⇒ Google::Apis::AuthorizedbuyersmarketplaceV1alpha::StringTargetingDimension
Generic targeting with string values.
Instance Method Summary collapse
-
#initialize(**args) ⇒ PackagePlacementTargeting
constructor
A new instance of PackagePlacementTargeting.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ PackagePlacementTargeting
Returns a new instance of PackagePlacementTargeting.
1761 1762 1763 |
# File 'lib/google/apis/authorizedbuyersmarketplace_v1alpha/classes.rb', line 1761 def initialize(**args) update!(**args) end |
Instance Attribute Details
#included_mobile_app_category_targeting ⇒ Array<Fixnum>
Optional. The list of targeted mobile app categories.
Corresponds to the JSON property includedMobileAppCategoryTargeting
1749 1750 1751 |
# File 'lib/google/apis/authorizedbuyersmarketplace_v1alpha/classes.rb', line 1749 def included_mobile_app_category_targeting @included_mobile_app_category_targeting end |
#mobile_app_targeting ⇒ Google::Apis::AuthorizedbuyersmarketplaceV1alpha::StringTargetingDimension
Generic targeting with string values.
Corresponds to the JSON property mobileAppTargeting
1754 1755 1756 |
# File 'lib/google/apis/authorizedbuyersmarketplace_v1alpha/classes.rb', line 1754 def mobile_app_targeting @mobile_app_targeting end |
#uri_targeting ⇒ Google::Apis::AuthorizedbuyersmarketplaceV1alpha::StringTargetingDimension
Generic targeting with string values.
Corresponds to the JSON property uriTargeting
1759 1760 1761 |
# File 'lib/google/apis/authorizedbuyersmarketplace_v1alpha/classes.rb', line 1759 def uri_targeting @uri_targeting end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1766 1767 1768 1769 1770 |
# File 'lib/google/apis/authorizedbuyersmarketplace_v1alpha/classes.rb', line 1766 def update!(**args) @included_mobile_app_category_targeting = args[:included_mobile_app_category_targeting] if args.key?(:included_mobile_app_category_targeting) @mobile_app_targeting = args[:mobile_app_targeting] if args.key?(:mobile_app_targeting) @uri_targeting = args[:uri_targeting] if args.key?(:uri_targeting) end |