Hi Harroot,

The ContentPlacement report requires three aggregationType values, and
you are only setting two.  Please see the aggregationTypes section for
more information:

  
http://code.google.com/apis/adwords/docs/developer/adwords_api_report_contentplacement.html

Best,
- Eric Koleda, AdWords API Team

On Feb 25, 7:03 am, harroot <[email protected]> wrote:
> Hi all,
>
> I'm using .net lib v13 , I try to create report with adwords Report
> Service bug get error from it.
>
> Here is my request `
> -----SoapRequest at 25.02.2010 15:42:35-----
> POST /api/adwords/v13/ReportService HTTP/1.0
> Host: sandbox.google.com:443
> User-agent: Mozilla/4.0 (compatible; MSIE 6.0; MS Web Services Client
> Protocol 2.0.50727.3603)
> Content-type: text/xml; charset=utf-8
> Content-length: 1798
> SOAPAction: "validateReportJob"
> --------------------------------------------------
> <?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>
>     <applicationToken xmlns="https://adwords.google.com/api/adwords/
> v13">********ken_</applicationToken>
>     <clientCustomerId xmlns="https://adwords.google.com/api/adwords/
> v13">777-5</clientCustomerId>
>     <developerToken xmlns="https://adwords.google.com/api/adwords/
> v13">********+USD</developerToken>
>     <email xmlns="https://adwords.google.com/api/adwords/
> v13">[email protected]</email>
>     <password xmlns="https://adwords.google.com/api/adwords/
> v13">********</password>
>     <useragent xmlns="https://adwords.google.com/api/adwords/
> v13">KondimentPaltform_client</useragent>
>   </soap:Header>
>   <soap:Body>
>     <validateReportJob xmlns="https://adwords.google.com/api/adwords/
> v13">
>       <job xsi:type="DefinedReportJob">
>         <endDay>2010-02-25</endDay>
>         <name>ppRep</name>
>         <startDay>2010-02-25</startDay>
>         <aggregationTypes>AdGroup</aggregationTypes>
>         <aggregationTypes>Summary</aggregationTypes>
>         <selectedColumns>Campaign</selectedColumns>
>         <selectedColumns>PlacementUrl</selectedColumns>
>         <selectedColumns>PlacementDomain</selectedColumns>
>         <selectedColumns>AdGroup</selectedColumns>
>         <selectedColumns>PlacementSpecialCategory</selectedColumns>
>         <selectedColumns>SiteTargeted</selectedColumns>
>         <selectedColumns>CampaignStatus</selectedColumns>
>         <selectedColumns>AdGroupStatus</selectedColumns>
>         <selectedColumns>CPC</selectedColumns>
>         <selectedColumns>CTR</selectedColumns>
>         <selectedColumns>Clicks</selectedColumns>
>         <selectedColumns>Cost</selectedColumns>
>         <selectedColumns>Impressions</selectedColumns>
>         <selectedReportType>ContentPlacement</selectedReportType>
>       </job>
>     </validateReportJob>
>   </soap:Body>
> </soap:Envelope>
> --------------------------------------------------
>
> And the response invalid operation  `
>
> -----SoapResponse at 25.02.2010 15:42:36-----
> Content-type: text/xml; charset=utf-8
> Content-length: 1534
> SOAPAction: "validateReportJob"
> --------------------------------------------------
> <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">125</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">1</units>
>     <requestId soapenv:actor="http://schemas.xmlsoap.org/soap/actor/
> next" soapenv:mustUnderstand="0" xmlns="https://adwords.google.com/api/
> adwords/v13">0d140d6debbb96c86f25355b45e930e0</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/
> v13">
>           <ns1:code>30</ns1:code>
>           <ns1:message>One or more report job parameters is invalid.</
> ns1:message>
>           <ns1:trigger> The following columns are not supported by the
> Report Type ContentPlacement : [PlacementDomain, PlacementUrl,
> PlacementSpecialCategory]</ns1:trigger>
>         </ns1:fault>
>       </detail>
>     </soapenv:Fault>
>   </soapenv:Body>
> </soapenv:Envelope>
>
> Can anyone tell me what am I doing wrong?
>
> Thanks in advance,
> Harroot.

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