Friday, October 19, 2012

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

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

    "Sérgio Gomes (AdSense API Team)" <adsenseapiadvisor+sergio@google.com> Oct 18 09:37AM -0700  

    Hi there,
     
    There can be many reasons for that; the simplest one being that there is no
    data for the criteria you specified.
     
    I would suggest you try running a report in the AdSense website<http://adsense.google.com>.
    If that report works correctly and returns some data, then try running an
    identical report through the API.
     
    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
     
    Google Inc.| Developer Relations | *AdSense API Team* |
    developers.google.com/adsense
     
    Follow us on our Google Ads Developer page on Google+<https://plus.google.com/115658573333388777174/posts>and our Google
    Ads Developer Blog <https://plus.google.com/115658573333388777174/posts> to
    learn more about the different Ads APIs at Google.
     
    On Thursday, 18 October 2012 17:26:34 UTC+1, eliyahu wrote:

     

    "Sérgio Gomes (AdSense API Team)" <adsenseapiadvisor+sergio@google.com> Oct 18 09:35AM -0700  

    Hello again,
     
    The error you're getting seems to be a standard Google account login
    security measure. If you fill that in once, it should clear.
     
    As for getting the approval prompt, I'm assuming you can run your
    application once, manually, before turning it into a cron job. If you do
    that and complete the flow, you'll get an access token and a refresh token.
    The former is used to make requests, but is short-lived, whereas the latter
    allows you to generate new access tokens but does not expire (unless the
    user explicitly revokes access to your application).
     
    Once you have the refresh token, your application can generate new access
    tokens as needed, automatically, without any user input, which should solve
    your problem and keep it fully automated.
     
    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
     
    Google Inc.| Developer Relations | *AdSense API Team* |
    developers.google.com/adsense
     
    Follow us on our Google Ads Developer page on Google+<https://plus.google.com/115658573333388777174/posts>and our Google
    Ads Developer Blog <https://plus.google.com/115658573333388777174/posts> to
    learn more about the different Ads APIs at Google.
     
    On Tuesday, 16 October 2012 13:47:45 UTC+1, Dinero spt wrote:

     

    "Jose Alcérreca (AdSense API Team)" <adsenseapiadvisor+jose@google.com> Oct 18 03:23AM -0700  

    Hi Mike,
     
    If you store the Refresh Token the first time you authenticate, you can use
    it to generate new Access Tokens so manual intervention is only needed
    once.
     
    If it's only a few accounts, you can carry out this process manually using
    the OAuth2 Playground:
    https://developers.google.com/oauthplayground/
     
    Cheers,
    Jose
     
     
    ---
    Jose Alcérreca
    Developer Relations
     
    Google UK Limited
    Registered Office: Belgrave House, 76 Buckingham Palace Road, London SW1W
    9TQ
    Registered in England Number: 3977902
     
     
    Google Inc.| Developer Relations | *AdSense API Team* |
    developers.google.com/adsense
     
    Follow us on our Google Ads Developer page on Google+<https://plus.google.com/115658573333388777174/posts>and our Google
    Ads Developer Blog <https://plus.google.com/115658573333388777174/posts> to
    learn more about the different Ads APIs at Google.
     
     
    On Wednesday, 17 October 2012 00:29:29 UTC+1, Michael Ni wrote:

     

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