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.
Tác nhân người dùng APIs-Google
APIs-Google là tác nhân người dùng được các API của Google sử dụng để gửi thông báo đẩy.
Các nhà phát triển ứng dụng có thể yêu cầu những thông báo này để không phải liên tục thăm dò máy chủ của Google nhằm tìm hiểu xem liệu những tài nguyên họ quan tâm có gì thay đổi không.
Để đảm bảo rằng không ai lợi dụng dịch vụ này, Google yêu cầu các nhà phát triển chứng minh rằng họ sở hữu miền trước khi cho phép họ đăng ký một URL kèm theo miền làm nơi họ muốn nhận thông báo.
Cách thức APIs-Google truy cập trang web của bạn
APIs-Google gửi từng thông báo đẩy bằng cách sử dụng yêu cầu HTTPS POST. Nếu yêu cầu không thành công do một tình trạng lỗi có thể chỉ là tạm thời, APIs-Google sẽ gửi lại thông báo đó. Nếu yêu cầu vẫn không thành công, APIs-Google sẽ tiếp tục thử lại – dựa trên thời gian đợi tăng theo cấp số nhân – lên đến tối đa là vài ngày.
Tần suất APIs-Google truy cập vào trang web của bạn thay đổi theo số lượng yêu cầu thông báo đẩy được tạo ra cho máy chủ trên trang web của bạn, theo tốc độ cập nhật các tài nguyên được theo dõi và số lần thử lại xảy ra. Kết quả là tình trạng lưu lượng truy cập của APIs-Google có thể nhất quán trong một số trường hợp, nhưng trong các trường hợp khác, lưu lượng truy cập có thể lên xuống thất thường hoặc tăng vọt.
Chuẩn bị trang web của bạn cho APIs-Google
APIs-Google sử dụng HTTPS để gửi thông báo đẩy nên trang web của bạn phải có chứng chỉ SSL hợp lệ. Chứng chỉ không hợp lệ bao gồm:
Chứng chỉ tự ký.
Chứng chỉ do một nguồn không đáng tin cậy ký.
Chứng chỉ đã bị thu hồi.
Để tránh các yêu cầu thử lại không cần thiết, hãy đảm bảo rằng ứng dụng của bạn có thiết kế hợp lý và kịp thời phản hồi các nội dung thông báo (trong vài giây).
Ngăn APIs-Google gọi trang web của bạn
Để ngăn APIs-Google gọi trang web của bạn, hãy làm theo một trong những cách sau:
Huỷ đăng ký nhận thông báo. Nếu bạn quản trị một miền có các miền phụ hoặc URL phụ do nhiều người sở hữu hoặc quản trị độc lập, thì một trong những chủ sở hữu miền phụ đó có thể đã thiết lập một ứng dụng sử dụng thông báo đẩy. Nếu bạn muốn chặn APIs-Google, hãy liên hệ với người có thể đã thiết lập một ứng dụng như vậy và yêu cầu họ vô hiệu hoá ứng dụng đó.
Sử dụng robots.txt. Tác nhân người dùng cần chỉ định trong tệp robots.txt là
APIs-Google – APIs-Google không tuân theo quy tắc của tác nhân người dùng Googlebot.
Có thể sẽ mất một chút thời gian trước khi APIs-Google phát hiện ra thay đổi đối với tệp robots.txt của bạn. Nếu APIs-Google tiếp tục gửi thông báo tới trang web của bạn vài ngày sau khi bạn đã chặn tác nhân người dùng này trong tệp robots.txt, hãy kiểm tra xem tệp robots.txt có nằm ở đúng vị trí không.
[[["Dễ hiểu","easyToUnderstand","thumb-up"],["Giúp tôi giải quyết được vấn đề","solvedMyProblem","thumb-up"],["Khác","otherUp","thumb-up"]],[["Thiếu thông tin tôi cần","missingTheInformationINeed","thumb-down"],["Quá phức tạp/quá nhiều bước","tooComplicatedTooManySteps","thumb-down"],["Đã lỗi thời","outOfDate","thumb-down"],["Vấn đề về bản dịch","translationIssue","thumb-down"],["Vấn đề về mẫu/mã","samplesCodeIssue","thumb-down"],["Khác","otherDown","thumb-down"]],["Cập nhật lần gần đây nhất: 2025-08-04 UTC."],[[["\u003cp\u003eAPIs-Google is a user agent utilized by Google APIs to deliver push notifications, allowing developers to receive updates without continuous server polling.\u003c/p\u003e\n"],["\u003cp\u003eAPIs-Google accesses websites using HTTPS POST requests for notifications, employing retries with exponential backoff for failed deliveries, leading to varied traffic patterns.\u003c/p\u003e\n"],["\u003cp\u003eWebsites must possess a valid SSL certificate to receive notifications and should be optimized for prompt responses to minimize unnecessary retry attempts by APIs-Google.\u003c/p\u003e\n"],["\u003cp\u003eTo prevent APIs-Google access, website owners can unregister for notifications or utilize robots.txt to block the user agent.\u003c/p\u003e\n"],["\u003cp\u003eSpoofed requests can be identified by verifying the caller's IP address through reverse DNS lookup to confirm association with googlebot.com or google.com.\u003c/p\u003e\n"]]],["APIs-Google is Google's user agent for push notifications, delivering messages via HTTPS POST requests. Developers must verify domain ownership to use this service. APIs-Google retries failed requests with exponential backoff and can create sporadic traffic. Sites need valid SSL certificates, and apps should respond quickly to avoid retries. To block APIs-Google, unregister notifications or use `APIs-Google` in robots.txt. Spoofed requests can be identified by verifying IP addresses against googlebot.com or google.com domains.\n"],null,["# APIs-Google User Agent | Google Search Central\n\nAPIs-Google user agent\n======================\n\n\nAPIs-Google is the user agent used by Google APIs to deliver push notification messages.\nApplication developers can request these notifications to avoid the need for continually\npolling Google's servers to find out if the resources they are interested in have changed.\nTo make sure nobody abuses this service, Google requires developers to prove that they own\nthe domain before allowing them to register a URL with a domain as the location where they\nwant to receive messages.\n\nHow APIs-Google accesses your site\n----------------------------------\n\n\nAPIs-Google sends each push notification using an HTTPS POST request. If the request fails due\nto an error condition that might be temporary, APIs-Google will resend the notification. If\nthe request still doesn't succeed, it will continue to retry---based on an exponential backoff\nschedule---up to a maximum of several days.\n\n\nThe rate at which APIs-Google accesses your site varies by how many push notification requests\nwere created for servers on your site, by how fast the monitored resources are getting\nupdated, and by the number of retries occurring. As a result, the APIs-Google traffic patterns\ncan be consistent in some scenarios, but in other scenarios the traffic can be sporadic or\nspiky.\n\nPrepare your site for APIs-Google\n---------------------------------\n\n\nAPIs-Google uses HTTPS to deliver push notifications, so it requires your site to have a valid\nSSL certificate. **Invalid** certificates include the following:\n\n- Self-signed certificates.\n- Certificates signed by an untrusted source.\n- Certificates that have been revoked.\n\n\nAvoid unnecessary retry requests by ensuring that your application is well-designed and\nresponds promptly to notification messages (within seconds).\n\nPrevent APIs-Google from calling your site\n------------------------------------------\n\n\nTo prevent APIs-Google from calling your site, do one of the following:\n\n- **Unregister for notifications.** If you administer a domain that has subdomains or URL subspaces that are owned or administered separately, one of the subdomain owners may have set up an application that uses push notifications. If you want to block APIs-Google, contact anyone who might have set up an application like this and ask them to disable it.\n- **Use robots.txt.** The user agent to specify in the robots.txt file is `APIs-Google` - `APIs-Google` does not follow rules for the Googlebot user agent. There may be a small delay before `APIs-Google` discovers your robots.txt file change. If `APIs-Google` continues to send messages to your site several days after you've blocked it in robots.txt, check that the robots.txt is in the correct location.\n\nVerify the caller\n-----------------\n\n\nIf you suspect that you are receiving spoofed requests, you can\n[verify that a bot accessing your server really is calling from google.com](/search/docs/crawling-indexing/verifying-googlebot).\nSearch your logs for any IP addresses identifying themselves as the\n`APIs-Google` user agent; a reverse DNS lookup shows the googlebot.com or\ngoogle.com domain."]]