Friday, 5 February 2016

New PHP Client Lib 8.0.0 is not supporting includezeroimpression for various reports

Hello All,

I was working on moving my code to new PHP Client Lib 8.0.0 and was getting error while downloading campaign performance report.
The same code is working fine with client library 7.0.2

Error was :
"Response Code: 400
Error Message: Report download failed. Underlying errors are 
Type = 'ReportDownloadError.INVALID_REPORT_DEFINITION_XML', Trigger = 'Invalid ReportDefinition Xml: cvc-complex-type.2.4.a: Invalid content was found starting with element 'includeZeroImpressions'. One of '{"https://adwords.google.com/api/adwords/cm/v201506":id, "https://adwords.google.com/api/adwords/cm/v201506":selector}' is expected.', FieldPath = ''. "


Soap Log ; 

Parameters:
__rdxml: <?xml version="1.0" encoding="UTF-8"?>
<reportDefinition><includeZeroImpressions>false</includeZeroImpressions></reportDefinition>

Thanks

--
--
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/fc59edc8-923f-4116-8b45-9676cf512cdf%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

No comments:

Post a Comment