Actions24
- Campaign Actions
- Creative Actions
- Stats Actions
- Targeting Actions
Creative → Upload Media
AI-generatedOverview
The "Upload Media" operation of the Creative resource in this Kadam node allows users to upload media files for use in advertising creatives. This is useful when you want to add images, videos, or other media assets to your ad creatives managed via the Kadam API.
Typical scenarios include:
- Uploading banner images or teaser media before creating or updating an ad creative.
- Managing media assets programmatically as part of an automated advertising workflow.
- Integrating media uploads into a larger campaign management process.
For example, you might connect a file source node (like an HTTP request or file read node) that outputs binary data, then use this node to upload that media to Kadam, obtaining a media ID to reference in subsequent creative creation or update operations.
Properties
| Name | Meaning |
|---|---|
| Ad Format | The ad format ID specifying the type of ad (e.g., 10 for Teaser). Use the "Get Ad Formats" option to retrieve available formats. |
| Binary Property | The name of the binary property containing the file data to upload. This should match the output binary property from an upstream node producing the file. |
| Retry on Failure | Boolean flag to retry the upload request up to 3 times on temporary failures such as rate limits or network issues. |
Output
The node outputs JSON data representing the response from the Kadam API after uploading the media. This typically includes details about the uploaded media object, such as its unique ID and metadata needed to reference it in creatives.
If the upload involves binary data, the node expects the input binary property but does not output binary data itself; instead, it outputs JSON with media information.
Dependencies
- Requires an active Kadam API credential with a valid API token and application ID configured in n8n.
- Depends on the Kadam API endpoint
https://api.kadam.netfor media upload functionality. - The node uses Axios for HTTP requests internally.
- Input binary data must be provided by an upstream node capable of producing file data.
Troubleshooting
Common Issues:
- Missing or incorrect binary property name: Ensure the binary property specified matches exactly the name of the binary data field from the previous node.
- Invalid or missing API credentials: Verify that the API token and app ID are correctly set in the node credentials.
- Unsupported ad format ID: Use the "Get Ad Formats" operation to confirm valid ad format IDs.
- Network or rate limit errors: Enable "Retry on Failure" to automatically retry transient errors.
Error Messages:
"Unsupported resource": Occurs if the resource parameter is not set to "creative".- API error responses will be wrapped and returned with details including status code and error description.
- If the node fails due to invalid input or API errors, the error message will include hints about the cause.
Links and References
- Kadam API Documentation (official API docs, requires login)
- n8n documentation on working with binary data
- Kadam API authentication and usage guidelines (refer to your Kadam account resources)
This summary is based solely on static analysis of the provided source code and property definitions for the Creative resource's Upload Media operation.
