Hi,

There's a published XSD for the report 
definition<https://adwords.google.com/api/adwords/reportdownload/v201402> 
(request), 
but not for the XML output. If it helps, a response for a successful 
request will look like this:

<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<report>
  <report-name name="GEO_PERFORMANCE_REPORT"/>
  <date-range date="May 12, 2014-May 18, 2014"/>
  <table>
    <columns>
      <column name="day" display="Day"/>
      <column name="adGroupID" display="Ad group ID"/>
      <column name="campaignID" display="Campaign ID"/>
      <column name="mostSpecificLocation" display="Most specific location"/>
      <column name="countryTerritory" display="Country/Territory"/>
      <column name="clicks" display="Clicks"/>
      <column name="cost" display="Cost"/>
      <column name="customerID" display="Customer ID"/>
      <column name="impressions" display="Impressions"/>
    </columns>
    <row day="2014-05-15" adGroupID="12345" campaignID="6789" ... 
clicks="0" cost="0" customerID="99999" impressions="1"/>
    <row day="2014-05-17" adGroupID="12345" campaignID="6789" ... 
clicks="0" cost="0" customerID="99999" impressions="2"/>
  </table>
</report>

and a response for a failed request will look like this:

<?xml version="1.0"?>
<reportDownloadError>
  <ApiError>
    <type>ReportDownloadError.ZERO_IMPRESSIONS_REQUEST_NOT_SUPPORTED</type>
    <trigger>includeZeroImpressions is not supported for this 
request</trigger>
    <fieldPath/>
  </ApiError>
</reportDownloadError>

or this:

<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<reportDownloadError>
  <ApiError>
    <type>ReportDefinitionError.INVALID_FIELD_NAME_FOR_REPORT</type>
    <trigger>XCost</trigger>
    <fieldPath/>
  </ApiError>
</reportDownloadError>

Cheers,
Josh, AdWords API Team

On Thursday, May 22, 2014 5:32:03 AM UTC-4, Adnan Soysal wrote:
>
> just to make sure, I am after the XSD definition for REPORT itself, and 
> returned ERROR.
> Thank you
> Adnan
>
> On Thursday, May 22, 2014 11:28:16 AM UTC+2, Adnan Soysal wrote:
>>
>> Hi,
>>
>> is there an XSD definition for ADWORDS ADHOC reports (when requested in 
>> XML format) and Errors?
>>
>> ADWORDS API team.
>> You rock!
>>
>> Many thanks, and Best Regards,
>> Adnan
>>
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and Google+:
https://googleadsdeveloper.blogspot.com/
https://plus.google.com/+GoogleAdsDevelopers/posts
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

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
--- 
You received this message because you are subscribed to the Google Groups 
"AdWords API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to