Me too!
>From the logs of the .NET library:

Request
-------

POST /api/adwords/cm/v200909/CampaignService
User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; MS Web Services Client
Protocol 2.0.50727.3607)
VsDebuggerCausalityData:
uIDPo1I2mUcKm09HqSZCNXd8bhYAAAAAt49VTDLGJEaknJhzjaJpYcvpntGocyxFmLETCMNHUg8ACQAA
Content-Type: text/xml; charset=utf-8
SOAPAction: ""
Host: adwords.google.com
Content-Length: 886
Expect: 100-continue

<?xml version="1.0" encoding="utf-8"?><soap:Envelope
xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/";
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
xmlns:xsd="http://www.w3.org/2001/
XMLSchema"><soap:Header><RequestHeader xmlns="https://
adwords.google.com/api/adwords/cm/
v200909"><applicationToken>********KaHA</
applicationToken><authToken>********</
authToken><developerToken>********qg_g</developerToken></
RequestHeader></soap:Header><soap:Body><get xmlns="https://
adwords.google.com/api/adwords/cm/
v200909"><selector><statsSelector><dateRange><min>20100519</
min><max>20100519</max></dateRange></statsSelector></selector></get></
soap:Body></soap:Envelope>

Response
--------

X-Content-Type-Options: nosniff
X-Frame-Options: SAMEORIGIN
X-XSS-Protection: 1; mode=block
Transfer-Encoding: chunked
Cache-Control: private, max-age=0
Content-Type: text/xml; charset=UTF-8
Date: Wed, 19 May 2010 09:58:33 GMT
Expires: Wed, 19 May 2010 09:58:33 GMT
Server: GSE

<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/
envelope/"><soap:Header><ResponseHeader xmlns="https://
adwords.google.com/api/adwords/cm/
v200909"><requestId>55681aa40ca9df04d927d5c1986bb768</
requestId><operations>71</operations><responseTime>630</
responseTime><units>71</units></ResponseHeader></
soap:Header><soap:Body><soap:Fault><faultcode>soap:Server</
faultcode><faultstring>Enum
com.google.ads.api.services.campaignmgmt.campaign.v200909.jaxbgen.Level
does not have a constant corresponding to CAMPAIGN while invoking
public abstract
com.google.ads.api.services.campaignmgmt.campaign.v200909.jaxbgen.CampaignPage
com.google.ads.api.services.campaignmgmt.campaign.v200909.jaxbgen.CampaignServiceInterface.get(com.google.ads.api.services.campaignmgmt.campaign.v200909.jaxbgen.CampaignSelector)
throws
com.google.ads.api.services.campaignmgmt.campaign.v200909.jaxbgen.ApiException_Exception
with params
[com.google.ads.api.services.campaignmgmt.campaign.v200909.jaxbgen.campaignselec...@191d85e].</
faultstring></soap:Fault></soap:Body></soap:Envelope>

-----------------END API CALL-----------------------

Unfortunately the .NET library cannot parse that error and raises a
NullReferenceException. Since the original soap exception is lost,
it's very hard to figure out what's going on.

-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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