8
8
9
9
from bingads import (AuthorizationData , OAuthAuthorization , OAuthDesktopMobileAuthCodeGrant ,
10
10
OAuthTokenRequestException )
11
- from bingads .reporting import ReportingServiceManager , time
11
+ from bingads .v11 . reporting . reporting_service_manager import ReportingServiceManager , time
12
12
from bingads .service_client import ServiceClient
13
13
14
14
from bingads_downloader import config
@@ -28,7 +28,7 @@ def __init__(self):
28
28
29
29
self .client = super (BingReportClient , self ).__init__ (service = 'ReportingService' ,
30
30
authorization_data = authorization_data ,
31
- environment = 'production' , version = 'v9 ' )
31
+ environment = 'production' , version = 'v11 ' )
32
32
33
33
34
34
def download_data ():
@@ -166,7 +166,8 @@ def submit_and_download(report_request, api_client, data_dir):
166
166
data_dir: target directory of the files containing the reports
167
167
"""
168
168
169
- current_reporting_service_manager = ReportingServiceManager (
169
+ current_reporting_service_manager = \
170
+ ReportingServiceManager (
170
171
authorization_data = api_client .authorization_data ,
171
172
poll_interval_in_milliseconds = 5000 ,
172
173
environment = 'production' ,
0 commit comments