Expose QA URLs in Adobe Target API

Avatar

Avatar

brianrieck

Avatar

brianrieck

brianrieck

30-03-2020

It would be nice to be able to programmatically access the QA URLs for a current running AB test.  We run a small subset of front end tests in our CI pipeline and we need the tests to be deterministic.  The way we do that now is manually retrieve the QA URL from the adobe target GUI.  We'd like to have the test determine the experience without having to retrieve the QA URL manually.  

 

I have two suggestions:

First:  Add it to the existing `Get AB Activity by ID` 

Second:  Create a new API to `Get AB Activity QA URLs by ID`

 

Suggested response: 

 

 

 

"experiences": [
        {
            "experienceLocalId": 0,
            "name": "Experience A",
            "visitorPercentage": 34,
            "qaUrl": "at_preview_token=g5xKOs9QjAl3KN%2BwvyAAmnWEFq%2Br1NJA9GWwjZnLpb4%3D&at_preview_index=1_1&at_preview_listed_activities_only=true&at_preview_evaluate_as_true_audience_ids=1100025",
            "offerLocations": [
                {
                    "locationLocalId": 0,
                    "offerId": 395818
                }
            ]
        },
        {
            "experienceLocalId": 1,
            "name": "Experience B",
            "visitorPercentage": 33,
            "qaUrl": "at_preview_token=g5xKOs9QjAl3KN%2BwvyAAmnWEFq%2Br1NJA9GWwjZnLpb4%3D&at_preview_index=1_2&at_preview_listed_activities_only=true&at_preview_evaluate_as_true_audience_ids=1100025",
            "offerLocations": [
                {
                    "locationLocalId": 0,
                    "offerId": 395819
                }
            ]
        }
    ]

 

 

 

 

If the qaUrl property is too verbose it can be broken up into its separate properties:

at_preview_token, 

at_preview_index,

at_preview_listed_activities_only,

at_preview_evaluate_as_true_audience_ids

API feature request
5 Comments (5 New)
5 Comments

Avatar

Avatar

ryandavidhartman

Avatar

ryandavidhartman

ryandavidhartman

02-04-2020

This would be a very helpful feature to support automation testing of website's that do A/B testing.

Avatar

Avatar

kstewartAL

Avatar

kstewartAL

kstewartAL

02-04-2020

I think this would be a useful feature given the direction of automation towards which technology is moving.

Avatar

Avatar

nrupsis

Avatar

nrupsis

nrupsis

10-04-2020

Oh man, this is exactly what I need. This feature would be incredibly helpful. 

Avatar

Avatar

Amelia_Waliany

Employee

Avatar

Amelia_Waliany

Employee

Amelia_Waliany
Employee

01-10-2020

Thank you so much for sharing this feedback, @brianrieck! The Adobe Target Product Management team is taking your Idea into consideration. 

Status changed to: Needs Info

Avatar

Avatar

Amelia_Waliany

Employee

Avatar

Amelia_Waliany

Employee

Amelia_Waliany
Employee

01-10-2020

Hi @ryandavidhartman , @kstewartAL, and @nrupsis thank you for showing your support for @brianrieck 's Idea!

Our Product Managers are reviewing this feedback and would love to hear more about your specific use cases for automation,. Would you be able to provide further details to this end? 

 

Thank you again for this feedback!

 

Warmly,

Amelia