Actions24
- Campaign Actions
- Creative Actions
- Stats Actions
- Targeting Actions
Targeting → Get Languages
AI-generatedOverview
This node interacts with the Kadam API to retrieve targeting-related data, specifically for the "Get Languages" operation under the "Targeting" resource. It fetches a list of available languages that can be used for ad targeting purposes in advertising campaigns.
Common scenarios where this node is beneficial include:
- Automatically populating language options in campaign targeting setups.
- Integrating language targeting data into marketing automation workflows.
- Synchronizing available language targeting options from Kadam into other systems or dashboards.
For example, a user might use this node to get all supported languages and then filter or map them to their own internal language codes before creating or updating campaigns.
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). If empty, all fields are returned. |
Output
The output is a JSON array of language objects retrieved from the Kadam API. Each object typically contains fields such as:
id: The unique identifier of the language.title: The name/title of the language.
If the "Output Fields" property is specified, only those fields will be included in each language object.
The node does not output binary data.
Example output JSON snippet:
[
{
"id": 1,
"title": "English"
},
{
"id": 2,
"title": "Spanish"
}
]
Dependencies
- Requires an API key credential for authenticating with the Kadam API.
- The node makes HTTP GET requests to the Kadam endpoint:
https://api.kadam.net/ads.targeting.langs.get. - Proper configuration of the Kadam API credentials (API token and App ID) within n8n is necessary.
Troubleshooting
Common Issues:
- Authentication errors due to invalid or missing API credentials.
- Network issues or Kadam API downtime causing request failures.
- Rate limiting by the Kadam API if too many requests are made in a short time.
Error Messages:
- Errors related to API authentication will indicate failure to authorize; ensure the API token and App ID are correct.
- Temporary network or rate limit errors may occur; enabling "Retry on Failure" can help mitigate these.
- Unexpected response structure errors could indicate changes in the Kadam API; verify the API version compatibility.
Links and References
- Kadam API Documentation (general reference, actual docs URL may vary)
- n8n documentation on HTTP Request Node for understanding API calls
- Best practices for handling API rate limits and retries in n8n workflows
