當地時區報表
透過集合功能整理內容
你可以依據偏好儲存及分類內容。
有了當地時區報表,您就可以依據 AdSense 帳戶的當地時區執行報表。從 AdSense Management API 第 2 版起,這項功能預設為啟用。
正在設定
在大多數情況下,使用當地時區報表時,您只需要讓 AdSense 使用者設定帳戶的當地時區即可。這樣就能選擇與自己更相關的時區,並在 AdSense 網站和 AdSense Management API 報表中都使用該時區。
索取報表
根據預設,AdSense 網站和 AdSense Management API 會使用帳戶的當地時區產生報表。如果是 AdSense Management API,您可以透過 reportingTimeZone
參數 (請參閱 ReportingTimeZone
) 控制臨時和已儲存的報表產生請求。
如要停用當地時區報表功能,reportingTimeZone
參數應設為 GOOGLE_TIME_ZONE
;這樣會產生使用帳單時區的報表 (一律為 America/Los_Angeles)。
請注意,如果使用者從未設定帳戶的當地時區,系統會將其帳戶時區視為 America/Los_Angeles 時區和帳單時區。
注意事項
變更時區
更改帳戶時區後,報表資料最多會有兩天的過渡期,因此報表資料可能會不一致。這個資料會一直不一致,因此申請時請特別留意這些轉換點。
最值得一提的就是帳戶第一次設定當地時區時,就會從預設帳戶時區切換成所選時區。
除非另有註明,否則本頁面中的內容是採用創用 CC 姓名標示 4.0 授權,程式碼範例則為阿帕契 2.0 授權。詳情請參閱《Google Developers 網站政策》。Java 是 Oracle 和/或其關聯企業的註冊商標。
上次更新時間:2025-07-26 (世界標準時間)。
[null,null,["上次更新時間:2025-07-26 (世界標準時間)。"],[[["\u003cp\u003eAdSense reports are now generated in the user's local time zone by default, offering a more relevant view of data.\u003c/p\u003e\n"],["\u003cp\u003eUsers can configure their preferred time zone within their AdSense account settings for use across the website and API.\u003c/p\u003e\n"],["\u003cp\u003eReports can be generated using the billing time zone (America/Los_Angeles) by explicitly setting the \u003ccode\u003ereportingTimeZone\u003c/code\u003e parameter to \u003ccode\u003eGOOGLE_TIME_ZONE\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eChanging the account's time zone may result in inconsistent reporting data for a brief period, which should be taken into consideration.\u003c/p\u003e\n"]]],["AdSense's local time zone reporting, enabled by default in API v2, allows reports to use the user's chosen time zone. Users must configure their account's local time zone. The `reportingTimeZone` parameter manages this in the API; setting it to `GOOGLE_TIME_ZONE` uses the billing time zone (America/Los_Angeles). If no user timezone is set the billing time zone is used. Time zone changes may cause up to two days of inconsistent reporting data.\n"],null,["# Local Time Zone Reporting\n\nLocal time zone reporting allows you to run reports in the AdSense account's local time zone. As of v2 of the AdSense Management API, this functionality is enabled by default.\n\nSetting things up\n-----------------\n\nIn most cases, all that is required to use local time zone reporting is for the AdSense user to [configure their account's local time zone](https://support.google.com/adsense/answer/9830725). This allows them to choose a time zone that is more relevant to them, and use it across the AdSense website and AdSense Management API reports.\n\nRequesting a report\n-------------------\n\nThe AdSense website and AdSense Management API will use the account's local time zone by default to generate reports. For the AdSense Management API, this choice is controlled via a `reportingTimeZone` parameter (see [`ReportingTimeZone`](/adsense/management/reference/rest/v2/ReportingTimeZone)) for both [ad hoc](/adsense/management/reference/rest/v2/accounts.reports) and [saved report](/adsense/management/reference/rest/v2/accounts.reports.saved) generation requests.\n\nTo disable local time zone reporting, the `reportingTimeZone` parameter should be set to `GOOGLE_TIME_ZONE`; this generates reports using the billing time zone (always America/Los_Angeles).\n\nNote that if the user has never [set the local time zone for the account](https://support.google.com/adsense/answer/9830725), their account time zone will be considered to be America/Los_Angeles, the same as the billing time zone.\n\nThings to watch out for\n-----------------------\n\n### Changing time zones\n\nWhenever the time zone for an account is changed, there will be a short transition period of up to two days where the reporting data will potentially be inconsistent. This data will always remain inconsistent, so be careful to note these transition points in your application, if possible.\n\nOne particularly relevant example of these transitions is when the local time zone for an account is first set: this will essentially be a switch from the default account time zone to the chosen time zone."]]