*My python code:*
*version='v201306'*
report_query = (*'''SELECT** CampaignName FROM CAMPAIGN_PERFORMANCE_REPORT*''',
)
report_downloader.DownloadReportWithAwql(report_query, 'CSV',
file_path=outfile)
*responose:*
HTTP 400
...
Traceback (most recent call last):
...
File
"/usr/local/lib/python2.7/dist-packages/adspygoogle/adwords/ReportDownloader.py",
line 370, in __CheckForXmlError
raise AdWordsReportError(response_code, error_type, trigger, field_path)
adspygoogle.adwords.AdWordsErrors.AdWordsReportError: HTTP code: 400, type:
'QueryError.MISSING_SELECT_CLAUSE', trigger: '', field path: ''
if i omit the comma (which means the query is just a string)
* report_query = ('''SELECT CampaignName FROM
CAMPAIGN_PERFORMANCE_REPORT ''', )*
error:
* adspygoogle.adwords.AdWordsErrors.AdWordsReportError: HTTP code: 400,
type: 'QueryError.INVALID_DURING_CLAUSE', trigger: '', field path: ''\*
Where did i go wrong?
--
--
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and discussion group:
http://googleadsdeveloper.blogspot.com
http://groups.google.com/group/adwords-api
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
You received this message because you are subscribed to the Google
Groups "AdWords API Forum" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
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 Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.