Unexpected Internal API Error on TargetingIdea Method

32 views
Skip to first unread message

mber...@atma-it.com

unread,
Jul 29, 2018, 9:52:36 PM7/29/18
to AdWords API and Google Ads API Forum
Hi,

I'm developing an integration with Adwords API using .NET client library in the latest version (23.5.1), but when I call the method TargetingIdea I receive the error UNEXPECTED_INTERNAL_API_ERROR.

I created to accounts to authenticate de request, the first is an admin of Adwords Project GSuite, the second is a test account, both have the same domain and belong to the same organization. I'm using the developer token generated in admin account and the PrnEmail and Client Id from test account.

The data passed on request is the same of the documentation provided here, the only difference it's the content of tag <searchParameters>, I did the request usgin both versions distributed in .NET library (v201802 and v201806) and I received the same error.

Here is the request captured with Fiddler

<?xml version="1.0" encoding="UTF-8"?> <s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/"> <s:Header> <RequestHeader xmlns="https://adwords.google.com/api/adwords/o/v201802"> <clientCustomerId xmlns="https://adwords.google.com/api/adwords/cm/v201802">MyClientCustomerId</clientCustomerId> <developerToken xmlns="https://adwords.google.com/api/adwords/cm/v201802">MyDeveloperToken</developerToken> <userAgent xmlns="https://adwords.google.com/api/adwords/cm/v201802">MyUserAgent(AwApi-DotNet/23.5.0, Common-Dotnet/9.3.0, .NET CLR/4.0.30319.42000, , gzip)</userAgent> </RequestHeader> </s:Header> <s:Body xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <get xmlns="https://adwords.google.com/api/adwords/o/v201802"> <selector> <searchParameters xsi:type="RelatedToQuerySearchParameter"> <queries>armário</queries> <queries>cozinha</queries> </searchParameters> <requestType>IDEAS</requestType> <requestedAttributeTypes>KEYWORD_TEXT</requestedAttributeTypes> <requestedAttributeTypes>SEARCH_VOLUME</requestedAttributeTypes> <requestedAttributeTypes>AVERAGE_CPC</requestedAttributeTypes> <requestedAttributeTypes>COMPETITION</requestedAttributeTypes> <paging> <startIndex xmlns="https://adwords.google.com/api/adwords/cm/v201802">0</startIndex> <numberResults xmlns="https://adwords.google.com/api/adwords/cm/v201802">15</numberResults> </paging> <currencyCode>BRL</currencyCode> </selector> </get> </s:Body> </s:Envelope>

Peter Oliquino (AdWords API Team)

unread,
Jul 30, 2018, 2:15:10 AM7/30/18
to AdWords API and Google Ads API Forum
Hi,

The UNEXPECTED_INTERNAL_API_ERROR indicates that there may be a temporary issue in the servers or maybe due to a bug. Could you confirm if the issue persists or if this was a one time incident? If there had been many instances of the issue, could you provide to me the complete SOAP request and response that also includes your clientCustomerId so I can further investigate?

You may send your reply via the Reply privately to author option.

Thanks and regards,
Peter
AdWords API Team
Reply all
Reply to author
Forward
0 new messages