Class: Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ServicesAdGroupKeywordSuggestion
- Inherits:
-
Object
- Object
- Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ServicesAdGroupKeywordSuggestion
- 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
-
#keyword_text ⇒ String
The original keyword text.
-
#suggested_ad_group ⇒ String
The suggested AdGroup for the keyword.
-
#suggested_campaign ⇒ String
The suggested Campaign for the keyword.
-
#suggested_keyword_text ⇒ String
The normalized version of keyword_text for BROAD/EXACT/PHRASE suggestions.
-
#suggested_match_type ⇒ String
The suggested keyword match type.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleAdsSearchads360V23ServicesAdGroupKeywordSuggestion
constructor
A new instance of GoogleAdsSearchads360V23ServicesAdGroupKeywordSuggestion.
-
#update!(**args) ⇒ Object
Update properties of this object.
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_text ⇒ String
The original keyword text.
Corresponds to the JSON property keywordText
36315 36316 36317 |
# File 'lib/google/apis/searchads360_v23/classes.rb', line 36315 def keyword_text @keyword_text end |
#suggested_ad_group ⇒ String
The suggested AdGroup for the keyword. Resource name format: customers/
customer_id/adGroups/ad_group_id`
Corresponds to the JSON propertysuggestedAdGroup`
36321 36322 36323 |
# File 'lib/google/apis/searchads360_v23/classes.rb', line 36321 def suggested_ad_group @suggested_ad_group end |
#suggested_campaign ⇒ String
The suggested Campaign for the keyword. Resource name format: customers/
customer_id/campaigns/campaign_id`
Corresponds to the JSON propertysuggestedCampaign`
36327 36328 36329 |
# File 'lib/google/apis/searchads360_v23/classes.rb', line 36327 def suggested_campaign @suggested_campaign end |
#suggested_keyword_text ⇒ String
The normalized version of keyword_text for BROAD/EXACT/PHRASE suggestions.
Corresponds to the JSON property suggestedKeywordText
36332 36333 36334 |
# File 'lib/google/apis/searchads360_v23/classes.rb', line 36332 def suggested_keyword_text @suggested_keyword_text end |
#suggested_match_type ⇒ String
The suggested keyword match type.
Corresponds to the JSON property suggestedMatchType
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 |