Skip to end of metadata
Go to start of metadata

Create an Outlook Campaign via the API

This page shows you how to use the Campaign Service and the Profile Service to set up a campaign that targets Outlook.com inventory.

On This Page

Before You Begin

Before creating an Outlook profile and campaign, you should add your Outlook creatives to Xandr. For instructions, see Add a Microsoft Outlook Creative via the API.

Step 1. Create a profile that targets Outlook.com inventory

To ensure that your campaign will reach Microsoft Outlook.com inventory, you should: 

  • Set supply_type_targets to "web" and supply_type_action to "include".
  • Set domain_targets to "outlook.com" and domain_action to "include".

You can also add targeting based on frequency, geography, daypart, segment, and system. However, note that you cannot target Outlook.com users based on age, gender, tag position, or tag query strings.

Step 2. Create an Outlook campaign

Setting up an Outlook campaign is similar to setting up any other web campaign. You can set flight dates, budgeting, and buying strategy. To ensure that you reach Outlook.com inventory, however, be sure to pay particularly close attention to the following settings:

  • Use the profile_id field to associate the campaign to the Outlook targeting profile you created in Step 1.
  • Set line_item_id to the ID of the line item under which you want to create the Outlook campaign.
  • Set supply_type to "web".
  • Since Microsoft is an external supply partner, set inventory_type to "real_time".
  • Use the creatives array to associate Outlook creatives to the campaign.

Related Topics

Buying Microsoft Outlook.com Inventory
Add a Microsoft Outlook Creative
Check the Audit Status of an Outlook Creative