Tuesday, July 23, 2013

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

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

    Tony John <tonyjohn@gmail.com> Jul 22 05:15AM -0700  

    I just wanted to report a behaviour at AdSense API call.
     
    Here are the sequence of APIs I call:
     
    1. Authenticate using oAuth 2.0 (https://accounts.google.com/o/oauth2/auth)
     
    2. AsociationSession.Start
    (https://www.googleapis.com/adsensehost/v4.1/associationsessions/start)
     
    3. AssociationSession.Verify
    (https://www.googleapis.com/adsensehost/v4.1/associationsessions/verify)
     
    It works fine in normal scenarios. However, when I am working with the
    Sandbox account and if I am already logged in to a live AdSense account,
    Step1 calls back to my callback page without prompting for Google Login and
    it fails at Step 2, with the following error:
     
    "The link used to access this page is malformed. Please contact owners of
    the referring page for more information."
     
    Even though I know the reason and how to avoid it, I thought I would report
    it so that you can give a better error message instead of a generic message
    as above.

     

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

    Hi Tony,
     
    The correct link is https://developers.google.com/adsense/host/v4.1/index
     
    Thank you, good catch!
     
    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
     
     
    On Saturday, 20 July 2013 05:27:21 UTC+1, Tony John wrote:

     

    idoodler <david.goelzhaeuser@googlemail.com> Jul 21 05:09AM -0700  

    Hi, I am new to that kind of API, I like to know how I can access the
    Adsense information with my app?
     
    I already created the client with Google APIs Console. How can I
    authenticate the user and get the data of the user, is there some URL that
    displays a JSON file that can be parsed or what must I do, I can't figure
    it out with the official documentary.
     
    Thanks for your time.

     

--
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/groups/opt_out.
 
 

No comments:

Post a Comment