Remove-FacebookAds Cmdlet
Deletes Facebook Ads data.
Syntax
Remove-FacebookAds [parameters]
Remarks
The Remove-FacebookAds cmdlet allows you to use a syntax similar to SQL DELETE statements to delete Facebook Ads data.
$conn = Connect-FacebookAds Remove-FacebookAds -Connection $conn -Table "AdAccounts" -Id "act_1111"The Where parameter can also be used to specify the primary key:
Remove-FacebookAds -Connection $conn -Table "exTablePowershell;" -Where "Id = act_1111"The primary key can also be passed to the cmdlet along the pipeline:
Select-FacebookAds -Connection $conn -Table AdAccounts -Where "Name = 'Act Name'" | Remove-FacebookAds