Skip to main content

MCP conversion tutorial

Use IQM Model Context Protocol (MCP) to interact with the Conversion API.

Overview​

This tutorial guides you through using IQM MCP to create and manage conversions with the Conversion API. You learn how to retrieve conversion details, create new conversions, and update existing conversions using the MCP interface.

Before you begin​

To create a new conversion and assign it to a campaign, the following are required:

  1. An account on the IQM platform
    • See Before you begin to create an account and request a Client ID and Client Secret
  2. A draft campaign

About IQM conversions​

IQM uses conversions as a tool to track user traffic for your campaigns.

The IQM platform supports two types of conversions:

  • Pixel conversions are client-side tracking and feature advanced settings for fine-tuned optimization.
  • Postback conversions are server-side.

More resources​

Create a conversion​

You can use IQM MCP to create a Pixel or Postback conversion by providing the required details and settings for each type.

PromptResponse exampleNotes
I want to create a Pixel conversionMCP prompts user for Pixel conversion settings and creates the conversion.
I want to create a Postback conversionMCP prompts user for Postback partners and click URLs.

Attach a conversion to a campaign​

Attach your new conversion to an eligible campaign by prompting MCP with the conversion and campaign IDs.

PromptResponse exampleNotes
Assign conversion [ID] to campaign [ID]MCP checks for campaigns eligible for conversion assignment and assigns the conversion to the selected campaign.

Get conversion details​

Use MCP to get details about your conversions, including their settings and which campaigns they're attached to.

PromptResponse exampleNotes
Show me a list of conversions
Show me a list of available Postback partners
Show me a list of conversion attribution types
Show me a list of campaigns eligible for conversion assignmentMCP checks for campaigns eligible for conversion assignment and displays the list.

Tools index​

In the tables below you can find the complete set of conversion tools available in MCP, categorized by function.

Each tool includes a brief description and a link to the corresponding API documentation for more details on its functionality and usage.

Use this index as a reference to explore the various conversion management capabilities of MCP and how they relate to the Conversion API endpoints.

Conversion details​

Tool nameDescriptionDocumentation
getConversionDetailsByIdGet conversion details by IDGet conversion details by ID
getConversionListGet a list of conversionsGet list of conversions
getConversionCountTypeWiseGet conversion counts grouped by typeGet conversion count by type
getAttachedCampaignsListByConversionIdGet campaigns attached to a conversionGet campaign details by conversion ID
getAttachableCampaignListByConversionIdsGet campaigns that can be attached to one or more conversionsGet campaign details by conversion ID in group or basic

Conversions management​

Tool nameDescriptionDocumentation
addPostbackConversionCreate a postback conversionCreate Postback conversion
addPixelConversionCreate a pixel conversionCreate Pixel conversion
universal-pixel-conversion-addCreate a universal pixel conversionCreate a Universal Pixel conversion
deleteConversionsDelete one or more conversionsDelete conversion
updateConversionUpdate a postback conversionUpdate Postback conversion
updateConversion_1Update a pixel conversionUpdate Pixel conversion
universal-pixel-conversion-updateUpdate the name of a universal pixel conversionUpdate a Universal Pixel conversion
assignConversionToCampaignAssign a conversion to a campaignAssign conversion to a campaign
sendEmailForPixelConversionEmail pixel integration instructionsSend email for Pixel integration
universal-pixel-send-emailEmail universal pixel integration instructionsSend email for Universal Pixel integration

More conversion details​

Tool nameDescriptionDocumentation
getListOfConversionPartnerTypeGet the list of postback partner typesGet list of partner types for Postback conversions
getConversionDefaultAdvancedSettingDataGet default advanced setting values for pixel conversionsGet list of Pixel conversion advanced setting default values
getListOfConversionTypesGet the list of conversion typesGet list of conversion types
getListOfConversionStatusGet the list of conversion statusesGet list of conversion status
getListOfConversionPiggybackTypesGet the list of conversion piggyback typesGet list of conversion piggyback types
getListOfConversionAttributionTypesGet the list of conversion attribution typesGet list of conversion property types
Have a question?
Was this page helpful?