Bing Ads Api没有连接,得到105错误。 [英] Bing Ads Api not connecting, getting 105 error.
问题描述
您好我收到错误 105:身份验证失败。提供的凭据无效或帐户处于非活动状态。
Hi I am getting the error 105: Authentication failed. Either supplied credentials are invalid or the account is inactive.
我只是获得了api访问权限和开发人员密钥,但我认为PasswordAuthentication可能有误。
I just got my api access and developer key, but I believe that the PasswordAuthentication may be wrong.
我用***阻止了敏感信息。
I have blocked the sensitive information with ***.
这就是我使用它的方式:
This is how I am using it:
var authentication = new PasswordAuthentication(
"4wp.*****@gmail.com",
"xpw*****");
// The OAuthHelper class is available for download with the BingAdsExamples solution.
// OAuthDesktopMobileImplicitGrant authentication = await OAuthHelper.AuthorizeImplicitly();
var authorizationData = new AuthorizationData
{
Authentication = authentication,
CustomerId = 1106****,
AccountId = 158****,
DeveloperToken = "010373853U8*****"
};
我无法让它工作。
密码验证的用户名和密码是什么?
What would the username and password be for Password Authentication?
这是我的bing ads电子邮件帐户登录的密码吗?
Is it the password for my bing ads email account login?
推荐答案
您好。
电子邮件地址不能与PasswordAuthentication类一起使用。您必须使用OAuthDesktopMobileImplicitGrant,OAuthDesktopMobileAuthCodeGrant或OAuthWebAuthCodeGrant。 PasswordAuthentication可与Bing Ads遗产凭证(非电子邮件)一起使用。
An email address cannot be used with the PasswordAuthentication class. You must use either OAuthDesktopMobileImplicitGrant, OAuthDesktopMobileAuthCodeGrant, or OAuthWebAuthCodeGrant. PasswordAuthentication can be used with Bing Ads legacy credentials (non-email).
有关详细信息,请参阅 使用OAuth管理
用户身份验证 。
我希望这个帮助,
Eric
这篇关于Bing Ads Api没有连接,得到105错误。的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!