Hi Giuliano,
AdWords API use a different technology stack than the Analytics API, so you
need to use a different client library for AdWords API. You can find the
Python library and Getting started guide
on https://github.com/googleads/googleads-python-lib. There are code
examples available
in
https://github.com/googleads/googleads-python-lib/tree/master/examples/adwords/v201406.
Let me know if you need more help or have questions.
Cheers,
Anash P. Oommen,
AdWords API Advisor.
On Wednesday, August 13, 2014 12:55:18 PM UTC-4, Giuliano Pietoso wrote:
>
> Hello everyone.
>
> I'm a total newbie in Adwords API.
>
> I've got my dev token, and client credentials.
>
> A friend of mine sent me a snippet of a code he uses for Analytics API
> autth and I've attached it in the post. Can I use this snippet, changing
> only the client_secrets.json and this line:
>
> service = discovery.build('analytics', 'v3', http=http) to service =
> discovery.build('adwords', 'v3', http=http) ?
>
> If not, how do I "build" the "connection" AdWords object? Anyone have a
> very simple step by step example code of how to authenticate and make a
> call to list all Campaigns?
>
> I've taken a look at the examples in the python lib but they all ommit the
> authentication process, so I've never seen a complete example from start to
> finish in one file.
>
> Thanks!
>
>
>
>
>
--
--
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and Google+:
https://googleadsdeveloper.blogspot.com/
https://plus.google.com/+GoogleAdsDevelopers/posts
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
You received this message because you are subscribed to the Google
Groups "AdWords API Forum" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en
---
You received this message because you are subscribed to the Google Groups
"AdWords API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.