Hello Tim,
Yes, the <keywordStatuses> field in the DefinedReportJob
specification is only valid if the underlying report type supports
returning KeywordStatus columns. AdGroup reports do not, leading to
this error.
This wouldn't be a big issue except, as I think you pointed out in
another post, <keywordStatuses> is not defined in the WSDL as having
minOccurs="0", so it's not technically an optional field. Despite it
not being marked as optional in the WSDL, the SOAP service will
happily accept DefinedReportJob requests that don't have
<keywordStatuses> specified. We've heard of some SOAP frameworks are
stricter than others about not even letting you send requests unless
the request SOAP validates against the WSDL spec. I think PHP 5's SOAP
library falls into that camp.
If your SOAP framework prevents you from sending the request without
the <keywordStatuses> element, let folks here know which language and
framework you're using, as I believe there are known workarounds (at
least for PHP5's SOAP).
The WSDL needs to be remediated and the core engineering team is
aware of that, but I unfortunately can't provide any timeframe for
when you might expect to see that change go live.
Cheers,
-Jeff Posnick, AdWords API Team
On Apr 1, 11:10 pm, "
tim.a.elli...@gmail.com"