create_budget_schedule
Schedule budget increases for Meta Ads campaigns during high-demand periods using Unix timestamps. Specify campaign ID, budget type (absolute or multiplier), and start/end times to optimize ad spend.
Instructions
Create a budget schedule for a Meta Ads campaign.
Allows scheduling budget increases based on anticipated high-demand periods.
The times should be provided as Unix timestamps.
Args:
campaign_id: Meta Ads campaign ID.
budget_value: Amount of budget increase. Interpreted based on budget_value_type.
budget_value_type: Type of budget value - "ABSOLUTE" or "MULTIPLIER".
time_start: Unix timestamp for when the high demand period should start.
time_end: Unix timestamp for when the high demand period should end.
access_token: Meta API access token (optional - will use cached token if not provided).
Returns:
A JSON string containing the ID of the created budget schedule or an error message.
Input Schema
Name | Required | Description | Default |
---|---|---|---|
access_token | No | ||
budget_value | Yes | ||
budget_value_type | Yes | ||
campaign_id | Yes | ||
time_end | Yes | ||
time_start | Yes |
Input Schema (JSON Schema)
{
"properties": {
"access_token": {
"default": null,
"title": "Access Token",
"type": "string"
},
"budget_value": {
"title": "Budget Value",
"type": "integer"
},
"budget_value_type": {
"title": "Budget Value Type",
"type": "string"
},
"campaign_id": {
"title": "Campaign Id",
"type": "string"
},
"time_end": {
"title": "Time End",
"type": "integer"
},
"time_start": {
"title": "Time Start",
"type": "integer"
}
},
"required": [
"campaign_id",
"budget_value",
"budget_value_type",
"time_start",
"time_end"
],
"title": "create_budget_scheduleArguments",
"type": "object"
}