Cmdlets for Google Ads

Build 24.0.9062

ServerTimeZone Parameter (Connect-GAds Cmdlet)

The timezone by which the server's DateTime values are represented. The value of this property will affect how DateTime filters and results are converted between the server and the client machine.

Syntax

Connect-GAds -ServerTimeZone string

Data Type

cstr

Default Value

"AUTO"

Remarks

By default, the driver automatically fetches the Timezone of the GoogleAds account and displays datetime values accordingly. If the server is known to use a specific timezone, you can specify its IANA format (e.g., America/New_York) here. The driver will then convert any DateTime filters from the local timezone of the machine where it's installed to the server's specified timezone. Similarly, values returned by the server in the specified timezone will be converted to the local timezone of the machine before appearing in the result set.

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