download_report_as_file is failing with the following error

HTTPI executes HTTP POST using the httpclient adapter
SOAP request: 
https://adwords-sandbox.google.com/api/adwords/cm/v201101/ReportDefinitionService
SOAPAction: "mutate", User-Agent: Savon/0.9.6 (Common-Ruby-0.5.4; 
AwApi-Ruby-0.4.3|Vertive LLC click downloader), Content-Type: 
text/xml;charset=UTF-8
<?xml version="1.0" encoding="UTF-8"?><env:Envelope 
xmlns:xsd="http://www.w3.org/2001/XMLSchema"; 
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; 
xmlns:wsdl="https://adwords.google.com/api/adwords/cm/v201101"; 
xmlns:env="http://schemas.xmlsoap.org/soap/envelope/";><env:Header><wsdl:RequestHeader
 
xmlns="https://adwords.google.com/api/adwords/cm/v201101";><userAgent>AwApi-Ruby-0.4.3|Vertive
 
LLC click 
downloader</userAgent><developerToken>[email protected]++usa</developerToken><clientEmail>[email protected]</clientEmail><authToken>DQAAAIwAAAD7k0pBpRFjzcf_uIqZpScuCcstj7_SG7GHW6xfe-Sc6ad65ZuEbpcP_EeRZwswQT9d7XP-twHFEAry83T4FIe09PftEp5_Q6DIi4xIU1VqtAxJBAv3H2mv135siOyLCmCQDgpGE64rkgwZJ0guB8AAlhv_Mj37Giko72ck3_2wziCi_HdlMosI5PEr5_Kv1k0</authToken></wsdl:RequestHeader></env:Header><env:Body><mutate
 
xmlns="https://adwords.google.com/api/adwords/cm/v201101";><operations><operator>ADD</operator><operand><selector><fields>Id</fields><fields>CreativeDestinationUrl</fields><fields>Clicks</fields><fields>Impressions</fields><fields>Cost</fields><fields>AveragePosition</fields><fields>CampaignName</fields><fields>Headline</fields><fields>Description1</fields><fields>Description2</fields><fields>DisplayUrl</fields><fields>Date</fields><fields>Status</fields><fields>AdGroupName</fields><fields>CampaignId</fields><fields>AdGroupId</fields><fields>KeywordId</fields><dateRange><min>20111122</min><max>20111122</max></dateRange></selector><reportName>Ad
 
performance report - 2011-11-22..2011-11-22 
[API]</reportName><reportType>AD_PERFORMANCE_REPORT</reportType><dateRangeType>CUSTOM_DATE</dateRangeType><downloadFormat>CSV</downloadFormat></operand></operations><operations><operator>ADD</operator><operand><selector><fields>Id</fields><fields>QualityScore</fields><fields>MaxCpc</fields><fields>KeywordText</fields><fields>Status</fields><fields>KeywordMatchType</fields><fields>CriteriaDestinationUrl</fields><fields>Cost</fields><fields>Date</fields><fields>Clicks</fields><fields>Impressions</fields><fields>AveragePosition</fields><fields>CampaignId</fields><fields>AdGroupId</fields><dateRange><min>20111122</min><max>20111122</max></dateRange></selector><reportName>Keyword
 
performance report - 2011-11-22..2011-11-22 
[API]</reportName><reportType>KEYWORDS_PERFORMANCE_REPORT</reportType><dateRangeType>CUSTOM_DATE</dateRangeType><downloadFormat>CSV</downloadFormat></operand></operations></mutate></env:Body></env:Envelope>
HTTPI executes HTTP POST using the httpclient adapter
SOAP response (status 500):
<soap:Envelope 
xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/";><soap:Header><ResponseHeader
 
xmlns="https://adwords.google.com/api/adwords/cm/v201101";><requestId>0004b26c0b0b59e00a0c251900004a57</requestId><operations>2</operations><responseTime>234</responseTime><units>2</units></ResponseHeader></soap:Header><soap:Body><soap:Fault><faultcode>soap:Server</faultcode><faultstring>[InternalApiError.UNEXPECTED_INTERNAL_API_ERROR
 
@ 
com.google.ads.api.services.common.error.InternalApiError.&lt;init&gt;(InternalApiErro]</faultstring><detail><ApiExceptionFault
 
xmlns="https://adwords.google.com/api/adwords/cm/v201101";><message>[InternalApiError.UNEXPECTED_INTERNAL_API_ERROR
 
@ 
com.google.ads.api.services.common.error.InternalApiError.&lt;init&gt;(InternalApiErro]</message><ApplicationException.Type>ApiException</ApplicationException.Type><errors
 
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; 
xsi:type="InternalApiError"><fieldPath></fieldPath><trigger></trigger><errorString>InternalApiError.UNEXPECTED_INTERNAL_API_ERROR</errorString><ApiError.Type>InternalApiError</ApiError.Type><reason>UNEXPECTED_INTERNAL_API_ERROR</reason></errors></ApiExceptionFault></detail></soap:Fault></soap:Body></soap:Envelope>
msg:#<AdwordsApi::V201101::ReportDefinitionService::ApiException: 
AdwordsApi::V201101::ReportDefinitionService::ApiException>
/home/alex/.rvm/gems/jruby-1.6.2/gems/google-ads-common-0.5.4/lib/ads_common/savon_service.rb:248:in
 
`handle_errors'
/home/alex/.rvm/gems/jruby-1.6.2/gems/google-ads-common-0.5.4/lib/ads_common/savon_service.rb:86:in
 
`execute_action'
/home/alex/.rvm/gems/jruby-1.6.2/gems/google-adwords-api-0.4.3/lib/adwords_api/v201101/report_definition_service.rb:28:in
 
`mutate'

-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 [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