Get Meta Campaign by ID
meta_ads_get_campaign_by_idRetrieve detailed information about a specific Meta ad campaign by providing its campaign ID. Get fields like objective, status, budget, and more.
Instructions
Retrieve detailed information about a specific Meta ad campaign.
Args:
campaign_id (string): Campaign ID, e.g., '23843xxxxx'
fields (string[]): Fields to retrieve. Available: id, name, account_id, objective, status, effective_status, configured_status, daily_budget, lifetime_budget, budget_remaining, spend_cap, bid_strategy, buying_type, created_time, updated_time, start_time, stop_time, special_ad_categories, pacing_type, promoted_object, issues_info, recommendations
date_format (string): Date format: 'U' for Unix timestamp, 'Y-m-d H:i:s' for MySQL datetime, default: ISO 8601
Returns: Object with the requested campaign fields.
Examples:
Use when: "Get details for campaign 23843xxxxx"
Use when: "What is the objective and status of my campaign?"
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| campaign_id | Yes | Campaign ID, e.g., '23843xxxxx' | |
| fields | No | List of specific fields to retrieve. If omitted, default fields are returned | |
| date_format | No | Format for date fields in response. 'U' = Unix timestamp (seconds), 'Y-m-d H:i:s' = MySQL datetime. Default: ISO 8601 |