get all campaigns fail

35 views
Skip to first unread message

Levente Pető

unread,
Nov 2, 2020, 4:47:30 AM11/2/20
to AdWords API and Google Ads API Forum
Hello,

I tried to run this script to get all campaigns:

Of course I wrote my developer_token, client_id, client_secret and refresh_token in the googleads.yaml appropriately.

The problem is that I get an empty list from the query.Pager(campaign_service) so I don't get result.
What could be wrong?

If anybody has idea, please let me know.
Thanks in advance,
Levente

Levente Pető

unread,
Nov 2, 2020, 4:50:53 AM11/2/20
to AdWords API and Google Ads API Forum
I have these packages:

google-api-core==1.23.0
google-api-python-client==1.12.5
google-auth==1.22.1
google-auth-httplib2==0.0.4
google-auth-oauthlib==0.4.1
googleads==25.0.0
googleapis-common-protos==1.52.0

--
--
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog:
https://googleadsdeveloper.blogspot.com/
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
 
You received this message because you are subscribed to the Google
Groups "AdWords API and Google Ads API Forum" group.
To post to this group, send email to adwor...@googlegroups.com
To unsubscribe from this group, send email to
adwords-api...@googlegroups.com
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 and Google Ads API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email to adwords-api...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/adwords-api/39f1f907-7da8-4dc1-8a52-9b788ba3a0a5n%40googlegroups.com.

Google Ads API Forum Advisor Prod

unread,
Nov 3, 2020, 12:29:26 AM11/3/20
to levis...@gmail.com, adwor...@googlegroups.com
Hi Levente,

Thanks for posting your concern.

Could you provide the customer ID and the complete SOAP request and response logs generated on your end wherein the issue is observed? You can provide the requested details via Reply privately to author option to investigate.

Regards,
Google Logo
Ernie John Blanca Tacata
Google Ads API Team
 


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