AI-generated Key Takeaways
-
This method lists files for a user profile using a GET request to the specified URL.
-
The API request includes a required path parameter
profileIdand optional query parameters likemaxResults,pageToken,scope,sortField, andsortOrder. -
The request body must be empty, and a successful response body will contain a
FileListinstance. -
The request requires the
https://www.googleapis.com/auth/dfareportingOAuth scope for authorization. -
The
scopeandsortFieldparameters use specific enum values to filter and order the results respectively.
- HTTP request
- Path parameters
- Query parameters
- Request body
- Response body
- Authorization scopes
- Scope
- SortField
- Try it!
Lists files for a user profile.
HTTP request
GET https://dfareporting.googleapis.com/dfareporting/v5/userprofiles/{profileId}/files
The URL uses gRPC Transcoding syntax.
Path parameters
| Parameters | |
|---|---|
profileId |
The Campaign Manager 360 user profile ID. |
Query parameters
| Parameters | |
|---|---|
maxResults |
Maximum number of results to return. |
pageToken |
The value of the nextToken from the previous result page. |
scope |
The scope that defines which results are returned. |
sortField |
The field by which to sort the list. |
sortOrder |
Order of sorted results. |
Request body
The request body must be empty.
Response body
If successful, the response body contains an instance of FileList.
Authorization scopes
Requires the following OAuth scope:
https://www.googleapis.com/auth/dfareporting
Scope
| Enums | |
|---|---|
ALL |
All files in account. |
MINE |
My files. |
SHARED_WITH_ME |
Files shared with me. |
SortField
| Enums | |
|---|---|
ID |
Sort by file ID. |
LAST_MODIFIED_TIME |
Sort by 'lastmodifiedAt' field. |