templates_update
Update an existing saved template owned by the authenticated user. Mirrors Meta templates_update. Only the fields you pass get patched; provenance / source_* fields are immutable after save (re-run templates_reverse_engineer to refresh those). adset_params is the Meta wire alias for adgroup_params — pass either. ad_params may retain a validated music_info={music_id:} image setting; the create route preserves and checks this exact track for its target advertiser.
REQUIRED: template_id (str). OPTIONAL: name, tags, campaign_params, adset_params / adgroup_params, ad_params, campaign_naming, adset_naming / adgroup_naming. EXAMPLE: templates_update({"template_id": "", "tags": ["vn", "retargeting"]})
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | ||
| tags | No | ||
| ad_params | No | ||
| template_id | Yes | ||
| adset_naming | No | ||
| adset_params | No | ||
| adgroup_naming | No | ||
| adgroup_params | No | ||
| campaign_naming | No | ||
| campaign_params | No |