Microsoft Advertising APIs
End-to-End Scenario for Advertising on Microsoft adCenter

Advertising on Microsoft adCenter requires you to create campaigns, ad groups, keywords, and ads. This section of the adCenter API documentation provides a complete end-to-end scenario—including example code—to create a campaign and submit ad groups for approval.

Code examples show how to perform the following tasks:

Before proceeding with the following scenario, you should be familiar with adCenter entities and the overview of the adCenter API. You should also understand the Hello Microsoft adCenter samples.

Advertise on Microsoft adCenter

  1. Determine the account identifiers that will be used for your advertising campaigns. The account identifiers can be retrieved by using the GetAccounts service operation. For a code example that demonstrates how to retrieve your account identifiers, see Microsoft adCenter Customer Management API Examples.
    Bb126197.note(en-US,MSADS.60).gifNote:
    When you know your account identifiers, store them locally for efficiency. For more information, see Creating an Efficient Microsoft adCenter Application.

  2. Create your campaigns, using your account identifier, by calling the AddCampaigns service operation. For a code example that demonstrates how to create a campaign, see How to Create Campaigns. When you create your campaigns, adCenter assigns unique identifiers to the campaigns.
  3. Create your ad groups, using the campaign identifiers, by calling the AddAdGroups service operation. For a code example that demonstrates how to create an ad group, see How to Create Ad Groups. When you create your ad groups, adCenter assigns unique identifiers to the ad groups.
  4. Create your keywords, using the ad group identifiers, by calling the AddKeywords service operation. For a code example that demonstrates how to create keywords, see How to Create Keywords. When you create your keywords, adCenter assigns unique identifiers to the keywords.
  5. Create your advertisements, using the ad group identifiers, by calling the AddAds service operation. When you create your advertisements, adCenter assigns unique identifiers to the ads.
  6. Submit your ad groups for approval by calling the SubmitAdGroupForApproval service operation. You need to call only the SubmitAdGroupForApproval service operation once for an ad group. For a code example that demonstrates how to add advertisements and submit them, see How to Create Ads.
Page view tracker