需要授權
更新指定發佈商 AdSense 帳戶中提供的廣告單元。此方法支援修補語意。 馬上試試!
請求
HTTP 請求
PATCH https://www.googleapis.com/adsensehost/v4.1/accounts/accountId/adclients/adClientId/adunits
參數
參數名稱 | 值 | 說明 |
---|---|---|
必要參數 | ||
accountId |
string |
包含該廣告用戶端的帳戶。 |
adClientId |
string |
包含該廣告單元的廣告用戶端。 |
adUnitId |
string |
要取得的廣告單元。 |
授權
此請求需要下列至少一個範圍的授權 (進一步瞭解驗證和授權)。
範圍 |
---|
https://www.googleapis.com/auth/adsensehost |
請求主體
回應
成功的話,這個方法會在回應主體中傳回 Accounts.adunits 資源。
試試看!
使用下方的 API 多層檢視,對實際資料呼叫此方法並查看回應。