Meta ads

Ad accounts, identities, campaigns and ad sets, saved defaults and creators' Meta links for building ads

GET/api/public/v1/meta_ads/options
ConnectorAnswers 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

NameInTypeNotes
organization_idqueryinteger
meta_ad_account_idqueryinteger
meta_campaign_idqueryinteger
creator_idsquerystring

Responses

200Success

FieldTypeNotes
dataobject
data.ad_accountsarray of object
data.allowedobject
data.creator_linksarray of object
data.instagram_accountsarray of object
data.meta_ad_account_idinteger, nullable
data.meta_ad_setsarray of object
data.meta_campaignsarray of object
data.pagesarray of object
data.settingsobject
successboolean

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.