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.



17836
17837
17838
# File 'lib/google/apis/searchads360_v23/classes.rb', line 17836

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



17824
17825
17826
# File 'lib/google/apis/searchads360_v23/classes.rb', line 17824

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)


17829
17830
17831
# File 'lib/google/apis/searchads360_v23/classes.rb', line 17829

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)


17834
17835
17836
# File 'lib/google/apis/searchads360_v23/classes.rb', line 17834

def recommended_budget_amount_micros
  @recommended_budget_amount_micros
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



17841
17842
17843
17844
17845
# File 'lib/google/apis/searchads360_v23/classes.rb', line 17841

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