Pendahuluan
Pengantar autentikasi & amp; otorisasi di Google Ads API.
Lihat slide presentasi.
Kecuali dinyatakan lain, konten di halaman ini dilisensikan berdasarkan Lisensi Creative Commons Attribution 4.0, sedangkan contoh kode dilisensikan berdasarkan Lisensi Apache 2.0. Untuk mengetahui informasi selengkapnya, lihat Kebijakan Situs Google Developers. Java adalah merek dagang terdaftar dari Oracle dan/atau afiliasinya.
Terakhir diperbarui pada 2023-03-01 UTC.
[null,null,["Terakhir diperbarui pada 2023-03-01 UTC."],[[["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."]]],[]]