从我的 Rails 应用程序链接到 AdWords MCC
我正在使用 Adwords API,现在我想在 Rails 应用程序的管理区域中添加指向 MCC 的链接。
如何从我的 Rails 应用程序添加 AdWords MCC 的链接。我有 adwords API 访问权限。管理员应在单击链接(而不是在登录页面上)后登陆 MCC。
任何帮助将不胜感激。
I am using Adwords API and now I want to add a link to MCC in my rails application's admin area.
How can I add a link to Adwords MCC from my rails application. I have adwords API access. The admin should land to MCC after clicking the link (not on login page).
Any help will appreciate.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
这是一个相当棘手的问题;如果用户没有登录他们的 Google 帐户,您将无法通过登录屏幕。如果您将应用程序切换为使用 OAuth 而不是 ClientLogin,并要求用户在使用您的应用程序之前登录其 Google 帐户,那么单击 adwords 链接应该会将您带到欢迎页面而不是登录页面。但这充其量只是一个可能有效也可能无效的黑客攻击,在我看来,这是不值得的麻烦。
干杯,
阿纳什
That's quite a tricky one; if the user is not logged into their Google account, you can't get past the login screen. May be if you switch your app to use OAuth instead of ClientLogin, and require that the user logs into their Google account before using your app, then clicking the adwords link should take you to the welcome page instead of login page. But it is at best a hack that may or may not work, IMO it is not worth the trouble.
Cheers,
Anash