Skip to main content

Create a Meta app

Meta issues the App ID and App Secret when you create an app in the Meta developer portal.

1

Create the app

Open the Meta app creation page and enter your app’s name and contact email address, then click Next.

  • Select one or more use cases, then click Next.
  • Select a business portfolio option or create one, then click Next.
  • Review the requirements and click Next.
  • Review all details and click Go to dashboard.
2

Register the redirect URL

Under Products in the App Dashboard’s left side navigation menu, click Facebook Login, then click Settings.

  • Add this value to Valid OAuth redirect URIs in the Client OAuth Settings section: https://api.stackone.com/connect/oauth2/facebookads/callback
3

Copy the app credentials

Your app’s App ID and App secret are shown in the App Dashboard.

  • App ID — the public identifier of your Meta app. Paste it into the App ID field in the StackOne Connector profile.
  • App Secret — the secret half of the app credentials. Paste it into the App Secret field in the StackOne Connector profile.
  • Keep the app secret secure and never share it publicly.
4

Configure permissions

Enables actions: Create Ad, Create Ad Creative, Create Ad Set, Create Business System User, Create Campaign, Create Custom Audience, Create Lead Gen Form, Create Pixel, Delete Ad, Delete Ad Creative, Delete Ad Set, Delete Campaign, Delete Custom Audience, Get Ad, Get Ad Account, Get Ad Account Insights, Get Ad Creative, Get Ad Insights, Get Ad Set, Get Ad Set Insights, Get Business, Get Campaign, Get Campaign Insights, Get Custom Audience, Get Lead, Get Lead Gen Form, Get Me, Get Pixel, Get User, List Ad Accounts, List Ad Creatives, List Ad Sets By Account, List Ad Sets By Campaign, List Ads By Account, List Ads By Ad Set, List Business Client Ad Accounts, List Business Owned Ad Accounts, List Business System Users, List Campaigns, List Custom Audiences, List Lead Gen Forms, List Leads By Ad, List Leads By Form, List My Accounts, List Pixels, List System User Assigned Users, List User Accounts, List User Businesses, Update Ad, Update Ad Account, Update Ad Set, Update Campaign, Update Custom Audience

Grant the app the permissions the integration needs. Permissions are requested from the person connecting the account during the login flow.

Creating the StackOne Connector Profile

To create the Connector Profile in StackOne for Facebook Ads:
1

Open the connector

Log in to StackOne, open Connectors, and select Facebook Ads.
2

Choose actions and events

  • Click Add Profile.
  • If the connector offers more than one authentication method, set the Auth Method filter to OAuth 2.0.
  • Select the actions, and any events, to enable for this Connector Profile.
  • Click Continue.
3

Set up authentication

  • Select Authentication Type as OAuth 2.0.
  • Fill out the fields using details retrieved from your provider:
    • App ID
    • App Secret
    • Permissions (Optional)
  • Click Create Profile.
Congratulations! The new Connector Profile now shows up on the connector page. If you created it as a project member rather than an admin, it starts disabled until a project admin enables it. You can now continue to Link Accounts for Facebook Ads.