Avatar

Level 2

Dears

I'm using Target API to create activity, I found that I can only create  Adobe Target Classic activity through the API.

Can someone correct my error, thank you!

1441131_pastedImage_0.png

1441132_pastedImage_1.png

{

    "id": 217152,

    "name": "215888.hotel6",

    "state": "approved",

    "priority": 1,

    "options": [

        {

            "optionLocalId": 2,

            "name": "Offer2",

            "offerId": 456717

        }

    ],

    "locations": {

        "mboxes": [

            {

                "locationLocalId": 0,

                "name": "hompageCarousel"

            }

        ]

    },

    "experiences": [

        {

            "experienceLocalId": 0,

            "name": "Experience A",

            "visitorPercentage": 100,

            "optionLocations": [

                {

                    "locationLocalId": 0,

                    "optionLocalId": 2

                }

            ]

        }

    ],

    "metrics": [

        {

            "metricLocalId": 32767,

            "name": "MY PRIMARY GOAL",

            "conversion": true,

            "engagement": "page_count",

            "action": {

                "type": "count_once"

            },

            "mboxes": [

                {

                    "name": "target-global-mbox",

                    "successEvent": "mbox_shown"

                },

                {

                    "name": "hompageCarousel",

                    "successEvent": "mbox_shown"

                }

            ]

        }

    ],

    "modifiedAt": "2018-03-13T10:52:35Z"

}