Re: SoapHeader problem with the api

2012-01-16 Thread Anash P. Oommen
Hi, Good to know your calls are succeeding. You will start getting actual results once you make calls to the production environment. Cheers, Anash P. Oommen, AdWords API Advisor. -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ Also find us on our blog and discussion group: http://adwordsap

Re: SoapHeader problem with the api

2012-01-10 Thread Máté Markovics
Hi Anash P. Oommen, File response (Sandbox mode): 0004b628067451600ada6ee77677AccountServiceget102996800CRITERIONCriterionAttributeKeywordwebsite creator d918d6c3BROADAVERAGE_TARGETED_MONTHLY_SEARCHESLongAttribute368000CRITERIONCriterionAttributeKeywordred herring 5d7ae5fbBROADAVERAGE_TARGETED

Re: SoapHeader problem with the api

2012-01-09 Thread Anash P. Oommen
I would also do a trim() on $xml, since the newline in front of the xml will be interpreted as invalid character. Cheers, Anash P. Oommen, AdWords API Advisor. -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ Also find us on our blog and discussion group: http://adwordsapi.blogspot.com http:

Re: SoapHeader problem with the api

2012-01-09 Thread Máté Markovics
Hi Anash P. Oommen, Thank you for your help! Another question would be! Do you think it will be good? $xml_data = ' '; $feedUrl = "https://adwords-sandbox.google.com/api/adwords/o/v201109/ TargetingIdeaService?wsdl"; $ch = curl_init(); curl_setopt($ch, CURLOPT_URL, $feedUrl); curl_setopt($ch,

Re: SoapHeader problem with the api

2012-01-09 Thread Anash P. Oommen
Hi Máté, The error message says Unmarshalling Error: Unable to create an instance of com.google.ads.api.services.targetingideas.v201101.jaxbgen.SearchParameter I think your code is not generating proper SOAP xml. My guess on the specifics would be that your code is not adding an xsi:type on

Re: SoapHeader problem with the api

2012-01-06 Thread Máté Markovics
Hi Evgeniy. Thank you very much for your help! I am trying to solve! Regards,Máté. On jan. 6, 13:54, Evgeniy Bogdanov wrote: > Hi Máté. > > I think that this is problem is not API-related. > It is PHP-based. Problem is in your Soap object constructor. > > As and Idea - run example for TargetingIde

Re: SoapHeader problem with the api

2012-01-06 Thread Evgeniy Bogdanov
Hi Máté. I think that this is problem is not API-related. It is PHP-based. Problem is in your Soap object constructor. As and Idea - run example for TargetingIdeaService from library example (by default it will save logs) and compare raw requests - generated by official library and yours. If thi

SoapHeader problem with the api

2012-01-05 Thread Máté Markovics
Hi, I wrote a file and I got an error. What is wrong? Please help! Error code: Fatal error: Uncaught SoapFault exception: [soap:Client] Unmarshalling Error: Unable to create an instance of com.google.ads.api.services.targetingideas.v201101.jaxbgen.SearchParameter in /web/tesztfeladat/tesztfeladat/