POST /{pixel-id}/shared_accounts API (including previous versions) will not support sharing of pixels with an ad account, if a business account does not have access to both pixel and ad account. Refer to the pixel sharing API solution to use POST /{pixel-id}/agencies or use POST {ad_account}/agencies to share into a business account, then use POST /{pixel-id}/shared_accounts to link pixel and ad accountGET /v25.0/{business-id}/client_ad_accounts HTTP/1.1
Host: graph.facebook.com
| Parameter | Description |
|---|---|
search_querystring |
search_query
|
{
"data": [],
"paging": {},
"summary": {}
}
| Field | Description |
|---|---|
permitted_taskslist<string> |
Tasks that are assignable to this ad account
|
| Field | Description |
|---|---|
total_countint32 |
Total number of accounts.
default |
| Error Code | Description |
|---|---|
190 | Invalid OAuth 2.0 Access Token |
200 | Permissions error |
368 | The action attempted has been deemed abusive or is otherwise disallowed |
100 | Invalid parameter |
80004 | There have been too many calls to this ad-account. Wait a bit and try again. For more info, please refer to /docs/graph-api/overview/rate-limiting#ads-management. |
104 | Incorrect signature |
2500 | Error parsing graph query |