ValueError: The String type doesn't accept collections as value when I upgraded the Adwords API to v201809 and googleads to 14.1.0 and later ones in Python

555 views
Skip to first unread message

Jinesh Mammen

unread,
Feb 1, 2019, 6:08:39 AM2/1/19
to AdWords API and Google Ads API Forum
This was occurred when the python hits stream_data = report_downloader.DownloadReportAsStream(report, skip_report_header=True,
                                                       skip_column_header=False, skip_report_summary=True)
the error is attached to this question. 
report = {'reportName': '********(group by device)', 'selector': {'fields': ['AccountDescriptiveName', 'Impressions', 'Clicks', 'Cost', 'Ctr', ['Device', 'SearchImpressionShare', 'CampaignName']], 'dateRange': {'max': '20190130', 'min': '20190101'}}, 'reportType': 'CAMPAIGN_PERFORMANCE_REPORT', 'dateRangeType': 'CUSTOM_DATE', 'downloadFormat': 'CSV'}

Can someone help me on this?

Thanks in advance.
Screenshot 2019-02-01 at 10.53.27 AM.png

googleadsapi...@google.com

unread,
Feb 1, 2019, 4:11:32 PM2/1/19
to AdWords API and Google Ads API Forum
Hello Jinesh,

Could you please share the code snippet so that I can troubleshoot the issue? You can use 'Reply privately to author' option while responding. 

Thanks,
Milind, AdWords API Team
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and discussion group:
    http://googleadsdeveloper.blogspot.com/search/label/adwords_api
    https://developers.google.com/adwords/api/community/
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

Was your question answered? Please rate your experience with us by taking a short survey.
If not -- reply to this email and tell us what else we can do to help.

Take Survey

Also find us on our blog and discussion group:
http://googleadsdeveloper.blogspot.com/search/label/adwords_api
https://developers.google.com/adwords/api/community/

chris.f...@realself.com

unread,
May 3, 2019, 4:45:06 PM5/3/19
to AdWords API and Google Ads API Forum
Hello, I'm getting a similar error when executing the sample code from https://developers.google.com/adwords/api/docs/samples/python/basic-operations#update-a-campaign. This example seems to be broken

googleadsapi...@google.com

unread,
May 5, 2019, 11:16:11 PM5/5/19
to AdWords API and Google Ads API Forum
Hi Chris,

I was not able to experience any issues with the sample code. Could you provide the error message received or the complete SOAP request and response logs that were generated when you encountered the error? Kindly use the reply privately to author option.

Regards,
Dannison
Google Ads API Team


=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and discussion group:
--
--
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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+unsubscribe@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+unsubscribe@googlegroups.com.
Visit this group at https://groups.google.com/group/adwords-api.
To view this discussion on the web visit https://groups.google.com/d/msgid/adwords-api/b12fdbe7-66b8-4324-88bd-15abe6ddddf7%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Reply all
Reply to author
Forward
0 new messages