Class: Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ServicesMutateCampaignBudgetResult

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 result for the campaign budget mutate.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleAdsSearchads360V23ServicesMutateCampaignBudgetResult

Returns a new instance of GoogleAdsSearchads360V23ServicesMutateCampaignBudgetResult.



47075
47076
47077
# File 'lib/google/apis/searchads360_v23/classes.rb', line 47075

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

Instance Attribute Details

#campaign_budgetGoogle::Apis::Searchads360V23::GoogleAdsSearchads360V23ResourcesCampaignBudget

A campaign budget. Corresponds to the JSON property campaignBudget



47068
47069
47070
# File 'lib/google/apis/searchads360_v23/classes.rb', line 47068

def campaign_budget
  @campaign_budget
end

#resource_nameString

Returned for successful operations. Corresponds to the JSON property resourceName

Returns:

  • (String)


47073
47074
47075
# File 'lib/google/apis/searchads360_v23/classes.rb', line 47073

def resource_name
  @resource_name
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



47080
47081
47082
47083
# File 'lib/google/apis/searchads360_v23/classes.rb', line 47080

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