Để 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.
Tài khoản kiểm thử cho phép bạn dùng thử các chế độ triển khai API mới hoặc cấu hình tài khoản trước khi triển khai các thay đổi trong môi trường sản xuất.
Mặc dù tài khoản sản xuất phân phát quảng cáo yêu cầu thông tin thanh toán và được hiển thị cho người dùng, nhưng tài khoản thử nghiệm xuất hiện trong giao diện người dùng Google Ads dưới dạng tài khoản đã huỷ vì không có thông tin thanh toán đang hoạt động và không phân phát quảng cáo cho người dùng.
Vì tài khoản thử nghiệm và tài khoản thực tế không thể tương tác với nhau theo bất kỳ cách nào, nên bạn không thể sử dụng tài khoản thử nghiệm trong tài khoản người quản lý thực tế hiện có. Để sử dụng tài khoản thử nghiệm, bạn cần có một hệ thống phân cấp tài khoản mới, trong đó tài khoản người quản lý thử nghiệm là gốc.
Tại sao nên sử dụng tài khoản kiểm thử?
Tài khoản kiểm thử không ảnh hưởng đến quảng cáo thực hoặc tính phí tài khoản của bạn, do đó, đây là một cách hữu ích để thử nghiệm API. Tài khoản kiểm thử mang lại những lợi ích bổ sung trong quá trình phát triển. Đặc biệt là tài khoản thử nghiệm:
Có thể thiết lập theo thứ bậc và sắp xếp giống như tài khoản chính thức.
Có thể xem và thao tác trong giao diện người dùng của Google Ads, giống như tài khoản sản xuất.
Không yêu cầu mã thông báo nhà phát triển được phê duyệt, vì vậy, bạn có thể bắt đầu thử nghiệm với API ngay lập tức, ngay cả trước khi ứng dụng của bạn được xem xét hoặc phê duyệt.
Không thể phân phát quảng cáo hoặc tương tác với tài khoản thực tế của bạn theo bất kỳ cách nào. Điều này mang đến cho bạn một môi trường an toàn để kiểm thử mã hoặc các thay đổi về cấu hình mà không ảnh hưởng đến các tài khoản phân phát của bạn.
Có các quy tắc hạn chế tương tự, bao gồm cả giới hạn về tốc độ, như tài khoản chính thức.
Vì tài khoản kiểm thử không có ngân sách, nên bạn có thể gặp lỗi khi tạo tài khoản phụ kiểm thử trong tài khoản người quản lý. Bạn có thể yên tâm bỏ qua lỗi này.
Tạo tài khoản và chiến dịch thử nghiệm
Các hướng dẫn sau đây sẽ tạo một tài khoản người quản lý thử nghiệm, một tài khoản khách hàng thử nghiệm và một vài chiến dịch để điền sẵn thông tin cho tài khoản khách hàng thử nghiệm. Xin lưu ý rằng "khách hàng" ở đây là tài khoản khách hàng Google Ads, chứ không phải ứng dụng khách hàng của bạn.
Nhấp vào nút màu xanh dương để tạo tài khoản người quản lý thử nghiệm. Nếu được nhắc, hãy đăng nhập bằng một Tài khoản Google không liên kết với Tài khoản người quản lý Google Ads trong môi trường sản xuất của bạn.
Ngoài ra, bạn cũng có thể tạo một Tài khoản Google mới nếu cần.
Trong tài khoản người quản lý kiểm thử, hãy tạo một tài khoản khách hàng kiểm thử:
Nhấp vào Tài khoản > add_circle > Tạo tài khoản mới rồi điền vào biểu mẫu. Mọi tài khoản khách hàng mà bạn tạo từ tài khoản người quản lý thử nghiệm đều tự động là tài khoản thử nghiệm.
Tạo một vài chiến dịch kiểm thử trong tài khoản khách hàng kiểm thử trên trang Google Ads.
Ghi lại mã khách hàng của ứng dụng cho tài khoản khách hàng kiểm thử mới và lưu mã này để bạn có thể thực hiện các lệnh gọi API sau này.
Xem tài khoản kiểm thử
Để xem tài khoản kiểm thử trong giao diện người dùng, bạn có thể hiện các tài khoản bằng cách chọn xem tài khoản đã huỷ.
Tài khoản thử nghiệm xuất hiện cùng nhãn màu đỏ:
Nếu bạn không thấy nhãn Tài khoản thử nghiệm màu đỏ trên trang tài khoản Google Ads, thì đó là tài khoản thực.
Các điểm hạn chế
Tài khoản kiểm thử là một lựa chọn phù hợp để kiểm thử các thay đổi trước khi triển khai cho bản phát hành công khai hoặc phát triển ứng dụng trong khi mã thông báo nhà phát triển của bạn có quyền truy cập vào tài khoản kiểm thử. Tuy nhiên, bạn cần lưu ý một số hạn chế.
Vì tài khoản kiểm thử không thể phân phát quảng cáo hoặc tương tác với tài khoản sản xuất của bạn theo bất kỳ cách nào, nên các chỉ số phân phát (chẳng hạn như lượt hiển thị, lượt chuyển đổi hoặc dữ liệu chi phí) sẽ trống.
Bạn không thể thử nghiệm một số tính năng bằng tài khoản thử nghiệm. Trong đó có mô phỏng giá thầu, tải lượt chuyển đổi lên và thanh toán. Các tính năng khác, bao gồm cả đề xuất, có những hạn chế trong tài khoản thử nghiệm vì tài khoản thử nghiệm không tạo ra dữ liệu phân phát.
Hệ thống phân cấp tài khoản người quản lý kiểm thử có thể chứa tối đa 50 tài khoản kiểm thử.
Tài khoản thử nghiệm tạo ra một lượng lớn yêu cầu liên tục có thể bị điều tiết mà không cần thông báo.
[[["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-09-05 UTC."],[[["\u003cp\u003eTest accounts provide a risk-free environment to experiment with the Google Ads API and new configurations without affecting live campaigns or incurring charges.\u003c/p\u003e\n"],["\u003cp\u003eThey mirror the structure and functionality of production accounts, offering a realistic testing ground before deployment.\u003c/p\u003e\n"],["\u003cp\u003eTest accounts operate independently from production accounts, ensuring no interaction or impact on live data.\u003c/p\u003e\n"],["\u003cp\u003eThese accounts are accessible through the Google Ads UI and don't necessitate an approved developer token for initial API experimentation.\u003c/p\u003e\n"],["\u003cp\u003eWhile offering a robust testing platform, test accounts have limitations regarding serving metrics, certain features, and account hierarchy size.\u003c/p\u003e\n"]]],[],null,["# Test accounts\n\n\u003cbr /\u003e\n\n\u003cbr /\u003e\n\nTest accounts let you try out new API implementations or account configurations\nprior to implementing the changes in your production environment.\n\nWhile production accounts serve ads that require billing and are rendered to\nusers, test accounts appear in the Google Ads UI as cancelled accounts since there\nis no active billing and they don't render ads to users.\n\nBecause test and production accounts cannot interact in any way, you cannot use\na test account under your existing production manager account. To use test\naccounts, you need a new account hierarchy, with a test manager account as the\nroot.\n\nWhy use test accounts?\n----------------------\n\nTest accounts don't affect your live ads or charge your account, hence they're a\nuseful way to experiment with the API. Test accounts provide extra benefits\nduring active development. Particularly, test accounts:\n\n- Can be set up in a hierarchy and organized just like production accounts.\n- Can be viewed and manipulated in the Google Ads UI, just like production accounts.\n- Don't require an approved developer token, so you can start experimenting with the API immediately, even before your application is reviewed or approved.\n- Can't serve ads or interact with your production accounts in any way. This gives you a safe environment to test code or configuration changes without impacting your serving accounts.\n- Have the same restrictions, including [rate\n limits](/google-ads/api/docs/best-practices/rate-limits), as production accounts.\n\nSince test accounts don't have budgets, you might see an error when creating a\ntest sub-account in a manager account. You can safely ignore this error.\n\nCreate test accounts and campaigns\n----------------------------------\n\n\u003cbr /\u003e\n\n\u003cbr /\u003e\n\nThe following instructions create a test manager account, a test client account,\nand a few campaigns to populate the test client account. Note that \"client\" here\nrefers to a Google Ads client account, not your client app.\n\n1. Click the blue button to create a test manager account. If prompted, sign\n in with a [Google Account](//www.google.com/account/about/) that isn't\n linked to your production\n [Google Ads manager account](//ads.google.com/home/tools/manager-accounts/).\n There is also a link to create a new Google Account if you need to do so.\n\n [Create a test manager account](//ads.google.com/nav/selectaccount?sf=mt)\n2. While in your test manager account, create a test client account:\n Click **Accounts \\\u003e\n add_circle \\\u003e\n Create new account** and fill out the form. Any client accounts you\n create from your test manager account are automatically test accounts.\n\n3. Create a few test *campaigns* under the test client account from the Google Ads\n page.\n\n4. Take note of the **client customer ID** for the new test client account, and\n save it so you can make API calls later.\n\n| **Important:** Use the developer token of your *production* manager account when making requests against the *test* manager account. Even if it's not approved yet, the token still works on test accounts, including the ones just created.\n\nView test accounts\n------------------\n\nTo view test accounts in the UI, you can\n[unhide the accounts](//support.google.com/google-ads/answer/7519830) by\nchoosing to view cancelled accounts.\n\nTest accounts appear with a red label:\n\nIf you don't see the red **Test account** label on your Google Ads account page,\nthen the account is a production account.\n\nLimitations\n-----------\n\nTest accounts are a great option for testing changes before deploying them to\nproduction, or developing your application while your developer token has\n[test account access](/google-ads/api/docs/access-levels#access-levels). However, there are\nsome limitations to keep in mind.\n\n- Because test accounts can't serve ads or interact with your production accounts in any way, serving metrics -- like impressions, conversions, or cost data -- are empty.\n- Some features cannot be tested with test accounts. This includes bid simulations, conversion uploads, and billing. Other features, including recommendations, have limited capabilities within test accounts because test accounts don't generate serving data.\n- Test manager account hierarchies can contain [up to 50](/google-ads/api/docs/best-practices/system-limits#account) test accounts.\n- Test accounts generating a high volume of continuous requests may be throttled without notice.\n\nTake a look at the\n[Testing Best Practices](/google-ads/api/docs/best-practices/testing#production-accounts)\npage for guidance on working around these limitations."]]