N8N Tools Snapchat icon

N8N Tools Snapchat

Interact with Snapchat API

Overview

This node integrates with the Snapchat Ads API to perform various operations related to advertising management. Specifically, for the Audiences resource and the Get Audience Stats operation, it retrieves statistical data about a particular Snapchat audience within an ad account.

Typical use cases include:

  • Monitoring the performance or engagement metrics of a specific audience segment.
  • Analyzing audience reach and effectiveness in Snapchat ad campaigns.
  • Automating reporting workflows that require up-to-date audience statistics.

For example, a marketing analyst could use this node to fetch real-time stats on a custom audience to adjust campaign targeting dynamically.

Properties

Name Meaning
Ad Account ID The unique identifier of the Snapchat Ad Account to query.
Audience ID The unique identifier of the Snapchat Audience whose stats are retrieved.

Output

The node outputs JSON data containing the audience statistics returned by the Snapchat API. This typically includes metrics such as audience size, engagement rates, and other relevant analytics provided by Snapchat for the specified audience.

The output is structured as an array of items, each with a json property holding the audience stats object.

No binary data output is involved in this operation.

Dependencies

  • Requires valid credentials for accessing the Snapchat Ads API, specifically an OAuth2-based API key credential.
  • Also requires a subscription and API key for the "N8N Tools API" service, which validates usage before making Snapchat API calls.
  • The node expects the base URL for the N8N Tools API and the API key to be configured in the credentials.
  • Network access to both the N8N Tools API endpoint (https://adsapi.snapchat.com) and Snapchat's Ads API is necessary.

Troubleshooting

  • Invalid Subscription or API Key: If the node throws an error indicating invalid subscription or API key, verify that the N8N Tools API credentials are correctly set and active.
  • Missing or Incorrect IDs: Ensure that the Ad Account ID and Audience ID are correctly provided; missing or wrong IDs will cause API errors.
  • API Rate Limits or Permissions: Snapchat API may enforce rate limits or require specific permissions; ensure the connected account has appropriate access.
  • JSON Parsing Errors: For operations involving JSON input (not applicable here), ensure the JSON is well-formed.

Links and References

Discussion