Class: Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ServicesGenerateAdGroupThemesRequest

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

Request message for KeywordPlanIdeaService.GenerateAdGroupThemes.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleAdsSearchads360V23ServicesGenerateAdGroupThemesRequest

Returns a new instance of GoogleAdsSearchads360V23ServicesGenerateAdGroupThemesRequest.



41052
41053
41054
# File 'lib/google/apis/searchads360_v23/classes.rb', line 41052

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

Instance Attribute Details

#ad_groupsArray<String>

Required. A list of resource names of AdGroups to group keywords into. Resource name format: customers/customer_id/adGroups/ad_group_id` Corresponds to the JSON propertyadGroups`

Returns:

  • (Array<String>)


41045
41046
41047
# File 'lib/google/apis/searchads360_v23/classes.rb', line 41045

def ad_groups
  @ad_groups
end

#keywordsArray<String>

Required. A list of keywords to group into the provided AdGroups. Corresponds to the JSON property keywords

Returns:

  • (Array<String>)


41050
41051
41052
# File 'lib/google/apis/searchads360_v23/classes.rb', line 41050

def keywords
  @keywords
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



41057
41058
41059
41060
# File 'lib/google/apis/searchads360_v23/classes.rb', line 41057

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