Actions42
- Ads Actions
- Campaigns Actions
- Creatives Actions
- Audiences Actions
- Pixels Actions
- Webhooks Actions
- Reports Actions
Overview
The node "N8N Tools Snapchat" integrates with the Snapchat Ads API, enabling users to manage various Snapchat advertising resources programmatically within n8n workflows. Specifically, for the Audiences resource and the Get Audience operation, this node fetches detailed information about a specific Snapchat Audience by its ID within a given Ad Account.
This functionality is useful when you want to retrieve audience details such as size, type, or other metadata for reporting, analysis, or further automation in your marketing workflows. For example, you might use it to verify audience configurations before launching campaigns or to sync audience data with other platforms.
Properties
| Name | Meaning |
|---|---|
| Ad Account ID | The unique identifier of the Snapchat Ad Account under which the audience exists. Required to specify the context for the API call. |
| Audience ID | The unique identifier of the Snapchat Audience to retrieve. Specifies which audience's details to fetch. |
Output
The node outputs JSON data representing the retrieved Snapchat Audience object. This typically includes all relevant audience details returned by the Snapchat API, such as audience name, description, size, targeting criteria, and status.
The output is structured as an array of items, each containing a json property with the audience data corresponding to each input item processed.
No binary data output is involved in this operation.
Dependencies
- Requires valid credentials for:
- An API key credential for the external validation service ("N8N Tools API").
- OAuth2 credentials for authenticating with the Snapchat Ads API.
- The node makes HTTP requests to:
- The N8N Tools API for subscription and API key validation.
- The Snapchat Ads API endpoint (
https://adsapi.snapchat.com) to perform the audience retrieval.
Ensure that these credentials are properly configured in n8n before using the node.
Troubleshooting
- Invalid Subscription or API Key: If the node throws an error indicating invalid subscription or API key, verify that the API key credential is correct and active.
- Missing or Incorrect IDs: Errors may occur if the Ad Account ID or Audience ID is missing or incorrect. Double-check these values.
- API Rate Limits or Permissions: Snapchat API may return errors if rate limits are exceeded or if the authenticated user lacks permissions. Review Snapchat Ads account permissions.
- JSON Parsing Errors: When providing JSON data inputs (not applicable for Get Audience but relevant for other operations), ensure the JSON is well-formed.
Links and References
- Snapchat Marketing API Documentation
- n8n Documentation on Credentials
- N8N Tools API (Generic Reference) (Note: This is a generic reference; actual docs may vary)