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.



1791
1792
1793
# File 'lib/google/apis/searchads360_v23/classes.rb', line 1791

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)


1789
1790
1791
# File 'lib/google/apis/searchads360_v23/classes.rb', line 1789

def category_id
  @category_id
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1796
1797
1798
# File 'lib/google/apis/searchads360_v23/classes.rb', line 1796

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