enum ExportFormat (v202402)
The file formats available for creating the report.
- Namespace
-
https://www.google.com/apis/ads/publisher/v202402
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-02-13 UTC.
[null,null,["Last updated 2024-02-13 UTC."],[[["`ExportFormat` defines the file format for generating reports, available through the `ReportService`."],["Options include `TSV`, `TSV_EXCEL`, `CSV_DUMP`, `XML`, and `XLSX`, each with specific characteristics for data representation."],["`CSV_DUMP` provides raw data for automated processing, with minimal formatting and qualified column headers."],["Other formats cater to spreadsheet software or XML processing, offering varying levels of structure and readability."],["Reports can be downloaded using the `getReportDownloadURL()` method within the `ReportService`, specifying the desired format."]]],["The `ReportService` allows users to generate reports in various file formats. Key actions include utilizing `getReportDownloadURL()` with `ReportDownloadOptions`. Available `ExportFormat` options are `TSV` (tab-separated values), `TSV_EXCEL` (tab-separated values for Excel), `CSV_DUMP` (comma-separated values for machine processing), `XML`, and `XLSX` (Excel spreadsheet). `CSV_DUMP` outputs include qualified column names, network currency in micros, and ISO 8601 formatted dates/datetimes.\n"]]