HI, I have done this issue with upgrading php on linux server from php 5.2.5 to 5.2.11.
Thanks and Regards, y.kondalarao. On Jun 28, 5:57 pm, kondalarao yarragunta <kondalar...@gmail.com> wrote: > Hi, > > Just installed aw_api_php_lib_2.2.0 for sandbox. > > My PHP version is 5.2.5 version v200909. SOAP support is there. and linux > server. > > when I try to use examples/v200909/GetAllCampaigns.php , I get this error. > > SoapFault Object ( [message:protected] => > Unmarshalling Error: UndeclaredPrefix: Cannot resolve > 'ns1:CampaignSelector' as a QName: the prefix 'ns1' is not declared. > [string:private] => [code:protected] => 0 [file:protected] => > /usr/local/apache/htdocs/aw_api_php_lib_2.2.0/src/Google/Api/Ads/Common/Lib/AdsSoapClient.php > [line:protected] => 179 [trace:private] => > Array ( [0] => Array ( [file] => > /usr/local/apache/htdocs/aw_api_php_lib_2.2.0/src/Google/Api/Ads/Common/Lib/AdsSoapClient.php > [line] => 179 > [function] => __soapCall [class] => SoapClient [type] => -> > [args] => Array ( [0] => get [1] => Array ( [0] => CampaignServiceGet > Object ( [selector] => CampaignSelector Object ( [ids] => [campaignStatuses] > => [statsSelector] => [paging] => ) ) ) [2] => [3] => Array ( [0] => > SoapHeader Object ( [namespace] > =>https://adwords.google.com/api/adwords/cm/v200909[name] => RequestHeader > [data] => SoapVar Object ( [enc_type] => 301 [enc_value] => > SoapRequestHeader Object ( [applicationToken] => ignored [authToken] => > DQAAAJMAAADGMOiRhXKf5SrKCsfFN5v2EWYXltCLL42sk_Zwa1sSDeTLJKcHcB6j-1ocn1OB9czl6nOtE6lCbWGLmsGcKgE1xEMsjIkhCqxevp3Uw7tpfAcWVBSUcAe1l91rxa9wzAuVlkg5rs5b11eHcr9bfnEsqxvHwBvbW2gFmPDkwY8u36o7bRxsPKNLNdM08KnYDcAm_wXQ6ZBuoIiWlLtbk-Nz > [clientCustomerId] => [clientEmail] => > client_1+kondalar...@gmail.com<client_1%2bkondalar...@gmail.com>[developerToken] > => > kondalar...@gmail.com++usd [userAgent] => AwApi-PHP-2.2.0-bluesoft > [validateOnly] => ) [enc_stype] => RequestHeader [enc_ns] > =>https://adwords.google.com/api/adwords/cm/v200909) [mustUnderstand] => ) ) > [4] => Array ( ) ) ) [1] => Array ( [file] => > /usr/local/apache/htdocs/aw_api_php_lib_2.2.0/src/Google/Api/Ads/AdWords/v200909/cm/CampaignService.php > [line] => 4303 [function] => __soapCall [class] => AdsSoapClient [type] => > -> [args] => Array ( [0] => get [1] => Array ( [0] => CampaignServiceGet > Object ( [selector] => CampaignSelector Object ( [ids] => [campaignStatuses] > => [statsSelector] => [paging] => ) ) ) ) ) [2] => Array ( [file] => > /usr/local/apache/htdocs/aw_api_php_lib_2.2.0/examples/v200909/GetAllCampaigns.php > [line] => 58 [function] => get [class] => CampaignService [type] => -> > [args] => Array ( [0] => CampaignSelector Object ( [ids] => > [campaignStatuses] => [statsSelector] => [paging] => ) ) ) ) [faultstring] > => Unmarshalling Error: UndeclaredPrefix: Cannot resolve > 'ns1:CampaignSelector' as a QName: the prefix 'ns1' is not declared. > [faultcode] => soap:Server ) > > Please provide the solution. > > Thanks in advance. > > Y.Kondalarao. -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ 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