N8N Tools Snapchat icon

N8N Tools Snapchat

Interact with Snapchat API

Overview

This node integrates with the Snapchat Ads API to manage advertising campaigns and related entities. Specifically, for the Create Campaign operation under the Campaigns resource, it allows users to create new advertising campaigns within a specified Snapchat Ad Account by providing campaign details in JSON format.

This node is beneficial for marketers and advertisers who want to automate the creation and management of Snapchat ad campaigns directly from their n8n workflows without manually using the Snapchat Ads Manager interface.

Practical example:
A marketing automation workflow could use this node to dynamically create Snapchat campaigns based on user input or external triggers, such as launching a new product or promotion, ensuring campaigns are created consistently and quickly.

Properties

Name Meaning
Ad Account ID The unique identifier of the Snapchat Ad Account where the campaign will be created.
Campaign Data JSON object containing the detailed configuration of the Snapchat campaign to create.

The Campaign Data property expects a valid JSON string representing the campaign settings according to Snapchat's API schema (e.g., campaign name, objective, budget, start/end dates).

Output

The node outputs an array of JSON objects, each representing the response from the Snapchat API after creating the campaign. The output JSON typically contains details about the newly created campaign, such as its ID, status, and other metadata returned by Snapchat.

No binary data output is produced by this operation.

Dependencies

  • Requires an active subscription and a valid API key credential for the "N8N Tools API" service, which acts as a proxy or validation layer before calling Snapchat's API.
  • Requires OAuth2 credentials configured for accessing the Snapchat Ads API.
  • The node internally uses a helper class to interact with Snapchat's API endpoints.

Troubleshooting

  • Invalid subscription or API key error: If the node throws an error indicating invalid subscription or API key, verify that the API key credential is correctly set up and has the necessary permissions.
  • Malformed JSON in Campaign Data: Ensure the JSON provided in the "Campaign Data" property is well-formed and matches Snapchat's expected schema; otherwise, the API call may fail.
  • API rate limits or permission errors: These can occur if the Snapchat account lacks permissions or exceeds usage limits. Check Snapchat Ads account permissions and API usage quotas.
  • Network or connectivity issues: Confirm that the n8n instance can reach the Snapchat API endpoints and that no firewall or proxy blocks the requests.

Links and References

Discussion