通知

前往改良版「我的 AdMob 頁面」,取得專屬最佳化提示、掌握帳戶健全度,以及完成必要設定。

開始使用

如何測試廣告

透過試用版廣告、測試裝置或廣告檢查器,測試廣告是否正常運作。#測試廣告

在應用程式開發過程中,測試廣告是否正確導入是非常重要的一環。不過即使是為了測試,發布商也不得點擊實際運作中的自家廣告。點擊實際運作中的廣告可能會產生無效流量,導致違反政策規定。

因此,在應用程式開發和測試期間,請使用試用版廣告或測試裝置來驗證導入程式碼,以免違反 AdMob 政策。

試用版廣告

想要測試廣告,最快的方法是使用 Google 提供的試用版廣告單元。使用試用版廣告,您就不必自行建立廣告單元來測試應用程式。Google 提供的試用版廣告單元不會與您的 AdMob 帳戶連結,因此使用這些廣告單元時,不用擔心您的帳戶會產生無效流量。


使用 Google 提供的廣告單元 ID 時,系統會持續供應試用版廣告。您可以在 Google Developers 網站上取得 AndroidiOS 版的試用版廣告單元 ID。

按這裡查看試用版廣告範例

AdMob 插頁式廣告試用版範例。

測試裝置

您可以使用測試裝置,在應用程式中以測試模式預覽實際運作的廣告外觀,詳細檢視程式碼是否已正確導入。您可以將裝置設為測試裝置,並使用自己在 AdMob 帳戶中建立的廣告單元 ID。

啟用測試裝置後,AdMob 聯播網會使用您在 AdMob 帳戶中建立的廣告單元 ID,將實際運作的廣告傳送至您的裝置進行測試。您可以在這個測試模式中,安全地檢查實際運作中的廣告及導入程式碼,而不會違反 AdMob 的無效流量政策規定。

瞭解如何設定測試裝置

這對您有幫助嗎?

我們應如何改進呢?
true
Show your support to promote DEI in Gaming by turning intentions into action!

Check out the newly launched Diversity in Gaming website, where you can find video stories and written pledges from global gaming developers. This campaign centers on 3 pillars: diverse teams, diverse games and diverse audiences showing how diversity is not just good for gamers, but for business as well. Show your support by taking the pledge to promote DEI in Gaming and share it on social!

Learn More

搜尋
清除搜尋內容
關閉搜尋
主選單
4930421595668083229
true
搜尋說明中心
true
true
true
true
true
73175
false
false