N8N Tools Snapchat icon

N8N Tools Snapchat

Interact with Snapchat API

Overview

This node integrates with the Snapchat Ads API to manage and retrieve advertising data. Specifically, for the Creatives resource with the Get Creatives operation, it fetches a list of creative assets associated with a specified Snapchat Ad Account. This is useful for marketers and advertisers who want to programmatically access their creative content (such as images, videos, or other ad materials) stored in Snapchat Ads for reporting, auditing, or further automation workflows.

Practical examples include:

  • Automatically retrieving all creatives from a Snapchat Ad Account to sync with a digital asset management system.
  • Using the list of creatives to generate reports on ad performance or creative usage.
  • Feeding creative metadata into other marketing tools or dashboards.

Properties

Name Meaning
Ad Account ID Snapchat Ad Account ID to specify which account's creatives to retrieve. This is a required string input.

Output

The node outputs an array of JSON objects representing the creatives retrieved from the Snapchat Ads API for the given Ad Account ID. Each item in the output corresponds to one creative entity with its associated metadata as returned by Snapchat.

The output does not include binary data; it is purely JSON structured data describing the creatives.

Example output structure (simplified):

[
  {
    "id": "creative_id_1",
    "name": "Creative Name",
    "type": "video",
    "status": "active",
    "created_at": "2023-01-01T00:00:00Z",
    ...
  },
  {
    "id": "creative_id_2",
    "name": "Another Creative",
    "type": "image",
    "status": "paused",
    "created_at": "2023-02-15T12:34:56Z",
    ...
  }
]

Dependencies

  • Requires valid credentials for two services:
    • An API key credential for a third-party validation service ("N8N Tools API") that verifies subscription and API key validity before making Snapchat API calls.
    • OAuth2 credentials for authenticating requests to the Snapchat Ads API.
  • The node uses the base URL https://adsapi.snapchat.com for Snapchat API requests.
  • Proper configuration of these credentials within n8n is necessary for successful execution.

Troubleshooting

  • Invalid subscription or API key error: If the node throws an error about invalid subscription or API key, verify that the API key credential for the validation service is correct and active.
  • Authentication errors: Ensure that the OAuth2 credentials for Snapchat are properly set up and have the necessary permissions.
  • Empty or no data returned: Confirm that the provided Ad Account ID is correct and that the account contains creatives.
  • Unknown operation error: This node supports only predefined operations; ensure the operation parameter is set to "Get Creatives" when working with the Creatives resource.
  • JSON parsing errors: When providing JSON inputs for other operations, ensure the JSON is well-formed. For this operation, no JSON input is required beyond the Ad Account ID.

Links and References

Discussion