shriny


Hi,

If we have multiple account numbers for same accout login , how to differentiate in the ApiUserAuthHeader.

If the usename 'xxxx' has multiple account numbers, how will the api know which account to update.

ApiUserAuthHeader class has only
UserName, Password, UserAccessKey fields.
public class ApiUserAuthHeader : SoapHeader{
 Member of [Namespace] {
public string UserName;
public string Password;
public string UserAccessKey;
};


Let me know how to access particular account number campaigns.


Thanks
Sri






Re: Multiple accounts and single login username

Strohm Armstrong - MSFT


Sri,

The specific API that you call to make a change will take an identifier that identifies what is to be updated. For example, the CampaignManagement.UpdateCampaigns method takes an account identifier that indicates which account to update the campaign or campaigns for. As another example, the CampaignManagement.UpdateAds method takes an order identifier that identifies the order to update the ads for. The order is tied to a specific campaign, which is tied to a specific account.

I hope this helps clarify this issue.

Strohm Armstrong

Programming Writer - Microsoft adCenter API






Re: Multiple accounts and single login username

Jeff Dillon - MSFT

Sri,

Once you are logged in, you call CustomerManagement.GetAccounts to get the array of associated AdCenterAccount objects. These objects contain the Account Name, Number, ID and other attributes for each account that you have access to.

Hope this helps!

Jeff Dillon, Microsoft adCenter API Technical Support





Re: Multiple accounts and single login username

dmartindale

I'm still new to the api, and I'm having issues seeing the accounts that I have created with CustomerSignUp() through the api. The only account I see when I call GetAccounts() is what appears to be the default super-user account (aggregator). I don't see a way to assign a customerID so that I get accounts for a particular customer and attempting to connect with the username/password for a customer using the developer access token fails. I'm obviously doing something wrong here. Help



Re: Multiple accounts and single login username

Jeff Dillon - MSFT

Hi,

If you could provide your customer information and your aggregator username that you are using, I will open up a support ticket here and contact you via our ticketing system. It's my understanding that after calling CustomerSignUp(), you should be able to see those accounts via GetAccounts, so we will have to look further. Sorry for the inconvenience.

Jeff Dillon, Microsoft adCenter API Technical Support