Update Campaign
dynamoi_update_campaignUse only when the user explicitly requests a campaign change. Resume isn't available for fixed-flight YouTube campaigns. Duplicate the campaign to relaunch it. For pause, resume, archive and unarchive, first request phase=preview with one clientRequestId. Show that exact preview to the human; only after approval send phase=confirm with its expectedUpdatedAt, expectedCurrentStatus and (for resume) expectedFundingHash and the same request ID. Omitting phase never executes these status actions. Actions: pause, resume, update_budget, update_end_date (DAILY or TOTAL budget), update_location (GLOBAL or catalog-valid countries), change_strategy (managed YouTube Demand Gen), update_goals (YouTube optimization toggles), archive (never deletes), unarchive (restores PAUSED without funding or activating providers). Inspect the campaign first and supply expectedCurrentStatus where possible. When retrying the same action, reuse the same clientRequestId.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"action": "<action>",
"campaignId": "<campaignId>"
},
"name": "dynamoi_update_campaign"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| phase | No | Pause, resume, archive and reviewed budget changes require preview first; confirm only after the human approves that exact preview. | |
| action | Yes | ||
| endDate | No | Last day ads run | |
| strategy | No | YouTube campaign strategy. Labels for users: CHEAPEST_VIEWS = Views, ORGANIC_VIEWS = Watch Time, SUBSCRIBERS = Subscribers, ORGANIC_VIEWS_AND_SUBSCRIBERS = Channel Growth (default for non-monetized channels), ADSENSE_ROI = Revenue (monetized channels only). | |
| campaignId | Yes | ||
| budgetAmount | No | Budget in the artist's commercial currency (major units; use only exact minor units). | |
| clientRequestId | No | ||
| locationTargets | No | ||
| expectedUpdatedAt | No | ||
| userIntentSummary | No | ||
| expectedFundingHash | No | ||
| expectedCurrentStatus | No | ||
| acceptedConsentVersion | No | ||
| expectedCurrentEndDate | No | Last day ads run | |
| optimizeForSubscribers | No | ||
| acceptedConsentCopyHash | No | ||
| optimizeForOrganicViews | No | ||
| acceptedTotalConsentVersion | No | ||
| expectedCurrentBudgetAmount | No | Current budget in the artist's commercial currency (major units). | |
| acceptedTotalConsentCopyHash | No | Accepted for older clients; ignored. | |
| authorizeAutomaticDailyFunding | No | Accepted for older clients; ignored. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| code | No | ||
| data | No | ||
| kind | No | ||
| field | No | ||
| status | Yes | ||
| draftId | No | ||
| message | No | ||
| retryable | No | ||
| nextAction | No | ||
| failureStage | No | ||
| prerequisite | No | ||
| screeningResult | No | ||
| retryAfterSeconds | No |