Group: http://groups.google.com/group/adsense-api/topics
- Max Glaser <max.glaser@gmail.com> Dec 28 06:53AM -0800
For several years I used an own script to scan the main page of the
old AdSense control panel interface to get several times a day the
most important parameters (page views, clicks, earnings).
Since middle November, the old Interface has been shut downed.
Now I found theoretically the correct way to obtain these
Information: the new Adsense Mangement API!
I obtain via API the correct values for "yesterday", but when I set
the date to "today" I do not get any result on the JSON response, or
the first time I get some values, but after that, all day I obtain the
same values! I seems that the API server cannot return the "last real-
time" values.
But in the other hand, there is an App on the Android Market (AdSense
Dashbord) which uses this API and returns relative accurate values.
I am using the PHP AdSense API Library, and I really don't know, what
I making wrong! I am using the reports / generate functions!
Thank You in advance for any hint!
Regards,
Max Glaser
- Silvano Luciani <silvano.luciani@google.com> Dec 28 08:21AM -0800
Hello Max,
a couple of questions to have a better understanding of what could be
the problem:
- The API is returning values which are different from the values that
appear in the AdSense frontend?
- Can you reproduce the same problem querying the API using the Google
API explorer?
https://code.google.com/apis/explorer/#_s=adsense&_v=v1.1&_m=reports.generate
Cheers,
Silvano
--
Silvano Luciani | Developer Programs Engineer
Google UK Limited
Registered Office: Belgrave House, 76 Buckingham Palace Road, London
SW1W 9TQ
Registered in England Number: 3977902
You received this message because you are subscribed to the Google Group adsense-api.
You can post via email.
To unsubscribe from this group, send an empty message.
For more options, visit this group.
You received this message because you are subscribed to the Google Groups "AdSense API Forum" group.
To post to this group, send email to adsense-api@googlegroups.com.
To unsubscribe from this group, send email to adsense-api+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/adsense-api?hl=en.
No comments:
Post a Comment