GetTimeZones

Returns a list of time zones.

Information about time zones can be necessary when editing a campaign to set time targeting options.

Input data

The input data structure in JSON is shown below.

{
   "method": "GetTimeZones"
}

Output data

The method returns an array of TimeZoneInfo objects, each of which corresponds to a single time zone. The output data structure in JSON is shown below.

{
   "data": [
      {  /* TimeZoneInfo */
         "TimeZone": (string),
         "GMTOffset": (int),
         "Name": (string)
      }
      ...
   ]
}

Parameters are described below.

Parameter Description
TimeZoneInfo object
TimeZone Time zone designation.
GMTOffset Difference from GMT time, in seconds.
Name The name of the time zone.