REST Resource: accounts.reconciliationReports
透過集合功能整理內容
你可以依據偏好儲存及分類內容。
資源:ReconciliationReport
對帳報告 (僅限飯店廣告)。涵蓋 3.0 版 API 版本的對帳報告功能。供您查看狀態、驗證並上傳佣金對帳報告。僅適用於 Google 飯店廣告佣金計畫 (GHACP) 的使用者。如要進一步瞭解如何在 Hotel Center 中使用對帳報告,請參閱對帳報告。
JSON 表示法 |
{
"name": string,
"contents": string,
"fileName": string
} |
欄位 |
name |
string
資源名稱,格式為 accounts/{account_id}/reconciliationReports/{datetime}~{filename} 。「{datetime} 」的值必須介於 0001-01-01T00:00:00 到 9999-12-31T23:59:59 (含) 之間。
|
contents |
string
必要,佣金報表的內容。報表內容必須符合對帳報告中的規定。
|
fileName |
string
必要,對帳報告所需的檔案名稱。
|
方法 |
|
製作對帳報告並上傳至 Google。 |
|
傳回對帳報告。 |
|
傳回已建立對帳報告的名稱清單。 |
|
驗證對帳報告。 |
保留所有權利。Java 是 Oracle 和/或其關聯企業的註冊商標。
上次更新時間:2022-08-23 (世界標準時間)。
[null,null,["上次更新時間:2022-08-23 (世界標準時間)。"],[[["\u003cp\u003eThe Reconciliation Report resource, specific to Hotel Ads and pre-v3.0 APIs, enables managing commission reconciliation reports for Google Hotel Ads Commissions Program (GHACP) participants.\u003c/p\u003e\n"],["\u003cp\u003eIt allows you to check the status, validate the format, and upload your commission reports, with further details available in the provided Hotel Center link.\u003c/p\u003e\n"],["\u003cp\u003eYou can utilize methods like \u003ccode\u003ecreate\u003c/code\u003e, \u003ccode\u003eget\u003c/code\u003e, \u003ccode\u003elist\u003c/code\u003e, and \u003ccode\u003evalidate\u003c/code\u003e to interact with reconciliation reports via the API.\u003c/p\u003e\n"],["\u003cp\u003eThe report data is structured in JSON format with fields like \u003ccode\u003ename\u003c/code\u003e, \u003ccode\u003econtents\u003c/code\u003e, and \u003ccode\u003efileName\u003c/code\u003e, adhering to specific content requirements outlined in the linked documentation.\u003c/p\u003e\n"]]],[],null,["# REST Resource: accounts.reconciliationReports\n\n- [Resource: ReconciliationReport](#ReconciliationReport)\n - [JSON representation](#ReconciliationReport.SCHEMA_REPRESENTATION)\n- [Methods](#METHODS_SUMMARY)\n\nResource: ReconciliationReport\n------------------------------\n\nReconciliation report (Hotel Ads only). Covers the Reconciliation Reports functionality in pre-v3.0 API versions. Lets you see the status, validate, and upload your Commissions reconciliation reports. This only applies if you are in the Google Hotel Ads Commissions Program (GHACP). For more information about working with reconciliation reports in Hotel Center, refer to [Reconciliation reports](//support.google.com/hotelprices/answer/7019060#sending).\n\n| JSON representation |\n|--------------------------------------------------------------------|\n| ``` { \"name\": string, \"contents\": string, \"fileName\": string } ``` |\n\n| Fields ||\n|------------|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `name` | `string` Resource name in the format `accounts/{account_id}/reconciliationReports/{datetime}~{filename}`. The value for `{datetime}` must be from 0001-01-01T00:00:00 to 9999-12-31T23:59:59 inclusive. |\n| `contents` | `string` Required. The contents of the commission report. Report contents must conform to the requirements specified in [Reconciliation reports](//support.google.com/hotelprices/answer/7019060#creating). |\n| `fileName` | `string` Required. Desired filename of the reconciliation report. |\n\n| Methods ------- ||\n|----------------------------------------------------------------------------------------------------|----------------------------------------------------------------|\n| ### [create](/hotels/hotel-prices/api-reference/rest/v3/accounts.reconciliationReports/create) | Creates a reconciliation report and uploads it to Google. |\n| ### [get](/hotels/hotel-prices/api-reference/rest/v3/accounts.reconciliationReports/get) | Returns a reconciliation report. |\n| ### [list](/hotels/hotel-prices/api-reference/rest/v3/accounts.reconciliationReports/list) | Returns a list of the names of created reconciliation reports. |\n| ### [validate](/hotels/hotel-prices/api-reference/rest/v3/accounts.reconciliationReports/validate) | Validates a reconciliation report. |"]]