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.



35064
35065
35066
# File 'lib/google/apis/searchads360_v23/classes.rb', line 35064

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)


35051
35052
35053
# File 'lib/google/apis/searchads360_v23/classes.rb', line 35051

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)


35057
35058
35059
# File 'lib/google/apis/searchads360_v23/classes.rb', line 35057

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)


35062
35063
35064
# File 'lib/google/apis/searchads360_v23/classes.rb', line 35062

def match_type
  @match_type
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



35069
35070
35071
35072
35073
# File 'lib/google/apis/searchads360_v23/classes.rb', line 35069

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