Class: Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ServicesGenerateKeywordForecastMetricsRequest
- Inherits:
-
Object
- Object
- Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ServicesGenerateKeywordForecastMetricsRequest
- 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
Request message for KeywordPlanIdeaService.GenerateKeywordForecastMetrics.
Instance Attribute Summary collapse
-
#campaign ⇒ Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ServicesCampaignToForecast
A campaign to do a keyword campaign forecast.
-
#currency_code ⇒ String
The currency used for exchange rate conversion.
-
#forecast_period ⇒ Google::Apis::Searchads360V23::GoogleAdsSearchads360V23CommonDateRange
A date range.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleAdsSearchads360V23ServicesGenerateKeywordForecastMetricsRequest
constructor
A new instance of GoogleAdsSearchads360V23ServicesGenerateKeywordForecastMetricsRequest.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleAdsSearchads360V23ServicesGenerateKeywordForecastMetricsRequest
Returns a new instance of GoogleAdsSearchads360V23ServicesGenerateKeywordForecastMetricsRequest.
41601 41602 41603 |
# File 'lib/google/apis/searchads360_v23/classes.rb', line 41601 def initialize(**args) update!(**args) end |
Instance Attribute Details
#campaign ⇒ Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ServicesCampaignToForecast
A campaign to do a keyword campaign forecast.
Corresponds to the JSON property campaign
41585 41586 41587 |
# File 'lib/google/apis/searchads360_v23/classes.rb', line 41585 def campaign @campaign end |
#currency_code ⇒ String
The currency used for exchange rate conversion. By default, the account
currency of the customer is used. Set this field only if the currency is
different from the account currency. The list of valid currency codes can be
found at https://developers.google.com/google-ads/api/data/codes-formats#
currency-codes.
Corresponds to the JSON property currencyCode
41594 41595 41596 |
# File 'lib/google/apis/searchads360_v23/classes.rb', line 41594 def currency_code @currency_code end |
#forecast_period ⇒ Google::Apis::Searchads360V23::GoogleAdsSearchads360V23CommonDateRange
A date range.
Corresponds to the JSON property forecastPeriod
41599 41600 41601 |
# File 'lib/google/apis/searchads360_v23/classes.rb', line 41599 def forecast_period @forecast_period end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
41606 41607 41608 41609 41610 |
# File 'lib/google/apis/searchads360_v23/classes.rb', line 41606 def update!(**args) @campaign = args[:campaign] if args.key?(:campaign) @currency_code = args[:currency_code] if args.key?(:currency_code) @forecast_period = args[:forecast_period] if args.key?(:forecast_period) end |