Hi Dan, I've looked at the logs for this request, and the error was caused by internal timeouts. Let me know if these errors pop up again.
Best, - Eric On Oct 27, 12:11 pm, "[email protected]" <[email protected]> wrote: > responseTime=59994 > requestId=c34cec754665b378d152402ee204f74d > operations=1 > units=1 > server=adwords-sandbox.google.com > isFault=true > faultMessage=InternalApiError.UNEXPECTED_INTERNAL_API_ERROR @ > > However since I posted this, it has started working, without any code > changes. > > I'm guessing it was just a temporary blip. > > Dan > > On Oct 27, 3:23 pm, AdWords API Advisor <[email protected]> > wrote: > > > > > Hi Dan, > > > Can you also post the complete SOAP XML response from the logs? I'm > > specifically interested in the returned requestId header. > > > Thanks, > > - Eric Koleda, AdWords API Team > > > On Oct 27, 8:19 am, "[email protected]" <[email protected]> > > wrote: > > > > I've only just started looking into v200909 today, so I might not have > > > found all the information. > > > > I have managed to bring back a list of all campaigns, including > > > deleted ones. > > > > How do I bring back only active/paused campaigns? > > > > So far I have: > > > > // Get the CampaignService. > > > $campaignService = $user->GetCampaignService(); > > > > // Get all campaigns. > > > $campaignPage = $campaignService->get(new CampaignSelector(NULL, array > > > ('ACTIVE','PAUSED') )); > > > > This produces: > > > <SOAP-ENV:Body> > > > <ns1:get> > > > <ns1:selector> > > > <ns1:campaignStatuses>ACTIVE</ns1:campaignStatuses> > > > <ns1:campaignStatuses>PAUSED</ns1:campaignStatuses> > > > </ns1:selector> > > > </ns1:get> > > > </SOAP-ENV:Body> > > > > Which seems to be correct (based on other posts in this forum). > > > > However I get: > > > > [faultstring] => InternalApiError.UNEXPECTED_INTERNAL_API_ERROR @ > > > [faultcode] => soap:Server > > > [detail] => stdClass Object > > > ( > > > [ApiExceptionFault] => stdClass Object > > > ( > > > [message] => > > > InternalApiError.UNEXPECTED_INTERNAL_API_ERROR @ > > > [ApplicationException.Type] => ApiException > > > [errors] => SoapVar Object > > > ( > > > [enc_type] => 0 > > > [enc_value] => InternalApiError Object > > > ( > > > [reason] => > > > UNEXPECTED_INTERNAL_API_ERROR > > > [fieldPath] => > > > [trigger] => > > > [ApiErrorType] => InternalApiError > > > [_parameterMap:private] => Array > > > ( > > > [ApiError.Type] => > > > ApiErrorType > > > ) > > > > ) > > > > [enc_stype] => InternalApiError > > > [enc_ns] > > > =>https://adwords.google.com/api/adwords/cm/v200909 > > > ) > > > > ) > > > > ) > > > > Thanks, > > > > Dan --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "AdWords API Forum" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/adwords-api?hl=en -~----------~----~----~----~------~----~------~--~---
