How to request conversion statistics

Requests concerning conversions allow obtaining statistics on desired actions in terms of campaigns, attraction sources, users' geography, etc.

Data on conversions

Sample tabular data request #

Requesting the number of conversions in terms of attraction sources:

GET https:///content.mql5.com/v1/reports/website/dxnnhxrwpcwsgwowveipxmslrznjfhzarp/table
 ?metrics=events_conversions
 &date_from=1549027860
 &date_to=1549632660
 &groups=request_source_domain_alias

Response:

{
    "data": {
        "date_from": 1549027860,
        "date_to": 1549632660,
        "items": [ {
            "request_source_domain_alias""google",
            "events_conversions": 180
        }, {
            "request_source_domain_alias""facebook",
            "events_conversions": 263
        }, {
            "request_source_domain_alias""baidu",
            "events_conversions": 38
        } ]
    }
}