Campaign Generation Confirmations

post

/{env}/v1/sites/{site-id}/generation-confirmations

If your site is configured to use *Generations with Confirmations* you should use the *Generation Confirmations* endpoint to tell Maxymiser that the generation was actually used. Unconfirmed generations won't appear in campaign results and tracked actions won't be attributed to them.

Request

Supported Media Types
Path Parameters
  • Unique site identifier. The site id can be retrieved from the REST API.
Body ()
Generation Confirmation
Root Schema : generation
Type: object
Title: generation
Show Source
  • campaigns
    Campaigns that a visitor has generated into.
  • (Optional) IP address of the visitor. If omitted, "Source address" field of the packet sender is used to detect the client's IP. Used to pass Sandbox generation confirmations, in case the client's IP is listed in the Company IPs list.
  • State of the current visitor as provided in responses of previous requests.
Example:
{
    "campaigns":[
        {
            "name":"Serverside2"
        }
    ],
    "visitorState":"1215913303|AwAAAApVAgB/uLhOWw8AAREAAUL9qjQ...JggEAAUdFAQAABRQ=="
}
Nested Schema : campaigns
Type: array
Campaigns that a visitor has generated into.
Show Source
Nested Schema : campaign
Type: object
Show Source
Back to Top

Response

Supported Media Types

200 Response

Generated experience
Body ()
Root Schema : experiences
Type: object
Title: experiences
Show Source
Example:
{
    "campaigns":[
        {
            "name":"Serverside2",
            "status":"success"
        }
    ],
    "visitorState":"205117076|AgAAAApVAgB/uLhOWw8AAREAAUL...BAAAAAAAAAAABRQ=="
}
Back to Top