Hello,
I'm migrating from APIlity v13 to v200909 and tried to run examples/
v200909/GetAllCampaignsExample.php with mixed results. It seems that
the WSDL is returning an authToken, however, non of my campaign info
returns. I'm making the request on our production account and not the
sandbox either. Also, I get two errors:
First error: Deprecated: Function split() is deprecated in /path/to/
adwords/src/Google/Api/Ads/Common/Util/AuthToken.php on line 70
Second error: SOAP-ERROR: Parsing WSDL: Couldn't load from 'https://
adwords.google.com/api/adwords/cm/v200909/CampaignService?wsdl' :
Extra content at the end of the document
The following (in addition to functions and methods) is returned:
...
[2] => AdWordsUser Object
(
[email:AdWordsUser:private] =>
mye...@mydomain.com
[password:AdWordsUser:private] =>
1234567890
[requestHeaderElements:AdsUser:private] => Array
(
[userAgent] => AdWords API
PHP Client LIbrary - v1.1.0 - 123-123-1234
[clientEmail] =>
em...@domain.com
[developerToken] =>
112233445566778899
[applicationToken] =>
1234567890
[authToken] => 1234567890-
long string of alphnumerics
)
[defaultServer:AdsUser:private] =>
https://adwords.google.com
[defaultVersion:AdsUser:private]
=> v200909
[logsDirectory:AdsUser:private]
=> /path/to/adwords/logs
)
[3] => CampaignService
)
)
...
My development server is a personal webserver running Mac OSX 10.6,
Apache 2, PHP 5.3 with SOAP enabled.
Any thoughts would be appreciated. Thanks in advance!
rwhite35