Class: Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ResourcesRecommendationKeywordRecommendation

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

The keyword recommendation.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleAdsSearchads360V23ResourcesRecommendationKeywordRecommendation

Returns a new instance of GoogleAdsSearchads360V23ResourcesRecommendationKeywordRecommendation.



18199
18200
18201
# File 'lib/google/apis/searchads360_v23/classes.rb', line 18199

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#keywordGoogle::Apis::Searchads360V23::GoogleAdsSearchads360V23CommonKeywordInfo

A keyword criterion. Corresponds to the JSON property keyword



18186
18187
18188
# File 'lib/google/apis/searchads360_v23/classes.rb', line 18186

def keyword
  @keyword
end

Output only. The recommended CPC (cost-per-click) bid. Corresponds to the JSON property recommendedCpcBidMicros

Returns:

  • (Fixnum)


18191
18192
18193
# File 'lib/google/apis/searchads360_v23/classes.rb', line 18191

def recommended_cpc_bid_micros
  @recommended_cpc_bid_micros
end

#search_termsArray<Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ResourcesRecommendationKeywordRecommendationSearchTerm>

Output only. A list of search terms this keyword matches. The same search term may be repeated for multiple keywords. Corresponds to the JSON property searchTerms



18197
18198
18199
# File 'lib/google/apis/searchads360_v23/classes.rb', line 18197

def search_terms
  @search_terms
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



18204
18205
18206
18207
18208
# File 'lib/google/apis/searchads360_v23/classes.rb', line 18204

def update!(**args)
  @keyword = args[:keyword] if args.key?(:keyword)
  @recommended_cpc_bid_micros = args[:recommended_cpc_bid_micros] if args.key?(:recommended_cpc_bid_micros)
  @search_terms = args[:search_terms] if args.key?(:search_terms)
end