Thursday, February 16, 2012

Digest for adsense-api@googlegroups.com - 8 Messages in 1 Topic

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

    Nick Toumpelis <nicktoumpelis@gmail.com> Feb 15 01:19PM +0200  

    Hi Silvano,
     
    I have more information regarding this particular issue.
     
    a) The typical delay is, indeed, a few seconds long, so it is negligible for the purposes of our app.
     
    b) In the evenings, typically after 00:00 (GMT+2), when the day changes, there seems to be a huge delay in the incorporation of the new day's data into the reporting mechanism. In the attached screenshot, which was taken at 00:44 on the 15th, there is no data at all; the day isn't even included in the report, despite the fact that it is within the selected range.

     
     
    My last check was performed at 02:00, and I could see no change. Also, at the Home page, "Today so far" reports the previous day's earnings.
     
    I was wondering whether AdSense is meant to behave in this manner during this time frame, which would mean taking this into account in a future version of our app, or if this is a bug.
     
    Thank you,
     
    Nick
     
    --
    Nick Toumpelis
    iOS Software Engineer
    nicktoumpelis@me.com
    @nicktoumpelis
     
    On 14 Φεβ 2012, at 3:37 μ.μ., Silvano Luciani wrote:
     

     

    Nick Toumpelis <nicktoumpelis@gmail.com> Feb 15 02:32PM +0200  

    Hi Silvano,
     
    it was happening in the API as well; I just thought that taking the values shown at the console, would be the best way to illustrate this. From the forum, I gather that it happens from time to time, but gets fixed soon after. No more worries for me then. :)
     
    Cheers and thanks for your help,
     
    Nick
     
    --
    Nick Toumpelis
    iOS Software Engineer
    nicktoumpelis@me.com
    @nicktoumpelis
     
    On 15 Φεβ 2012, at 2:21 μ.μ., Silvano Luciani wrote:
     

     

    Max Glaser <max.glaser@gmail.com> Feb 15 05:35AM -0800  

    Hello Silvano,
     
    Ops, I overlooked Chirag´s suggestion. How can I "wipe out the cache"?
    Is there an API command for that?
     
    Regards,
    Max Glaser

     

    Silvano Luciani <silvano.luciani@google.com> Feb 15 05:57AM -0800  

    Hello Max,
     
    I'm sorry but there is no API command for that, you'll need to
    manually delete the content of the ioFileCache directory, which is
    usually '/tmp/ApiClient'.
     
    The directory is set in the configuration file here:
    http://code.google.com/p/google-api-php-client/source/browse/trunk/src/config.php#57
     
    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
     

     

    Max Glaser <max.glaser@gmail.com> Feb 15 06:29AM -0800  

    Hello Silvano,
     
    Thank You for the reply! Now, finally we found origin of the
    problem :-) You should document this on the report class description,
    specially for the today´s values. The older values can be cached,
    because they are the same.
     
    Is there a way to disable the ioFile cache? A configuration flag or a
    code change on the API source code?
     
    Regards,
    Max Glaser
     
     
    On Feb 15, 9:57 am, Silvano Luciani <silvano.luci...@google.com>
    wrote:

     

    Silvano Luciani <silvano.luciani@google.com> Feb 15 06:45AM -0800  

    Hello Max,
     
    this is not documented because it was a bug of the PHP Client Library,
    not a feature of the API.
     
    Starting from this revision of the PHP Client Library, you shouldn't
    have that problem anymore:
    http://code.google.com/p/google-api-php-client/source/detail?r=347
     
    You might have to wipe out the cache if there is already cached
    content in the directory when switching to the new revision.
     
    If you still experience the issue after switching to another revision,
    please report it in the Google APIs PHP Client Library project:
    http://code.google.com/p/google-api-php-client/issues/list
     
    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
     

     

    Max Glaser <max.glaser@gmail.com> Feb 15 06:54AM -0800  

    Hello Silvano,
     
    OK! We will try the newest revision of the PHP Client Library!
     
    Thank You an cheers,
    Max Glaser

     

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