Update-TwitterAds Cmdlet
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")