google analytics api v4 using PHP. Ordering output -


i have code on google analytics api v4 php.

  $ecpm_adsense = new google_service_analyticsreporting_metric();   $ecpm_adsense->setexpression("ga:adsenseecpm");   $ecpm_adsense->setalias("ecpm adsense");       // create ordering.     $ordering = new google_service_analyticsreporting_orderby();     $ordering->setfieldname("ga:adsenseecpm");     $ordering->setordertype("value");        $ordering->setsortorder("descending"); 

the ordering not works me. can me? thanks

i have created library integrate analytics api v4 using php easy. take at: https://github.com/panakour/google-analytics


Comments

Popular posts from this blog

sql - invalid in the select list because it is not contained in either an aggregate function -

Angularjs unit testing - ng-disabled not working when adding text to textarea -

How to start daemon on android by adb -