---
title: "GET /ad_report_task"
method: GET
path: "/ad_report_task"
tags: ["ad_report_task"]
---

# GET /ad_report_task

`GET /ad_report_task`

This method returns information on all the existing report tasks related to a seller. <p>Use the <b>report_task_statuses</b> query parameter to control which reports to return. You can paginate the result set by specifying a <b>limit</b>, which dictates how many report tasks to return on each page of the response. Use the <b>offset</b> parameter to specify how many reports to skip in the result set before returning the first result.</p>

## Query parameters

- `limit` string
- `offset` string
- `report_task_statuses` string

## Response `200`

Success

- ReportTaskPagedCollection — This type defines the fields that paginate the reports tasks returned by the request. The entire <i>result set</i> consists of 0 or more sequenced <i>response pages</i>, where each page consists of 0 or more items from the complete result set.
  - `href` string — The URI of the current page of results from the result set.
  - `limit` integer — The number of items returned on a single page from the result set. This value can be set in the request with the <b>limit</b> query parameter.
  - `next` string — The URI for the following page of results. This value is returned only if there is an additional page of results to display from the result set. <br><br><b>Max length</b>: 2048
  - `offset` integer — The number of results skipped in the result set before listing the first returned result. This value can be set in the request with the <b>offset</b> query parameter.<br /><br /><span class="tablenote"><span style="color:#004680"><strong>Note:</strong></span> The items in a paginated result set use a zero-based list where the first item in the list has an offset of <code>0</code>.</span>
  - `prev` string — The URI for the preceding page of results. This value is returned only if there is a previous page of results to display from the result set. <br><br><b>Max length</b>: 2048
  - `reportTasks` ReportTask[] — A list of report tasks contained on this page from the paginated response.
    - `campaignIds` string[] — A list of IDs for the campaigns that are included in the report. A campaign ID is a unique eBay-assigned identifier of the campaign that's generated when the campaign is created.<br /><br />Call <b>getCampaigns</b> to return the current campaign IDs for a seller.
    - `dateFrom` string — The date defining the start of the timespan covered by the report, formatted as an <a href="https://www.iso.org/iso-8601-date-and-time-format.html " title="https://www.iso.org " target="_blank">ISO 8601</a> timestamp.
    - `dateTo` string — The date defining the end of the timespan covered by the report, formatted as an <a href="https://www.iso.org/iso-8601-date-and-time-format.html " title="https://www.iso.org " target="_blank">ISO 8601</a> timestamp.
    - `dimensions` Dimension[] — A list containing the dimension in the report.
      - `annotationKeys` string[] — A list of annotations associated with the dimension of the report.
      - `dimensionKey` string — The name of the dimension on which the report is based. <p>A dimension is an attribute to which the report data applies.</p>
    - `fundingModels` string[] — The funding model for the campaign that shall be included in the report.<br /><br /><span class="tablenote"><span style="color:#004680"><strong>Note:</strong></span> The default funding model for Promoted Listings reports is <code>COST_PER_SALE</code>.</span><br /><br /><b>Valid Values:</b><ul><li><code>COST_PER_SALE</code></li><li><code>COST_PER_CLICK</code></li></ul>
    - `inventoryReferences` InventoryReference[] — If supplied in the request, this field returns a list of the seller's inventory reference IDs included in the report. <p>Each item is referenced by a pair of <b>inventoryRefernceID</b> and <b>inventoryReferenceType</b> values, where an inventory reference ID can be either a seller-defined <b>SKU</b> value or an <b>inventoryItemGroupKey</b>. An <b>inventoryItemGroupKey</b> is seller-defined ID for an inventory item group (a multiple-variation listing), and is created and used by the <a href="/api-docs/sell/inventory/resources/methods">Inventory API</a>.</p>
      - `inventoryReferenceId` string — The seller's inventory reference ID for an item that is managed with the Inventory API. <br><br>An inventory reference is either the ID of a single listing or the ID of the parent of an item group listing (a multi-variation listing, such as a shirt that is available in multiple sizes and colors). <br><br><i>Required if </i> if you supply an <b>inventoryReferenceType</b>.
      - `inventoryReferenceType` string — Indicates the type of item indicated by the <b>inventoryReferenceId</b>. <br><br>This value can be set to either <code>INVENTORY_ITEM</code> or <code>INVENTORY_ITEM_GROUP</code> (if the ID points to a multi-variation listing). <br><br><i>Required if </i> if you supply an <b>inventoryReferenceId</b>. For implementation help, refer to <a href='https://developer.ebay.com/api-docs/sell/marketing/types/pls:InventoryReferenceTypeEnum'>eBay API documentation</a>
    - `listingIds` string[] — If supplied in the request, this field returns a list of the listing IDs included in the report. A listing ID is an eBay-assigned ID that's generated when a listing is created.
    - `marketplaceId` string — The ID of the eBay marketplace used by the report task. For implementation help, refer to <a href='https://developer.ebay.com/api-docs/sell/marketing/types/ba:MarketplaceIdEnum'>eBay API documentation</a>
    - `metricKeys` string[] — A list of metrics for the report task.
    - `reportExpirationDate` string — The date after which the report is no longer be available. Reports are available for 30 days and you cannot download a report after it has expired. <br><br><b>Format (UTC): </b> yyyy-MM-ddThh:mm:ss.sssZ
    - `reportFormat` string — Indicates the format of the report. Currently, only <code>TSV_GZIP</code> is supported. For implementation help, refer to <a href='https://developer.ebay.com/api-docs/sell/marketing/types/plr:ReportFormatEnum'>eBay API documentation</a>
    - `reportHref` string — The URL of the generated report, which can be used to download the report once it has been generated.
    - `reportId` string — A unique eBay-assigned ID for the report.
    - `reportName` string — An eBay-assigned name for the report that's created by the <b>createReportTask</b> call. This name is unique for the seller.
    - `reportTaskCompletionDate` string — The date the report task completed the report generation. <br><br><b>Format (UTC): </b> yyyy-MM-ddThh:mm:ss.sssZ
    - `reportTaskCreationDate` string — The date the report task was created. <br><br><b>Format (UTC): </b> yyyy-MM-ddThh:mm:ss.sssZ
    - `reportTaskExpectedCompletionDate` string — The date the report task is expected to complete the report generation. <br><br><b>Format (UTC): </b> yyyy-MM-ddThh:mm:ss.sssZ
    - `reportTaskId` string — The unique eBay-assigned ID of the report task. This value is generated when the report task is created with a call to <b>createReportTask</b>.
    - `reportTaskStatus` string — Indicates the current state of the report task. For implementation help, refer to <a href='https://developer.ebay.com/api-docs/sell/marketing/types/plr:TaskStatusEnum'>eBay API documentation</a>
    - `reportTaskStatusMessage` string — A status message with additional information about the report task.
    - `reportType` string — Indicates type of report associated with the report task.<br/><br/><span class="tablenote"><b>Note:</b> INVENTORY_PERFORMANCE_REPORT is not currently available; availability date is pending.</span> For implementation help, refer to <a href='https://developer.ebay.com/api-docs/sell/marketing/types/plr:ReportTypeEnum'>eBay API documentation</a>
  - `total` integer — The total number of items retrieved in the result set. <br><br>If no items are found, this field is returned with a value of <code>0</code>.

## Other responses

- `400` — Bad Request
- `500` — Internal Server Error

---

[API](https://skmtc.net/ebay/apis/sell-marketing.md) · [All operations](https://skmtc.net/ebay/apis/sell-marketing/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/ebay/sell-marketing/versions/de10a5d47510/schema)
