如何获得帐号 [英] How to obtain account number

查看:137
本文介绍了如何获得帐号的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述



大家好,


 


任何人都可以请告诉我为什么我不能使用Adcenter API GetAccounts函数来获取帐户ID?我参考了服务参考中的CustomerManagement并编写了C#函数调用  getaccount或getaccounts函数,但CustomerManagement中不存在函数
。 Adcenter最近是否更改了禁用GetAccounts的内容,如果是这样,我如何获得accountid?如果有一个新的功能可以获得accountid,任何人都可以给我一个C#代码示例关于函数
get acccountID?或者,如果没有,我是否可以获得帐号ID(数字格式)?


谢谢,


 


George

解决方案

您使用的是哪个版本的adCenter API?对于v6,GetAccounts将按预期返回AccountId。使用API​​的v7首先调用GetAccountsInfo来检索帐户名和相应的ID,如果您需要任何给定帐户的更多信息
,请调用GetAccount。


Hi guys,

 

Can anyone please tell me why i can't use the Adcenter API GetAccounts function to get the accountIDs anymore? I did reference to CustomerManagement in Service References and write the C# function calling  getaccount or getaccounts function but the function does not exist in CustomerManagement. Did Adcenter recently change something that disable the GetAccounts, if so, how can i get the accountid ? If there a new function that can get accountid, can anyone give me a sample of code in C# about the function to get acccountID? Or if not, Is there anyway i can get account id (in number format)?

Thanks,

 

George

解决方案

Which version of the adCenter API are you using? For v6, GetAccounts will return the AccountId as expected. Using v7 of the API first call GetAccountsInfo to retreive the account names and corresponding IDs, and then call GetAccount if you need more information on any given account.


这篇关于如何获得帐号的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆