Class: Google::Apis::AuthorizedbuyersmarketplaceV1alpha::TaxonomyTargeting

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

Defines targeting criteria for handling the IAB audience and content Taxonomy ID space.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ TaxonomyTargeting

Returns a new instance of TaxonomyTargeting.



2797
2798
2799
# File 'lib/google/apis/authorizedbuyersmarketplace_v1alpha/classes.rb', line 2797

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#excluded_taxonomy_idsArray<String>

Optional. The list of excluded content taxonomy IDs. Corresponds to the JSON property excludedTaxonomyIds

Returns:

  • (Array<String>)


2790
2791
2792
# File 'lib/google/apis/authorizedbuyersmarketplace_v1alpha/classes.rb', line 2790

def excluded_taxonomy_ids
  @excluded_taxonomy_ids
end

#targeted_taxonomy_idsArray<String>

Optional. The list of targeted content taxonomy IDs. Corresponds to the JSON property targetedTaxonomyIds

Returns:

  • (Array<String>)


2795
2796
2797
# File 'lib/google/apis/authorizedbuyersmarketplace_v1alpha/classes.rb', line 2795

def targeted_taxonomy_ids
  @targeted_taxonomy_ids
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2802
2803
2804
2805
# File 'lib/google/apis/authorizedbuyersmarketplace_v1alpha/classes.rb', line 2802

def update!(**args)
  @excluded_taxonomy_ids = args[:excluded_taxonomy_ids] if args.key?(:excluded_taxonomy_ids)
  @targeted_taxonomy_ids = args[:targeted_taxonomy_ids] if args.key?(:targeted_taxonomy_ids)
end