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 resources. Specifically, for the Campaigns resource and the Delete Campaign operation, it allows users to delete a specified Snapchat advertising campaign within a given ad account.

Common scenarios where this node is beneficial include:

  • Automating cleanup of outdated or underperforming campaigns.
  • Integrating campaign management into broader marketing workflows.
  • Programmatically managing Snapchat ad campaigns without manual intervention.

For example, a user might set up an automation that deletes campaigns that have ended or failed to meet performance criteria, helping keep their ad account organized.

Properties

Name Meaning
Ad Account ID The unique identifier of the Snapchat Ad Account where the campaign exists. This is required to specify the context for the operation.
Campaign ID The unique identifier of the Snapchat Campaign to be deleted.

Output

The node outputs JSON data representing the result of the delete operation. Typically, this will include confirmation of deletion or details about the deleted campaign as returned by the Snapchat API.

If the operation fails and "Continue On Fail" is enabled, the output will contain an error message describing the failure.

No binary data output is involved in this operation.

Dependencies

  • Requires valid credentials for accessing the Snapchat Ads API, including an API key credential and OAuth2 authentication.
  • Requires configuration of these credentials within n8n to authorize API requests.
  • Uses an external validation service ("N8N Tools API") to verify subscription and API key validity before executing operations.

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 correctly configured and active.
  • Missing Required Parameters: Ensure both "Ad Account ID" and "Campaign ID" are provided; missing these will cause errors.
  • API Rate Limits or Permissions: Snapchat API may reject requests if rate limits are exceeded or if the authenticated user lacks permissions to delete the campaign.
  • Network or Service Errors: Temporary network issues or Snapchat API downtime can cause failures; retrying later may help.
  • Error Messages: The node surfaces error messages from the Snapchat API or the validation service. Reading these messages carefully helps identify the root cause.

Links and References

Discussion