- accountId and adClientId [2 Updates]
- Ashesh Bharadwaj <firstname.lastname@example.org> Dec 31 12:04PM +0530
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) <
- "Sérgio Gomes (AdSense API Team)" <email@example.com> Dec 31 01:15AM -0800
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.
Google UK Limited
Registered Office: Belgrave House, 76 Buckingham Palace Road, London SW1W
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 firstname.lastname@example.org.
To unsubscribe from this group, send email to email@example.com.
For more options, visit this group at http://groups.google.com/group/adsense-api?hl=en.