UNEXPECTED_INTERNAL_API_ERROR for AdGroupAdService

56 views
Skip to first unread message

Adwords-API User Christian

unread,
Oct 16, 2014, 7:46:43 AM10/16/14
to adwor...@googlegroups.com
Hi!

Since yesterday I'm constantly receiving UNEXPECTED_INTERNAL_API_ERROR when I try to query the AdGroupAd-Amount of an account. The problem occures for different accounts.

I have been using the same query for a long time without any problems.

<?xml version="1.0" encoding="UTF-8"?><soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
    <soapenv:Header>
        <ns1:RequestHeader xmlns:ns1="https://adwords.google.com/api/adwords/cm/v201402" soapenv:mustUnderstand="0">
            <ns1:clientCustomerId>***</ns1:clientCustomerId>
            <ns1:developerToken>>***</ns1:developerToken>
            <ns1:userAgent>>*** (AwApi-Java, AdWords-Axis/1.29.1, Common-Java/1.29.1, Axis/1.4, Java/1.7.0_25, maven)</ns1:userAgent>
            <ns1:validateOnly>false</ns1:validateOnly>
            <ns1:partialFailure>true</ns1:partialFailure>
        </ns1:RequestHeader>
    </soapenv:Header>
    <soapenv:Body>
        <get xmlns="https://adwords.google.com/api/adwords/cm/v201402">
            <serviceSelector>
                <fields>Id</fields>
                <fields>Status</fields>
                <predicates>
                    <field>Status</field>
                    <operator>NOT_EQUALS</operator>
                    <values>DISABLED</values>
                </predicates>
                <ordering>
                    <field>Id</field>
                    <sortOrder>ASCENDING</sortOrder>
                </ordering>
                <paging>
                    <numberResults>0</numberResults>
                </paging>
            </serviceSelector>
        </get>
    </soapenv:Body>
</soapenv:Envelope>

Is there currently a known issue on Google's side? When I use the adwords web frontend and click on the ads tab I'm also getting an error.

Thanks

Christian

Josh Radcliff (AdWords API Team)

unread,
Oct 18, 2014, 8:52:21 AM10/18/14
to adwor...@googlegroups.com
Hi Christian,

This looks like a temporary issue -- I'm able to successfully retrieve ads from the account you were querying today.

By the way, I noticed that you specified numberResults = 0 in your request's paging element. By doing so, you'll only get a total count back, but no actual ads. If that's what you actually want, you might want to consider using reporting instead, as it's much more lightweight than the SOAP services. Check out the Structure Reports Guide and the Zero Impression Reports Guide for more details.

Thanks,
Josh, AdWords API Team

Christian H.

unread,
Oct 21, 2014, 9:24:50 AM10/21/14
to adwor...@googlegroups.com
Hi Josh,

thanks for your answer. Since last friday everything seems to be fine again, I've had no problems requesting the service since.

I actually need just the amount of active Ads in the account to calculate the amount I'm still allowed to create. I'm not interested in the actual data. I think i should remove the ordering-part, since it's useless in this case.

Thanks

Christian
Reply all
Reply to author
Forward
0 new messages