API ReferenceAnnouncementsCommunity Discussion
API ReferenceCommunity DiscussionAnnouncementsSubscribeLog In
API Reference

Get All Conversion Rules Plus Data

Get a list of all Conversion Rules - plus their data - for the specified account.
Returns all conversion rules available to that account - including conversion rules created at the network level.

📘

Returns all conversion rules available to that account - including audiences created at the network level.

📘

Conversion Rules are not specific to a given campaign - they are defined at the account level.

{
   "results": [
      {
         "last_received": "2018-03-20 08:48:48",
         "total_received": 11,
         "unip_conversion_rule": {
            "id": 3,
            "display_name": "Add to Cart",
            "category": "ADD_TO_CART",
            "status": "ACTIVE",
            "type": "BASIC",
            "event_name": "page-view",
            "condition": {
               "property": "URL",
               "predicate": "CONTAINS",
               "value": "AddToCart/",
               "children": []
            },
            "effects": [
               {
                  "type": "REVENUE",
                  "data": "15"
               }
            ],
            "exclude_from_campaigns": false,
            "description": "Add to Cart conversion rule",
            "advertiser_id": "Mobile-sc",
            "last_modified_by": "[email protected]",
            "last_modified_at": "2018-03-20",
            "audience_size": 12345
         }
      },
      {
         "last_received": "2018-03-20 08:48:48",
         "total_received": 50,
         "unip_conversion_rule": {
            "id": 4,
            "display_name": "Lead",
            "category": "LEAD",
            "status": "ACTIVE",
            "type": "EVENT_BASED",
            "event_name": "Lead",
            "condition": null,
            "effects": [],
            "exclude_from_campaigns": false,
            "description": "Lead conversion rule",
            "advertiser_id": "Mobile-sc",
            "last_modified_by": "[email protected]",
            "last_modified_at": "2018-03-20",
            "audience_size": 12345
         }
      }
   ]
}

📘

Response Body

The response body is a valid, JSON object, with a results property that contains the list of Conversion Rules.

Language