Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
BedrockMission!

Learn more

View all

Sign in to view all badges

SOLVED

API 2.0 Reports and settings property nonesBehavior

robeena
Level 1
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
HemanginiS
Correct answer by
Level 4
Level 4

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
HemanginiS
Correct answer by
Level 4
Level 4

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

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