Class: Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ServicesGenerateRecommendationsRequestBudgetInfo

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

Current budget information of the campaign.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleAdsSearchads360V23ServicesGenerateRecommendationsRequestBudgetInfo

Returns a new instance of GoogleAdsSearchads360V23ServicesGenerateRecommendationsRequestBudgetInfo.



35452
35453
35454
# File 'lib/google/apis/searchads360_v23/classes.rb', line 35452

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

Instance Attribute Details

#current_budgetFixnum

Required. Current budget amount in micros. This field is necessary for the following recommendation_types if budget_info is set: CAMPAIGN_BUDGET Corresponds to the JSON property currentBudget

Returns:

  • (Fixnum)


35450
35451
35452
# File 'lib/google/apis/searchads360_v23/classes.rb', line 35450

def current_budget
  @current_budget
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



35457
35458
35459
# File 'lib/google/apis/searchads360_v23/classes.rb', line 35457

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