Actions24
- Campaign Actions
- Creative Actions
- Stats Actions
- Targeting Actions
Targeting → Get Server Time
AI-generatedOverview
This node integrates with the Kadam API to perform various operations related to advertising campaigns, creatives, clients, statistics, and targeting data. Specifically, for the Targeting resource and the Get Server Time operation, it retrieves the current server time from the Kadam API.
Use cases include synchronizing workflows with the Kadam platform's server time, which can be useful for scheduling, logging, or coordinating time-sensitive campaign actions.
Example scenario:
- A marketing automation workflow needs to align campaign start times exactly with the Kadam server time to ensure accurate timing of ad launches.
Properties
| Name | Meaning |
|---|---|
| Retry on Failure | Boolean option to retry the request up to 3 times on temporary failures such as rate limits or network issues. |
Output
The output is a JSON object containing the current server time as returned by the Kadam API. The exact structure depends on the API response but typically includes a timestamp or datetime string representing the server's current time.
No binary data output is involved in 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 sends HTTP requests using Axios library.
Troubleshooting
Common Issues:
- Authentication errors if the API token or app ID are incorrect or missing.
- Network issues or rate limiting may cause request failures.
- Unexpected API response formats could lead to errors in parsing the server time.
Error Messages:
"Unsupported resource": Occurs if the resource parameter is not set to "targeting".- API error messages returned from Kadam will be wrapped and include details like status code and error description.
- If retries are enabled (
Retry on Failure), transient errors like rate limits or network glitches will automatically retry up to 3 times.
Resolutions:
- Verify that valid API credentials are configured.
- Enable "Retry on Failure" to handle temporary issues gracefully.
- Check network connectivity and Kadam API status.
- Review error details provided in the output JSON for specific API error codes.
Links and References
- Kadam API Documentation (official API docs, requires login)
- n8n documentation on Creating Custom Nodes
- Axios HTTP client: https://axios-http.com/
