enum TimeZoneType (v202408)
Enumerates all allowed time zones that can be used in reports. Note that some time zones are only
compatible with specific fields.
- Namespace
-
https://www.google.com/apis/ads/publisher/v202408
Enumeration |
Description |
UNKNOWN
|
The value returned if the actual value is not exposed by the requested API version.
|
PUBLISHER
|
Use the publisher's time zone. For Ad Manager reports, this time
zone is compatible with all metrics. For Ad Exchange reports, this
time zone is not compatible with "Bids" and "Deals" metrics.
Note: if your report includes "time unit" dimensions,
only the Ad Manager "time unit" dimensions are compatible with this
timezone, e.g.:
|
PACIFIC
|
Use the PT time zone. This time zone is only compatible with Ad
Exchange metrics in Historical report type.
Note: if your report includes "time unit" dimensions,
only the PT "time unit" dimensions are compatible with this
timezone, e.g.:
-
DATE_PT
-
WEEK_PT
-
MONTH_YEAR_PT
-
DAY_PT
|
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2024-08-20 UTC.
[null,null,["Last updated 2024-08-20 UTC."],[[["`TimeZoneType` enumerates the time zones allowed when generating reports, emphasizing that compatibility may vary with specific fields."],["Time zone options include `PUBLISHER` (using the publisher's time zone), `PACIFIC` (using PT time zone), and `UNKNOWN` (for values not exposed by the API version)."],["The publisher's time zone is compatible with all Ad Manager metrics, while in Ad Exchange reports, it's incompatible with \"Bids\" and \"Deals\" metrics."],["The PT time zone is only compatible with Ad Exchange metrics in Historical reports and has specific compatible \"time unit\" dimensions."],["Each time zone has specific compatible \"time unit\" dimensions, such as `DATE`, `WEEK`, and `MONTH_AND_YEAR` for the publisher's time zone, and `DATE_PT`, `WEEK_PT`, `MONTH_YEAR_PT`, and `DAY_PT` for the PT time zone."]]],["The `TimeZoneType` defines allowed time zones for reports, with specific compatibility. `UNKNOWN` is for unexposed values. `PUBLISHER` uses the publisher's time zone, compatible with all Ad Manager metrics but restricted for certain Ad Exchange metrics and \"time unit\" dimensions. `PACIFIC` uses PT, compatible only with Ad Exchange metrics in historical reports and specific PT \"time unit\" dimensions. The available dimensions vary for each time zone type.\n"]]