AdsSoapClient exception

21 views
Skip to first unread message

jinnee ht

unread,
Feb 27, 2018, 4:25:37 AM2/27/18
to AdWords API Forum
Hello,

I am receiving following error while working on adwords using the latest version php library. Please help me to resolve the error:-  

[2018-02-27 15:06:46] AW_SOAP.WARNING: clientCustomerId=958-107-4003 operations= service=AdGroupService method=get responseTime= requestId= server= isFault=1 faultMessage=Could not connect to host  
[2018-02-27 15:06:46] AW_SOAP.NOTICE: 

<?xml version="1.0" encoding="UTF-8"?>
<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ns1="https://adwords.google.com/api/adwords/cm/v201710"><SOAP-ENV:Header><ns1:RequestHeader><ns1:clientCustomerId>958-107-4003</ns1:clientCustomerId><ns1:developerToken>REDACTED</ns1:developerToken><ns1:userAgent>unknown (AwApi-PHP, googleads-php-lib/33.0.1, PHP/5.6.25)</ns1:userAgent><ns1:validateOnly>false</ns1:validateOnly><ns1:partialFailure>false</ns1:partialFailure></ns1:RequestHeader></SOAP-ENV:Header><SOAP-ENV:Body><ns1:get><ns1:serviceSelector><ns1:fields>Id</ns1:fields><ns1:fields>Name</ns1:fields><ns1:predicates><ns1:field>CampaignId</ns1:field><ns1:operator>IN</ns1:operator><ns1:values>0</ns1:values></ns1:predicates><ns1:ordering><ns1:field>Name</ns1:field><ns1:sortOrder>ASCENDING</ns1:sortOrder></ns1:ordering><ns1:paging><ns1:startIndex>0</ns1:startIndex><ns1:numberResults>500</ns1:numberResults></ns1:paging></ns1:serviceSelector></ns1:get></SOAP-ENV:Body></SOAP-ENV:Envelope>


Dhanya Sundararaju (AdWords API Team)

unread,
Feb 27, 2018, 1:09:47 PM2/27/18
to AdWords API Forum
Hi,

Could you please confirm if you have followed the steps as stated in the AdWords API PHP Client Library for initial setup? After that, could you run GetCampaigns.php, and reply back with SOAP request and response please? You may opt to reply privately to author.

Regards,
Dhanya, AdWords API Team
Reply all
Reply to author
Forward
0 new messages