Error: Data structure returned is not convertible in the requested format. Try to call this method with the parameters '&format=original&serialize=1'; you will get the original php data structure serialized. The data structure looks like this: $data = array ( 'numSites' => 1, 'totals' => array ( 'nb_pageviews' => '15', 'nb_visits' => '13', 'nb_actions' => '15', 'revenue' => '0', 'nb_visits_lastdate' => 18.0, ), 'lastDate' => '2024-05-15', 'sites' => array ( 0 => array ( 'label' => 'breat.fr', 'nb_visits' => '13', 'nb_actions' => '15', 'nb_pageviews' => '15', 'revenue' => '€0', 'nb_conversions' => 0, 'visits_evolution' => '-27.8%', 'visits_evolution_trend' => -1, 'actions_evolution' => '-83%', 'actions_evolution_trend' => -1, 'pageviews_evolution' => '-83%', 'pageviews_evolution_trend' => -1, 'revenue_evolution' => '0%', 'revenue_evolution_trend' => 0, 'nb_conversions_evolution' => '0%', 'nb_conversions_evolution_trend' => 0, 'idsite' => 1, 'ratio' => 1, 'currencySymbol' => '€', 'previous_nb_visits' => 18, 'periodName' => 'day', 'previousRange' => 'Wed, May 15', 'previous_nb_actions' => 88, 'previous_Actions_nb_pageviews' => 88, 'previous_Goal_revenue' => 0, 'previous_Goal_nb_conversions' => 0, 'group' => '', 'main_url' => 'https://breat.fr', ), ), );