Thursday, May 1, 2014

Digest for adsense-api@googlegroups.com - 3 updates in 2 topics

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

    galeksic <agencijaspecihost@gmail.com> Apr 30 02:20AM -0700  

    I believe you would prefer the official response, but I'd like to join with
    few comments and I hope you don't mind! :)
     
    Yes, I too see reports are *sometimes slightly* different, but not very
    much and when I refresh (several times in few minutes)
    www.google.com/adsense home page, I can see the very same, so I am
    considering today reports as what they are - estimations, and real-time
    data.
     
    It's not so notable when the traffic is very low. Also, I don't have *any*idea how AdSense works, but (to be honest) I wouldn't be very surprised if
    real-time, estimated values depend on which node was queried.
     
    If your reports show much lower and consistent values than the AdSense home
    page, then I'd suggest you to check your code and see if there is any
    caching on your side. (Cache is good - don't remove it, just decrease
    refresh time to some safe value.)
     
    And I don't think it could be the problem, but it wont hurt if you can see
    & check in your logs what are you sending as startDate and endDate.

     

    "Sérgio Gomes (AdSense API Team)" <adsenseapiadvisor+sergio@google.com> Apr 30 05:38AM -0700  

    Hi Sorry, Gorran,
     
    Any data you might get for "today" is not finalized and subject to changes,
    so you shouldn't be relying on it for any sort of meaningful analysis.
     
    That said, if you still choose to use it, you should note that there are
    several levels of caching, so if you're working in small timeframes (say,
    under an hour), you may get cached results rather than live ones. Gorran's
    suggestion should help with client-side caching, but there will most likely
    still be caching at the API service level.
     
    Cheers,
    Sérgio
     
    ---
    Sérgio Gomes
    Developer Relations
     
    Google UK Limited
    Registered Office: Belgrave House, 76 Buckingham Palace Road, London SW1W
    9TQ
    Registered in England Number: 3977902
     
    On Wednesday, 30 April 2014 10:20:16 UTC+1, galeksic wrote:

     

    "Sérgio Gomes (AdSense API Team)" <adsenseapiadvisor+sergio@google.com> Apr 30 05:31AM -0700  

    Hi Claus,
     
    You're likely running into the requests/second/user limit.
     
    There are two ways you can tackle this:
     
    - The recommended way is to batch as many of your calls as possible<https://developers.google.com/adsense/host/reporting/batching>,
    to reduce the number of (nearly) simultaneous requests against the service.
    - Otherwise, you can adjust the limit of requests/second/user that you
    allow on your project. Go to https://code.google.com/apis/console/b/0/?noredirect#project:<your
    project id>:quotas and set it there. You can also find this in the
    Google Developers Console, under APIs & Auth -> APIs -> Quota
     
    Hope this helps!
     
    Cheers,
    Sérgio
     
    ---
    Sérgio Gomes
    Developer Relations
     
    Google UK Limited
    Registered Office: Belgrave House, 76 Buckingham Palace Road, London SW1W
    9TQ
    Registered in England Number: 3977902
     
     
    On Tuesday, 29 April 2014 12:28:27 UTC+1, galeksic wrote:

     

--
You received this message because you are subscribed to the Google Groups "AdSense API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email to adsense-api+unsubscribe@googlegroups.com.
To post to this group, send email to adsense-api@googlegroups.com.
Visit this group at http://groups.google.com/group/adsense-api.
For more options, visit https://groups.google.com/d/optout.

No comments:

Post a Comment