googleads / googleads/googleads-python-lib
Syntax Error with run_saved_query.py
Aperta
@msaniscalchi ci sta già lavorando.
Dal 22/8/2018.
bug
P2
- Lingua principale
- Python
- Stelle
- 749
- Fork
- 967
- Metriche di merge delle PR
- Nessuna PR unita negli ultimi 30g
Descrizione
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!
Guida per i contributori
Apri la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Valutazione
Questa issue non è ancora stata valutata.