I've attempted to build a report definition, via following the July 13
article on the AdWordsAPI blog.

I'm a .NET developer using the wsdl.exe and then performing the clean
up of the generated stub class as outlined in the NoClientLibrary wiki
article, which was a savior for my initial migration of my Campaign
Manager apps.

My stub class was generated via: "C:\Program Files\Microsoft Visual
Studio 8\SDK\v2.0\Bin\wsdl.exe" /l:vb /o:GoogleReportService.vb /
sharetypes 
https://adwords.google.com/api/adwords/cm/v201003/ReportDefinitionService?wsdl


Here is my first pass for generating a keyword performance report:

POST /api/adwords/cm/v201003/ReportDefinitionService HTTP/1.1
User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; MS Web Services Client
Protocol 2.0.50727.3615)
VsDebuggerCausalityData:

uIDPo9+2a6wTfzFDkqG5NirrhIQAAAAAFpchaoptL0imFxrUAO
+QrK4XNxUPmCNHrECENuBAxbwACAAA
Content-Type: text/xml; charset=utf-8
SOAPAction: ""
Host: adwords.google.com
Content-Length: 1530
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/
v201003">
<authToken>******</authToken>
<clientEmail>cli...@clientemail.com</clientEmail>
<developerToken>*******</developerToken>
<userAgent>UserAgent</userAgent>
</RequestHeader>
</soap:Header>

<soap:Body><mutate xmlns="https://adwords.google.com/api/adwords/cm/
v201003">
<operations>
<operator>ADD</operator>
<operand>
<selector>
<fields>date</fields>
<fields>campaign</fields>
<fields>adgroup</fields>
<fields>kwSite</fields>
<fields>kwSiteType</fields>
<fields>adwordsType</fields>
<fields>imps</fields>
<fields>clicks</fields>
<fields>ctr</fields>
<fields>cpc</fields>
<fields>cost</fields>
<fields>pos</fields>
<fields>conv</fields>
<fields>convRate</fields>
<fields>costPerConv</fields>
<dateRange>
<min>08/14/2010</min>
<max>08/14/2010</max>
</dateRange>
</selector>
<reportName>Keyword Performance Report</reportName>
<reportType>KEYWORDS_PERFORMANCE_REPORT</reportType>
<dateRangeType>CUSTOM_DATE</dateRangeType>
<downloadFormat>XML</downloadFormat>
</operand>
</operations>
</mutate>
</soap:Body>
</soap:Envelope>

My Response:

HTTP/1.1 500 Internal Server Error
Content-Type: text/xml; charset=UTF-8
Date: Thu, 19 Aug 2010 13:41:52 GMT
Expires: Thu, 19 Aug 2010 13:41:52 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

e3
<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/";>
<soap:Body>
<soap:Fault>
<faultcode>soap:Server</faultcode>
<faultstring>Fault occurred while processing.</faultstring>
</soap:Fault>
</soap:Body>
</soap:Envelope>
0

I've migrated our campaign management API apps this past March to the
V2009 wsdl and have begun the V201003 migration to my reporting apps
only.

I was unable to find previous thread pertaining to this issue, so
hoping for the best from the forum, whilst I continue to look into
resolution.

If anyone has a successful report definition SOAP request that they
can share, it may aid in my troubleshooting.

Thanks in advance
David

-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en

Reply via email to