Hi, What version of PHP is running on that machine? Were there other errors or warnings? Was there any SOAP XML logged?
Best, - Eric Koleda, AdWords API Team On Jun 15, 2:32 am, Hudar <[email protected]> wrote: > Hi, > > Wondering if anyone had any experience like this before or have any > idea what were wrong. I try to submit a keyword and textad after > creating a campaign and adgroup. For this, I use bulk service, use the > same code as in adword 2009 example. > But then got this error in function CreateAndBeginJob from the sample > code. > The error is "Unmarshalling Error: input is empty" > > The strange things is, I did test the code in my local machine, and it > works, successfully submitting keyword and textad. But after upload it > to server, got that error. I believe that the parameter should be > correct, since it works on my local. > > The soap error message is like this : > SoapFault Object > ( > [message:protected] => Unmarshalling Error: input is empty > [string:private] => > [code:protected] => 0 > [file:protected] => /home/public_html/xxxxxxxxx.com/vendors/ > aw_api_php_lib_2.0.0/src/Google/Api/Ads/Common/Lib/AdsSoapClient.php > [line:protected] => 177 > [trace:private] => Array > ( > [0] => Array > ( > [file] => /home/public_html/xxxxxxxxxxx.com/ > vendors/aw_api_php_lib_2.0.0/src/Google/Api/Ads/Common/Lib/ > AdsSoapClient.php > [line] => 177 > [function] => __soapCall > [class] => SoapClient > [type] => -> > [args] => Array > ( > [0] => mutate > [1] => Array > ( > [0] => BulkMutateJobServiceMutate > Object > ( > [operation] => > JobOperation Object > ( > [operand] => > BulkMutateJob Object > ( > [id] => > [policy] > => > [request] > => BulkMutateRequest Object > ( > > [partIndex] => 0 > > [operationStreams] => Array > > ( > > [0] => OperationStream Object > > ( > > [scopingEntityId] => EntityId Object > > ( > > [type] => CAMPAIGN_ID > > [value] => 53793940 > > ) > > [operations] => Array > > ( > > [0] => AdGroupAdOperation Object > > ( > > [operand] => AdGroupAd Object > > ( > > [adGroupId] => 1733399380 > =================== truncated > ================================== > > Hope anybody could give a light on this. Thanks -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ 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
