Hi, The most recent version of the AdWords API PHP client library includes a fix for this problem.
http://code.google.com/p/google-api-adwords-php/ The PHP SoapClient class wasn't adding the namespace to the method element (get or mutate) which lead to this error. If you update your library the errors should be resolved. Best, - Eric On Mar 11, 10:27 am, vlad <[email protected]> wrote: > What version of PHP do you use, 5.2 or 5.3? > Can anybody try to run an example on 5.3, please? > > On Mar 11, 9:18 am, Christian Krahn <[email protected]> wrote: > > > > > Same problem here with the AdWords API PHP Framework, every job is > > failing including getAllCampaigns: > > > Request: > > > <SOAP-ENV:Body> > > <ns1:get xsi:type="get"> > > <ns1:selector xmlns:ns1="https://adwords.google.com/api/adwords/ > > cm/v200909" xsi:type="ns1:CampaignSelector"/> > > </ns1:get> > > </SOAP-ENV:Body> > > > Response: > > > <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"> > > <soap:Body> > > <soap:Fault> > > <faultcode>soap:Server</faultcode> > > <faultstring>Unmarshalling Error: cvc-elt.4.2: Cannot resolve > > 'get' to a type definition for element 'ns1:get'. </faultstring> > > </soap:Fault> > > </soap:Body> > > </soap:Envelope> > > > On 11 Mrz., 16:13, vlad <[email protected]> wrote: > > > > Can you run an example (like GetAllCampaigns.php) of the last > > > aw_api_php_lib_2.0.0? > > > It's only one operation - get and the server can't understand it: > > > Can't resolve get to type for element 'ns1:get'. > > > Namespace is wrong? > > > > On Mar 11, 8:17 am, AdWords API Advisor <[email protected]> > > > wrote: > > > > > Hi All, > > > > > These new Unmarshalling errors are due to a change in how XML > > > > validation is done. More information is available here: > > > > > http://groups.google.com/group/adwords-api/browse_thread/thread/f5057... > > > > > Best, > > > > - Eric Koleda, AdWords API Team > > > > > On Mar 11, 9:07 am, Christian Krahn <[email protected]> wrote: > > > > > > Similar problem here: > > > > > > <?xml version="1.0"?> > > > > > <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"> > > > > > <soap:Body> > > > > > <soap:Fault> > > > > > <faultcode>soap:Server</faultcode> > > > > > <faultstring>Unmarshalling Error: cvc-elt.4.2: Cannot resolve > > > > > 'mutate' to a type definition for element 'ns1:mutate'. </faultstring> > > > > > </soap:Fault> > > > > > </soap:Body> > > > > > </soap:Envelope> -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ Have you migrated to v200909 yet? The v13 sunset is on April 22, 2010. Also find us on our blog and discussion group: http://adwordsapi.blogspot.com http://groups.google.com/group/adwords-api =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ You received this message because you are subscribed to the Google Groups "AdWords API Forum" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/adwords-api?hl=en
