{ "opencollection": "1.0.0", "info": { "name": "eBay Account Advertising_eligibility Traffic_report API", "version": "v1.9.2" }, "items": [ { "info": { "name": "Traffic_report", "type": "folder" }, "items": [ { "info": { "name": "getTrafficReport", "type": "http" }, "http": { "method": "GET", "url": "https://api.ebay.com{basePath}/traffic_report", "params": [ { "name": "dimension", "value": "", "type": "query", "description": "This query parameter specifies the dimension, or \"attribute,\" that is applied to the report metric.

Valid values: DAY or LISTING

Examples " }, { "name": "filter", "value": "", "type": "query", "description": "This query parameter refines the information returned in the traffic report.

Note: URL encode all the values you supply in the filter parameter. See URL encoding query parameter values as described in URL parameters.

Configure the following properties of the filter parameter to tune the traffic report to your needs:
Example filter parameter
The following example shows how to configure the filter parameter with the marketplace_ids and date_range filters:

filter=marketplace_ids:{EBAY_US},date_range:[20170601..20170828]

Encoding this portion of the query parameter sample yields:

filter=marketplace_ids:%7BEBAY_US%7D,date_range:%5B20230601..20230828%5D


See samples for additional examples. For implementation help, refer to eBay API documentation at https://developer.ebay.com/api-docs/sell/analytics/types/csb:FilterField" }, { "name": "metric", "value": "", "type": "query", "description": "This query parameter specifies the metrics you want covered in the report.

Note: Unlike names for parameters and enumerated values, metric values are not case sensitive.

Valid values:Specify a comma-separated list of the metrics to include them in the report. See Using different metric parameters for more information including detailed metric descriptions and localized names." }, { "name": "sort", "value": "", "type": "query", "description": "This query parameter sorts the report on the specified metric.

You can only specify a single metric in the sort parameter and the specified metric must be included in the configuration of the report's metric parameter.

Sorting is helpful when you want to review how a specific metric is performing, such as the CLICK_THROUGH_RATE.

Most reports can be sorted in ascending or descending order. Precede the value of a descending-order request with a minus sign (\"-\"), for example: sort=-CLICK_THROUGH_RATE.

Note: There are a couple of constraints on sorting the report by different metrics: For implementation help, refer to eBay API documentation at https://developer.ebay.com/api-docs/sell/analytics/types/csb:SortField" } ], "auth": { "type": "oauth2", "flow": "authorization_code", "authorizationUrl": "https://auth.ebay.com/oauth2/authorize", "accessTokenUrl": "https://api.ebay.com/identity/v1/oauth2/token", "credentials": { "clientId": "{{clientId}}", "clientSecret": "{{clientSecret}}" } } }, "docs": "This method returns a report that details the user traffic received by a seller's listings.

A traffic report gives sellers the ability to review how often their listings appeared on eBay, how many times their listings are viewed, and how many purchases were made. The report also returns the report's start and end dates, and the date the information was last updated.

For more information, see Traffic " } ] } ], "bundled": true }