變動資源
透過集合功能整理內容
你可以依據偏好儲存及分類內容。
Google Ads API 會根據您的用途,提供幾種不同的資源變更方式。每個資源都有對應的服務,可讓您指定該特定資源類型的 mut 作業。舉例來說,Campaign
資源有變動廣告活動的對應 CampaignService.MutateCampaigns
端點。
另一個選項是 GoogleAdsService.Mutate
端點,此端點基本上會納入一系列針對資源服務所做的個別變更呼叫,並提供下列優點:
- 在不同資源服務中將動作分組。一般呼叫只能對單一資源服務執行作業。
- 臨時資源名稱。結合多項作業,在單一要求中建立實體及其子實體。
透過這兩個資源,您就可以使用GoogleAdsService.Mutate
,等到每個步驟都成功的情況下才建立整個廣告活動結構。
除非另有註明,否則本頁面中的內容是採用創用 CC 姓名標示 4.0 授權,程式碼範例則為阿帕契 2.0 授權。詳情請參閱《Google Developers 網站政策》。Java 是 Oracle 和/或其關聯企業的註冊商標。
上次更新時間:2024-02-23 (世界標準時間)。
[{
"type": "thumb-down",
"id": "missingTheInformationINeed",
"label":"缺少我需要的資訊"
},{
"type": "thumb-down",
"id": "tooComplicatedTooManySteps",
"label":"過於複雜/步驟過多"
},{
"type": "thumb-down",
"id": "outOfDate",
"label":"過時"
},{
"type": "thumb-down",
"id": "translationIssue",
"label":"翻譯問題"
},{
"type": "thumb-down",
"id": "samplesCodeIssue",
"label":"示例/程式碼問題"
},{
"type": "thumb-down",
"id": "otherDown",
"label":"其他"
}]
[{
"type": "thumb-up",
"id": "easyToUnderstand",
"label":"容易理解"
},{
"type": "thumb-up",
"id": "solvedMyProblem",
"label":"確實解決了我的問題"
},{
"type": "thumb-up",
"id": "otherUp",
"label":"其他"
}]