Offer conversion pixel for tracking conversions in third-party systems. Offer Pixels are disabled if the "auto_approve_pixels" preference is set to "disabled".
Name | Type | Description |
---|---|---|
affiliate_id | Integer | The ID of the Affiliate to whom this Offer Pixel belongs. If "0" this applies to all Affiliates. |
code | String | Valid URL if type parameter is set to "url", otherwise HTML code. Some variables can be used, which will be dynamically replaced. For more information, see: https://support.hasoffers.com/hc/en-us/articles/202674498-Conversion-Pixels-URLs. |
goal_id | Nullable Integer | The Goal this Pixel is for. If NULL, the Pixel is for the Offer referenced in the "offer_id" field. This field should only be utilized if the "enable_offer_goals" Preference is enabled. |
id | Integer | ID of unique, auto-generated object for this Offer Pixel This parameter is non-writable |
modified | Datetime | The last time this Offer Pixel was modified |
offer_id | Integer | The Offer that this Pixel is for. If set to "0" this applies to all Offers and this will be used if Offer ID is not passed in the call. |
status | String | The status of the Offer PixelShow Supported Values |
type | String | The type of Pixel. Some offers only allow a subset of the listed types. Valid types for an Offer can be determined by calling the OfferPixel::getAllowedTypes API function.Show Supported Values |