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.



36411
36412
36413
# File 'lib/google/apis/searchads360_v23/classes.rb', line 36411

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

Instance Attribute Details

#keyword_textString

The original keyword text. Corresponds to the JSON property keywordText

Returns:

  • (String)


36387
36388
36389
# File 'lib/google/apis/searchads360_v23/classes.rb', line 36387

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)


36393
36394
36395
# File 'lib/google/apis/searchads360_v23/classes.rb', line 36393

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)


36399
36400
36401
# File 'lib/google/apis/searchads360_v23/classes.rb', line 36399

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)


36404
36405
36406
# File 'lib/google/apis/searchads360_v23/classes.rb', line 36404

def suggested_keyword_text
  @suggested_keyword_text
end

#suggested_match_typeString

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

Returns:

  • (String)


36409
36410
36411
# File 'lib/google/apis/searchads360_v23/classes.rb', line 36409

def suggested_match_type
  @suggested_match_type
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



36416
36417
36418
36419
36420
36421
36422
# File 'lib/google/apis/searchads360_v23/classes.rb', line 36416

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