简介
介绍 Google Ads API 中的身份验证和授权。
请参阅幻灯片。
如未另行说明,那么本页面中的内容已根据知识共享署名 4.0 许可获得了许可,并且代码示例已根据 Apache 2.0 许可获得了许可。有关详情,请参阅 Google 开发者网站政策。Java 是 Oracle 和/或其关联公司的注册商标。
最后更新时间 (UTC):2023-03-01。
[null,null,["最后更新时间 (UTC):2023-03-01。"],[[["The Google Ads API uses OAuth 2.0 for authentication, enabling secure access to user data without sharing passwords."],["Developers need to create an OAuth 2.0 client ID and secret to identify their application and obtain authorization to access Google Ads accounts."],["Different OAuth 2.0 grant types cater to various use cases, including web, desktop, and service accounts, allowing flexible integration based on the application's needs."],["User authorization involves granting an application specific scopes of access, determining the actions it can perform on their Google Ads data."],["The refresh token allows an application to obtain new access tokens without repeated user interaction, enabling long-lived access to Google Ads accounts."]]],[]]