get_ad_labels
Retrieve all ad labels assigned to campaigns, ad sets, and ads within a Meta ad account for organized tracking and management.
Instructions
List all ad labels used for organizing campaigns, ad sets, and ads in an account. Args: act_id: The act ID of the ad account, e.g. act_1234567890. fields: Fields to return. Available: id, name, created_time, updated_time. Defaults to [id, name, created_time]. limit: Maximum number of results to return. Returns: A dictionary containing the list of ad labels.
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": {
"act_id": "<act_id>"
},
"name": "get_ad_labels"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | ||
| act_id | Yes | ||
| fields | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |