當地時區報表
有了當地時區報表,您就可以依據 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 和/或其關聯企業的註冊商標。
上次更新時間:2024-08-22 (世界標準時間)。
[null,null,["上次更新時間:2024-08-22 (世界標準時間)。"],[[["AdSense reports are now generated in the user's local time zone by default, offering a more relevant view of data."],["Users can configure their preferred time zone within their AdSense account settings for use across the website and API."],["Reports can be generated using the billing time zone (America/Los_Angeles) by explicitly setting the `reportingTimeZone` parameter to `GOOGLE_TIME_ZONE`."],["Changing the account's time zone may result in inconsistent reporting data for a brief period, which should be taken into consideration."]]],["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"]]