Class: Google::Apis::Searchads360V23::GoogleAdsSearchads360V23CommonAudienceInsightsCategory
- Inherits:
-
Object
- Object
- Google::Apis::Searchads360V23::GoogleAdsSearchads360V23CommonAudienceInsightsCategory
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/searchads360_v23/classes.rb,
lib/google/apis/searchads360_v23/representations.rb,
lib/google/apis/searchads360_v23/representations.rb
Overview
A Product and Service category.
Instance Attribute Summary collapse
-
#category_id ⇒ String
Required.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleAdsSearchads360V23CommonAudienceInsightsCategory
constructor
A new instance of GoogleAdsSearchads360V23CommonAudienceInsightsCategory.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleAdsSearchads360V23CommonAudienceInsightsCategory
Returns a new instance of GoogleAdsSearchads360V23CommonAudienceInsightsCategory.
1731 1732 1733 |
# File 'lib/google/apis/searchads360_v23/classes.rb', line 1731 def initialize(**args) update!(**args) end |
Instance Attribute Details
#category_id ⇒ String
Required. The criterion ID of the category.
Corresponds to the JSON property categoryId
1729 1730 1731 |
# File 'lib/google/apis/searchads360_v23/classes.rb', line 1729 def category_id @category_id end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1736 1737 1738 |
# File 'lib/google/apis/searchads360_v23/classes.rb', line 1736 def update!(**args) @category_id = args[:category_id] if args.key?(:category_id) end |