N8N Tools Snapchat icon

N8N Tools Snapchat

Interact with Snapchat API

Overview

This node integrates with the Snapchat Ads API to manage and retrieve data related to Snapchat advertising campaigns. Specifically, the "Get Campaign" operation under the "Campaigns" resource fetches detailed information about a single Snapchat campaign by its ID within a specified ad account.

Common scenarios where this node is beneficial include:

  • Retrieving campaign details for reporting or auditing purposes.
  • Integrating Snapchat campaign data into marketing dashboards.
  • Automating workflows that require campaign metadata before further processing or decision-making.

For example, a user might use this node to get the status, budget, targeting, and performance settings of a specific campaign to decide whether to pause or adjust it programmatically.

Properties

Name Meaning
Ad Account ID The unique identifier of the Snapchat Ad Account to which the campaign belongs. This is required to scope the API request correctly.
Campaign ID The unique identifier of the Snapchat Campaign to retrieve.

Output

The output is a JSON object containing the detailed data of the requested Snapchat campaign. This includes all relevant campaign attributes as returned by the Snapchat Ads API, such as campaign name, status, budget, start/end dates, targeting criteria, and other metadata.

The output structure corresponds directly to the Snapchat API's campaign object schema. Each item in the output array represents one input item processed, paired accordingly.

No binary data output is produced by this operation.

Dependencies

  • Requires an active Snapchat Ads API connection authenticated via OAuth2 or API key credentials configured in n8n.
  • Uses an external validation service ("N8N Tools API") to verify subscription and API key validity before making Snapchat API calls.
  • The base URL for Snapchat API requests is https://adsapi.snapchat.com.
  • Proper configuration of credentials and permissions is necessary to access campaign data.

Troubleshooting

  • Invalid Subscription or API Key: If the node throws an error indicating invalid subscription or API key, verify that the API credentials are correct and have sufficient permissions.
  • Missing Required Parameters: Ensure both "Ad Account ID" and "Campaign ID" are provided; missing these will cause errors.
  • API Rate Limits or Network Issues: Snapchat API may throttle requests or experience downtime; handle retries or check network connectivity.
  • Unknown Operation Error: This should not occur if the operation is set correctly to "Get Campaign". If encountered, confirm the node parameters are properly configured.

Links and References

Discussion