account | DynamicAccount | Yes | - | Select Meta Ads account to rename ads in, ask the user for it if not provided |
update_type | string or SelectableOption | Yes | - | Choose whether to rename a single ad or multiple ads at once. Options: ‘single’ (Single Update), ‘bulk’ (Bulk Updates) |
ad_id | string | No | - | The ad ID to rename (required for single update) |
ad_name | string | No | - | The new name for the ad (required for single update) |
structured_data | array (also accepts a comma-separated string) | No | - | Structured data with ‘ad_id’ and ‘ad_name’ fields for each row (required for bulk update) |