Title
Page icon
Create new category
Edit page index title
Edit category
Edit link
Media Channels
The various methods for Media Channels are listed below:
Get all media channels by account (template campaign)
Returns all media channels associated with a specific template campaign under an account. The account must belong to a Retailer Org. Supports pagination via ParamInfo.
Path Parameters
Name | Data Type | Requirement | Parameter Type | Description |
|---|---|---|---|---|
accountId | string | Mandatory | path | ID of the account (must belong to a Retailer Org). |
templateCampaignIdx | integer | Mandatory | path | Index of the template campaign. |
Query Parameters
Name | Data Type | Requirement | Parameter Type | Description |
|---|---|---|---|---|
offset | integer | Optional | query | Pagination offset (e.g. 0). |
limit | integer | Optional | query | Number of items per page (e.g. 25). |
Sample Response
Returns a paginated JSON object with a mediaChannels array. The pagination fields (count, next, previous) are controlled by ParamInfo (default: offset=0, limit=25).
Field | Data Type | Description |
|---|---|---|
mediaChannels | array | List of media channel objects |
mediaChannels[].idx | integer | Unique index of the media channel |
mediaChannels[].name | string | Name of the media channel |
mediaChannels[].adServerId | string | ID of the associated ad server |
mediaChannels[].adServerName | string/null | Name of the associated ad server |
mediaChannels[].status | enum (string) | Status of the media channel. Values: |
mediaChannels[].type | string | Type of the media channel (from |
mediaChannels[].logoUrl | string/null | URL of the media channel logo |
mediaChannels[].activationConfiguration | object | Activation settings for the media channel. |
mediaChannels[].activationConfiguration.tagGeneration | boolean | Whether tag generation is enabled |
mediaChannels[].activationConfiguration.creativeGeneration | boolean | Whether creative generation is enabled. |
mediaChannels[].additionalConfiguration | string/null | Additional configuration (JSON string or null). |
mediaChannels[].isUtilized | boolean/null | Whether the media channel is currently in use. |
count | integer | Total number of matching media channels. |
next | string/null | URL for the next page of results. |
previous | string/null | URL for the previous page of results. |
Sample Request
Request Body
Create media channel
Creates a new media channel for a retailer org. Requires MediaChannel_All permission.
Path Parameters
Name | Data Type | Requirement | Parameter Type | Description |
|---|---|---|---|---|
orgId | string | Mandatory | path | ID of the retailer org. |
Parameters
Field | Data Type | Requirement | Description |
|---|---|---|---|
name | string | Mandatory | Display name of the media channel. |
adServerId | string | Mandatory | ID of the ad server associated with this channel. |
type | enum (string) | Mandatory | Channel type. Values: |
activationConfiguration | object | Mandatory | Controls how the channel is activated |
activationConfiguration.tagGeneration | boolean | Mandatory | Whether tag generation is enabled for this channel. |
activationConfiguration.creativeGeneration | boolean | Mandatory | Whether creative generation is enabled for this channel. |
additionalConfiguration | object | Optional | Arbitrary JSON object for channel-specific additional settings (e.g. DSP configuration). |
Sample Request
Request Body
Sample Response
Update media channel
Updates an existing media channel for a retailer org. Requires MediaChannel_All permission.
Path Parameters
Name | Data Type | Requirement | Parameter Type | Description |
|---|---|---|---|---|
orgId | string | Mandatory | path | ID of the retailer org |
mediaChannelIdx | integer | Mandatory | path | Index of the media channel to update |
Parameters
Field | Data Type | Requirement | Description |
|---|---|---|---|
status | string | Optional | New status for the channel (e.g. |
activationConfiguration | object | Optional | Updated activation configuration |
activationConfiguration.tagGeneration | boolean | Optional | Whether tag generation is enabled |
activationConfiguration.creativeGeneration | boolean | Optional | Whether creative generation is enabled |
additionalConfiguration | object | Optional | Updated arbitrary JSON object for channel-specific settings |
Sample Request
Request Body
Sample Response
Get all media channels (by org)
Returns a paginated list of all media channels for a retailer org. Requires MediaChannel_All permission.
Path Parameters
Name | Data Type | Requirement | Parameter Type | Description |
|---|---|---|---|---|
orgId | string | Mandatory | path | ID of the retailer org. |
Query Parameters
Name | Data Type | Requirement | Default | Description |
|---|---|---|---|---|
offset | integer | Optional | 0 | Number of records to skip. |
limit | integer | Optional | 25 | Maximum number of records to return. |
Sample Response
Returns a paginated MediaChannelListResponse object.
Field | Data Type | Description |
|---|---|---|
mediaChannels | array | List of media channel objects |
mediaChannels[].idx | integer | Internal index of the media channel. |
mediaChannels[].name | string | Display name of the media channel. |
mediaChannels[].adServerId | string | ID of the associated ad server |
mediaChannels[].adServerName | string/null | Display name of the associated ad server. |
mediaChannels[].status | string | Current status of the channel. |
mediaChannels[].type | string | Channel type value (e.g. |
mediaChannels[].logoUrl | string/null | URL of the channel logo. |
mediaChannels[].additionalConfiguration | string/null | JSON string of additional configuration for the channel. |
Sample Request
Request Body
Get media channel configuration (by org)
Returns the stored configuration details for a specific media channel. Requires MediaChannel_All permission..
Path Parameters
Name | Data Type | Requirement | Parameter Type | Description |
|---|---|---|---|---|
orgId | string | Mandatory | path | ID of the retailer org. |
mediaChannelIdx | integer | Mandatory | path | Index of the media channel. |
Sample Response
Field | Data Type | Description |
|---|---|---|
mediaChannelInfo | object | Parsed JSON object containing the full media channel configuration details |
Sample Request
Request Body
Delete media channel
Deletes a media channel from a retailer org. Requires MediaChannel_All permission.
Path Parameters
Name | Data Type | Requirement | Parameter Type | Description |
|---|---|---|---|---|
orgId | string | Mandatory | path | ID of the retailer org. |
mediaChannelIdx | integer | Mandatory | path | Index of the media channel to delete |
Sample Request
Sample Response
To get details of an adServer
This will fetch all the details of an adServer
Parameters
Name | Data Type | Requirement | Parameter Type | Description |
|---|---|---|---|---|
orgId | string | Mandatory | path | ID of the organization created on the platform. |
adServerId | string | Mandatory | path | ID of the Ad Server for which the details are being fetched. |
Sample Request
The Parameter:
adServerId - is the Ad server id of the DSP
Sample Response
The response - incase of promote iq / on-site
The response - incase of others the response will be empty.