404 error with https://adwords.google.com/api/adwords/cm/v201710

66 views
Skip to first unread message

Zhisheng Zhou

unread,
Jun 9, 2021, 2:39:55 AM6/9/21
to AdWords API and Google Ads API Forum
Hi. Google Ads API team.
My team has been using googld adwords  api to pull google adwords reports.
And it has been working fine without any issue.
Recently we began to see error like the below:

2021-06-08 22:13:48 PDT INFO  [JobScheduler-0] com.google.api.ads.common.lib.utils.logging.RemoteCallLoggerDelegate  - SOAP request:
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
    <soapenv:Header>
        <ns1:RequestHeader xmlns:ns1="https://adwords.google.com/api/adwords/cm/v201710" soapenv:mustUnderstand="0">
            <ns1:developerToken>REDACTED</ns1:developerToken>
            <ns1:userAgent>unknown (AwApi-Java, AdWords-Axis/3.10.0, Common-Java/3.10.0, Axis/1.4, Java/1.8.0_121, maven)</ns1:userAgent>
            <ns1:validateOnly>false</ns1:validateOnly>
            <ns1:partialFailure>false</ns1:partialFailure>
        </ns1:RequestHeader>
    </soapenv:Header>
    <soapenv:Body>
        <getReportFields xmlns="https://adwords.google.com/api/adwords/cm/v201710">
            <reportType>CLICK_PERFORMANCE_REPORT</reportType>
        </getReportFields>
    </soapenv:Body>
</soapenv:Envelope>

2021-06-08 22:13:48 PDT INFO  [JobScheduler-0] com.google.api.ads.common.lib.utils.logging.RemoteCallLoggerDelegate  - SOAP response:
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
    <soapenv:Body>
        <soapenv:Fault>
            <faultcode xmlns:ns1="http://xml.apache.org/axis/">ns1:HTTP</faultcode>
            <faultstring>(404)Not Found</faultstring>
            <detail>
                <string>return code:  404
&lt;html&gt;&lt;body&gt;No service was found.&lt;/body&gt;&lt;/html&gt;</string>
                <ns2:HttpErrorCode xmlns:ns2="http://xml.apache.org/axis/">404</ns2:HttpErrorCode>
            </detail>
        </soapenv:Fault>
    </soapenv:Body>
</soapenv:Envelope>

Is this endpoint deprecated or ?
thanks,

Best,
Sam

Google Ads API Forum Advisor

unread,
Jun 10, 2021, 1:36:58 AM6/10/21
to zhisheng...@gmail.com, adwor...@googlegroups.com
Hi Sam,

Thank you for posting your concern.

Possible reason why this error occurred is because the API version v201710 that you've used is indeed deprecated. With this, if you still want to use AdWords API, then I would suggest migrating to the API version v201809 by downloading the current Java client library version.

However, we recommend to directly planning and migrating to Google Ads API as soon as you can for managing Google Ads account using API. All developers need to upgrade existing integrations to the Google Ads API by April 27, 2022. On that date, the AdWords API will sunset and requests to the AdWords API will fail. Also, new features will only be made available in the Google Ads API. Please feel free to use this feature map to understand which features have been migrated to the Google Ads API and the respective documentation.  

Regards,
Google Logo
Ernie John Blanca Tacata
Google Ads API Team
 


ref:_00D1U1174p._5004Q2I1Lw6:ref
Reply all
Reply to author
Forward
0 new messages