Hello Yuri, As per the note at the top of the Structure Report documentation (http://code.google.com/apis/adwords/docs/developer/ adwords_api_report_structure.html), Structure Reports are available only for non-MCC accounts. You need to run them individually from the context of each sub-account in an MCC rather than using a cross-client report specification like you can with other report types. Apologies for the inconvenience.
Cheers, -Jeff Posnick, AdWords API Team On Feb 19, 6:58 am, Yuri Ivanov <[email protected]> wrote: > Hi, > > I need to get report for all client account under MCC account. I use > this request below, I deleted secure info such as keys and password. > Can you help me with this problem? > > <?xml version="1.0" encoding="UTF-8"?> > <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> > <ns1:email soapenv:actor="http://schemas.xmlsoap.org/ > soap/actor/next" > soapenv:mustUnderstand="0" xmlns:ns1="https:// > adwords.google.com/api/adwords/ > v13">[email protected]<mailto:[email protected]></ > ns1:email> > <ns2:password soapenv:actor="http://schemas.xmlsoap.org/ > soap/actor/next" > soapenv:mustUnderstand="0" xmlns:ns2="https:// > adwords.google.com/api/adwords/v13"></ns2:password> > <ns3:developerToken soapenv:actor="http:// > schemas.xmlsoap.org/soap/actor/next" > soapenv:mustUnderstand="0" xmlns:ns3="https:// > adwords.google.com/api/adwords/v13"></ns3:developerToken> > <ns4:applicationToken soapenv:actor="http:// > schemas.xmlsoap.org/soap/actor/next" > soapenv:mustUnderstand="0" xmlns:ns4="https:// > adwords.google.com/api/adwords/v13"></ns4:applicationToken> > <ns5:useragent soapenv:actor="http:// > schemas.xmlsoap.org/soap/actor/next" > soapenv:mustUnderstand="0" xmlns:ns5="https:// > adwords.google.com/api/adwords/v13">AdWords API Java Client Library > v2.2.0: RT-bot</ns5:useragent> > </soapenv:Header> > <soapenv:Body> > <validateReportJob xmlns="https://adwords.google.com/ > api/adwords/v13"> > <job xsi:type="ns6:DefinedReportJob" > xmlns:ns6="https://adwords.google.com/api/adwords/v13"> > <crossClient > xsi:type="xsd:boolean">true</crossClient> > <endDay xsi:type="xsd:date">2009-02-01</ > endDay> > <name xsi:type="xsd:string"> test > report</name> > <startDay > xsi:type="xsd:date">2009-01-01</startDay> > <aggregationTypes > xsi:type="xsd:string">Campaign</aggregationTypes> > <selectedColumns > xsi:type="xsd:string">Campaign</selectedColumns> > <selectedColumns > xsi:type="xsd:string">CampaignId</selectedColumns> > <selectedColumns > xsi:type="xsd:string">CampaignStatus</selectedColumns> > <selectedColumns > xsi:type="xsd:string">DailyBudget</selectedColumns> > <selectedReportType > xsi:type="xsd:string">Structure</selectedReportType> > </job> > </validateReportJob> > </soapenv:Body> > </soapenv:Envelope> > > I get response from google api - > > <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">886</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">33f745452595e7909e532312e4920b89</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> --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
