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.



40359
40360
40361
# File 'lib/google/apis/searchads360_v23/classes.rb', line 40359

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>)


40352
40353
40354
# File 'lib/google/apis/searchads360_v23/classes.rb', line 40352

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>)


40357
40358
40359
# File 'lib/google/apis/searchads360_v23/classes.rb', line 40357

def keywords
  @keywords
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



40364
40365
40366
40367
# File 'lib/google/apis/searchads360_v23/classes.rb', line 40364

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