Tuesday, December 18, 2012

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

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

    Group Participant <genieejeenee@gmail.com> Dec 17 10:45PM -0800  

    Given there is a host channel h1 which is associated with multiple
    publishers p1, p2, ..., pn, can the filter
     
    CUSTOM_CHANNEL_ID==<h1 id>,AD_CLIENT_ID==<pn client id>
     
    be used to retrieve the data for pn inside the data for h1, excluding data
    for other publishers inside h1's data?
     
    (I would just test this myself to find out but I haven't yet figured out
    how to access live data from the sandbox.)

     

    "Jose Alcérreca (AdSense API Team)" <adsenseapiadvisor+jose@google.com> Dec 18 01:52AM -0800  

    Hi there,
     
    You can try the filter with the APIs explorer (or your app) to check that
    there are no syntax errors or general warnings.
     
    In that particular case you need to use HOSTED_AD_CLIENT_ID, which
    corresponds to the ad client id of a publisher. AD_CLIENT_ID is used for
    host client ids (which I guess is not what you want).
     
    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 <https://developers.google.com/adsense/>
     
    On Tuesday, 18 December 2012 06:45:50 UTC, Group Participant wrote:

     

    "Jose Alcérreca (AdSense API Team)" <adsenseapiadvisor+jose@google.com> Dec 17 03:47AM -0800  

    Hi there,
     
    You'll need your developer credentials to query the host API and an AdSense
    account to act as the publisher.
     
    In order to access publisher data, an Association has to be performed. If
    you try to access someone else's data, you'll get a 403.
     
    My guess is that you're using your live data IDs but you haven't associated
    the account.
     
    About your last note: you'll be able to access data but you can't show ads
    if you're using the host API from a sandbox account. That means that you'll
    receive empty reports but it's handy in order to check for implementation
    errors, create ad units, channels, etc.
     
    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 <https://developers.google.com/adsense/>
     
    On Friday, 14 December 2012 02:34:39 UTC, Group Participant wrote:

     

    Group Participant <genieejeenee@gmail.com> Dec 17 10:06PM -0800  


    > You'll need your developer credentials to query the host API and an
    > AdSense account to act as the publisher.
     
    The AdSense account to act as the publisher in this case being the live
    development account?
     
    In order to access publisher data, an Association has to be performed.
     
     
    This is done by logging in to Google as the live development user, then
    going through the Adsense Host signup process for the sandbox account? If
    this assumption is correct, I'm imagining the live development account will
    be associated as a publisher with the sandbox development account.

    2012年12月17日月曜日 20時47分21秒 UTC+9 Jose Alcérreca (AdSense API Team):

     

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