The QueueDataWarehouse function allows to access to Data WareHouse data
and returns either json or sends a csv to a ftp server.
Because of the Reporting API structure, this function requests the
report, then, if enqueueOnly=FALSE
, checks the reporting queue to see if the report is completed,
and when the report returns as "done" pulls the report from the API (if ftp is not defined).
This checking process will occur up to the specified number of times (default 120),
with a delay between status checks (default 5 seconds). If the report does not
return as "done" or a "delivery_complete" after the number of tries have completed, the function will return
an error message. When enqueueOnly=TRUE
and no ftp server is set, the report can be retrieved with Report.Get
using the reportId returned by the QueueDataWarehouse function.
Data Warehouse documentation:
https://docs.adobe.com/content/help/en/analytics/export/data-warehouse/data-warehouse.html
Data Warehouse (1.4) API documentation:
https://github.com/AdobeDocs/analytics-1.4-apis/blob/master/docs/reporting-api/data_warehouse.md
Multiple segments are supported as long as they are compatible with Data Warehouse.
Classifications are supported, and if supplied, must be equal in length to elements. Pad out classifications
with either a blank string or NA if and as necessary.
The following element properties are not supported in Data Warehouse reports:
- selected
- search
- top
- startingWith
- sortBy
Calculated metrics are not supported.
Results for data warehouse reports can be accessed in two ways: directly through the API and
through FTP delivery. Email delivery is not supported.
All data warehouse results are paged in chunks of 20 MB. Add "page": to Report.Get
to determine the page returned. If no page is specified then the first page is returned.