We attempted to download a report that created on UI via the Python client and we get a response 'isCompatibleWithApiVersion': False with all versions of the client( v202102, v202011, v202008,v202105)
from googleads import ad_manager
from googleads import errors
SAVED_QUERY_ID = '12456###'
client = ad_manager.AdManagerClient.LoadFromStorage()
# Initialize appropriate service.
report_service = client.GetService('ReportService', version='v202105')
# Initialize a DataDownloader.
report_downloader = client.GetDataDownloader(version='v202105')
# Create statement object to filter for an order.
statement = (ad_manager.StatementBuilder(version='v202105')
.Where('id = :id')
.WithBindVariable('id', int(saved_query_id))
.Limit(2))
response = report_service.getSavedQueriesByStatement(statement.ToStatement())
print(response)
Is it possible to download exact report that created on UI (Google ad manager). refrence link: https://github.com/googleads/googleads-python-lib/blob/master/examples/ad_manager/v202105/report_service/run_saved_query.py