Bing Ads API in PHP


PHP, Bing Ads API
Web Services
Web
en-US
12/15/2015

Introduction

To get started developing Bing Ads applications with PHP, you need to set up the development environment configured for web services. You can start with the provided examples which include proxies to the Bing Ads SOAP web services. You can also browse the PHP Examples for Bing Ads on MSDN. The examples provided in this download package and the examples within PHP Examples for Bing Ads depend on the example client proxies. When you download the examples you will also get the example proxy files.

Note: The proxy class files are provided as examples and subject to change. You are not required to use the provided proxies, and could write or generate your own with a custom tool.

This download includes the following PHP sample files for Bing Ads web services.
 

•AdExtensions (Campaign Management service)

•BulkDownloadUpload (Bulk service) 

•BudgetOpportunities (Ad Insightservice)  

•KeywordsAds (Campaign Management service)

•ManageClient (Customer Management service)

•NegativeKeywords (Campaign Management service)

•ReportRequests (Reporting service)

SearchByUser (Customer Management service)

•Targets (Campaign Management service)

Building the Sample

The samples require that you update some of the following elements, and then build a project.

•$UserName
•$Password
•$DeveloperToken
•$CustomerId
•$AccountId
•$CampaignId
•$CampaignIds

Source Code Files

More Information

For information about updates to Bing Ads web services, see Release Notes here on MSDN:
http://msdn.microsoft.com/en-US/library/bing-ads-overview-release-notes.aspx