Wednesday, November 2, 2011

Digest for adsense-api@googlegroups.com - 3 Messages in 2 Topics

Group: http://groups.google.com/group/adsense-api/topics

    Silvano Luciani <silvano.luciani@google.com> Nov 01 10:15AM -0700  

    Hello,
    I'm writing to you because you asked about reporting functionalities
    in our forum and I want to make sure that you know that we have
    launched the AdSense Management API, which makes reporting available
    to all AdSense publishers:
    http://code.google.com/apis/adsense/management/
    Don't hesitate to post any questions to the forum!
    Cheers,Silvano
    -- Silvano Luciani | Developer Programs Engineer
    Google UK LimitedRegistered Office: Belgrave House, 76 Buckingham
    Palace Road, London SW1W 9TQRegistered in England Number: 3977902

     

    Martin Sarsale <martin.sarsale@gmail.com> Oct 28 02:09PM -0700  

    Hey,
    I tried to post this report yesterday but it seems something failed, so I'm
    doing it again.
     
    Using the APIs explorer, even the simplest report request fails:
    Request
     
    GET https://www.googleapis.com/adsense/v1/reports?startDate=2011-10-10&endDate=2011-10-11&pp=1&key={YOUR_API_KEY}
     
    Authorization: OAuth ya29.AHES6ZS88hTj9zE2AQiD3KuyISMCBSdO545VNIYDSK02XZRfIEJOdiI
    X-JavaScript-User-Agent: Google APIs Explorer google-api-gwt-client/0.1-alpha
     
    Response
     
    500 Internal Server Error
     
    - Show headers -
     
    {
    "error": {
    "code": 500,
    "message": null
    }
    }
     
    Do you know what's wrong here?
     
    Thanks

     

    "Sérgio Gomes" <sergio.gomes@google.com> Nov 01 05:23AM -0700  

    Hi Martin,
     
    I apologise for the delay in our response, your message seems to have been
    stuck in the moderation queue.
     
    As for your problem, this is a known bug that we're fixing: providing no
    metrics or dimensions should return an empty report, but is instead
    returning an error.
     
    If you add some dimensions and metrics to your report, you should start to
    get some data back. You can see an example
    at http://code.google.com/apis/adsense/management/v1/complete_guide.html
    (check the bottom section).
     
    Cheers,
    Sérgio
     
    ---
    Sérgio Gomes
    Developer Relations
     
    Google | Gordon House | Barrow Street | Dublin 4 | Ireland
    Registered in Dublin, Ireland | Registration Number: 368047

     

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