Microsoft Ads (formerly Bing Ads)

Configuring Microsoft Ads with Polytomic On Premises

In order to enable the Microsoft Ads integration on your Polytomic on-prem instance, you'll need to do the following:

  1. Obtain an OAuth Client ID and Client Secret pair by following Microsoft's instructions here . When prompted for the redirect URL, you should enter <YOUR_POLYTOMIC_URL>/connect/msads. For example, if you access Polytomic at, the redirect URL will be

  2. Obtain a Microsoft Ads Developer Token by following Microsoft's instructions here.

  3. Ask the engineer on your team that deployed Polytomic to carry out this step. Set the following environment variables in the Polytomic deployment:

  • MSADS_CLIENT_ID: set this to the Client ID value from step 1.
  • MSADS_CLIENT_SECRET: set this to the Client Secret value from step 1.
  • MSADS_DEVELOPER_TOKEN: set this to the developer token from step 2.

Restart your Polytomic environment so that it picks up these environment variables.

  1. You'll now see the Microsoft Ads integration as a connection option in Polytomic. Follow the steps here to connect to your Microsoft Ads instance.