- Migrating v3.0 generateAdCode to 4.1 [1 Update]
- v4 add url channel, client id not acknowledged as valid [1 Update]
- AdSense Host Api access [1 Update]
- Darian Shimy <firstname.lastname@example.org> Nov 30 03:04PM -0800
We are in the Adsense Host program and are in the process of migrating to
the new API. With the old version we called generateAdCode for each
publisher, however, aside from the google_ad_client field, the return value
was always the same.
The user already authorized us a the host and we do not use ad units.
Since I already have the google_ad_client value, can I generate the ad code
from a static template?
- "Jose Alcérreca (AdSense API Team)" <email@example.com> Nov 30 03:12AM -0800
On the first call you are listing the ad clients from a publisher's
account. On the second, you are trying to list your own URL channels, using
someone else's ad client.
Use the APIs explorer at the bottom of each method documentation page for
This will list your ad clients so that you can manage your URL channels,
but you can't manage your publisher's. In v3 of the API, you could manage
your publisher's channels directly but in v4.1 this is no longer necessary
since it's possible to generate ad code with host channels now. This allows
you to use your own channels across all of your publishers.
Let me know if you have further questions.
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* |
On Friday, 30 November 2012 08:13:24 UTC, Group Participant wrote:
- Filippo Silvestro <firstname.lastname@example.org> Nov 30 02:20AM -0800
I already have a sandbox account for the new Host API and I want to test my
Do I have to create a new project with the API Console and request access
for the Host API again, or I can just create an access token and refresh
token with the account that we use for the v3 of the host api?
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 email@example.com.
To unsubscribe from this group, send email to firstname.lastname@example.org.
For more options, visit this group at http://groups.google.com/group/adsense-api?hl=en.