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.



34962
34963
34964
# File 'lib/google/apis/searchads360_v23/classes.rb', line 34962

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)


34949
34950
34951
# File 'lib/google/apis/searchads360_v23/classes.rb', line 34949

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)


34955
34956
34957
# File 'lib/google/apis/searchads360_v23/classes.rb', line 34955

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)


34960
34961
34962
# File 'lib/google/apis/searchads360_v23/classes.rb', line 34960

def match_type
  @match_type
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



34967
34968
34969
34970
34971
# File 'lib/google/apis/searchads360_v23/classes.rb', line 34967

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