关键字效果验证 [英] Keyword Performance Authentication

查看:106
本文介绍了关键字效果验证的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在运行Microsoft开发人员网站上提供的API V9的示例C#代码。我有问题验证。设置代码,以便输入我的用户名,密码,开发人员令牌,accountId和CampaignId。这段代码不再有效吗?这个
与oauth有关吗?  我在下面粘贴了我的代码。它应该为指定的帐户和广告系列提取关键字效果报告,但我无法进行身份验证。谢谢

I'm running the example C# code for API V9 given on the Microsoft developer site. I'm having issues authenticating. The code is setup so that I enter my username, password, developer token, accountId and CampaignId. Is this code no longer working? Does this have something to do with oauth?  I pasted my code below. It should pull a keyword performance report for a specified account and campaign but I can't authenticate. Thanks

推荐答案

你好。

上面的问题是你正试图在UserName字段中使用电子邮件地址。您应该使用OAuth通过Microsoft帐户进行身份验证。

The issue above is you are attempting to use an email address in the UserName field. You should use OAuth to authenticate with a Microsoft account.

此示例使用 UserName 密码元素进行身份验证。对于
使用OAuth管理用户身份验证,请替换
具有 AuthenticationToken 的用户名密码元素,这是您的OAuth访问令牌。

This example uses the UserName and Password elements for authentication. For Managing User Authentication with OAuth, replace the UserName and Password elements with the AuthenticationToken, which is your OAuth access token.

http://msdn.microsoft。 com / zh-CN / library / bing-ads-reporting-request-and-download-a-keyword-performance-report-in-csharp.aspx

我希望这有帮助!


这篇关于关键字效果验证的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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