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
-
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 How to Retrieve Account IDs.
-
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.
-
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.
-
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.
-
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.
-
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.

See Also