Class: Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ServicesApplyRecommendationOperationKeywordParameters

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

Parameters to use when applying keyword recommendation.

Instance Attribute Summary collapse

Instance Method Summary collapse

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_groupString

The ad group resource to add keyword to. This is a required field. Corresponds to the JSON property adGroup

Returns:

  • (String)


35123
35124
35125
# File 'lib/google/apis/searchads360_v23/classes.rb', line 35123

def ad_group
  @ad_group
end

#cpc_bid_microsFixnum

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

Returns:

  • (Fixnum)


35129
35130
35131
# File 'lib/google/apis/searchads360_v23/classes.rb', line 35129

def cpc_bid_micros
  @cpc_bid_micros
end

#match_typeString

The match type of the keyword. This is a required field. Corresponds to the JSON property matchType

Returns:

  • (String)


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