Write Adwords objects to disk

41 views
Skip to first unread message

ram...@velismedia.com

unread,
Mar 1, 2016, 3:52:48 AM3/1/16
to AdWords API Forum
Hi.
Pulling the adwords network (campaigns, adgroups, criterions etc) takes quite some time to complete. This is why I would like to save and keep the objects I pull on my local disk (file), so that if anything goes wrong then I won't need to pull all the stuff I need again.
I've tried using pickle (and also cPickle) and dill but they can't handle those objects.

Did anyone do something similar and used an existing library to do so?
Thanks

Yin Niu

unread,
Mar 1, 2016, 10:12:59 AM3/1/16
to AdWords API Forum
Hello, 

You could store AdWords data in your local database. But this is unrelated to AdWords API.

Thanks,
Yin, AdWords API Team. 

ram...@velismedia.com

unread,
Mar 3, 2016, 2:36:00 AM3/3/16
to AdWords API Forum
Thanks for the answer Yin.
I know it's unrelated to the api.
Can you please explain how this is possible.

Thanks.

Nadine Sundquist (AdWords API Team)

unread,
Mar 3, 2016, 12:23:36 PM3/3/16
to AdWords API Forum
Greetings!

You might want to check out YAML (for it to be human readable) or Protobuff for storing objects. 

Best,
Nadine, AdWords API Team

ram...@velismedia.com

unread,
Mar 6, 2016, 2:32:57 AM3/6/16
to AdWords API Forum
Thanks Nadine, I'll check it out and report
Reply all
Reply to author
Forward
0 new messages