Class: Google::Apis::AuthorizedbuyersmarketplaceV1alpha::TaxonomyTargeting
- Inherits:
-
Object
- Object
- Google::Apis::AuthorizedbuyersmarketplaceV1alpha::TaxonomyTargeting
- 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
-
#excluded_taxonomy_ids ⇒ Array<String>
Optional.
-
#targeted_taxonomy_ids ⇒ Array<String>
Optional.
Instance Method Summary collapse
-
#initialize(**args) ⇒ TaxonomyTargeting
constructor
A new instance of TaxonomyTargeting.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ TaxonomyTargeting
Returns a new instance of TaxonomyTargeting.
2811 2812 2813 |
# File 'lib/google/apis/authorizedbuyersmarketplace_v1alpha/classes.rb', line 2811 def initialize(**args) update!(**args) end |
Instance Attribute Details
#excluded_taxonomy_ids ⇒ Array<String>
Optional. The list of excluded content taxonomy IDs.
Corresponds to the JSON property excludedTaxonomyIds
2804 2805 2806 |
# File 'lib/google/apis/authorizedbuyersmarketplace_v1alpha/classes.rb', line 2804 def excluded_taxonomy_ids @excluded_taxonomy_ids end |
#targeted_taxonomy_ids ⇒ Array<String>
Optional. The list of targeted content taxonomy IDs.
Corresponds to the JSON property targetedTaxonomyIds
2809 2810 2811 |
# File 'lib/google/apis/authorizedbuyersmarketplace_v1alpha/classes.rb', line 2809 def targeted_taxonomy_ids @targeted_taxonomy_ids end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
2816 2817 2818 2819 |
# File 'lib/google/apis/authorizedbuyersmarketplace_v1alpha/classes.rb', line 2816 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 |