Để thảo luận và đưa ra ý kiến phản hồi về các sản phẩm của chúng tôi, hãy tham gia kênh Discord chính thức của Google Ads trong máy chủ Cộng đồng quảng cáo và đo lường của Google.
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.
Lý do cần có sự uỷ quyền
Quyền truy cập thông thường vào Google Ads yêu cầu người dùng phải có mặt và chủ động thực hiện các thay đổi trong một phiên hoạt động để thực hiện các thay đổi hoặc đọc dữ liệu từ tài khoản Google Ads. Tuy nhiên, tập lệnh Google Ads có thể thực thi ngay cả khi người dùng chưa đăng nhập:
Tập lệnh theo lịch chạy định kỳ, bất kể người dùng có đăng nhập vào thời điểm đó hay không.
Vì tập lệnh có thể mất đến 30 phút để hoàn tất, nên người dùng có thể đã đăng xuất khỏi Google Ads trong thời gian đó.
Về cơ bản, tập lệnh là các thực thể độc lập thực hiện hành động thay mặt cho người dùng. Vì lý do đó, bạn phải cấp quyền chạy cho tập lệnh một cách rõ ràng.
Bạn có thể xem xét các quyền đã cấp cho tập lệnh và các ứng dụng khác bằng cách chuyển đến trang Bảo mật của tài khoản rồi nhấp vào Quản lý quyền truy cập của bên thứ ba.
Cách uỷ quyền
Lần đầu tiên bạn cố gắng xem trước hoặc chạy một tập lệnh, hoặc bất cứ khi nào quyền uỷ quyền hết hạn vì bất kỳ lý do gì, bạn sẽ được nhắc tự động uỷ quyền cho tập lệnh. Chỉ cần làm theo hướng dẫn trên màn hình khi điều này xảy ra.
[null,null,["Cập nhật lần gần đây nhất: 2025-09-05 UTC."],[[["\u003cp\u003eGoogle Ads scripts require authorization because they can run independently of the user's active session, performing actions on their behalf.\u003c/p\u003e\n"],["\u003cp\u003eScripts need explicit user permission to access and modify Google Ads account data, even when the user is not signed in.\u003c/p\u003e\n"],["\u003cp\u003eUsers can manage script and application permissions through their Google Account's Security page, reviewing and controlling third-party access.\u003c/p\u003e\n"],["\u003cp\u003eScripts may need reauthorization if the original author loses access to the Google Ads account, ensuring continued functionality.\u003c/p\u003e\n"],["\u003cp\u003eAuthorization is typically a straightforward process, prompted automatically when previewing, running a script, or after authorization lapse, requiring users to follow on-screen instructions.\u003c/p\u003e\n"]]],[],null,["# Authorization\n\nWhy authorization is necessary\n------------------------------\n\nNormal access to Google Ads requires that a user be present and actively making\nchanges with an active session in order to make changes or read data from a\nGoogle Ads account. Google Ads scripts, however, are different in that they can\nexecute even when the user is not signed in:\n\n- Scheduled scripts run periodically, whether or not the user happens to be signed in at the time.\n- Since scripts can take up to 30 minutes to complete, the user could have signed out of Google Ads in the meantime.\n\nScripts are basically independent entities that take actions **on the user's\nbehalf**. For that reason, you must explicitly grant scripts permission to run.\n\nYou can review permissions granted to your scripts and other applications by\nnavigating to [your account's Security page](//www.google.com/settings/security)\nand clicking **Manage third-party access**.\n| **Note:** If the original author of a script is disassociated with the Google Ads account from which the script was created, the script will stop running but remain available. If you wish for the script to continue to run, someone who still has access to the account must reauthorize it.\n\nHow to authorize\n----------------\n\nThe first time you try to preview or run a script, or whenever authorization\nhas lapsed for any reason, you are prompted to authorize the script\nautomatically. Just follow the on-screen instructions when this happens."]]