get_campaigns.py not working

26 views
Skip to first unread message

Abir Majumder

unread,
Oct 2, 2022, 7:22:29 AM10/2/22
to Google Ads API and AdWords API Forum
I ran the campaigns.py file after following the steps given on the google ads api link and the code runs, but it doesn't print out any campaigns. 

Earlier i was getting other errors with my authentication which i fixed, but now the code just runs and doesn't output anything. 

What can be the issue ? 

Google Ads API Forum Advisor

unread,
Oct 2, 2022, 11:03:58 PM10/2/22
to abir...@gmail.com, adwor...@googlegroups.com
Hi Abir,

This is Carmela from the Google Ads API team. Thank you for reaching out.

Moving forward, could you confirm first if you are using the client account in your request and not the MCC account? If not, please try using your client account on your end.

If the error persists or if you are already using the client_id on your end, you may provide the complete request and response logs with the request ID and request header generated on your end. If you haven't yet, logging can be enabled by navigating to the Client libraries > Your client library (Python) > Logging documentation, which you can access from this link

You can provide it via Reply privately to author option. If this option is not available, then send it instead on this email address googleadsa...@google.com.

Regards,
Google Logo
Carmela
Google Ads API Team
 


ref:_00D1U1174p._5004Q2ew9Le:ref
Reply all
Reply to author
Forward
0 new messages