Upload file for processing
Upload a batch file to Analytics for processing. Uploaded files must:
- Be 100 MB or less compressed (using gzip)
- Follow the CSV formatting rules and include the required fields as specified in the documentation
Request
- Base URL: https://analytics-collection.adobe.io/aa/collect/v1
- URL: https://analytics-collection.adobe.io/aa/collect/v1/events
- Auth: none declared. Required headers: Authorization, x-api-key, x-adobe-vgid
Query parameters
Store debug information for the first 10 hits of the file
Headers
The access token from your OAuth Server-to-Server credential, prefixed with "Bearer ".
The Client ID (API key) from your OAuth Server-to-Server credential in the Adobe Developer Console.
Visitor Group ID. A visitor group represents a bucketed group of visitor IDs that are separate from any other visitor group set. The Group ID is a string of any valid value, but must be consistent across files. See Visitor groups for more information.
Optional. A client-generated unique reference for the upload, used for duplication protection when a request does not return a response. If omitted, it defaults to the generated file_id.
Response
OK
Example response
{
"file_id": "9c99f999-fca9-999c-9c99-b99aaec99e99",
"visitor_group_id": "myvisitorgroup1",
"size": 355600,
"received_date": 1506999999,
"rows": 10000,
"invalid_rows": 42,
"upload_name": "myfile1.gz",
"status_code": "UPLOADED",
"error": "File not in GZIP format"
}Changes
No recorded changes to this operation across all 2 revisions of this API.