N8N Tools Snapchat icon

N8N Tools Snapchat

Interact with Snapchat API

Overview

The node "N8N Tools Snapchat" enables interaction with the Snapchat Ads API, specifically allowing management of various advertising resources such as campaigns, ads, creatives, audiences, pixels, webhooks, and reports. For the Campaigns resource with the Update Campaign operation, this node updates an existing Snapchat advertising campaign by sending new campaign data to the Snapchat API.

This is useful in scenarios where you want to programmatically modify campaign settings such as budget, targeting, schedule, or other campaign parameters without manually using the Snapchat Ads Manager interface. For example, marketers can automate campaign adjustments based on performance metrics or external triggers.

Properties

Name Meaning
Ad Account ID The unique identifier for the Snapchat Ad Account under which the campaign exists.
Campaign ID The unique identifier of the Snapchat Campaign to update.
Campaign Data JSON object containing the updated campaign details and settings to apply to the campaign.

Output

  • The output is a JSON object representing the response from the Snapchat API after updating the campaign.
  • This typically includes the updated campaign details or confirmation of the update.
  • If an error occurs, the output JSON will contain an error field with the error message.
  • The node does not output binary data.

Dependencies

  • Requires valid credentials for the Snapchat Ads API via OAuth2 authentication.
  • Requires an API key credential for the "N8N Tools API" service used for subscription validation.
  • The node sends requests to the Snapchat Ads API base URL: https://adsapi.snapchat.com.
  • Proper configuration of these credentials in n8n is necessary before use.

Troubleshooting

  • Invalid Subscription or API Key: If the node throws an error about invalid subscription or API key, verify that the API key credential is correct and active.
  • Unknown Operation Error: If an unsupported operation is specified, the node will throw an error indicating the unknown operation. Ensure the operation name matches supported ones.
  • JSON Parsing Errors: The Campaign Data property expects valid JSON. Malformed JSON will cause errors. Validate JSON syntax before running.
  • Missing Required Parameters: Omitting required fields like Ad Account ID or Campaign ID will cause failures. Make sure all required inputs are provided.
  • API Rate Limits or Permissions: Snapchat API may reject requests due to rate limits or insufficient permissions. Check your Snapchat Ads account permissions and usage limits.

Links and References

Discussion