I've still not been able to run anything in the API.
I'm currently getting a SOAP error:
SOAP-ERROR: Parsing WSDL: Couldn't load from
'https://adwords-sandbox.google.com/api/adwords/cm/v201008/CampaignService?wsdl'
: Start tag expected, '<' not found
For the above example, the line of code causing the error is simply the
soapclient constructor call:
parent::__construct($wsdl, $options);
Using the below code, I get a valid XML file:
$data =
file_get_contents("https://adwords-sandbox.google.com/api/adwords/cm/v201008/CampaignService?wsdl");
$sxe = simplexml_load_string($data);
I don't know what the difference is!
Is it possible the sandbox server is asking for a password or some other
pop-up window is being returned to the soapclient call and thus breaking the
XML?
--
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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