GET Reports/Attributions?campaignId={campaignId}&poolId={poolId}&start={start}&end={end}&source={source}
Get attributions
Returns
HTTP 200
Request Information
Parameters
Name | Description | Additional information |
---|---|---|
campaignId | Filter by campaign ID |
Define this parameter in the request URI. This parameter is optional. |
poolId | Filter by pool ID |
Define this parameter in the request URI. This parameter is optional. |
start | Date of period start |
Define this parameter in the request URI. This parameter is optional. |
end | Date of period end |
Define this parameter in the request URI. This parameter is optional. |
source | Filter by source |
Define this parameter in the request URI. This parameter is optional. |
Response Information
Response body formats
application/json, text/json, text/html
Sample:
[ { "CallType": 0, "Source": "Google Organic", "CallCount": 5, "Percent": 0 }, { "CallType": 0, "Source": "Direct", "CallCount": 3, "Percent": 0 }, { "CallType": 0, "Source": "Referral", "CallCount": 1, "Percent": 0 } ]
application/xml, text/xml
Sample:
<ArrayOfConversionAttributionStats xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/CallTracker.BLL.Models"> <ConversionAttributionStats> <CallCount>5</CallCount> <CallType>0</CallType> <Percent>0</Percent> <Source>Google Organic</Source> </ConversionAttributionStats> <ConversionAttributionStats> <CallCount>3</CallCount> <CallType>0</CallType> <Percent>0</Percent> <Source>Direct</Source> </ConversionAttributionStats> <ConversionAttributionStats> <CallCount>1</CallCount> <CallType>0</CallType> <Percent>0</Percent> <Source>Referral</Source> </ConversionAttributionStats> </ArrayOfConversionAttributionStats>