PHP Classes


Recommend this page to a friend!

      SmartGAPI  >  All threads  >  error  >  (Un) Subscribe thread alerts  
Summary:doesnt work
Author:Silvia Rodriguez Calvo
Date:2011-04-07 14:11:24
Update:2011-04-07 19:31:18


  1. error   Reply   Report abuse  
Picture of Silvia Rodriguez Calvo Silvia Rodriguez Calvo - 2011-04-07 14:11:24
I follow the instruction but I got this message: ...

Fatal error: Uncaught exception 'Exception' with message 'GAPI: Failed to request report data. Error: "Invalid value for ids parameter: ga:UA-8795332-10"' in /www/docs/ Stack trace: #0 /www/docs/ gapi->requestReportData('UA-8795332-10', Array, Array, NULL, NULL, '2011-03-01', '2011-04-07') #1 {main} thrown in /www/docs/ on line 219

what did I do wrong?

  2. Re: error   Reply   Report abuse  
Picture of Michele Andreoli Michele Andreoli - 2011-04-07 19:31:18 - In reply to message 1 from Silvia Rodriguez Calvo
This error refers to a wrong ID. The correct ID is composed by 8 numbers. You can find this code in the address bar when you load a report from Google Analitycs. For Example: ... <----