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.



17962
17963
17964
# File 'lib/google/apis/searchads360_v23/classes.rb', line 17962

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



17950
17951
17952
# File 'lib/google/apis/searchads360_v23/classes.rb', line 17950

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)


17955
17956
17957
# File 'lib/google/apis/searchads360_v23/classes.rb', line 17955

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)


17960
17961
17962
# File 'lib/google/apis/searchads360_v23/classes.rb', line 17960

def recommended_budget_amount_micros
  @recommended_budget_amount_micros
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



17967
17968
17969
17970
17971
# File 'lib/google/apis/searchads360_v23/classes.rb', line 17967

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