Same selector name different conditions 1 call
Would like to make 1 call to the product feed API. With array of selector names. Some of them will be the same. I would like to pass different conditions for each selector. Even different conditions for the ones with the same name. Is there a way to separate out the returned values by each selector? Currently if I pass 2 selector names that are the same it returns all the entries in one choices index with that name. For example if I pass in
I would like to have separate args for each of these and the results returned in groups for each one, or some identifier for each one using one api call. Any ideas? Is there a way to make separate queries with identifiers for the results?
-
Official comment
Hi Jack,
I hope you are well and thanks for reaching out.
I have a feeling you mean making a API call using the experience APIs and not to the product feed. Array of selector names is passed in the choose call.
- To group API calls into one choose call where you do not need to reference the exact selector names, you can use what we call "group selector" , this allows you to call multiple campaigns belonging to this one identifying group through one call and then yielding the results for each campaign you met the targeting conditions for.
- The same selector referenced twice to yield different results (based on filters) is not possible. If the one API campaign has multiple experiences with different targeting only then the results can be different (different variation) but it sounds like what you are referring to may be different level of filtering.
Considering this, please contact your Customer Success Manager or Technical Account Manager to look into the specific setup and suggest the best approach in your case.
Comment actions
Please sign in to leave a comment.
Comments
1 comment