我正在努力使用 bings api python 来获取所有活动。
ALL_CAMPAIGN_TYPES = ['Audience DynamicSearchAds Search Shopping']
authorization_data = AuthorizationData(
account_id=None,
customer_id=None,
developer_token=env('DEVELOPER_TOKEN'),
authentication=None,
)
campaign_service = ServiceClient(
service='CampaignManagementService',
version=13,
authorization_data=authorization_data,
environment=env('ENVIRONMENT'),
)
campaigns = campaign_service.GetCampaignsByAccountId(
AccountId="xxxxxxx", CampaignType=ALL_CAMPAIGN_TYPES)
它给了我错误:suds.WebFault:服务器引发错误:'无效的客户端数据。检查 SOAP 故障详细信息以获取更多信息。TrackingId:1ee709e5-b0d5-4b82-a19e-65001a80789e。
请帮我摆脱这个。