import v3 generate adunit

25 views
Skip to first unread message

sorry chou

unread,
Feb 13, 2013, 4:42:38 AM2/13/13
to adsen...@googlegroups.com
Hi All:

can we import all adunits generate by api v3 one time?

thanks!

Jose Alcérreca (AdSense API Team)

unread,
Feb 13, 2013, 8:14:56 AM2/13/13
to adsen...@googlegroups.com
Hi again!

There was no Ad Unit concept in v3, the code was generated on the fly.

A possible migration process is:
 - Get your stored list of ad clients that you were using on v3
 - Get the account id for each of them (and store it)
 - Create an ad unit using the account id and ad client id for each one
 - Generate the code of each ad unit (and store it)

Let me know if that helps.

Cheers,
Jose



---
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

sorry chou

unread,
Feb 14, 2013, 2:23:49 AM2/14/13
to adsen...@googlegroups.com
Hi Jose:

thanks your response, so if i want to get report generate by API V4, i need to create all manually, right?

Jose Alcérreca (AdSense API Team)

unread,
Feb 14, 2013, 4:49:06 AM2/14/13
to adsen...@googlegroups.com
Hi!

Yes, you should do this yourself because you need to store the account ids and the generated ad code. 

Cheers,
Jose



---
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


sorry chou

unread,
Feb 17, 2013, 1:25:29 AM2/17/13
to adsen...@googlegroups.com
Thank you!!

sorry chou於 2013年2月13日星期三UTC+8下午5時42分38秒寫道:
Reply all
Reply to author
Forward
0 new messages