camaraproject / RegionDeviceCount

Repository to describe, develop, document and test the RegionDeviceCount API family
Apache License 2.0
2 stars 2 forks source link

Add filtering function to Region Device Count API #36

Open chinaunicomyangfan opened 2 days ago

chinaunicomyangfan commented 2 days ago

Problem description Based on the discussion in the [issue #8 ], consider adding filtering functionality to the Region Device Count API to obtain more accurate data. A typical user story: As an advertising advertiser, the filtering function of this API can further segment user status, such as distinguishing between roaming users and non roaming users. For certain advertisements targeting travel or cross-border services, roaming users may be a more attractive target audience. Advertisers can target this group of users with more targeted advertising content, increasing the click through rate and conversion rate of their ads.

Possible evolution add a filter param to the API Suggestions for the following dimensions 1.Device Type:human device/IOT device 2.Roaming Status:roamers/all/non-roamers 3.Network standard:2G/3G/4G/5G(This option is not used in the user story above. Record it first and discuss whether there is a need for it)

gregory1g commented 2 days ago
  1. It would be fantastic to make filtering syntax extandable, so adding new criteria in the future keeps backward compatibility.
  2. I also think that for an API like this, it is ok to allow server to decide what filters to support and issue a error if requested filter is not supported,