Class: Google::Apis::AuthorizedbuyersmarketplaceV1alpha::PackagePlacementTargeting

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

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_targetingArray<Fixnum>

Optional. The list of targeted mobile app categories. Corresponds to the JSON property includedMobileAppCategoryTargeting

Returns:

  • (Array<Fixnum>)


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_targetingGoogle::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_targetingGoogle::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