Class: Google::Apis::Searchads360V23::GoogleAdsSearchads360V23CommonAudienceInsightsCategory

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

Instance Method Summary collapse

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_idString

Required. The criterion ID of the category. Corresponds to the JSON property categoryId

Returns:

  • (String)


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