Trigger: Unable to read report data

189 views
Skip to first unread message

jesus....@ogilvy.com

unread,
Oct 20, 2015, 5:54:26 AM10/20/15
to AdWords API Forum
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?


Nadine Sundquist (AdWords API Team)

unread,
Oct 20, 2015, 1:58:59 PM10/20/15
to AdWords API Forum
Hello Jesus,

Would you happen to log the SOAP response? If so, could you click Reply Privately to Author and send me the requestId that came back with the error? If not, could you please click Reply Privately to Author and send me your client customer ID? That will make it easier for me to pull the exact log on our servers associated with that error.

Thanks,
Nadine, AdWords API Team

Nadine Sundquist (AdWords API Team)

unread,
Dec 8, 2015, 4:00:41 PM12/8/15
to AdWords API Forum
Hi Jesus,

I'm just following up with you. Did you get this figured out?

Best,
Nadine, AdWords API Team

Sabri Karagönen

unread,
Jul 17, 2016, 6:01:09 AM7/17/16
to AdWords API Forum
Hi,

I'm having same problem. If I don't add label predicate, it works perfectly. However, i fails when I add label predicate.

8 Aralık 2015 Salı 23:00:41 UTC+2 tarihinde Nadine Sundquist (AdWords API Team) yazdı:

Nadine Sundquist (AdWords API Team)

unread,
Jul 18, 2016, 10:20:46 AM7/18/16
to AdWords API Forum
Hi Sabri,

This thread has gotten a bit old, and things have changed a bit since this was posted. Could you please start a new thread with a few more specifics, such as the error that you're seeing, and what your request was at the time? Just as a reminder, when you're doing the new post, please make sure not to include any personal information such as developer tokens or customer IDs.

Thanks,
Nadine, AdWords API Team
Reply all
Reply to author
Forward
0 new messages