For example I have an exception in Get on AdGroupCriterionService.
v200909

[2010-07-23 09:41:57,671::WARNING::AdWords API Python Client Library
v10.0.0] StartTime: 2010-07-23 09:41:55
*** Outgoing HTTP headers
**********************************************
User-Agent: ZSI 2.0.0 (http://pywebsvcs.sf.net); ElementTree v1.2.6
************************************************************************
*** Outgoing SOAP
******************************************************
<?xml version="1.0" encoding="UTF-8"?>
<SOAP-ENV:Envelope xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/
encoding/" xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/";
xmlns:ZSI="http://www.zolera.com/schemas/ZSI/"; xmlns:xsd="http://
www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-
instance">
<SOAP-ENV:Header>
<RequestHeader xmlns="https://adwords.google.com/api/adwords/cm/
v200909">
<authToken>xxxxxx</authToken>
<userAgent>AWAPI PyLib v10.0.0: Test Client</userAgent>
<developerToken>[email protected]++cad</developerToken>
<clientEmail>[email protected]</clientEmail>
</RequestHeader>
</SOAP-ENV:Header>
<SOAP-ENV:Body xmlns:ns1="https://adwords.google.com/api/adwords/cm/
v200909">
<ns1:get xmlns:ns1="https://adwords.google.com/api/adwords/cm/
v200909">
<ns1:selector>
<ns1:idFilters>
<ns1:adGroupId>3000457831</ns1:adGroupId>
</ns1:idFilters>
<ns1:userStatuses>ACTIVE</ns1:userStatuses>
<ns1:userStatuses>PAUSED</ns1:userStatuses>
</ns1:selector>
</ns1:get>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>
************************************************************************
*** Incoming HTTP headers
**********************************************
500 Internal Server Error
Content-Type: text/xml; charset=UTF-8
Date: Fri, 23 Jul 2010 13:45:07 GMT
Expires: Fri, 23 Jul 2010 13:45:07 GMT
Cache-Control: private, max-age=0
X-Content-Type-Options: nosniff
X-Frame-Options: SAMEORIGIN
X-XSS-Protection: 1; mode=block
Server: GSE
Transfer-Encoding: chunked
************************************************************************
*** Incoming SOAP
******************************************************
<?xml version="1.0" encoding="UTF-8"?>
<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/
envelope/"><soap:Header><ResponseHeader xmlns="https://
adwords.google.com/api/adwords/cm/
v200909"><requestId>b97f14d9b0738b5e52ee78fb5bd9778a</
requestId><operations>1</operations><responseTime>935</
responseTime><units>1</units></ResponseHeader></
soap:Header><soap:Body><soap:Fault><faultcode>soap:Server</
faultcode><faultstring>[InternalApiError.UNEXPECTED_INTERNAL_API_ERROR
@ ]</faultstring><detail><ApiExceptionFault xmlns="https://
adwords.google.com/api/adwords/cm/
v200909"><message>[InternalApiError.UNEXPECTED_INTERNAL_API_ERROR @ ]</
message><ApplicationException.Type>ApiException</
ApplicationException.Type><errors xmlns:xsi="http://www.w3.org/2001/
XMLSchema-instance" xsi:type="InternalApiError"><fieldPath></
fieldPath><trigger></trigger><ApiError.Type>InternalApiError</
ApiError.Type><reason>UNEXPECTED_INTERNAL_API_ERROR</reason></errors></
ApiExceptionFault></detail></soap:Fault></soap:Body></soap:Envelope>
************************************************************************
EndTime: 2010-07-23 09:41:57

On Jul 23, 7:14 am, barta <[email protected]> wrote:
> Hi,
>
> I have created a campaign, an adGroup and two ads in sandbox.
> I can list campaigns and adGroups, but when I try to list ads I get
> UNEXPECTED_INTERNAL_API_ERROR.
>
> java code is simple:
>
> AdGroupAdServiceInterface adGroupAdService =
> user.getService(AdWordsService.V201003.ADGROUP_AD_SERVICE);
> AdGroupAdPage page = adGroupAdService.get(new AdGroupAdSelector());
>
> Request log:
>
> [email protected] [email protected]
> service=AdGroupAdService method=get operators={} responseTime=1865
> operations=1 units=1 requestId=43c0e56eb2a33a5747eb54539778c57c
> server=https://adwords-sandbox.google.comisFault=true
> faultMessage=[InternalApiError.UNEXPECTED_INTERNAL_API_ERROR @ ]
>
> SOAP log:
>
> [23 j.l. 2010 12:54:46,427 - DEBUG]
> <?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 soapenv:actor="http://
> schemas.xmlsoap.org/soap/actor/next" soapenv
> :mustUnderstand="0" xmlns:ns1="https://adwords.google.com/api/adwords/
> cm/v201003"><ns1:authToken xmlns:ns1="https://adwords.google.com/api/
> adwords/cm/v201003
> ">******</ns1:authToken><ns1:clientEmail>[email protected]</
> ns1:clientEmail><ns1:developerToken>[email protected]++usd</
> ns1:developerToken><ns1:us
> erAgent>AdWords API Java Client Library - v8.1.0 - Bookline</
> ns1:userAgent><ns1:validateOnly>false</ns1:validateOnly></
> ns1:RequestHeader></soapenv:Header><so
> apenv:Body><get xmlns="https://adwords.google.com/api/adwords/cm/
> v201003"><selector/></get></soapenv:Body></soapenv:Envelope>
> [23 j.l. 2010 12:54:46,442 - DEBUG]
> <?xml version="1.0" encoding="UTF-8"?><soap:Envelope
> xmlns:soap="http://schemas.xmlsoap.org/soap/
> envelope/"><soap:Header><ResponseHeader xmlns="https://adwor
> ds.google.com/api/adwords/cm/
> v201003"><requestId>43c0e56eb2a33a5747eb54539778c57c</
> requestId><operations>1</operations><responseTime>1865</
> responseTime><unit
> s>1</units></ResponseHeader></
> soap:Header><soap:Body><soap:Fault><faultcode>soap:Server</
> faultcode><faultstring>[InternalApiError.UNEXPECTED_INTERNAL_API_ERR
> OR @ ]</faultstring><detail><ApiExceptionFault xmlns="https://
> adwords.google.com/api/adwords/cm/
> v201003"><message>[InternalApiError.UNEXPECTED_INTERNAL_API_E
> RROR @ ]</message><ApplicationException.Type>ApiException</
> ApplicationException.Type><errors xsi:type="InternalApiError"
> xmlns:xsi="http://www.w3.org/2001/XM
> LSchema-instance"><fieldPath/><trigger/
>
> ><errorString>InternalApiError.UNEXPECTED_INTERNAL_API_ERROR</
>
> errorString><ApiError.Type>InternalApiError</ApiError.Ty
> pe><reason>UNEXPECTED_INTERNAL_API_ERROR</reason></errors></
> ApiExceptionFault></detail></soap:Fault></soap:Body></soap:Envelope>
>
> Thanks, Tamas

-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and discussion group:
http://adwordsapi.blogspot.com
http://groups.google.com/group/adwords-api
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

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

Reply via email to