Cmdlets for Snapchat Ads

Build 24.0.9060

Remove-SnapchatAds Cmdlet

Parameters   Output Objects  

Deletes Snapchat Ads data.

Syntax

Remove-SnapchatAds [parameters]

Remarks

The Remove-SnapchatAds cmdlet allows you to use a syntax similar to SQL DELETE statements to delete Snapchat Ads data.

$conn = Connect-SnapchatAds -InitiateOAuth "GETANDREFRESH"
Remove-SnapchatAds -Connection $conn -Table "Campaigns" -Id "6"
The Where parameter can also be used to specify the primary key:
Remove-SnapchatAds -Connection $conn -Table "exTablePowershell;" -Where "Id = 6"
The primary key can also be passed to the cmdlet along the pipeline:
Select-SnapchatAds -Connection $conn -Table Campaigns -Where "Id = '123'" | Remove-SnapchatAds

Copyright (c) 2024 CData Software, Inc. - All rights reserved.
Build 24.0.9060