Bing Ads Client Libraries

 

You can develop Bing Ads applications with any programming language that supports web services. The Bing Ads Software Development Kits (SDK) enhance the experience of developing Bing Ads applications with .NET, Java, and Python languages. Each SDK includes a proxy to all Bing Ads API web services and abstracts low level details of authentication with OAuth. You can use the high level BulkServiceManager and ReportingServiceManager interfaces to abstract and execute operations in the low level Bulk and Reporting services. For example instead of calling SubmitGenerateReport and PollGenerateReport to download a report, you download a report using one method with the ReportingServiceManager class.

System_CAPS_ICON_note.jpg Note

The PHP SDK does not include BulkServiceManager and ReportingServiceManager interfaces as described for the other three SDKs.

SDKDocumentationSourceDistributionCode ExamplesLicense
Bing Ads .NET SDKGetting StartedGitHubNuGetGitHub | MSDNBing Ads .NET SDK License
Bing Ads Java SDKGetting StartedGitHubMavenGitHub | MSDNBing Ads Java SDK License
Bing Ads Python SDKGetting StartedGitHubPyPiGitHub | MSDNBing Ads Python SDK License
Bing Ads PHP SDKGetting StartedGitHubPackagistGitHub | MSDNBing Ads PHP SDK License

Latest Namespaces

The SDKs support all active Bing Ads Web Service Addresses in sandbox and production.

You should use the following namespaces corresponding to the latest version of each service. These are the supported high level public namespaces. Internal and lower level namespaces are not documented here. You can find out more information about internal namespaces within the GitHub SDK Repositories for each SDK.

NamespaceDescription
Microsoft.BingAdsProvides classes related to authentication that can be used to access any Bing Ads Web Service.
Note: Bing Ads Content API clients can use the authentication classes provided with the SDK; however, the SDK does not include classes for calling the Content API.
Microsoft.BingAds.V11.AdInsightProvides proxy classes to the service operations, data objects, and value sets defined for version 11 of the Ad Insight service.
Microsoft.BingAds.V11.BulkProvides proxy classes to the service operations, data objects, and value sets defined for version 11 of the Bulk service.
Provides classes to accelerate productivity for downloading and uploading entities. For example an instance of the BulkServiceManager class can submit your download request to the bulk service, poll the service until completed, and download the file to the local directory that you specified in the request. Use the BulkFileReader class instead of writing a file parser to read the download results. The BulkFileReader provides access to the bulk file records in BulkEntity derived classes, which contain the familiar data objects and value sets in version 11 of the Campaign Management service.
Microsoft.BingAds.V11.CampaignManagementProvides proxy classes to the service operations, data objects, and value sets defined for version 11 of the Campaign Management service.
Microsoft.BingAds.V11.CustomerBillingProvides proxy classes to the service operations, data objects, and value sets defined for version 11 of the Customer Billing service.
Microsoft.BingAds.V11.CustomerManagementProvides proxy classes to the service operations, data objects, and value sets defined for version 11 of the Customer Management service.
Microsoft.BingAds.V11.ReportingProvides proxy classes to the service operations, data objects, and value sets defined for version 11 of the Reporting service.
Provides classes to accelerate productivity for downloading reports. For example an instance of the ReportingServiceManager class can submit your download request to the reporting service, poll the service until completed, and download the file to the local directory that you specified in the request.

Bing Ads Web Service Addresses

Show: