enum ExportFormat (v202411)
The file formats available for creating the report.
- Namespace
-
https://www.google.com/apis/ads/publisher/v202411
Enumeration |
Description |
TSV
|
The report file is generated as a list of Tab Separated Values.
|
TSV_EXCEL
|
The report file is generated as a list of tab-separated values for Excel.
|
CSV_DUMP
|
The report file is generated as a list of Comma Separated Values,
to be used with automated machine processing.
- There is no pretty printing for the output, and no total
row.
- Column headers are the qualified name e.g.
"Dimension.ORDER_NAME".
- Network currency Monetary amounts are represented as micros in
the currency of the network.
- Starting from v201705, local currency Monetary amounts are
represented as currency symbol + ' ' + micros.
- Dates are formatted according to the ISO 8601 standard
YYYY-MM-DD
- DateTimes are formatted according to the ISO 8601 standard
YYYY-MM-DDThh:mm:ss[+-]hh:mm
|
XML
|
The report file is generated as XML.
|
XLSX
|
The report file is generated as an Office Open XML spreadsheet
designed for Excel 2007+.
|
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2024-11-19 UTC.
[null,null,["Last updated 2024-11-19 UTC."],[[["`ExportFormat` defines the file format for reports generated by the ReportService."],["Available formats include TSV, TSV_EXCEL, CSV_DUMP, XML, and XLSX, each with specific characteristics."],["CSV_DUMP is intended for automated processing and uses specific formatting for currency and dates."],["Reports can be generated in formats compatible with Excel (TSV_EXCEL, XLSX) and general data formats (TSV, XML)."]]],["The `ReportService` allows for report generation in various formats. Available `ExportFormat` options include `TSV`, `TSV_EXCEL`, `CSV_DUMP`, `XML`, and `XLSX`. `CSV_DUMP` is designed for machine processing with qualified column names, network currency in micros, and ISO 8601 date/time formatting. The `getReportDownloadURL()` function and `ReportDownloadOptions` are dependencies within this service. Each format option produces a file with a distinct structure, like tab-separated values or an XML structure.\n"]]