Ad accounts, identities, campaigns and ad sets, saved defaults and creators' Meta links for building ads
GET
/api/public/v1/meta_ads/optionsConnectorAnswers empty results in the documented shape until the brand switches on this connection.
Operation id getMetaAdBuilderOptions
Request
curl
curl "https://creator.growthdept.ai/api/public/v1/meta_ads/options" \
-H "Authorization: Bearer gdc_..."Parameters
| Name | In | Type | Notes |
|---|---|---|---|
| organization_id | query | integer | |
| meta_ad_account_id | query | integer | |
| meta_campaign_id | query | integer | |
| creator_ids | query | string |
Responses
200Success
| Field | Type | Notes |
|---|---|---|
| data | object | |
| data.ad_accounts | array of object | |
| data.allowed | object | |
| data.creator_links | array of object | |
| data.instagram_accounts | array of object | |
| data.meta_ad_account_id | integer, nullable | |
| data.meta_ad_sets | array of object | |
| data.meta_campaigns | array of object | |
| data.pages | array of object | |
| data.settings | object | |
| success | boolean |
Example
{
"data": {
"ad_accounts": [
{}
],
"allowed": {},
"creator_links": [
{}
],
"instagram_accounts": [
{}
],
"meta_ad_account_id": 1024,
"meta_ad_sets": [
{}
],
"meta_campaigns": [
{}
],
"pages": [
{}
],
"settings": {}
},
"success": true
}Errors: 401404429with an error and usually a message. See errors.
Example values are made up from each field's type and name.