Hi Remya,

Please refer to the definition of DefinedReportJob at
http://code.google.com/apis/adwords/docs/developer/DefinedReportJob.html,
it has no field named Campaign or Country. Here's the sample logs from
a successful API call.

-----------------BEGIN API CALL---------------------

Request
-------

<?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>
<clientEmail
xmlns="https://adwords.google.com/api/adwords/v13";>********</clientEmail>
<developerToken
xmlns="https://adwords.google.com/api/adwords/v13";>********</developerToken>
<email
xmlns="https://adwords.google.com/api/adwords/v13";>********</email>
<password
xmlns="https://adwords.google.com/api/adwords/v13";>********</password>
<useragent xmlns="https://adwords.google.com/api/adwords/v13";>AWAPI
DotNetLib 9.0.0 - Google</useragent>
</soap:Header>
<soap:Body>
<validateReportJob xmlns="https://adwords.google.com/api/adwords/v13";>
<job xsi:type="DefinedReportJob">
<endDay>2010-06-21</endDay>
<name>Geographic Report</name>
<startDay>2009-01-01</startDay>
<aggregationTypes>Campaign</aggregationTypes>
<campaigns>182388</campaigns>
<selectedColumns>Country</selectedColumns>
<selectedColumns>Campaign</selectedColumns>
<selectedColumns>AdDistributionWithSearchPartners</selectedColumns>
<selectedColumns>Impressions</selectedColumns>
<selectedColumns>Clicks</selectedColumns>
<selectedColumns>CPC</selectedColumns>
<selectedColumns>CPM</selectedColumns>
<selectedColumns>Cost</selectedColumns>
<selectedColumns>DailyCTR</selectedColumns>
<selectedColumns>DailyBudget</selectedColumns>
<selectedReportType>Geographic</selectedReportType>
</job>
</validateReportJob>
</soap:Body>
</soap:Envelope>


Response
--------

<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>
<responseTime
soapenv:actor="http://schemas.xmlsoap.org/soap/actor/next";
soapenv:mustUnderstand="0"
xmlns="https://adwords.google.com/api/adwords/v13";>3348</responseTime>
<operations soapenv:actor="http://schemas.xmlsoap.org/soap/actor/next";
soapenv:mustUnderstand="0"
xmlns="https://adwords.google.com/api/adwords/v13";>1</operations>
<units soapenv:actor="http://schemas.xmlsoap.org/soap/actor/next";
soapenv:mustUnderstand="0"
xmlns="https://adwords.google.com/api/adwords/v13";>500</units>
<requestId soapenv:actor="http://schemas.xmlsoap.org/soap/actor/next";
soapenv:mustUnderstand="0"
xmlns="https://adwords.google.com/api/adwords/v13";>3671512269f1fa4a82478837e34b66fa</requestId>
</soapenv:Header>
<soapenv:Body>
<scheduleReportJobResponse
xmlns="https://adwords.google.com/api/adwords/v13";>
<scheduleReportJobReturn>1718043136</scheduleReportJobReturn>
</scheduleReportJobResponse>
</soapenv:Body>
</soapenv:Envelope>

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

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