InternalApiError.UNEXPECTED_INTERNAL_API_ERROR requesting Campaign Extension

113 views
Skip to first unread message

af...@thesnugg.com

unread,
Apr 14, 2015, 8:53:36 AM4/14/15
to adwor...@googlegroups.com
Hi,

I'm using the C# Clinet library to get Campaign Extensions using CampaignExtensionSettingService, the code I am using is:

// Get the CampaignExtensionSettingService.
CampaignExtensionSettingService campaignExtensionSettingService =
    (CampaignExtensionSettingService)user.GetService(
            AdWordsService.v201502.CampaignExtensionSettingService);

Selector eSelector = new Selector()
{
    fields = new string[] { "CampaignId", "ExtensionType" },
    predicates = new Predicate[] {
        new Predicate() {
            field = "CampaignId",
            @operator = PredicateOperator.EQUALS,
            values = new string[] {campaign.id.ToString()}
        },
        new Predicate() {
            field = "ExtensionType",
            @operator = PredicateOperator.EQUALS,
            // values = new string[] {"CALLOUT"}
            values = new string[] {"SITELINK"}
        }
                                       
    }
};

CampaignExtensionSettingPage ePage = campaignExtensionSettingService.get(eSelector);


If there is no extension the the results have 0 entries but when there are extensions the following exception is thrown:

System.Web.Services.Protocols.SoapException: [InternalApiError.UNEXPECTED_INTERNAL_API_ERROR @ com.google.ads.api.services.common.error.InternalApiError.<init>(InternalApiErro]
  at System.Web.Services.Protocols.SoapHttpClientProtocol.ReadResponse(SoapClientMessage message, WebResponse response, Stream responseStream, Boolean asyncCall)
  at System.Web.Services.Protocols.SoapHttpClientProtocol.Invoke(String methodName, Object[] parameters)
 
at Google.Api.Ads.Common.Lib.AdsSoapClient.MakeApiCall(String methodName, Object[] parameters)


Can you please help?

Regards,


Afzal

Danial Klimkin

unread,
Apr 14, 2015, 10:41:12 AM4/14/15
to adwor...@googlegroups.com
Hello Afzal,


Could you please send me the exact XML request and full server response over email (reply to author on the right)?


-Danial, AdWords API Team.

af...@thesnugg.com

unread,
Apr 21, 2015, 6:16:49 AM4/21/15
to adwor...@googlegroups.com
Hi Danial,

Can you please tell me if there has been any progress on my post, do you have an ETA for a fix?

Kind Regards,

Afzal

Danial Klimkin

unread,
Apr 21, 2015, 9:11:48 AM4/21/15
to adwor...@googlegroups.com
Hi Afzal,


i'll update this thread as soon as the fix is rolled out. Unfortunately I can't suggest any ETA but I expect the fix to be ready soon.


-Danial, AdWords API Team.

omar.t...@stylight.com

unread,
Apr 21, 2015, 11:38:43 AM4/21/15
to adwor...@googlegroups.com
I'm having exactly the same problem. Any idea what this is about?

Omar

Udo Gröbner

unread,
May 7, 2015, 10:22:02 AM5/7/15
to adwor...@googlegroups.com
Same behaviour/problem here (with ruby client)

Mark Richardson

unread,
May 12, 2015, 11:46:27 AM5/12/15
to adwor...@googlegroups.com
I had the same problem. When I added the "Extensions" field the problem was fixed. 

fields = new string[] { "CampaignId", "ExtensionType", "Extensions"},

Mark

Danial Klimkin

unread,
May 13, 2015, 12:07:02 PM5/13/15
to adwor...@googlegroups.com, af...@thesnugg.com
This issue should be fully resolved now. Do you still see the same error?

If so, please send me the full log over email (reply to author on the right of my post).


-Danial, AdWords API Team.
Reply all
Reply to author
Forward
0 new messages