v1
latestOpenAPI 3.1.02026-07-26950137.9 KBCreate a Conversion Rule
Submit a JSON object representing the new Conversion Rule in the request body. (See examples below.)
Returns the newly created Conversion Rule in the response body.
post/backstage/api/1.0/{account_id}/universal_pixel/conversion_rule/
Path parameters
account_idstring required
An alphabetic ID. See Get Account Details.
Request body
Response
200
Example response
{
"id": 78,
"display_name": "Add to cart",
"category": "ADD_TO_CART",
"status": "ACTIVE",
"type": "BASIC",
"event_name": "page_view",
"condition": {
"property": "URL",
"predicate": "CONTAINS",
"value": "test.com"
},
"effects": [
{
"type": "REVENUE",
"data": "15"
}
],
"include_in_total_conversions": true,
"advertiser_id": "rsschecking",
"last_modified_by": "peter.taboola@gmail.com"
}