Hi Tria,

The error message isn't very helpful in this case, but the problem is
caused by not correctly defining your job object.  The job must be of
the type DefinedReportJob, as specified in the xsi:type attribute.
See this sample XML for an example of how to specify this attribute
correctly:

  
http://code.google.com/p/adwords-api-xml-samples/source/browse/trunk/src/v13/schedule_report_job.xml

Best,
- Eric Koleda, AdWords API Team

On Mar 9, 2:29 am, tria tria <tria.analyt...@gmail.com> wrote:
> Hi,
>
> i passed the following as the parameters values
> <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/
> envelope/" xmlns:v13="https://adwords.google.com/api/adwords/v13";>
>
>    <soapenv:Header>
>
>       <v13:applicationToken>XXXXXXXXXXXXXXXXXXXXXXXXXXXXXX</
> v13:applicationToken>
>
>       <v13:developerToken>XXXXXXXXXXXXXXXXXXXXXXXXXXXXXX</
> v13:developerToken>
>
>       <v13:clientCustomerId>12345333333</v13:clientCustomerId>
>
>       <v13:clientEmail>x...@gmail.com</v13:clientEmail>
>
>       <v13:email>x...@gmail.com</v13:email>
>
>       <v13:password>xyz</v13:password>
>
>       <v13:useragent>xyz</v13:useragent>
>
>    </soapenv:Header>
>
>    <soapenv:Body>
>
>       <v13:scheduleReportJob>
>
>          <v13:job>
>
>             <!--Zero or more repetitions:-->
>
>             <v13:clientEmails></v13:clientEmails>
>
>             <!--Optional:-->
>
>             <v13:crossClient>false</v13:crossClient>
>
>             <v13:endDay>2010-02-08</v13:endDay>
>
>             <!--Optional:-->
>
>             <v13:id>?</v13:id>
>
>             <!--Optional:-->
>
>             <v13:name>?</v13:name>
>
>             <v13:startDay>2010-02-08</v13:startDay>
>
>             <!--Optional:-->
>
>             <v13:status>?</v13:status>
>
>          </v13:job>
>
>       </v13:scheduleReportJob>
>
>    </soapenv:Body>
>
> </soapenv:Envelope>
>
> But i am getting the following error
>
> <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">18</responseTime>
>       <operations soapenv:actor="http://schemas.xmlsoap.org/soap/actor/
> next" soapenv:mustUnderstand="0" xmlns="https://adwords.google.com/api/
> adwords/v13">0</operations>
>       <units soapenv:actor="http://schemas.xmlsoap.org/soap/actor/
> next" soapenv:mustUnderstand="0" xmlns="https://adwords.google.com/api/
> adwords/v13">0</units>
>       <requestId soapenv:actor="http://schemas.xmlsoap.org/soap/actor/
> next" soapenv:mustUnderstand="0" xmlns="https://adwords.google.com/api/
> adwords/v13">13e96dbec90d809a4394811347c547ae</requestId>
>    </soapenv:Header>
>    <soapenv:Body>
>       <soapenv:Fault>
>          <faultcode>soapenv:Server.generalException</faultcode>
>          <faultstring>An internal error has occurred.  Please retry
> your request.</faultstring>
>          <detail>
>             <ns1:fault xmlns:ns1="https://adwords.google.com/api/
> adwords/v13">
>                <ns1:code>0</ns1:code>
>                <ns1:message>An internal error has occurred.  Please
> retry your request.</ns1:message>
>             </ns1:fault>
>          </detail>
>       </soapenv:Fault>
>    </soapenv:Body>
> </soapenv:Envelope>
>
> Can u please help to solve the error
>
> Regards
>
> Tria

-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Have you migrated to v200909 yet?
The v13 sunset is on April 22, 2010.

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