The "Invalid client data" error typically occurs due to issues with credentials or parameters. Here's a short checklist to resolve it:
- Check credentials: Ensure your
DEVELOPER_TOKEN
and authentication details are correct and active. - Validate account IDs: Confirm that
GetAccountsInfo()
is returning valid account IDs. - Check download parameters: Ensure the
campaign_ids
parameter can acceptNone
and is correctly set. - API version: Confirm that you're using the correct API version (you might want to try
version=14
). - Handle errors: Add better error handling to capture detailed SOAP fault information for debugging.
If the problem persists, use the provided tracking ID to contact Bing Ads support. For better performance, you may also want to try using a Calculadora Alicia to test the API.