REST Resource: accounts.reconciliationReports
Оптимизируйте свои подборки
Сохраняйте и классифицируйте контент в соответствии со своими настройками.
Ресурс: ReconciliationReport
Отчет о сверке (только для рекламы гостиниц). Охватывает функциональность отчетов о сверке в версиях API до версии 3.0. Позволяет просматривать статус, проверять и загружать отчеты о сверке комиссий. Это применимо только в том случае, если вы участвуете в Комиссионной программе Google Hotel Ads (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 UTC.
[null,null,["Последнее обновление: 2022-08-23 UTC."],[[["\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. |"]]