googleads / googleads/googleads-python-lib

Syntax Error with run_saved_query.py

Aperta
#295 4 commenti 0 reazioni 1 assegnatario Vedi su GitHub

@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

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.