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.



46310
46311
46312
# File 'lib/google/apis/searchads360_v23/classes.rb', line 46310

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

Instance Attribute Details

#campaign_budgetGoogle::Apis::Searchads360V23::GoogleAdsSearchads360V23ResourcesCampaignBudget

A campaign budget. Corresponds to the JSON property campaignBudget



46303
46304
46305
# File 'lib/google/apis/searchads360_v23/classes.rb', line 46303

def campaign_budget
  @campaign_budget
end

#resource_nameString

Returned for successful operations. Corresponds to the JSON property resourceName

Returns:

  • (String)


46308
46309
46310
# File 'lib/google/apis/searchads360_v23/classes.rb', line 46308

def resource_name
  @resource_name
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



46315
46316
46317
46318
# File 'lib/google/apis/searchads360_v23/classes.rb', line 46315

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