Update-SnapchatAds Cmdlet
Updates Snapchat Ads data.
Syntax
Update-SnapchatAds [parameters]
Remarks
The Update-SnapchatAds cmdlet allows you to use a syntax similar to SQL UPDATE statements to update Snapchat Ads data.
$conn = Connect-SnapchatAds -InitiateOAuth "GETANDREFRESH" Update-SnapchatAds -Connection $conn -Table "Campaigns" -Columns @("Name") -Values @("Jon Doe") -Id "6"The Where parameter can also be used to specify the primary key of the table:
Update-SnapchatAds -Connection $conn -Table "Campaigns" -Columns @("Name") -Values @("Jon Doe") -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'" | Update-SnapchatAds -Columns @("Id") -Values @("123 2")