enum ExportFormat (v202408)
The file formats available for creating the report.
- Namespace
-
https://www.google.com/apis/ads/publisher/v202408
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-08-20 UTC.
[null,null,["Last updated 2024-08-20 UTC."],[[["`ExportFormat` determines the file format used when generating a report through the ReportService."],["Options include TSV, TSV_EXCEL, CSV_DUMP, XML, and XLSX, each with specific characteristics for data organization and formatting."],["CSV_DUMP is intended for automated processing and uses qualified column names, micros for monetary values, and ISO 8601 formatting for dates and times."],["Other formats like TSV, TSV_EXCEL, XML, and XLSX cater to different presentation and compatibility needs, such as spreadsheet software or XML parsing."]]],["The `ReportService` offers report generation capabilities with various file format options specified by `ExportFormat`. Available formats include `TSV` (Tab Separated Values), `TSV_EXCEL`, `CSV_DUMP` (for machine processing, using qualified names and ISO 8601 for dates), `XML`, and `XLSX` (Excel 2007+). `getReportDownloadURL()` is a key function within the service, along with the `ReportDownloadOptions`. The service namespace is `https://www.google.com/apis/ads/publisher/v202408`.\n"]]