Title
Page icon
Create new category
Edit page index title
Edit category
Edit link
Export - Tag Generation
Export APIs are available once a retail campaign has been successfully activated (status: ACTIVE).
The various methods for Tag generation are listed below:
Export assets (retail campaign)
Triggers an asynchronous export of generated creative assets for a retail campaign. Requires Campaigns_Create permission.
Path Parameters
Name | Data Type | Requirement | Parameter Type | Description |
|---|---|---|---|---|
accountId | string | Mandatory | path | ID of the account. |
retailCampaignIdx | integer | Mandatory | path | Index of the retail campaign. |
Sample Request
Parameters
Field | Data Type | Requirement | Description |
|---|---|---|---|
assetExportType | enum (string) | Mandatory | Format of the exported assets. Values: |
resolution | enum (string) | Mandatory | Export resolution multiplier. Values: |
Request Body
Response
Field | Data Type | Description |
|---|---|---|
queueId | string/null | Queue ID of the export job (if queued asynchronously), otherwise null. |
status | enum (string) | Current export status. Values: INITIATED, PROCESSING, FAILED, COMPLETED, NOT_INITIATED_,_ FAILED TO_INITIATE. |
message | string | Human-readable status message. |
Request Body
Get export asset status (retail campaign)
Returns the current export status for one or more resolution/format combinations for a retail campaign. Requires Campaigns_Create permission.
Path Parameters
Name | Data Type | Requirement | Parameter Type | Description |
|---|---|---|---|---|
accountId | string | Mandatory | path | ID of the account. |
retailCampaignIdx | integer | Mandatory | path | Index of the retail campaign. |
Query Parameters
Name | Data Type | Requirement | Parameter Type | Description |
|---|---|---|---|---|
isPreviewExport | boolean | Optional | false | Whether to fetch status for preview exports instead of production exports |
assetExportType | enum (string) | Optional | -- | Filter by export format: png, jpg, gif, tiff, mp4 |
resolution | enum (string) | Optional | -- | Filter by resolution: |
Sample Request
Response
Returns a list of RetailExportMultiResolutionResponse objects, one per export format found.
Field | Data Type | Description |
|---|---|---|
[].assetExportType | string | The export format (e.g. png) |
[].resolutionsResponse | array | List of per-resolution export status entries. |
[].resolutionsResponse[].status | enum (string) | Export status. Values: INITIATED, PROCESSING, FAILED, COMPLETED, FAILED_TO_INITIATE, ARCHIVED, AVAILABLE, NOT_INITIATED. |
[].resolutionsResponse[].url | string | Download URL for the exported ZIP (populated when status is COMPLETED or AVAILABLE) |
[].resolutionsResponse[].resolution | integer | Resolution multiplier (1 or 2) |
[].resolutionsResponse[].statusMessage | string | Human-readable status message |
Request Body
Download tags (retail campaign)
Downloads the ad tags for all ad units in a retail campaign as a CSV file. The file is named {campaignName}_tags.csv. Requires MediaPlan_Tags_Download permission.
Path Parameters
Name | Data Type | Requirement | Parameter Type | Description |
|---|---|---|---|---|
accountId | string | Mandatory | path | ID of the account. |
retailCampaignIdx | integer | Mandatory | path | Index of the retail campaign. |
Sample Request
Response
Returns a CSV file download with the Content-Disposition header set to attachment; filename={campaignName}_tags.csv and content type application/x-download.
The CSV contains the ad tags for all ad units in the retail campaign.
Get Trackers Type
This will get the tracker type associated with the retail media campaign.
Parameters
Name | Data Type | Requirement | Parameter Type | Description |
|---|---|---|---|---|
accountId | string | Mandatory | path | ID of the advertiser account created on the platform. |
retailCampaignIdx | string | Mandatory | path | ID of the retail campaigns. |
Sample Request
The Parameter:
accountId - is the Current account Id
retailCampaignIdx- is the Retail Campaign id
The Get Tracker API will return all the trackers present and the trackers selected for this campaign.
Sample Response