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.



41124
41125
41126
# File 'lib/google/apis/searchads360_v23/classes.rb', line 41124

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


41117
41118
41119
# File 'lib/google/apis/searchads360_v23/classes.rb', line 41117

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


41122
41123
41124
# File 'lib/google/apis/searchads360_v23/classes.rb', line 41122

def keywords
  @keywords
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



41129
41130
41131
41132
# File 'lib/google/apis/searchads360_v23/classes.rb', line 41129

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