Class: Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ServicesRemoveCampaignAutomaticallyCreatedAssetOperation
- Inherits:
-
Object
- Object
- Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ServicesRemoveCampaignAutomaticallyCreatedAssetOperation
- 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
-
#asset ⇒ String
Required.
-
#campaign ⇒ String
Required.
-
#field_type ⇒ String
Required.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleAdsSearchads360V23ServicesRemoveCampaignAutomaticallyCreatedAssetOperation
constructor
A new instance of GoogleAdsSearchads360V23ServicesRemoveCampaignAutomaticallyCreatedAssetOperation.
-
#update!(**args) ⇒ Object
Update properties of this object.
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
#asset ⇒ String
Required. The resource name of the asset to remove.
Corresponds to the JSON property asset
52267 52268 52269 |
# File 'lib/google/apis/searchads360_v23/classes.rb', line 52267 def asset @asset end |
#campaign ⇒ String
Required. The resource name of the campaign.
Corresponds to the JSON property campaign
52272 52273 52274 |
# File 'lib/google/apis/searchads360_v23/classes.rb', line 52272 def campaign @campaign end |
#field_type ⇒ String
Required. The field type of the asset to remove.
Corresponds to the JSON property fieldType
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 |