Just to give a more detailed information on the issue, i get the following error message:
[ENVIRONMENT_IS_UNDEFINED] [INFO] [importer-adwords] [com.google.api.ads.adwords.lib.utils.report_download] [HTTP response:
400 Bad Request
cache-control: [private, max-age=0]
content-encoding: [gzip]
content-type: [text/xml]
date: [Tue, 08 Jan 2019 14:38:24 GMT]
expires: [Tue, 08 Jan 2019 14:38:24 GMT]
transfer-encoding: [chunked]
x-frame-options: [SAMEORIGIN]
alt-svc: [quic=":443"; ma=2592000; v="44,43,39,35"]
server: [GSE]
x-content-type-options: [nosniff]
x-xss-protection: [1; mode=block]
Exception in thread "main" HTTP Response Code: 400, Type: DatabaseError.ACCESS_PROHIBITED
The report definition i am using is:
__rdxml: <?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<reportDefinition xmlns:ns2="https://adwords.google.com/api/adwords/cm/v201809">
<ns2:selector>
<ns2:fields>AccountCurrencyCode</ns2:fields>
<ns2:fields>AdGroupId</ns2:fields>
<ns2:fields>AdGroupName</ns2:fields>
<ns2:fields>AdGroupStatus</ns2:fields>
<ns2:fields>AveragePosition</ns2:fields>
<ns2:fields>CampaignId</ns2:fields>
<ns2:fields>CampaignName</ns2:fields>
<ns2:fields>CampaignStatus</ns2:fields>
<ns2:fields>Cost</ns2:fields>
<ns2:fields>CountryCriteriaId</ns2:fields>
<ns2:fields>Ctr</ns2:fields>
<ns2:fields>Date</ns2:fields>
<ns2:fields>Device</ns2:fields>
<ns2:fields>RegionCriteriaId</ns2:fields>
<ns2:dateRange>
<ns2:min>20190107</ns2:min>
<ns2:max>20190107</ns2:max>
</ns2:dateRange>
</ns2:selector>
<ns2:reportName>Criteria performance report #1546958303861</ns2:reportName>
<ns2:reportType>GEO_PERFORMANCE_REPORT</ns2:reportType>
<ns2:dateRangeType>CUSTOM_DATE</ns2:dateRangeType>
<ns2:downloadFormat>GZIPPED_CSV</ns2:downloadFormat>
</reportDefinition>