Friday, April 19, 2013

Digest for - 4 Messages in 1 Topic


    Sean <> Apr 18 06:06AM -0700  

    That is where I pulled my above code from and I haven't been able to get it
    to work. Which is why I was asking you about it.
    Which is also why I've been trying to use the Try it now tester form since
    that doesn't involve coding. But I can't get that to work either.
    What am I doing wrong, and how can I get this working?
    On Thursday, April 18, 2013 3:03:31 AM UTC-6, Jose Alcérreca (AdSense API
    Team) wrote:


    "Jose Alcérreca (AdSense API Team)" <> Apr 18 06:13AM -0700  

    Hi Sean,
    You were using an incorrect ad client id when you last showed PHP code.
    Have you tried again with the correct ID?
    Jose Alcérreca
    Developer Relations
    Google UK Limited
    Registered Office: Belgrave House, 76 Buckingham Palace Road, London SW1W
    Registered in England Number: 3977902
    Google Inc.| Developer Relations | *AdSense API Team* |**adsense <>
    On Thursday, 18 April 2013 14:06:18 UTC+1, Sean wrote:


    Sean <> Apr 18 07:25AM -0700  

    Yes, I have changed those vars. I've been trying to say that and get that
    Using the above PHP in the first post, for this line of it
    insert($pubID, $clientID, $adUnit);
    I've been using these values
    insert('pub-25716040709XXXXXX', '',
    That didn't work.
    Neither has this. Which I'm not sure if this is right either.
    insert('pub-25716040709XXXXXX', 'ca-pub-25716040709XXXXXX', $adUnit);
    On Thursday, April 18, 2013 7:13:32 AM UTC-6, Jose Alcérreca (AdSense API
    Team) wrote:


    Sean <> Apr 18 10:49AM -0700  

    This one worked just now for some reason.
    insert('pub-25716040709XXXXXX', 'ca-pub-25716040709XXXXXX', $adUnit);
    where both of those numbers are the same. accountID being the publisher
    accountID, and then adClientID, is the AFC id that you get when you list
    that users adClients.
    Are there fields that if you submit them the adUnit insert that it breaks
    the code? Like status and other fields that are available to submit values
    though via the try it now API explorer?
    On Thursday, April 18, 2013 8:25:25 AM UTC-6, Sean 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 unsubscribe from this group and stop receiving emails from it, send an email to
To post to this group, send email to
Visit this group at
For more options, visit

No comments:

Post a Comment