N8N Tools Snapchat icon

N8N Tools Snapchat

Interact with Snapchat API

Overview

The node integrates with the Snapchat Ads API to manage various advertising resources. Specifically, for the Update Audience operation under the Audiences resource, it allows users to update an existing Snapchat audience by providing the audience ID and new audience data.

This node is beneficial in marketing automation workflows where advertisers want to programmatically modify their Snapchat audiences without manually using the Snapchat Ads Manager interface. For example, you can update audience targeting criteria or metadata dynamically based on external data sources or campaign performance metrics.

Properties

Name Meaning
Ad Account ID The unique identifier of the Snapchat Ad Account under which the audience exists.
Audience ID The unique identifier of the Snapchat Audience to be updated.
Audience Data JSON object containing the updated data for the Snapchat Audience (e.g., name, rules).

Output

  • The output json field contains the response from the Snapchat API after updating the audience.
  • This typically includes the updated audience details such as its ID, name, status, and any other metadata returned by the API.
  • The node does not output binary data.

Dependencies

  • Requires valid credentials for:
    • An API key credential for a third-party service that validates subscription and API key usage.
    • OAuth2 credentials for authenticating with the Snapchat Ads API.
  • The node makes HTTP requests to the Snapchat Ads API endpoint (https://adsapi.snapchat.com).
  • Proper configuration of these credentials within n8n is necessary for successful execution.

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.
  • Authentication Errors: OAuth2 credentials must be valid and authorized to access the Snapchat Ads API.
  • Malformed Audience Data: Ensure the JSON provided in "Audience Data" is correctly formatted and complies with Snapchat's API schema.
  • Missing Required Parameters: Both "Ad Account ID" and "Audience ID" are required; missing either will cause errors.
  • API Rate Limits or Network Issues: Temporary failures may occur due to rate limits or connectivity problems; retrying might help.

Links and References

Discussion