Advisory team and Forum Members,
Just installed aw_api_php_lib_2.1.0

My PHP version is 5.2.5
version v200909.
SOAP support is there.

My example GetRelatedKeywords.php runs fine but ...
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] => /home/content/s/a/t/satishmantri/html/client/
apiphplib/src/Google/Api/Ads/Common/Lib/AdsSoapClient.php
[line:protected] => 179 [trace:private] => Array ( [0] => Array
( [file] => /home/content/s/a/t/satishmantri/html/client/apiphplib/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] =>
DQAAAJwAAAB3wL3xBYN9kbnWi2r3vgcb27pb3yKxdsiGDj3rF6Q8qQW0mCfkBQUcITrRtxNTJ2y2FcmLAJEpC8MQq-
AqfpIYjsA6w6H6Y-
CWRNCcPCZavgU7c_xwCjb3DG2lGWvtnBUEBH69GwazBUMk0b7USfgsYQXneXXLafZN0ww-
XMPJqJ1lbDzDt0a84NJN__MarrCsjWDtN_T55nrqLXS34Ign [clientCustomerId] =>
[clientEmail] => client_1+oscprofession...@gmail.com [developerToken]
=> oscprofession...@gmail.com++usd [userAgent] => AwApi-PHP-2.1.0-
ensys [validateOnly] => ) [enc_stype] => RequestHeader [enc_ns] =>
https://adwords.google.com/api/adwords/cm/v200909 ) [mustUnderstand]
=> ) ) [4] => Array ( ) ) ) [1] => Array ( [file] => /home/content/s/a/
t/satishmantri/html/client/apiphplib/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] => /
home/content/s/a/t/satishmantri/html/client/apiphplib/examples/v200909/
GetAllCampaigns.php [line] => 56 [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 )


What is the solution.

Thanks in advance.

Satish

-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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

Reply via email to