Facebook Ads
Draft Facebook Ad Set
Create a paused ad set with its budget, schedule and targeting. Needs a daily or lifetime budget, and at least a country to target.
Endpoint
Parameters
| Name | Type | Required | Note |
|---|---|---|---|
| adAccountIdstring · required | string | required | — |
| namestring · required | string | required | — |
| campaignIdstring · required | string | required | — |
| dailyBudgetstring · optional | string | optional | 5000 means $50.00 |
| lifetimeBudgetstring · optional | string | optional | Requires an end time |
| bidAmountstring · optional | string | optional | — |
| countriesstring · optional | string | optional | Two-letter codes, e.g. US,GB |
| ageMinstring · optional | string | optional | — |
| ageMaxstring · optional | string | optional | — |
| targetingobject · optional | object | optional | Replaces the country and age fields |
| billingEventstring · optional | string | optional | One of: |
| optimizationGoalstring · optional | string | optional | One of: |
| startTimestring · optional | string | optional | ISO 8601 |
| endTimestring · optional | string | optional | ISO 8601 — required with a lifetime budget |