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.
36204 36205 36206 |
# File 'lib/google/apis/searchads360_v23/classes.rb', line 36204 def initialize(**args) update!(**args) end |
Instance Attribute Details
#keyword_text ⇒ String
The original keyword text.
Corresponds to the JSON property keywordText
36180 36181 36182 |
# File 'lib/google/apis/searchads360_v23/classes.rb', line 36180 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`
36186 36187 36188 |
# File 'lib/google/apis/searchads360_v23/classes.rb', line 36186 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`
36192 36193 36194 |
# File 'lib/google/apis/searchads360_v23/classes.rb', line 36192 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
36197 36198 36199 |
# File 'lib/google/apis/searchads360_v23/classes.rb', line 36197 def suggested_keyword_text @suggested_keyword_text end |
#suggested_match_type ⇒ String
The suggested keyword match type.
Corresponds to the JSON property suggestedMatchType
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 |