Hi Team, I have found the reason which is due to one account-id is not assigned access right.
All in all , i am very thankful for your reply.
BingAds-Python-SDK: Invalid client data
Hi Team, I am using BingAds-Python-SDK to get one AD report in daily manner. But recent days i get one error " suds.WebFault: Server raised fault: 'Invalid client data. Check the SOAP fault details for more information. TrackingId: f61f7862-13e2-4b74-bd7d-34ee383fda93.'". I have tried to know clearly why happened but failed. Could you help me solve it? My use case like this(hidden my personal info for safety. functions are from SDK examples ).
py from suds import WebFault from bingads.service_client import ServiceClient from bingads.authorization import * from bingads.v13.reporting import * from bingads.v13 import * authorization_data=AuthorizationData( account_id=None, customer_id=None, developer_token=DEVELOPER_TOKEN, authentication=None, ) reporting_download_parameters = ReportingDownloadParameters( report_request=report_request, result_file_directory = FILE_DIRECTORY, result_file_name = RESULT_FILE_NAME, overwrite_result_file = True, timeout_in_milliseconds=TIMEOUT_IN_MILLISECONDS ) authenticate_with_oauth(authorization_data) submit_and_download(report_request)
end When i executed submit_and_download function, this error happened. Best Regards, Gen
2 answers
Sort by: Most helpful
-
Xin Gen 1 Reputation point
2021-04-12T05:06:28.087+00:00 -
sharpegypt 1 Reputation point
2021-04-17T03:48:04.22+00:00