intermittent failures in audience performance report

151 views
Skip to first unread message

GregT

unread,
Jan 20, 2015, 12:53:27 PM1/20/15
to adwor...@googlegroups.com
Hi,

Starting on January 15th, we've been getting intermittent failures when running the audience performance report, complaining about the IsRestrict field included in the list of fields to download.  The same code has worked for many months, and is now failing roughly 1/7 of the time (e.g. on the 18th, 25 of 185 calls failed, on the 19th, 29 of 198 calls failed).  The field is also still listed as an available field in the reporting documentation.  It does not seem to be dependent on which client account we call against, as an automated test against a single API test account fails at roughly the same ratio (it seems to happen a little more often than against the production accounts, but I doubt it's significant).

Here's the logs from an example yesterday that succeeded in production:

01-19-15 12:07:25,620 INFO report_download - Request made: POST https://adwords.google.com//api/adwords/reportdownload/v201409

01-19-15 12:07:25,620 INFO report_download - accept-encoding: [gzip]
authorization: REDACTED
user-agent: <I redacted>
developertoken: REDACTED
clientcustomerid: <I redacted>

Parameters:
__rdxml: <?xml version="1.0" encoding="UTF-8" standalone="yes"?><reportDefinition xmlns:ns2="https://adwords.google.com/api/adwords/cm/v201409"><ns2:selector><ns2:fields>Id</ns2:fields><ns2:fields>AdGroupId</ns2:fields><ns2:fields>Status</ns2:fields><ns2:fields>Criteria</ns2:fields><ns2:fields>BidModifier</ns2:fields><ns2:fields>IsNegative</ns2:fields><ns2:fields>IsRestrict</ns2:fields><ns2:predicates><ns2:field>Status</ns2:field><ns2:operator>IN</ns2:operator><ns2:values>ENABLED</ns2:values></ns2:predicates><ns2:predicates><ns2:field>AdGroupStatus</ns2:field><ns2:operator>IN</ns2:operator><ns2:values>ENABLED</ns2:values></ns2:predicates><ns2:predicates><ns2:field>IsNegative</ns2:field><ns2:operator>EQUALS</ns2:operator><ns2:values>false</ns2:values></ns2:predicates><ns2:predicates><ns2:field>AdGroupId</ns2:field><ns2:operator>IN</ns2:operator><ns2:values>15084375862</ns2:values><ns2:values>3641035222</ns2:values></ns2:predicates><ns2:predicates><ns2:field>CampaignId</ns2:field><ns2:operator>IN</ns2:operator><ns2:values>57267742</ns2:values></ns2:predicates></ns2:selector><ns2:reportName>AUDIENCE_PERFORMANCE_REPORT for all time</ns2:reportName><ns2:reportType>AUDIENCE_PERFORMANCE_REPORT</ns2:reportType><ns2:dateRangeType>ALL_TIME</ns2:dateRangeType><ns2:downloadFormat>GZIPPED_CSV</ns2:downloadFormat><ns2:includeZeroImpressions>true</ns2:includeZeroImpressions></reportDefinition>

01-19-15 12:07:25,621 INFO report_download - Response received with status code 200 and message: OK


Here's an example that failed immediately after (report run by the exact same code, just a different selection of ad groups and campaign):

01-19-15 12:07:34,294 WARN report_download - Request made: POST https://adwords.google.com//api/adwords/reportdownload/v201409

01-19-15 12:07:34,294 WARN report_download - accept-encoding: [gzip]
authorization: REDACTED
user-agent: <I redacted>
developertoken: REDACTED
clientcustomerid: <I redacted>

Parameters:
__rdxml: <?xml version="1.0" encoding="UTF-8" standalone="yes"?><reportDefinition xmlns:ns2="https://adwords.google.com/api/adwords/cm/v201409"><ns2:selector><ns2:fields>Id</ns2:fields><ns2:fields>AdGroupId</ns2:fields><ns2:fields>Status</ns2:fields><ns2:fields>Criteria</ns2:fields><ns2:fields>BidModifier</ns2:fields><ns2:fields>IsNegative</ns2:fields><ns2:fields>IsRestrict</ns2:fields><ns2:predicates><ns2:field>Status</ns2:field><ns2:operator>IN</ns2:operator><ns2:values>ENABLED</ns2:values></ns2:predicates><ns2:predicates><ns2:field>AdGroupStatus</ns2:field><ns2:operator>IN</ns2:operator><ns2:values>ENABLED</ns2:values></ns2:predicates><ns2:predicates><ns2:field>IsNegative</ns2:field><ns2:operator>EQUALS</ns2:operator><ns2:values>false</ns2:values></ns2:predicates><ns2:predicates><ns2:field>AdGroupId</ns2:field><ns2:operator>IN</ns2:operator><ns2:values>19045848602</ns2:values><ns2:values>19045828202</ns2:values><ns2:values>19252883882</ns2:values></ns2:predicates><ns2:predicates><ns2:field>CampaignId</ns2:field><ns2:operator>IN</ns2:operator><ns2:values>258376442</ns2:values></ns2:predicates></ns2:selector><ns2:reportName>AUDIENCE_PERFORMANCE_REPORT for all time</ns2:reportName><ns2:reportType>AUDIENCE_PERFORMANCE_REPORT</ns2:reportType><ns2:dateRangeType>ALL_TIME</ns2:dateRangeType><ns2:downloadFormat>GZIPPED_CSV</ns2:downloadFormat><ns2:includeZeroImpressions>true</ns2:includeZeroImpressions></reportDefinition>

01-19-15 12:07:34,294 WARN report_download - Response received with status code 400 and message: Bad Request

01-19-15 12:07:34,299 ERROR HTTP Response Code: 400, FieldPath: IsRestrict, Type: ReportDefinitionError.INVALID_FIELD_NAME_FOR_REPORT

GregT

unread,
Jan 20, 2015, 7:27:07 PM1/20/15
to adwor...@googlegroups.com
Today, in the process that uses this report extensively for a number of clients, it looks like all the calls failed.

FYI,
Greg

GregT

unread,
Jan 21, 2015, 2:27:39 PM1/21/15
to adwor...@googlegroups.com
Every audience performance report for us is now failing with this error.  I see that ReportDefinitionService.getReportFields() no longer returns the IsRestrict field (though it still exists in the documentation that lists the report types, and worked fine up until a week ago).  Could someone from Google please look into this?  It's causing a number of issues for us.

Thanks in advance,
Greg

Anash P. Oommen (AdWords API Team)

unread,
Jan 22, 2015, 3:25:12 AM1/22/15
to adwor...@googlegroups.com
Hi Greg,

I'll take a look, but meanwhile, please continue making API calls after excluding the IsRestrict column.

Cheers,
Anash P. Oommen,
AdWords API Advisor.

Michael Ni

unread,
Jan 22, 2015, 4:00:30 PM1/22/15
to adwor...@googlegroups.com, Elliot Yan
I have been getting the same error with "display keyword performance report"

HTTP code: 400, error type: 'ReportDefinitionError.INVALID_FIELD_NAME_FOR_REPORT', trigger: '', field path: 'IsRestrict'

the IsRestrict field is no longer usable

Please let the community know when this has been fixed.  

Mike

Mark

unread,
Jan 24, 2015, 6:47:28 AM1/24/15
to adwor...@googlegroups.com
Facing same issue with placement performance report with IsRestrict field.

GregT

unread,
Feb 2, 2015, 12:33:21 PM2/2/15
to adwor...@googlegroups.com
Anash,

It looks like it is working for us again today with the audience performance report (although it's possible it's just back to being an intermittent issue and we haven't hit a failure yet), and it is showing up again in calls to ReportDefinitionService.getReportFields() .  Did you guys fix the issue, and we should be able to rely on this again?

Thanks,
Greg

Anash P. Oommen (AdWords API Team)

unread,
Feb 4, 2015, 10:15:51 AM2/4/15
to adwor...@googlegroups.com
Hi Greg,

Yes, we fixed the issue at our end, and went live by Monday. You can continue relying on this field, the IsRestrict column getting removed was an issue at our end rather than a sunset. Apologies for any issues this may have caused you.

Cheers,
Anash P. Oommen,
AdWords API Advisor.

GregT

unread,
Feb 4, 2015, 10:23:02 AM2/4/15
to adwor...@googlegroups.com
Great - thanks!
Reply all
Reply to author
Forward
0 new messages