Sunday, 17 July 2016

Re: Trigger: Unable to read report data

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ı:
Hi Jesus,

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

Best,
Nadine, AdWords API Team

On Tuesday, October 20, 2015 at 1:58:59 PM UTC-4, Nadine Sundquist (AdWords API Team) wrote:
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

On Tuesday, October 20, 2015 at 5:54:26 AM UTC-4, jesus....@ogilvy.com wrote:
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?


--
--
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and Google+:
https://googleadsdeveloper.blogspot.com/
https://plus.google.com/+GoogleAdsDevelopers/posts
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
 
You received this message because you are subscribed to the Google
Groups "AdWords API Forum" group.
To post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscribe@googlegroups.com
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 adwords-api+unsubscribe@googlegroups.com.
Visit this group at https://groups.google.com/group/adwords-api.
To view this discussion on the web visit https://groups.google.com/d/msgid/adwords-api/d146d99b-a91e-47d8-b17d-07970ea21a9c%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

No comments:

Post a Comment