Set Up an External Credential for Meta Ads

To pull Meta Ads data into Data Cloud, set up an external credential for your Meta Ads provider.

  1. From Setup, in the Quick Find box, enter Named Credentials, and then select Named Credentials.

  2. On the External Credentials tab, clickNew.

    1. Enter a label and a name for your external credential. The name can’t contain spaces. You can use underscores.

    2. For Authentication Protocol, select OAuth 2.0.

    3. For Authentication Flow Type, selectBrowser Flow.

    4. For Authentication Provider, select Meta Ads Data Cloud.

    5. Save your changes.

  3. In the external credentials that you created, under Principals click New.

    1. Enter the parameter name. You can include spaces.

    2. For Identity Type, select Named Principal.

    3. Set the Sequence Number to 1.

    4. Save your changes.

  4. Authenticate your external credentials.

    1. Under Principals, from the Actions dropdown menu, select Authenticate.

    2. From the Meta Ads Authenticator, select the account that you’re pulling data for.

    3. To connect Data Cloud to Meta Ads, click Allow. After you authenticate, the status changes to Configured.

  5. Define the named credential.

    1. In Named Credentials, click New and enter a label and name. The name can’t contain spaces. You can use underscores.

    2. For the URL, enter https://facebook.com.

    3. For External Credentials, select the external credential that you created.

    4. Save your changes.

  6. Enable external credentials access.

    1. From Setup, in the Quick Find box, enter Profiles, and then select Profiles.

    2. Click System Administrator.

    3. On the Enable External Credential Principal Access tab, click Edit.

    4. Add the external credentials principal that you created to the Enabled External Credentials Principals column.

    5. Save your changes.