I'm trying to use the Call Metrics Call Details Report with a custom date range and the response tells me it is not supported. I've used custom date ranges successfully with other ad hoc reports, but I haven't been able to get this one to work.
Also, if i used any of the predefined values for dateRangeType, e.g. LAST_MONTH, or LAST_7_DAYS it always seems to return data outside of the specified range.
Any suggestions on how I can use custom date ranges with this report?
Here's my XML:
<selector>
<fields>CampaignId</fields>
<fields>CampaignName</fields>
<fields>CallStartTime</fields>
<fields>CallEndTime</fields>
<fields>CallStatus</fields>
<fields>CallDuration</fields>
<fields>CallerNationalDesignatedCode</fields>
<fields>OfflineInteractionCost</fields>
<fields>CallType</fields>
<dateRange>
<min>20140315</min>
<max>20140331</max>
</dateRange>
</selector>
<reportName>Custom Performance Report</reportName>
<reportType>CALL_METRICS_CALL_DETAILS_REPORT</reportType>
<dateRangeType>CUSTOM_DATE</dateRangeType>
<downloadFormat>XML</downloadFormat>
</reportDefinition>
And here is the response:
<?xml version="1.0" encoding="UTF-8" standalone="yes"?><reportDownloadError><ApiError><type>SelectorError.FILTER_BY_DATE_RANGE_NOT_SUPPORTED</type><trigger>Filtering by date range not supported.</trigger><fieldPath></fieldPath></ApiError></reportDownloadError>
Any help would be appreciated.
Thanks!