Cmdlets for Twitter Ads

Build 24.0.8963

Update-TwitterAds Cmdlet

Parameters   Output Objects  

Updates Twitter Ads data.

Syntax

Update-TwitterAds [parameters]

Remarks

The Update-TwitterAds cmdlet allows you to use a syntax similar to SQL UPDATE statements to update Twitter Ads data.

$conn = Connect-TwitterAds
Update-TwitterAds -Connection $conn -Table "AdAudiences" -Columns @("Name") -Values @("ORGANIC_TWEET") -Id "123456789"
The Where parameter can also be used to specify the primary key of the table:
Update-TwitterAds -Connection $conn -Table "AdAudiences" -Columns @("Name") -Values @("ORGANIC_TWEET") -Where "Id = '123456789'"
The primary key can also be passed to the cmdlet along the pipeline:
Select-TwitterAds -Connection $conn -Table AdAudiences -Where "Id = '123456789'" | Update-TwitterAds -Columns @("Id") -Values @("123456789 2")

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