Class: Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ServicesApplyRecommendationOperationKeywordParameters
- Inherits:
-
Object
- Object
- Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ServicesApplyRecommendationOperationKeywordParameters
- 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
Parameters to use when applying keyword recommendation.
Instance Attribute Summary collapse
-
#ad_group ⇒ String
The ad group resource to add keyword to.
-
#cpc_bid_micros ⇒ Fixnum
Optional, CPC bid to set for the keyword.
-
#match_type ⇒ String
The match type of the keyword.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleAdsSearchads360V23ServicesApplyRecommendationOperationKeywordParameters
constructor
A new instance of GoogleAdsSearchads360V23ServicesApplyRecommendationOperationKeywordParameters.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleAdsSearchads360V23ServicesApplyRecommendationOperationKeywordParameters
Returns a new instance of GoogleAdsSearchads360V23ServicesApplyRecommendationOperationKeywordParameters.
35136 35137 35138 |
# File 'lib/google/apis/searchads360_v23/classes.rb', line 35136 def initialize(**args) update!(**args) end |
Instance Attribute Details
#ad_group ⇒ String
The ad group resource to add keyword to. This is a required field.
Corresponds to the JSON property adGroup
35123 35124 35125 |
# File 'lib/google/apis/searchads360_v23/classes.rb', line 35123 def ad_group @ad_group end |
#cpc_bid_micros ⇒ Fixnum
Optional, CPC bid to set for the keyword. If not set, keyword will use bid
based on bidding strategy used by target ad group.
Corresponds to the JSON property cpcBidMicros
35129 35130 35131 |
# File 'lib/google/apis/searchads360_v23/classes.rb', line 35129 def cpc_bid_micros @cpc_bid_micros end |
#match_type ⇒ String
The match type of the keyword. This is a required field.
Corresponds to the JSON property matchType
35134 35135 35136 |
# File 'lib/google/apis/searchads360_v23/classes.rb', line 35134 def match_type @match_type end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
35141 35142 35143 35144 35145 |
# File 'lib/google/apis/searchads360_v23/classes.rb', line 35141 def update!(**args) @ad_group = args[:ad_group] if args.key?(:ad_group) @cpc_bid_micros = args[:cpc_bid_micros] if args.key?(:cpc_bid_micros) @match_type = args[:match_type] if args.key?(:match_type) end |