Class: Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ServicesGenerateRecommendationsRequestBudgetInfo
- Inherits:
-
Object
- Object
- Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ServicesGenerateRecommendationsRequestBudgetInfo
- 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
-
#current_budget ⇒ Fixnum
Required.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleAdsSearchads360V23ServicesGenerateRecommendationsRequestBudgetInfo
constructor
A new instance of GoogleAdsSearchads360V23ServicesGenerateRecommendationsRequestBudgetInfo.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleAdsSearchads360V23ServicesGenerateRecommendationsRequestBudgetInfo
Returns a new instance of GoogleAdsSearchads360V23ServicesGenerateRecommendationsRequestBudgetInfo.
35659 35660 35661 |
# File 'lib/google/apis/searchads360_v23/classes.rb', line 35659 def initialize(**args) update!(**args) end |
Instance Attribute Details
#current_budget ⇒ Fixnum
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
35657 35658 35659 |
# File 'lib/google/apis/searchads360_v23/classes.rb', line 35657 def current_budget @current_budget end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
35664 35665 35666 |
# File 'lib/google/apis/searchads360_v23/classes.rb', line 35664 def update!(**args) @current_budget = args[:current_budget] if args.key?(:current_budget) end |