Class: Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ServicesAdGroupKeywordSuggestion

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

The suggested text and AdGroup/Campaign pairing for a given keyword.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleAdsSearchads360V23ServicesAdGroupKeywordSuggestion

Returns a new instance of GoogleAdsSearchads360V23ServicesAdGroupKeywordSuggestion.



36204
36205
36206
# File 'lib/google/apis/searchads360_v23/classes.rb', line 36204

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

Instance Attribute Details

#keyword_textString

The original keyword text. Corresponds to the JSON property keywordText

Returns:

  • (String)


36180
36181
36182
# File 'lib/google/apis/searchads360_v23/classes.rb', line 36180

def keyword_text
  @keyword_text
end

#suggested_ad_groupString

The suggested AdGroup for the keyword. Resource name format: customers/ customer_id/adGroups/ad_group_id` Corresponds to the JSON propertysuggestedAdGroup`

Returns:

  • (String)


36186
36187
36188
# File 'lib/google/apis/searchads360_v23/classes.rb', line 36186

def suggested_ad_group
  @suggested_ad_group
end

#suggested_campaignString

The suggested Campaign for the keyword. Resource name format: customers/ customer_id/campaigns/campaign_id` Corresponds to the JSON propertysuggestedCampaign`

Returns:

  • (String)


36192
36193
36194
# File 'lib/google/apis/searchads360_v23/classes.rb', line 36192

def suggested_campaign
  @suggested_campaign
end

#suggested_keyword_textString

The normalized version of keyword_text for BROAD/EXACT/PHRASE suggestions. Corresponds to the JSON property suggestedKeywordText

Returns:

  • (String)


36197
36198
36199
# File 'lib/google/apis/searchads360_v23/classes.rb', line 36197

def suggested_keyword_text
  @suggested_keyword_text
end

#suggested_match_typeString

The suggested keyword match type. Corresponds to the JSON property suggestedMatchType

Returns:

  • (String)


36202
36203
36204
# File 'lib/google/apis/searchads360_v23/classes.rb', line 36202

def suggested_match_type
  @suggested_match_type
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



36209
36210
36211
36212
36213
36214
36215
# File 'lib/google/apis/searchads360_v23/classes.rb', line 36209

def update!(**args)
  @keyword_text = args[:keyword_text] if args.key?(:keyword_text)
  @suggested_ad_group = args[:suggested_ad_group] if args.key?(:suggested_ad_group)
  @suggested_campaign = args[:suggested_campaign] if args.key?(:suggested_campaign)
  @suggested_keyword_text = args[:suggested_keyword_text] if args.key?(:suggested_keyword_text)
  @suggested_match_type = args[:suggested_match_type] if args.key?(:suggested_match_type)
end