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.



36339
36340
36341
# File 'lib/google/apis/searchads360_v23/classes.rb', line 36339

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

Instance Attribute Details

#keyword_textString

The original keyword text. Corresponds to the JSON property keywordText

Returns:

  • (String)


36315
36316
36317
# File 'lib/google/apis/searchads360_v23/classes.rb', line 36315

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)


36321
36322
36323
# File 'lib/google/apis/searchads360_v23/classes.rb', line 36321

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)


36327
36328
36329
# File 'lib/google/apis/searchads360_v23/classes.rb', line 36327

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)


36332
36333
36334
# File 'lib/google/apis/searchads360_v23/classes.rb', line 36332

def suggested_keyword_text
  @suggested_keyword_text
end

#suggested_match_typeString

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

Returns:

  • (String)


36337
36338
36339
# File 'lib/google/apis/searchads360_v23/classes.rb', line 36337

def suggested_match_type
  @suggested_match_type
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



36344
36345
36346
36347
36348
36349
36350
# File 'lib/google/apis/searchads360_v23/classes.rb', line 36344

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