SocialMati
AdvertisingOAuth 2.0 — Client ID + Client secretConfirm pricing before publishing

Snapchat Marketing API

Snapchat ad accounts: sync metrics, launch Snap ads, pause and change budgets.

AProvider definition

Provider
Snapchat Marketing API
What it does
Snapchat ad accounts: sync metrics, launch Snap ads, pause and change budgets.
Why we need it
Snapchat ad accounts: sync metrics, launch Snap ads, pause and change budgets.
Used in
Performance ads

BAccount requirements

Account type
Snapchat Business account + Marketing API OAuth app
Prerequisites
  • Organisation in Snapchat Business Manager

CConnection method

Authentication
OAuth 2.0 — Client ID + Client secret
Where to enter it
  • Your workspace: App → Integrations → Providers & API keysWorkspace owner or admin. Keys added here are used only by your workspace (AI keys here don't use plan credits).
  • Ad accounts: App → Performance ads → Ad accountsConnect each ad account with OAuth, or paste an access token.

Setup steps

  1. 1business.snapchat.com → Business Details → OAuth apps → create an app with the redirect URI below.
  2. 2Enter the client ID and secret, then connect ad accounts.

DPermissions & API scopes

Scope / permissionWhy it's neededRequested by
snapchat-marketing-apiRead and manage ad accounts and campaigns.Snapchat Ads connection

This list is generated from the scopes the application's code requests.

EFree vs paid

Free account / free API access
Yes — no API fee.
Card or billing account required?
Not for the API.
Paid plan / costs
None.
Quota and usage limits
Provider-specific rate limits.
Not yet verified. Confirm on the provider's official pricing page before publishing.

FSetup screenshots

Capture each step with real values masked. Save images as public/docs/integrations/snapchat_ads/1.png … 10.png and they appear here automatically.

  1. Screenshot to add
    1. Account login / creation
    The provider's sign-in or sign-up page.
  2. Screenshot to add
    2. Developer console
    The developer console or dashboard home.
  3. Screenshot to add
    3. Project / app creation
    Creating the app or project used for this integration.
  4. Screenshot to add
    4. API enablement
    The API or product enabled for the project.
  5. Screenshot to add
    5. OAuth configuration
    Consent screen / OAuth settings with the redirect URIs.
  6. Screenshot to add
    6. API key / credentials creation
    Creating the key, secret or token (mask the value).
  7. Screenshot to add
    7. Permissions / scopes
    The scopes or permissions requested or approved.
  8. Screenshot to add
    8. Billing / quota settings
    Billing, credits or quota page.
  9. Screenshot to add
    9. Application connection
    The provider card in our application with fields filled (secrets masked).
  10. Screenshot to add
    10. Successful connection
    The green Test result or the connected account listed.

GApplication configuration

Never include real API keys, client secrets, access tokens or passwords in screenshots, tickets or documentation. Values below are field names and examples only.

FieldRequiredExample / defaultNotes
OAuth client IDYes—
OAuth client secretYes••••••••Stored encrypted; shown masked after saving.

Paste these into the provider's console

Redirect URI
https://api.socialmati.com/api/oauth/ads/snapchat/callback

Connecting an ad account (Snapchat Ads)

Covers Snap Ads, Stories, Spotlight. Connect with OAuth from Performance ads → Ad accounts, or paste a token:

  • • Refresh token (required)
  • • Ad account ID (required)

HTesting

  1. 1Connect an ad account and check spend appears.

ITroubleshooting

ProblemWhat to do
Invalid credentialsCheck the Client ID/App ID and secret were copied from the same app, without spaces. Regenerate the secret if unsure.
Missing permissionsReconnect and accept every permission on the consent screen. If a permission is missing from the list, add it to the app (and get it approved).
OAuth failureSign-in was cancelled, the app is in development/testing mode, or the user isn't allowed to use it yet. Add the user as a tester or publish the app.
Redirect URI mismatchCopy the redirect URI from section G exactly — same https scheme, host and path, no trailing slash — into the provider's app settings.
API not enabledEnable the API/product for the project or app in the provider console and wait a few minutes.
Quota exceededWait for the quota window to reset (see section E) or request a higher quota / add credits.
Account not eligibleCheck the account requirements in section B (e.g. business/professional account, verified property, registered organisation).
App review requiredPermissions beyond development access need the provider's review before other accounts can connect. See section E for restrictions.
Billing requiredAdd a payment method or prepaid credits on the provider account (see section E).

JDisconnect & security

Revoke access at the provider
Remove the app in Snapchat Business Manager.
Disconnect in the application
App → Integrations → Providers & API keys or App → Performance ads → Ad accounts → open the card → Remove / Disconnect. Connected accounts can be disconnected per brand.
Rotate credentials
Create the new key or secret first, paste it into the same card and Test, then delete the old one at the provider — no downtime.
How credentials are stored
Encrypted at rest with AES-256-GCM using the server's ENCRYPTION_KEY, shown masked after saving, never returned to the browser, and used only from the API server.
What data the application can access
Ad accounts, campaigns and stats.

Other Advertising providers

Start Free