REST Resource: accounts.reconciliationReports
使用集合让一切井井有条
根据您的偏好保存内容并对其进行分类。
资源:对帐报告
对帐报告(仅限酒店广告)。介绍了 v3.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 和/或其关联公司的注册商标。
最后更新时间 (UTC):2022-08-23。
[null,null,["最后更新时间 (UTC):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. |"]]