Meta integration (Marketing, Social). Imported from open-connector.
https://graph.facebook.com/{meta_graph_api_version}/me
/me/adaccounts
| Param | Type | Required | Description |
|---|---|---|---|
| fields | string | optional | The comma-separated Meta fields or list of fields to request. |
| limit | integer | optional | The maximum number of records Meta should return. |
| after | string | optional | The Graph API after cursor for requesting the next page. |
| before | string | optional | The Graph API before cursor for requesting the previous page. |
/campaigns
| Param | Type | Required | Description |
|---|---|---|---|
| adAccountId | string | required | The Meta ad account ID, with or without the act_ prefix. |
| fields | string | optional | The comma-separated Meta fields or list of fields to request. |
| limit | integer | optional | The maximum number of records Meta should return. |
| after | string | optional | The Graph API after cursor for requesting the next page. |
| before | string | optional | The Graph API before cursor for requesting the previous page. |
| effectiveStatus | array | optional | A list of Meta delivery statuses. |
| configuredStatus | array | optional | A list of Meta delivery statuses. |
/{objectId}/insights
| Param | Type | Required | Description |
|---|---|---|---|
| objectId | string | required | A Meta Graph API object identifier. |
| level | string | optional | The Meta insights aggregation level. |
| fields | string | optional | The comma-separated Meta fields or list of fields to request. |
| datePreset | string | optional | The Meta insights date preset. |
| timeRange | object | optional | The custom Meta insights date range. |
| breakdowns | array | optional | A list of string values. |
| filtering | array | optional | Meta insights filtering expressions forwarded to the Graph API. |
| sort | array | optional | A list of string values. |
| actionAttributionWindows | array | optional | A list of string values. |
| limit | integer | optional | The maximum number of records Meta should return. |
| after | string | optional | The Graph API after cursor for requesting the next page. |
| before | string | optional | The Graph API before cursor for requesting the previous page. |