Class: Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ResourcesRecommendationCampaignBudgetRecommendation

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 budget recommendation for budget constrained campaigns.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleAdsSearchads360V23ResourcesRecommendationCampaignBudgetRecommendation

Returns a new instance of GoogleAdsSearchads360V23ResourcesRecommendationCampaignBudgetRecommendation.



17902
17903
17904
# File 'lib/google/apis/searchads360_v23/classes.rb', line 17902

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

Instance Attribute Details

#budget_optionsArray<Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ResourcesRecommendationCampaignBudgetRecommendationCampaignBudgetRecommendationOption>

Output only. The budget amounts and associated impact estimates for some values of possible budget amounts. Corresponds to the JSON property budgetOptions



17890
17891
17892
# File 'lib/google/apis/searchads360_v23/classes.rb', line 17890

def budget_options
  @budget_options
end

#current_budget_amount_microsFixnum

Output only. The current budget amount in micros. Corresponds to the JSON property currentBudgetAmountMicros

Returns:

  • (Fixnum)


17895
17896
17897
# File 'lib/google/apis/searchads360_v23/classes.rb', line 17895

def current_budget_amount_micros
  @current_budget_amount_micros
end

Output only. The recommended budget amount in micros. Corresponds to the JSON property recommendedBudgetAmountMicros

Returns:

  • (Fixnum)


17900
17901
17902
# File 'lib/google/apis/searchads360_v23/classes.rb', line 17900

def recommended_budget_amount_micros
  @recommended_budget_amount_micros
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



17907
17908
17909
17910
17911
# File 'lib/google/apis/searchads360_v23/classes.rb', line 17907

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