AMALYZE Falcon API
Metrics Object
Request
Specifies the required metrics to be returned. See table below for valid values.
JavaScript
1 2 3 4 5 |
"metrics": [ "salesOtherSKU30D", "unitsOtherSKU7D", "salesPerUnitOtherSKU30D" ] |
This example will return salesOtherSKU30D
, unitsOtherSKU7D
, salesPerUnitOtherSKU30D
Sorting Object
Request
Specifies the (metric) colums and directions to be sorted for. See table below for valid values.
JavaScript
1 2 3 4 5 6 |
"sorting": [ { "column": "salesPerUnitOtherSKU30D", "direction": "desc" } ] |
This example will sort by salesPerUnitOtherSKU30D
in descending
order
Filter Object
Request
Specifies the (metric) filters to be applied. See table below for valid values.
JavaScript
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 |
"filters": { "salesPerUnitOtherSKU30D": [ { "op": "gte", "value": 1 }, { "op": "lte", "value": 1000 } ], "salesAllSKU30D": [ { "op": "gte", "value": 100 } ] } |
This example will return only entries having salesPerUnitAllSKU30D >= 1 && salesPerUnitAllSKU30D <= 1000 && salesAllSKU30D >= 100
Property | Description | Comment |
| Number of attributed sales occurring within 1,7,14 and 30 day(s) of click on ad. | since 0.1.14 |
| Number of attributed units ordered within 1, 7, 14 and 30 day(s) of click on ad. | since 0.1.14 |
| Average cost per attributed units ordered within 1, 7, 14 and 30 day(s) of click on adcpu = sales / units | since 0.1.14 |