Class: Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ServicesRemoveCampaignAutomaticallyCreatedAssetOperation

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

A single operation to remove an automatically created asset from a campaign.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleAdsSearchads360V23ServicesRemoveCampaignAutomaticallyCreatedAssetOperation

Returns a new instance of GoogleAdsSearchads360V23ServicesRemoveCampaignAutomaticallyCreatedAssetOperation.



52279
52280
52281
# File 'lib/google/apis/searchads360_v23/classes.rb', line 52279

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

Instance Attribute Details

#assetString

Required. The resource name of the asset to remove. Corresponds to the JSON property asset

Returns:

  • (String)


52267
52268
52269
# File 'lib/google/apis/searchads360_v23/classes.rb', line 52267

def asset
  @asset
end

#campaignString

Required. The resource name of the campaign. Corresponds to the JSON property campaign

Returns:

  • (String)


52272
52273
52274
# File 'lib/google/apis/searchads360_v23/classes.rb', line 52272

def campaign
  @campaign
end

#field_typeString

Required. The field type of the asset to remove. Corresponds to the JSON property fieldType

Returns:

  • (String)


52277
52278
52279
# File 'lib/google/apis/searchads360_v23/classes.rb', line 52277

def field_type
  @field_type
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



52284
52285
52286
52287
52288
# File 'lib/google/apis/searchads360_v23/classes.rb', line 52284

def update!(**args)
  @asset = args[:asset] if args.key?(:asset)
  @campaign = args[:campaign] if args.key?(:campaign)
  @field_type = args[:field_type] if args.key?(:field_type)
end