Import Meta costs
import_meta_costsBook Facebook (Meta) daily spend into click costs WITHOUT a Graph token — the rows the Torvex browser extension reads from a logged-in Ads Manager session (one row per day × FB campaign × ad set). FB campaigns are matched to tracker campaigns via launches, manual links or the '(TID: N)' name marker; unmatched ones are reported back. USD cabinets only; a request must carry every row of a FB campaign for the days it covers (a day is set, not incremented).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| rows | Yes | ||
| currency | No | Cabinet currency; anything but USD is rejected (code bad_currency) | |
| timezone | No | IANA timezone of the ad account (FB report days are in it); missing → workspace timezone | |
| ad_account_id | No | FB ad account id (with or without the act_ prefix) — for the audit log only |