Microsoft Bing Ads uses a SOAP (Simple Object Access Protocol) API.
Microsoft Bing Ads uses a SOAP API.
SOAP-based protocol: The Bing Ads API services use SOAP to exchange request and response messages with the service operations.
Header elements: Each SOAP request must include specific SOAP headers containing the user's credentials.
Authentication: The API requires an OAuth access token (AuthenticationToken) that represents a Microsoft Account user with permissions to Microsoft Advertising accounts.
Developer token: To use the Bing Ads API, developers need a developer token and valid user credentials.
SDKs available: Microsoft provides SDKs for C#, Java, PHP, and Python to facilitate development.
User consent: Developers need to request user consent for their application to manage Microsoft Advertising accounts.
REST APIs are more flexible and use standard HTTP methods for data manipulation.
GraphQL offers more flexibility in querying data structures.
SOAP, which Bing Ads uses, has a more rigid structure but offers built-in support for security features like encryption and digital signatures.
Based on the search results provided, it appears that the official Microsoft Bing Ads API does not have webhooks. The search results do not contain any specific information about webhooks for the Bing Ads API. Instead, the results focus on other Microsoft services and general information about webhooks.
The key points to consider are:
The search results primarily discuss webhooks in the context of Microsoft Graph and Azure Event Grid, not Bing Ads API.
The Bing Ads API overview provided in the search results does not mention webhooks as a feature.
The information about the Bing Ads API focuses on programmatic access for managing campaigns, reporting, and optimization, but does not include webhooks.
While webhooks are a common feature in many APIs, their absence from the Bing Ads API documentation suggests that they are not currently supported.
If you need real-time updates or notifications from the Bing Ads platform, you may need to explore alternative methods such as:
For the most up-to-date and accurate information, it would be best to consult the official Microsoft Advertising documentation or contact their support directly.
Here are the key API rate limits for the Microsoft Bing Ads API:
The API uses throttling to limit the number of calls any one user can make in a minute's time. This applies to services like Ad Insight and Campaign Management [4].
If you exceed the service call limit, you'll receive the following error:
When you get this error, you should wait 60 seconds before resubmitting the request [4].
These limits are in place to maintain fair usage for all Microsoft Advertising clients [4].
The throttling uses a sliding protocol with a 60-second window at the customer level [4].
If you hit the limit, you'll need to wait 60 seconds before making more calls [4].
Different services (like Ad Insight and Campaign Management) may have their own specific throttling limits [4].
Implement retry logic in your code to handle throttling errors gracefully.
Space out your API calls to stay within the limits.
Consider batching operations where possible to reduce the number of individual API calls.
Monitor your API usage to ensure you're not consistently approaching the limits.
If you regularly hit these limits, you may need to optimize your code or consider discussing your needs with Microsoft Advertising support.
By adhering to these rate limits and implementing best practices, you can ensure smooth integration with the Microsoft Bing Ads API while maintaining fair usage for all users.
The most recent version of the Microsoft Bing Ads API is Version 13. Here are the key points about this version:
Version 13 is currently the latest generally available version of the Bing Ads API [1].
Version 13 was initially released for preview, and then became generally available in April 2019 [1][15].
With the release of Version 13, Version 12 was deprecated and sunset by October 31, 2019 [15].
The Bing Ads API is regularly updated with new features and improvements. The release notes document these changes on a monthly basis [1].
Microsoft provides SDKs for .NET, Java, PHP, and Python to work with the Bing Ads API. These SDKs are frequently updated to support the latest API features [1].
When migrating from Version 12 to Version 13, there were several changes and new features introduced. Developers should refer to the migration guide for detailed information on these changes [5].
Stay up-to-date with the latest API version to access new features and improvements.
Regularly check the release notes for updates and changes to the API.
Use the provided SDKs when possible, as they are maintained by Microsoft and updated to support the latest API features.
When planning to upgrade to a new API version, review the migration guide to understand the changes and plan accordingly.
Here are the key steps to get a developer account for Microsoft Bing Ads API integration:
Sign up for a Microsoft Advertising account if you don't already have one.
Request API access by submitting a form to Microsoft Advertising support.
Once approved, sign in to the Microsoft Advertising Developer Portal with your Super Admin credentials.
Go to the Account tab in the Developer Portal to get your developer token.
The developer token enables programmatic access to the accounts permitted for your user.
You'll also need to get a user access token to authenticate API requests. This involves setting up OAuth authentication for your application.
To make API calls, you'll need your account ID and customer ID in addition to the developer token and access token. These can be retrieved via the Customer Management API or found in the URL when signed into the Microsoft Advertising web interface.
Key points to consider:
Best practices:
Based on the provided search results, here is a list of data models that can be interacted with using the Microsoft Bing Ads API, along with what is possible for each:
Campaigns:
Ad Groups:
Ads:
Keywords:
Account Performance Reports:
Campaign Performance Reports:
Ad Performance Reports:
Keyword Performance Reports:
Keyword Opportunities:
Budget Opportunities:
Keyword Custom Parameters:
Ad Custom Parameters:
Campaign Custom Parameters:
Ad Group Custom Parameters:
Audience Data:
Location Targeting:
Ad Extensions:
For each of these data models, the Bing Ads API typically allows for CRUD operations (Create, Read, Update, Delete) where applicable, as well as retrieving performance data and generating reports. The API also supports partial success for bulk operations, allowing for efficient management of large datasets.