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.



47437
47438
47439
# File 'lib/google/apis/searchads360_v23/classes.rb', line 47437

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

Instance Attribute Details

#campaign_draftGoogle::Apis::Searchads360V23::GoogleAdsSearchads360V23ResourcesCampaignDraft

A campaign draft. Corresponds to the JSON property campaignDraft



47430
47431
47432
# File 'lib/google/apis/searchads360_v23/classes.rb', line 47430

def campaign_draft
  @campaign_draft
end

#resource_nameString

Returned for successful operations. Corresponds to the JSON property resourceName

Returns:

  • (String)


47435
47436
47437
# File 'lib/google/apis/searchads360_v23/classes.rb', line 47435

def resource_name
  @resource_name
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



47442
47443
47444
47445
# File 'lib/google/apis/searchads360_v23/classes.rb', line 47442

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