Group: http://groups.google.com/group/adsense-api/topics
- Generating Ads with PHP [4 Updates]
- Sean <neolocutus@gmail.com> 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?
Sean
On Thursday, April 18, 2013 3:03:31 AM UTC-6, Jose Alcérreca (AdSense API
Team) wrote:
- "Jose Alcérreca (AdSense API Team)" <adsenseapiadvisor+jose@google.com> 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
9TQ
Registered in England Number: 3977902
Google Inc.| Developer Relations | *AdSense API Team* |
developers.google.com/**adsense <https://developers.google.com/adsense/>
On Thursday, 18 April 2013 14:06:18 UTC+1, Sean wrote:
- Sean <neolocutus@gmail.com> Apr 18 07:25AM -0700
Yes, I have changed those vars. I've been trying to say that and get that
accross.
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', '7419718XXXXX.apps.googleusercontent.com',
$adUnit);
That didn't work.
Neither has this. Which I'm not sure if this is right either.
insert('pub-25716040709XXXXXX', 'ca-pub-25716040709XXXXXX', $adUnit);
Sean
On Thursday, April 18, 2013 7:13:32 AM UTC-6, Jose Alcérreca (AdSense API
Team) wrote:
- Sean <neolocutus@gmail.com> 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?
Sean
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 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?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.
No comments:
Post a Comment