Giới thiệu
Sử dụng bộ sưu tập để sắp xếp ngăn nắp các trang
Lưu và phân loại nội dung dựa trên lựa chọn ưu tiên của bạn.
Giới thiệu về quy trình xác thực và ủy quyền trong API Google Ads.
Xem bộ trang trình bày.
Trừ phi có lưu ý khác, nội dung của trang này được cấp phép theo Giấy phép ghi nhận tác giả 4.0 của Creative Commons và các mẫu mã lập trình được cấp phép theo Giấy phép Apache 2.0. Để biết thông tin chi tiết, vui lòng tham khảo Chính sách trang web của Google Developers. Java là nhãn hiệu đã đăng ký của Oracle và/hoặc các đơn vị liên kết với Oracle.
Cập nhật lần gần đây nhất: 2025-08-21 UTC.
[null,null,["Cập nhật lần gần đây nhất: 2025-08-21 UTC."],[[["\u003cp\u003eThe Google Ads API uses OAuth 2.0 for authentication, enabling secure access to user data without sharing passwords.\u003c/p\u003e\n"],["\u003cp\u003eDevelopers need to create an OAuth 2.0 client ID and secret to identify their application and obtain authorization to access Google Ads accounts.\u003c/p\u003e\n"],["\u003cp\u003eDifferent 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.\u003c/p\u003e\n"],["\u003cp\u003eUser authorization involves granting an application specific scopes of access, determining the actions it can perform on their Google Ads data.\u003c/p\u003e\n"],["\u003cp\u003eThe refresh token allows an application to obtain new access tokens without repeated user interaction, enabling long-lived access to Google Ads accounts.\u003c/p\u003e\n"]]],[],null,["# Introduction\n\nAn introduction to authentication \\& authorization in the Google Ads API.\n\nSee [slide deck](https://services.google.com/fh/files/misc/google_ads_api_auth_series_introduction.pdf).\n\n\u003cbr /\u003e\n\n\u003cbr /\u003e"]]