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.



53110
53111
53112
# File 'lib/google/apis/searchads360_v23/classes.rb', line 53110

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)


53098
53099
53100
# File 'lib/google/apis/searchads360_v23/classes.rb', line 53098

def asset
  @asset
end

#campaignString

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

Returns:

  • (String)


53103
53104
53105
# File 'lib/google/apis/searchads360_v23/classes.rb', line 53103

def campaign
  @campaign
end

#field_typeString

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

Returns:

  • (String)


53108
53109
53110
# File 'lib/google/apis/searchads360_v23/classes.rb', line 53108

def field_type
  @field_type
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



53115
53116
53117
53118
53119
# File 'lib/google/apis/searchads360_v23/classes.rb', line 53115

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