Group: http://groups.google.com/group/adsense-api/topics
- accountId and adClientId [2 Updates]
- Ashesh Bharadwaj <ashesh@paradisepublishers.com> Dec 31 12:04PM +0530
Hi Jose,
There are no ads in the newly created account. Where am I going to get the
"adUnitId" if I have to use "getAdCode" before creating the ad?
I was under impression that first we create the ad using "insert" which
returns the "adUnitId" and then we call "getAdCode" with that "adUnitId" to
get the HTML code for that ad.
On Sun, Dec 30, 2012 at 12:06 AM, Jose Alcérreca (AdSense API Team) <
--
Regards,
Ashesh Bharadwaj
- "Sérgio Gomes (AdSense API Team)" <adsenseapiadvisor+sergio@google.com> Dec 31 01:15AM -0800
Hi Ashesh,
That's correct; first you create an ad unit, then you generate the ad code
for it. You're getting an error because you're missing a number of
properties on your ad unit.
Check https://developers.google.com/adsense/host/v4.1/accounts/adunits for
a full listing.
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
On Monday, 31 December 2012 06:34:28 UTC, Ashesh Bharadwaj 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