Формирую параметры отчёта.
$params = [
"params" => [
"SelectionCriteria" => [
"DateFrom" => "$date[0]",
"DateTo" => "$date[1]",
"Filter" => [
"Field" => "CampaignId",
"Operator" => "IN" ,
"Values" => ["*******"]
]
],
"FieldNames" => ["Date", "CampaignName", "LocationOfPresenceName", "Impressions", "Clicks", "Cost"],
"ReportName" => "НАЗВАНИЕ_ОТЧЕТА",
"ReportType" => "CAMPAIGN_PERFORMANCE_REPORT",
"DateRangeType" => "CUSTOM_DATE",
"Format" => "TSV",
"IncludeVAT" => "NO",
"IncludeDiscount" => "NO"
]
];
В ответ ошибка - "Filter должен содержать массив"..
Вродебы массив и содержит