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.



1775
1776
1777
# File 'lib/google/apis/authorizedbuyersmarketplace_v1alpha/classes.rb', line 1775

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>)


1763
1764
1765
# File 'lib/google/apis/authorizedbuyersmarketplace_v1alpha/classes.rb', line 1763

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



1768
1769
1770
# File 'lib/google/apis/authorizedbuyersmarketplace_v1alpha/classes.rb', line 1768

def mobile_app_targeting
  @mobile_app_targeting
end

#uri_targetingGoogle::Apis::AuthorizedbuyersmarketplaceV1alpha::StringTargetingDimension

Generic targeting with string values. Corresponds to the JSON property uriTargeting



1773
1774
1775
# File 'lib/google/apis/authorizedbuyersmarketplace_v1alpha/classes.rb', line 1773

def uri_targeting
  @uri_targeting
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1780
1781
1782
1783
1784
# File 'lib/google/apis/authorizedbuyersmarketplace_v1alpha/classes.rb', line 1780

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