Cmdlets for Facebook Ads

Build 24.0.8963

Remove-FacebookAds Cmdlet

Parameters   Output Objects  

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

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