我試圖用 Google Ads API 要求的所有資訊創建一個 campaigBudget:mutate,但沒有結果,它們只顯示一個錯誤:
The operation is not allowed for the given context., at operations[0]
這個截圖可能對你們有幫助:
標題:
![Google Ads REST API:在給定的背景關系中不允許該操作。,在操作 [0]](https://img.uj5u.com/2021/11/18/d98415d85b9e476abe509e9869c8488e.png)
身體(請求和回應):
![Google Ads REST API:在給定的背景關系中不允許該操作。,在操作 [0]](https://img.uj5u.com/2021/11/18/5633ec41a13246ff88bc4b540080d774.png)
這是來自 Google Ads API 的示例:
![Google Ads REST API:在給定的背景關系中不允許該操作。,在操作 [0]](https://img.uj5u.com/2021/11/18/d2a74ddde3fb4370bf88a6350826ac08.png)
謝謝
uj5u.com熱心網友回復:
經過研究,我發現問題出在 CUSTOMER_ID
在標題中,我們應該設定: login-customer-id => MANAGER_CUSTOMER_ID
在端點 url 中我們應該設定: /customers/CUSTOMER_ID/campaignBudgets:mutate
轉載請註明出處,本文鏈接:https://www.uj5u.com/qita/359678.html
標籤:休息 google-ads-api 谷歌实验
