campaing list is empty

26 views
Skip to first unread message

WZ

unread,
Sep 29, 2014, 11:41:30 AM9/29/14
to adwor...@googlegroups.com
Hi 
credentials i
I am using the python googlead lib to connect to adwords. I am able to connect to the adwords end point using the credentials in yaml file. However, when I run the get_campaigns.py it always returns "No Campaings Found". I tried using the dev token and client/secret/refresh token for testing account and the main mcc account. The refresh token was generated using the oauth playground. 

Any suggestions on what I might be doing wrong ?

Thanks

Ray Tsang (AdWords API Team)

unread,
Sep 29, 2014, 6:06:09 PM9/29/14
to adwor...@googlegroups.com
Hi,

It's very likely that there was indeed no campaigns in the CID that you've requested for.  In particular, if you haven't specified a CID, it will try to access the account associated w/ the refresh token.  You should always specify a CID.

Thanks,

Ray
Reply all
Reply to author
Forward
0 new messages