Hello Ced,

 First off, running the AdWords API Local DB Sync code against the
Sandbox really won't provide any meaningful results, but it's useful
enough to make sure your environment is working. You seem to already
be aware of that, but I just wanted to make sure that was clear.

 As for the underlying error, we've had a bug report in with the core
engineering team for about a week now, as Structure reports recently
stopped being a recognized report type in the Sandbox environment.
This should not affect the Production environment at all, but it's
obviously an issue that we're trying to get resolved. Until it's
resolved, though, you'll continue to get that response when running
Structure reports against the Sandbox.

Cheers,
-Jeff Posnick, AdWords API Team


On Jan 21, 12:28 pm, Ced <[email protected]> wrote:
> Hi,
> I try to retrieve the data from the google adwords using the sandbox
> knowing that I will have no significant data.  The server is returning
> me the errors:
> One or more report job parameters is invalid.
> Code: 30
>
> I can't create a report like the one in the request in the Adwords web
> page because no Structure reports is present.
>
> Thanks for helping me.
>
> Ced
>
> Here is my SOAP request:
>
> <?xml version="1.0" encoding="UTF-8"?>
> <SOAP-ENV:Envelope
>   SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/";
>   xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/";
>   xmlns:xsi="http://www.w3.org/1999/XMLSchema-instance";
>   xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/";
>   xmlns:xsd="http://www.w3.org/1999/XMLSchema";
>
> <SOAP-ENV:Header>
> <developerToken xsi:type="xsd:string" SOAP-ENC:root="1">XXXXXgmail.com+
> +CAD</developerToken>
> <useragent xsi:type="xsd:string" SOAP-ENC:root="1">Local DB Sync: $Rev:
> $</useragent>
> <applicationToken xsi:type="xsd:string" SOAP-ENC:root="1">XXXXXXXX</
> applicationToken>
> <email xsi:type="xsd:string" SOAP-ENC:root="1">[email protected]</
> email>
> <clientEmail xsi:type="xsd:string" SOAP-
> ENC:root="1">[email protected]</clientEmail>
> <password xsi:type="xsd:string" SOAP-ENC:root="1">XXXXXX</password>
> </SOAP-ENV:Header>
> <SOAP-ENV:Body>
> <validateReportJob SOAP-ENC:root="1">
> <v1 xmlns:impl="https://adwords.google.com/api/adwords/v12";
> xsi:type="impl:DefinedReportJob">
>         <selectedReportType>Structure</selectedReportType>
>         <name>Local DB Sync: Campaign</name>
>         <aggregationTypes>Campaign</aggregationTypes>
>         <selectedColumns>Campaign</selectedColumns>
>         <selectedColumns>CampaignId</selectedColumns>
>         <selectedColumns>CampaignStatus</selectedColumns>
>         <selectedColumns>DailyBudget</selectedColumns>
> </v1>
> </validateReportJob>
> </SOAP-ENV:Body>
> </SOAP-ENV:Envelope>
>
> And here is the 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/v12">210</responseTime>
>   <operations soapenv:actor="http://schemas.xmlsoap.org/soap/actor/
> next" soapenv:mustUnderstand="0" xmlns="https://adwords.google.com/api/
> adwords/v12">1</operations>
>   <units soapenv:actor="http://schemas.xmlsoap.org/soap/actor/next";
> soapenv:mustUnderstand="0" xmlns="https://adwords.google.com/api/
> adwords/v12">1</units>
>   <requestId soapenv:actor="http://schemas.xmlsoap.org/soap/actor/
> next" soapenv:mustUnderstand="0" xmlns="https://adwords.google.com/api/
> adwords/v12">ad98689fd81c9087e73bba6754adb95c</requestId>
>  </soapenv:Header>
>  <soapenv:Body>
>   <soapenv:Fault>
>      <faultcode>soapenv:Server.userException</faultcode>
>      <faultstring>One or more report job parameters is invalid.</
> faultstring>
>      <detail>
>       <ns1:fault xmlns:ns1="https://adwords.google.com/api/adwords/
> v12">
>        <ns1:code>30</ns1:code>
>        <ns1:message>One or more report job parameters is invalid.</
> ns1:message>
>        <ns1:trigger>Invalid Report Type</ns1:trigger>
>     </ns1:fault>
>    </detail>
>   </soapenv:Fault>
>  </soapenv:Body>
> </soapenv:Envelope>
--~--~---------~--~----~------------~-------~--~----~
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