API 2.0 Reports and settings property nonesBehavior | Community
Skip to main content
May 21, 2021
Solved

API 2.0 Reports and settings property nonesBehavior

  • May 21, 2021
  • 1 reply
  • 1934 views

Hi folks!

 

I have a strange issue with API 2.0 where sometimes requested metrics are null, but querying them later they are not null. I wonder if it is somehow related to the undocumented property nonesBehavior?

Is there a list of values anywhere for this property? I somehow found return-nones is one, but I can't even find out how I found that out.

 

If anyone can shed some light on either the property or why I might sometimes get nulls, that would be super!

 

TIA

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by Hemangini

Hi @robeena ,

I suggest to use Analysis Workspace to build/test API 2.0 requests. Here is a video that can help: https://experienceleague.adobe.com/docs/analytics-learn/tutorials/apis/using-analysis-workspace-to-build-api-2-requests.html?lang=en#apis

So, nonesBehavior is either set to "exclude-nones" or "return-nones" depending upon the status of ' Include unspecified (none) ' checkbox.

 

 

1 reply

HemanginiAdobe EmployeeAccepted solution
Adobe Employee
May 22, 2021

Hi @robeena ,

I suggest to use Analysis Workspace to build/test API 2.0 requests. Here is a video that can help: https://experienceleague.adobe.com/docs/analytics-learn/tutorials/apis/using-analysis-workspace-to-build-api-2-requests.html?lang=en#apis

So, nonesBehavior is either set to "exclude-nones" or "return-nones" depending upon the status of ' Include unspecified (none) ' checkbox.

 

 

robeenaAuthor
May 24, 2021
Thank you very much! This let me find this page which describes Unspecified values that helps me understand what this value means, I would never have found it otherwise! https://experienceleague.adobe.com/docs/analytics/technotes/unspecified.html?lang=en