Files: list

Lists files for a user profile. Try it now.


HTTP request



Parameter name Value Description
Path parameters
profileId long The Campaign Manager 360 user profile ID.
Optional query parameters
maxResults integer Maximum number of results to return. Acceptable values are 0 to 10, inclusive. (Default: 10)
pageToken string The value of the nextToken from the previous result page.
scope string The scope that defines which results are returned.

Acceptable values are:
  • "ALL": All files in account.
  • "MINE": My files. (default)
  • "SHARED_WITH_ME": Files shared with me.
sortField string The field by which to sort the list.

Acceptable values are:
  • "ID": Sort by file ID.
  • "LAST_MODIFIED_TIME": Sort by 'lastmodifiedAt' field. (default)
sortOrder string Order of sorted results.

Acceptable values are:
  • "ASCENDING": Ascending order.
  • "DESCENDING": Descending order. (default)


This request requires authorization with the following scope:


For more information, see the authentication and authorization page.

Request body

Do not supply a request body with this method.


If successful, this method returns a response body with the following structure:

  "kind": "dfareporting#fileList",
  "etag": etag,
  "nextPageToken": string,
  "items": [
    files Resource
Property name Value Description Notes
kind string Identifies what kind of resource this is. Value: the fixed string "dfareporting#fileList".
etag etag Etag of this resource.
nextPageToken string Continuation token used to page through files. To retrieve the next page of results, set the next request's "pageToken" to the value of this field. The page token is only valid for a limited amount of time and should not be persisted.
items[] list The files returned in this response.

Try it!

Use the APIs Explorer below to call this method on live data and see the response.