Class: Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ServicesMutateCampaignDraftResult

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 draft mutate.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleAdsSearchads360V23ServicesMutateCampaignDraftResult

Returns a new instance of GoogleAdsSearchads360V23ServicesMutateCampaignDraftResult.



47365
47366
47367
# File 'lib/google/apis/searchads360_v23/classes.rb', line 47365

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

Instance Attribute Details

#campaign_draftGoogle::Apis::Searchads360V23::GoogleAdsSearchads360V23ResourcesCampaignDraft

A campaign draft. Corresponds to the JSON property campaignDraft



47358
47359
47360
# File 'lib/google/apis/searchads360_v23/classes.rb', line 47358

def campaign_draft
  @campaign_draft
end

#resource_nameString

Returned for successful operations. Corresponds to the JSON property resourceName

Returns:

  • (String)


47363
47364
47365
# File 'lib/google/apis/searchads360_v23/classes.rb', line 47363

def resource_name
  @resource_name
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



47370
47371
47372
47373
# File 'lib/google/apis/searchads360_v23/classes.rb', line 47370

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