N8N Tools Snapchat icon

N8N Tools Snapchat

Interact with Snapchat API

Overview

This node enables interaction with Snapchat's advertising platform via the Snapchat API. Specifically, for the Delete Ad operation under the Ads resource, it allows users to delete a specific ad from their Snapchat Ad Account.

Typical use cases include:

  • Automating the removal of outdated or underperforming ads.
  • Managing ad lifecycle programmatically within marketing workflows.
  • Integrating Snapchat ad management into broader automation pipelines.

For example, a marketing team could set up an automated workflow that deletes ads after a campaign ends or when certain performance thresholds are met.

Properties

Name Meaning
Ad Account ID The unique identifier of the Snapchat Ad Account where the ad exists.
Ad ID The unique identifier of the Snapchat Ad to be deleted.

Output

The node outputs JSON data representing the result of the delete operation. This typically includes confirmation of deletion or details about the deleted ad 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 API, including an API key credential and OAuth2 authentication.
  • Requires configuration of these credentials within n8n.
  • Relies on an external validation service ("N8N Tools API") to verify subscription and API key validity before making Snapchat API calls.
  • Uses the base URL https://adsapi.snapchat.com for Snapchat API requests.

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.
  • Unknown Operation Error: This occurs if an unsupported operation name is used; ensure the operation is set to "Delete Ad" under the Ads resource.
  • Missing Required Parameters: Ensure both "Ad Account ID" and "Ad ID" are provided; missing these will cause errors.
  • API Rate Limits or Permissions: Snapchat API may reject requests due to rate limits or insufficient permissions; check your Snapchat developer account settings.
  • Network or Connectivity Issues: Errors during HTTP requests might indicate network problems; verify connectivity and proxy settings if applicable.

Links and References

Discussion