Kadam icon

Kadam

Interact with Kadam API (v1.4.x) for managing campaigns, clients, creatives, and more.

Targeting → Get Platforms

AI-generated

Overview

This node interacts with the Kadam API to retrieve targeting-related data, specifically for the "Get Platforms" operation under the "Targeting" resource. It fetches a list of available platforms that can be used for ad targeting purposes.

Typical use cases include:

  • Fetching platform options to dynamically populate targeting criteria in advertising campaigns.
  • Integrating platform data into workflows that automate campaign setup or reporting.
  • Filtering or customizing ad delivery based on platform availability.

For example, a user might want to get all platforms supported by Kadam to decide which platforms to target in a new campaign or to analyze performance metrics segmented by platform.

Properties

Name Meaning
Retry on Failure Boolean flag to retry the request up to 3 times on temporary failures such as rate limits or network issues.
Output Fields Optional comma-separated list of fields to include in the response (e.g., id,title,mobile). If empty, all fields are returned.

Output

The node outputs JSON data representing the list of platforms retrieved from the Kadam API. Each item typically includes platform attributes such as:

  • id: Unique identifier of the platform.
  • title: Name/title of the platform.
  • mobile: (Optional) Indicates if the platform is mobile-related.

If the "Output Fields" property is specified, only those fields will be included in each platform object; otherwise, all available fields are returned.

No binary data output is produced by this operation.

Dependencies

  • Requires an API key credential for authenticating with the Kadam API.
  • The node uses the Kadam API base URL: https://api.kadam.net.
  • Proper configuration of the API token and application ID credentials is necessary.
  • The node depends on the axios library for HTTP requests.

Troubleshooting

  • Common Issues:

    • Authentication errors due to invalid or missing API credentials.
    • Network issues or rate limiting causing request failures.
    • Incorrectly formatted "Output Fields" string may result in unexpected or empty responses.
  • Error Messages:

    • API errors will typically include an error description from the Kadam API.
    • If the node encounters an unknown error during the API request, it throws a generic error message.
    • When "Retry on Failure" is enabled, transient errors like rate limits or network timeouts will trigger up to 3 retries before failing.
  • Resolutions:

    • Verify that the API token and app ID credentials are correctly set up in n8n.
    • Check network connectivity and Kadam API status.
    • Use valid field names in the "Output Fields" property or leave it empty to get all fields.
    • Enable "Retry on Failure" to handle temporary issues automatically.

Links and References

Discussion