Hello,
The error could be determined by HTTP code (400 or 500 for error) and
response body which is in format:
!!!||???
for example:
!!!2|||-1|||Improperly formatted report request???
-Danial, AdWords API Team.
--
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our bl
Hi Anash
Thanks for the info. Are you able to confirm that the API returns consistent
Content-Type headers for valid and invalid report definitions?
Or, if not, do you have a definition for the error format?
Thanks
--
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog a
Hi,
Currently, you will get a 200 with error messages in the report if you send
a bad report definition. So you will have to examine the report contents to
figure out if the report failed or not. The reporting team is aware of the
request you made to determine failure based on status code, but
I've noticed that, in general, the Adhoc reporting returns a 400 response
with the error message in the body when I ask it to do something silly (like
ask for a report on an MCC Customer).
This behaviour is, however, inconsistent, as you can post a report
definition with an incorrect dateRangeT