Represents a File resource. A file contains the metadata for a report run. It shows the status of the run and holds the URLs to the generated report data if the run is finished and the status is
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-09-02 UTC."],[],[],null,["- [JSON representation](#SCHEMA_REPRESENTATION)\n- [Status](#Status)\n- [DateRange](#DateRange)\n - [JSON representation](#DateRange.SCHEMA_REPRESENTATION)\n- [RelativeDateRange](#RelativeDateRange)\n- [Format](#Format)\n\nRepresents a File resource. A file contains the metadata for a report run. It shows the status of the run and holds the URLs to the generated report data if the run is finished and the status is\n\n`\"REPORT_AVAILABLE\"`\n\n.\n\n| JSON representation |\n|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| ``` { \"id\": string, \"reportId\": string, \"etag\": string, \"status\": enum (/doubleclick-advertisers/rest/v5/File#Status), \"fileName\": string, \"kind\": string, \"dateRange\": { object (/doubleclick-advertisers/rest/v5/File#DateRange) }, \"format\": enum (/doubleclick-advertisers/rest/v5/File#Format), \"lastModifiedTime\": string, \"urls\": { \"browserUrl\": string, \"apiUrl\": string } } ``` |\n\n| Fields ||\n|--------------------|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `id` | `string (`[int64](https://developers.google.com/discovery/v1/type-format)` format)` The unique ID of this report file. |\n| `reportId` | `string (`[int64](https://developers.google.com/discovery/v1/type-format)` format)` The ID of the report this file was generated from. |\n| `etag` | `string` Etag of this resource. |\n| `status` | `enum (`[Status](/doubleclick-advertisers/rest/v5/File#Status)`)` The status of the report file. |\n| `fileName` | `string` The filename of the file. |\n| `kind` | `string` Identifies what kind of resource this is. Value: the fixed string `\"dfareporting#file\"` . |\n| `dateRange` | `object (`[DateRange](/doubleclick-advertisers/rest/v5/File#DateRange)`)` The date range for which the file has report data. The date range will always be the absolute date range for which the report is run. |\n| `format` | `enum (`[Format](/doubleclick-advertisers/rest/v5/File#Format)`)` The output format of the report. Only available once the file is available. |\n| `lastModifiedTime` | `string (`[int64](https://developers.google.com/discovery/v1/type-format)` format)` The timestamp in milliseconds since epoch when this file was last modified. |\n| `urls` | `object` The URLs where the completed report file can be downloaded. |\n| `urls.browserUrl` | `string` The URL for downloading the report data through a browser. |\n| `urls.apiUrl` | `string` The URL for downloading the report data through the API. |\n\nStatus\n\n| Enums ||\n|--------------------|---|\n| `PROCESSING` | |\n| `REPORT_AVAILABLE` | |\n| `FAILED` | |\n| `CANCELLED` | |\n| `QUEUED` | |\n\nDateRange Represents a date range.\n\n| JSON representation |\n|---------------------------------------------------------------------------------------------------------------------------------------------------------|\n| ``` { \"startDate\": string, \"endDate\": string, \"relativeDateRange\": enum (/doubleclick-advertisers/rest/v5/File#RelativeDateRange), \"kind\": string } ``` |\n\n| Fields ||\n|---------------------|--------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `startDate` | `string` The start date of the date range, inclusive. A string of the format: \"yyyy-MM-dd\". |\n| `endDate` | `string` The end date of the date range, inclusive. A string of the format: \"yyyy-MM-dd\". |\n| `relativeDateRange` | `enum (`[RelativeDateRange](/doubleclick-advertisers/rest/v5/File#RelativeDateRange)`)` The date range relative to the date of when the report is run. |\n| `kind` | `string` The kind of resource this is, in this case `dfareporting#dateRange` . |\n\nRelativeDateRange\n\n| Enums ||\n|--------------------|---|\n| `TODAY` | |\n| `YESTERDAY` | |\n| `WEEK_TO_DATE` | |\n| `MONTH_TO_DATE` | |\n| `QUARTER_TO_DATE` | |\n| `YEAR_TO_DATE` | |\n| `PREVIOUS_WEEK` | |\n| `PREVIOUS_MONTH` | |\n| `PREVIOUS_QUARTER` | |\n| `PREVIOUS_YEAR` | |\n| `LAST_7_DAYS` | |\n| `LAST_30_DAYS` | |\n| `LAST_90_DAYS` | |\n| `LAST_365_DAYS` | |\n| `LAST_24_MONTHS` | |\n| `LAST_14_DAYS` | |\n| `LAST_60_DAYS` | |\n\nFormat\n\n| Enums ||\n|---------|---|\n| `CSV` | |\n| `EXCEL` | |"]]