update_campaign
Modify existing Uber advertising campaigns by updating campaign name, status, budget amount, or end time using the Uber External Ads API.
Instructions
Update an existing campaign
Input Schema
Name | Required | Description | Default |
---|---|---|---|
ad_account_id | Yes | The ad account UUID | |
auth_token | No | Bearer token for authentication | |
campaign_data | Yes | ||
campaign_id | Yes | The campaign UUID |
Input Schema (JSON Schema)
{
"properties": {
"ad_account_id": {
"description": "The ad account UUID",
"type": "string"
},
"auth_token": {
"description": "Bearer token for authentication",
"type": "string"
},
"campaign_data": {
"additionalProperties": false,
"properties": {
"budget_amount": {
"description": "Budget amount in USD",
"minimum": 0.01,
"type": "number"
},
"end_time": {
"description": "Campaign end time (ISO 8601)",
"type": "string"
},
"name": {
"description": "Campaign name",
"type": "string"
},
"status": {
"description": "Campaign status",
"enum": [
"ACTIVE",
"PAUSED"
],
"type": "string"
}
},
"type": "object"
},
"campaign_id": {
"description": "The campaign UUID",
"type": "string"
}
},
"required": [
"ad_account_id",
"campaign_id",
"campaign_data"
],
"type": "object"
}