Uploads

The Uploads collection is a set of Upload resources, each of which describes an upload for one of the user's custom data sources.
This resource should be used when uploading Dimension Widening data.

For a list of methods for this resource, see the end of this page.

Resource representations

Metadata returned for an upload operation.

{
  "id": string,
  "kind": "analytics#upload",
  "accountId": long,
  "customDataSourceId": string,
  "status": string,
  "uploadTime": datetime,
  "errors": [
    string
  ]
}
Property name Value Description Notes
accountId long Account Id to which this upload belongs.
customDataSourceId string Custom data source Id to which this data import belongs.
errors[] list Data import errors collection.
id string A unique ID for this upload.
kind string Resource type for Analytics upload.
status string Upload status. Possible values: PENDING, COMPLETED, FAILED, DELETING, DELETED.
uploadTime datetime Time this file was uploaded.

Methods

deleteUploadData
Delete data associated with a previous upload.
get
List uploads to which the user has access.
list
List uploads to which the user has access.
uploadData
Upload data for a custom data source.