The adCenter API provides Web services, such as the Campaign Management Web service, that can create and modify the entities that correspond to campaigns, ad groups, ads, and so on. For example, the AddCampaigns service operation is used to create a campaign. The AddCampaigns service operation uses an array of Campaign objects that corresponds to a set of campaigns in the object model.
The following figure shows how the object model entities, such as a campaign, relate to the adCenter API entities, such as the Campaign object. The items within boxes show the adCenter API entities; the items to the left of the boxes show the corresponding adCenter API elements.
Object Model Entities
The AdCenterAccount object represents a Microsoft adCenter account. You can call the GetAccounts service operation to determine your account identifiers. They are used by various service operations, such as AddCampaigns.
The Campaign object represents an adCenter campaign. Create campaigns by calling the AddCampaigns service operation. Update campaigns by calling the UpdateCampaigns service operation.
The AdGroup object represents an ad group. Create ad groups by calling the AddAdGroups service operation. Update ad groups by calling the UpdateAdGroups service operation. You can delete ad groups by calling the DeleteAdGroups service operation.
Targeting is handled at the ad group level. Targets are created by the AddTarget service operation. For more information about targeting, see Ad Targeting.
The TextAd object represents an adCenter text advertisement. Create ads by calling the AddAds and UpdateAds service operations, respectively. You can delete ads by calling the DeleteAds service operation.
The Keyword object represents a keyword and its bid information. Create keywords by calling the AddKeywords service operation. Update keywords by calling the UpdateKeywords service operation. You can delete keywords by calling the DeleteKeywords service operation.