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.



18073
18074
18075
# File 'lib/google/apis/searchads360_v23/classes.rb', line 18073

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

Instance Attribute Details

#keywordGoogle::Apis::Searchads360V23::GoogleAdsSearchads360V23CommonKeywordInfo

A keyword criterion. Corresponds to the JSON property keyword



18060
18061
18062
# File 'lib/google/apis/searchads360_v23/classes.rb', line 18060

def keyword
  @keyword
end

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

Returns:

  • (Fixnum)


18065
18066
18067
# File 'lib/google/apis/searchads360_v23/classes.rb', line 18065

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



18071
18072
18073
# File 'lib/google/apis/searchads360_v23/classes.rb', line 18071

def search_terms
  @search_terms
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



18078
18079
18080
18081
18082
# File 'lib/google/apis/searchads360_v23/classes.rb', line 18078

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