Expand my Community achievements bar.

SOLVED

API 2.0 Reports and settings property nonesBehavior

Avatar

Level 1

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

1 Accepted Solution

Avatar

Correct answer by
Employee

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-b...

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

HemanginiS_0-1621690772573.png

 

 

View solution in original post

2 Replies

Avatar

Correct answer by
Employee

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-b...

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

HemanginiS_0-1621690772573.png

 

 

Avatar

Level 1
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