Cmdlets for Google Ad Manager

Build 24.0.8963

Update-GoogleAdsManager Cmdlet

Parameters   Output Objects  

Updates Google Ad Manager data.

Syntax

Update-GoogleAdsManager [parameters]

Remarks

The Update-GoogleAdsManager cmdlet allows you to use a syntax similar to SQL UPDATE statements to update Google Ad Manager data.

$conn = Connect-GoogleAdsManager
Update-GoogleAdsManager -Connection $conn -Table "Orders" -Columns @("Name") -Values @("Order #1") -Id "300000002693011"
The Where parameter can also be used to specify the primary key of the table:
Update-GoogleAdsManager -Connection $conn -Table "Orders" -Columns @("Name") -Values @("Order #1") -Where "Id = '300000002693011'"
The primary key can also be passed to the cmdlet along the pipeline:
Select-GoogleAdsManager -Connection $conn -Table Orders -Where "Id = '2112976978'" | Update-GoogleAdsManager -Columns @("Id") -Values @("2112976978 2")

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