Hi DomJ, Can you post a request id for a failed request online?
Cheers, Anash P. Oommen, AdWords API Advisor. On Sep 30, 9:32 pm, domJ <eb.domi...@googlemail.com> wrote: > Hi, > > every time I try to add a UserList i get the following error: > > Fatal error: Uncaught SoapFault exception: [soap:Server] Unmarshalling > Error: Unable to create an instance of > com.google.ads.api.services.campaignmgmt.userlist.v201008.jaxbgen.UserList > in > E:\wamp\www\grt\app\plugins\adwords\controllers\components\audiences_handle > r.php:104 > Stack trace: #0 [internal function]: SoapClient->__call('mutate', > Array) #1 > E:\wamp\www\grt\app\plugins\adwords\controllers\components\audiences_handle > r.php(104): > SoapClient->mutate(Array) #2 > E:\wamp\www\grt\app\plugins\adwords\controllers\adwords_audiences_controlle > r.php(41): > AudiencesHandlerComponent->addAudience() #3 [internal function]: > AdwordsAudiencesController->add() #4 > E:\wamp\www\grt\cake\dispatcher.php(204): call_user_func_array(Array, > Array) #5 E:\wamp\www\grt\cake\dispatcher.php(171): > Dispatcher->_invoke(Object(AdwordsAudiencesController), Array) #6 > E:\wamp\www\grt\app\webroot\index.php(83): Dispatcher->dispatch() #7 > {main} thrown in > E:\wamp\www\grt\app\plugins\adwords\controllers\components\audiences_handle > r.php > on line 104 > > What is the error? Here is my code (without the servicedeclaration) > > // Create operations. $userList = array( 'name' => 'das ist mein > title', 'description' => 'Hier kommt ueblicher Weise eine kleine > Beschreibung zur Liste rein.', 'status' => 'OPEN', 'membershipLifeSpan' > => '540', 'type' => 'REMARKETING', ); $operation = array('operator' > => 'ADD', 'operand' => $userList); $operations = array($operation); > $result = $userListService->mutate(array(array('operator' > => 'ADD','operand' => $userList))); > > Thanks for help. > > DomJ -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ 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 adwords-api@googlegroups.com To unsubscribe from this group, send email to adwords-api+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/adwords-api?hl=en