BingAds-Python-SDK: Invalid client data

Xin, Gen(eCG) 1 Reputation point
2021-03-25T03:19:46.613+00:00

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

Microsoft Advertising API
Microsoft Advertising API
A Microsoft API that provides programmatic access to Microsoft Advertising to manage large campaigns or to integrate your marketing with other in-house systems.
424 questions
{count} votes

2 answers

Sort by: Most helpful
  1. Xin Gen 1 Reputation point
    2021-04-12T05:06:28.087+00:00

    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.


  2. sharpegypt 1 Reputation point
    2021-04-17T03:48:04.22+00:00
    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.