You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We used to download bing ads report by python SDK, and it works well. When I tried to use campaignManagementService, I got errors , and don't know why.
I use the same authenticate method as report service, and it can return right accountid, and report service works well under it , but campaign service failed.
additional info
I also tried CustomerBillingService, it works fine too. is there any difference in campaign service ?
and the full error log campaigns = campaign_service.GetCampaignsByAccountId(AccountId=135100365,CampaignType=campaignType) File "D:\python\lib\site-packages\bingads\service_client.py", line 286, in __call__ raise ex File "D:\python\lib\site-packages\bingads\service_client.py", line 278, in __call__ response = self.service_client.soap_client.service.__getattr__(self.name)(*args, **kwargs) File "D:\python\lib\site-packages\suds\client.py", line 586, in __call__ return client.invoke(args, kwargs) File "D:\python\lib\site-packages\suds\client.py", line 728, in invoke result = self.send(soapenv, timeout=timeout) File "D:\python\lib\site-packages\suds\client.py", line 777, in send return self.process_reply(reply.message, None, None) File "D:\python\lib\site-packages\suds\client.py", line 840, in process_reply raise WebFault(fault, replyroot) suds.WebFault: Server raised fault: 'Invalid client data. Check the SOAP fault details for more information. TrackingId: 6265f8ba-0134-40b6-a0b4-1a5ca02a0182.'
The text was updated successfully, but these errors were encountered:
Hi Support team,
We used to download bing ads report by python SDK, and it works well. When I tried to use campaignManagementService, I got errors , and don't know why.
I use the same authenticate method as report service, and it can return right accountid, and report service works well under it , but campaign service failed.
additional info
I also tried CustomerBillingService, it works fine too. is there any difference in campaign service ?
part of the code like below:
`campaign_service = ServiceClient(
service='CampaignManagementService',
version=13,
authorization_data=authorization_data,
environment=ENVIRONMENT,
)
campaignType=['Audience DynamicSearchAds Search Shopping']
campaigns = campaign_service.GetCampaignsByAccountId(AccountId=135100365,CampaignType=campaignType)`
and the full error log
campaigns = campaign_service.GetCampaignsByAccountId(AccountId=135100365,CampaignType=campaignType) File "D:\python\lib\site-packages\bingads\service_client.py", line 286, in __call__ raise ex File "D:\python\lib\site-packages\bingads\service_client.py", line 278, in __call__ response = self.service_client.soap_client.service.__getattr__(self.name)(*args, **kwargs) File "D:\python\lib\site-packages\suds\client.py", line 586, in __call__ return client.invoke(args, kwargs) File "D:\python\lib\site-packages\suds\client.py", line 728, in invoke result = self.send(soapenv, timeout=timeout) File "D:\python\lib\site-packages\suds\client.py", line 777, in send return self.process_reply(reply.message, None, None) File "D:\python\lib\site-packages\suds\client.py", line 840, in process_reply raise WebFault(fault, replyroot) suds.WebFault: Server raised fault: 'Invalid client data. Check the SOAP fault details for more information. TrackingId: 6265f8ba-0134-40b6-a0b4-1a5ca02a0182.'
The text was updated successfully, but these errors were encountered: