TulioBento / gapi-google-analytics-php-interface

Automatically exported from code.google.com/p/gapi-google-analytics-php-interface
0 stars 0 forks source link

wrong id #21

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1.
2.
3.

What is the expected output? What do you see instead?

this error occurs to me  and I do not know what the problem is

Fatal error: Uncaught exception 'Exception' with message 'GAPI: Failed to
request report data. Error: "Invalid value for ids parameter:
ga:UA-xxxxxxxx-y"' in /home/vencanic/public_html/proba/gapi.class.php:218
Stack trace: #0 /home/vencanic/public_html/proba/index.php(32):
gapi->requestReportData('UA-xxxxxxxx-y', Array, Array, '-visits', 'country
== Unit...') #1 {main} thrown in
/home/vencanic/public_html/proba/gapi.class.php on line 218

What version of the product are you using? On what operating system?

i'm using gapi 1.3, windows 7

Please provide any additional information below.

Original issue reported on code.google.com by braca...@gmail.com on 25 Oct 2009 at 12:56

GoogleCodeExporter commented 9 years ago
any help???

Original comment by braca...@gmail.com on 25 Oct 2009 at 3:38

GoogleCodeExporter commented 9 years ago
You are using your GA account number as your id - it should be the Profile ID 
related
to the site (as in 7 digits, something like 2116412).

Original comment by vsl...@googlemail.com on 28 Oct 2009 at 5:00

GoogleCodeExporter commented 9 years ago
re: above, the profile ID is obtained from the Google Analytics Site Dashboard 
page
(the number after ?id=). Hope this helps.

Original comment by vsl...@googlemail.com on 28 Oct 2009 at 5:01

GoogleCodeExporter commented 9 years ago
This error occurs to me, too!

But it says: "User does not have permission to access profile xxxxxxxx."

Original comment by studioba...@gmail.com on 29 Jun 2012 at 2:38