googleads / googleads/googleads-python-lib
Syntax Error with run_saved_query.py
Open
@msaniscalchi is already working on this.
Since Aug 22, 2018.
bug
P2
- Dominant language
- Python
- Stars
- 749
- Forks
- 967
- PR merge metrics
- No merged PRs in 30d
Description
I get the following syntax error on line 39 of run_saved_query.py:
except errors.DfpReportError, e:
^
SyntaxError: invalid syntax
Here's the snipet from code (starting on line 36) that I can't figure out how to format:
try:
# Run the report and wait for it to finish.
report_job_id = report_downloader.WaitForReport(report_job)
except errors.DfpReportError, e:
print 'Failed to generate report. Error was: %s' % e
# Change to your preferred export format.
export_format = 'CSV_DUMP'
Is this a python version issue?
Thanks for the help!
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.