Hi,
I work with the API in python, I was working with this report:
report = {
'reportName': 'Camp',
'dateRangeType': 'CUSTOM_DATE',
'reportType': 'CAMPAIGN_PERFORMANCE_REPORT',
'downloadFormat': 'CSV',
'selector': {
'dateRange':{'min':PD,'max':UD},
'fields': ['CampaignId', 'CampaignStatus','Labels',
'Impressions',
'SearchImpressionShare',
'SearchBudgetLostImpressionShare',
'SearchRankLostImpressionShare',
'CampaignName'],
}
}
everything was fine, but when I try to filter the report like this:
report = {
'reportName': 'Camp',
'dateRangeType': 'CUSTOM_DATE',
'reportType': 'CAMPAIGN_PERFORMANCE_REPORT',
'downloadFormat': 'CSV',
'selector': {
'dateRange':{'min':PD,'max':UD},
'fields': ['CampaignId', 'CampaignStatus','Labels',
'Impressions',
'SearchImpressionShare',
'SearchBudgetLostImpressionShare',
'SearchRankLostImpressionShare',
'CampaignName'],
'predicates':{'field':'Labels','operator':'CONTAINS_ALL',
'values':['Deportes']}
}
}
It doesn't work and give me the next error:
googleads.errors.AdWordsReportBadRequestError: Type: ReportDownloadError.ERROR_GETTING_RESPONSE_FROM_BACKEND
Trigger: Unable to read report data
Field Path: None
Anyone know how can I solve this?