<!-- POST the request body to this endpoint -->
https://uslicer.iponweb.com/API/v2/export
Overview
Exports report data to a file of the xls
, csv
, tsv
or tsv2
format. Data is restricted by query parameters passed in the POST request body.
<!-- POST the request body to this endpoint -->
Request Fields
export Request Fields | |
---|---|
Field | Description |
| (optional) An array of filters with the following details
|
| An array of key field values from the |
| Sets the start of the date range from which to gather data. Supported formats:
|
| Sets the end of the date range from which to gather data. Supported formats:
|
| (optional): Time zone UTC offset in hours, where N can be any integer in the range of |
| (optional): defines whether key field value mappings are returned by the API request. The default value is 1 (mappings are returned), if only 1 key field is used in the |
| (optional): defines whether to display Total values in the exported file. Possible values: (0 - don’t display Total values in the exported file, 1 - display Total values in the exported file). The default value is 0. |
| target file format: xls, csv, tsv or tsv2 |
| (optional): an array with the following structure: |
Response Fields
Audience Response Fields | |
---|---|
Field | Description |
| Returns the status of the request,
|
| user-friendly description of the occurred error. This field is displayed for failed requests only. |
| this section contains information about the entire dataset returned by the query.
|
| this section contains query data results. It is an array of data rows, each containing the following fields.
|
| the confidence range for data (percent), presented in this section, if returned dataset is compressed. Available for every data row in the resulting dataset. |
curl --data '{"slicer_name":"<name: ask Account Manager>","project_name":"<name: ask Account Manager>","token":"<token>","split_by":["bid_context_wrapper.demand.campaign_id"],"start_date":"2019-10-15","end_date":"2019-10-28","export_format":"csv","filters":[{"name":"bid_context_wrapper.user.geo.country_region","value":["California"],"match":"equals"},{"name":"bid_context_wrapper.user.agent.browser.name","value":["Chrome"],"match":"equals"}]}' -H "Content-Type: application/json" -H "Accept: application/json" "https://uslicer.iponweb.com/API/v2/export"
curl Example
"name": "bid_context_wrapper.user.geo.country_region",
Request Example
"Campaign ID","Impressions","Bids","Clicks","CTR","PVC","PCC","Win Bid CPM","Cost","eCPM","eCPC"