Hi
In the reports, I'm trying to select for ads that contain (or don't contain) a certain label. Somehow I'm getting an error both from the API and from Scripts. The query is the following:
SELECT AdGroupId FROM AD_PERFORMANCE_REPORT WHERE Labels CONTAINS_NONE ['my special label'] DURING 20140801,20141122
From the API I'm getting:
googleads.errors.AdWordsReportBadRequestError: Type: ReportDownloadError.ERROR_GETTING_RESPONSE_FROM_BACKEND
And from Scripts I'm getting:
Failed to read from AdWords. Please wait a bit and try again. (line 6)
Interestingly, the error messages are different if instead I use the CONTAINS operator, and suggest to me a syntax error. That is, the query:
SELECT AdGroupId FROM AD_PERFORMANCE_REPORT WHERE Labels CONTAINS ['my special label'] DURING 20140801,20141122
Returns from the API:
googleads.errors.AdWordsReportBadRequestError: Type: QueryError.INVALID_WHERE_CLAUSE
And from Scripts:
One of the conditions in the query is invalid. (line 6)
Any ideas?
Best regards,
Joao