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.

ParameterDescription
TimeZoneInfo object
TimeZoneTime zone designation.
GMTOffsetDifference from GMT time, in seconds.
NameThe name of the time zone.