Skip to main content

Migrate a Campaign

Overview

The API Comparison table highlights the main actions and API methods for creating a Campaign. Select an endpoint from IQM or The Trade Desk to review that platform's relevant API documentation. By comparing APIs, you can migrate your workflow from The Trade Desk to IQM.

API Comparison

Base URLs
  IQM: https://app.iqm.com

Xandr: https://api.appnexus.com
ActionIQM EndpointXandr EndpointNotes
Get List of CampaignsGET/api/v2/cmp/campaigns/dataGET/line-itemXandr endpoint uses query to retrieve a list of Campaigns by advertiser_id, comma separated id, or search.
Get Campaign DetailsGET/api/v2/cmp/campaign/{campaignId}
Create a CampaignPOST/api/v2/cmp/campaigns/add
POST/api/v3/cmp/pg/campaigns/add
POST/line-itemIQM API requires an uploaded Creative and an existing Insertion Order in order to create a Camapaign.
Update a CampaignPATCH/api/v2/cmp/campaign/{campaignId}
PATCH/api/v3/cmp/pg/campaigns/{campaignId}
PUT/line-item
Update Campaign BudgetPATCH/api/v3/cmp/pg/campaigns/{campaignId}
PUT/api/v2/cmp/campaignsupdate-budget
PUT/line-itemA budget is set when creating a Campaign. It can also be changed when updating a Campaign or through the budget-updating endpoint.

Budget is set on creation or update of Line Item for Xandr.
Create PG DealPOST/api/v3/inv/pg/deals/addPOST/dealAn active PG deal (pgDealId) is required to create a PG Campaign.

Xandr endpoint specifies deal type with type parameter.
Get List of Insertion OrdersPOST/api/v3/cmp/io/basic/list
GET/api/v3/cmp/io/advanced/list
GET/insertion-order
Get Insertion Order Details by IDPOST/api/v3/cmp/io/basic/listGET/insertion-orderSpecify IO ID for IQM endpoint with ioIdList parameter.

Use query parameter id for Xandr.
Create an Insertion OrderPOST/api/v3/cmp/io/addPOST/insertion-order
Update an Insertion OrderPATCH/api/v3/cmp/io/{ioId}PUT/insertion-order
Duplicate an Insertion OrderPOST/api/v3/cmp/io/duplicaten/aDuplicates Insertion Order and specified Campaigns.
Get Creative Details by IDGET/api/v3/crt/creatives/{creativeId}GET/creativeXandr endpoint uses query to retrieve a Creative by id.
Get List of CreativesGET/api/v3/crt/creatives/listGET/creative
Add New CreativePOST/api/v3/crt/creativesPOST/creativeIQM supports FormData for uploading Creatives. See MDN Documentation for more details.

More Campaign Resources

IQM:

Xandr: