account | DynamicAccount | Yes | - | The Meta Ads account to estimate for |
targeting | object or string | Yes | - | The Meta targeting spec to size, as a JSON object sent to Meta as-is, in the same shape as an ad set’s targeting. It needs at least one location (geo_locations) or custom audience. Look up interest, behavior and location ids with meta_ads_search_targeting. Example: {“geo_locations”: {“countries”: [“GR”]}, “age_min”: 25, “age_max”: 55, “interests”: [{“id”: “6003107902433”, “name”: “Yoga”}]} |
optimization_goal | string or SelectableOption | No | - | The ad set optimization goal to estimate for, default REACH. |
promoted_object | object or string | No | - | Optional promoted_object of the planned ad set, in Meta’s ad set format, e.g. {“pixel_id”: “1234567890”, “custom_event_type”: “PURCHASE”} for a conversions goal. |