Skip to main content
GET
One read-only call for everything the ad builder needs: your ad accounts, Facebook pages and Instagram identities, the open campaigns and ad sets of one ad account, your saved defaults, the allowed values, and optionally each creator’s Meta tracking link. Step 2 of the Meta ads automation flow.

What to use from the response

Pages, campaigns and ad sets are for the ad account in meta_ad_account_id: the one you asked for, or the active account. Lists hold up to 100 rows, newest first, and leave out archived and deleted campaigns and ad sets.
Growi does not fill in your naming convention, default CTA, copy template text or UTM params on its own. Read them here and put the values in each bulk row. New campaigns and ad sets are made in the dashboard ad builder.

Authentication

Any organization API key works, including view-only keys. A key acts as the person who created it, so that person needs the owner, admin or viewer role. See Rate limits and authentication.

Errors

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Query Parameters

organization_id
integer

Act on a child brand of the API key's organization. Omit it to act on the key's own organization. Any other id returns 404.

meta_ad_account_id
integer

Ad account for pages, campaigns and ad sets. Defaults to the active ad account.

meta_campaign_id
integer

Only ad sets of this Meta campaign (Growi id).

creator_ids
string

Comma separated Growi user ids (up to 100). Adds creator_links with each creator's Meta tracking link.

Response

Builder options

success
boolean
data
object