Menu

Customized Segment

πŸ’‘Tips

  • Custom Traffic Segmentation allows developers to configure differentiated ad strategies for different user groups on the HyperBid dashboard by setting user IDs, channels, and custom rules.
  • setUserId, setChannel, setSubChannel, and setCustomRule must all be called before McSdk.initialize().

1. Overview

With Custom Traffic Segmentation, you can:

  • Configure different ad strategies for different user groups (e.g., different waterfalls, eCPM floors, etc.)
  • Analyze data by custom dimensions on the HyperBid dashboard
  • Achieve fine-grained ad operations and A/B testing

2. Set Channel

Use setChannel and setSubChannel to set the channel and sub-channel names for data analysis and strategy configuration by channel dimension on the HyperBid dashboard:

dart Copy
// Must be called before McSdk.initialize()
McSdk.setChannel("your_channel");
McSdk.setSubChannel("your_sub_channel");

πŸ“Œ Channel names typically correspond to the app's distribution channels (e.g., app stores, promotion channels, etc.). Sub-channels can be used for more granular differentiation.


3. Set User ID

Use setUserId to set the unique identifier for the current user for data analysis and strategy configuration by user dimension on the HyperBid dashboard:

dart Copy
// Must be called before McSdk.initialize()
McSdk.setUserId("your user id");

πŸ“Œ It is recommended to use the app's unique user identifier (e.g., account ID) as the user ID. Avoid using device IDs or other identifiers that may change.


4. Set Custom Rule

Use setCustomRule to set custom key-value pairs for traffic segmentation and differentiated strategies on the HyperBid dashboard:

dart Copy
// Must be called before McSdk.initialize()
McSdk.setCustomRule({"key1": "value1", "key2": "value2"});

πŸ“Œ The keys and values in custom rules must match the traffic segmentation rules configured on the HyperBid dashboard; otherwise they will not be matched correctly.


5. Notes

Method Call Timing Description
McSdk.setChannel() Before initialize Set channel name
McSdk.setSubChannel() Before initialize Set sub-channel name
McSdk.setUserId() Before initialize Set unique user identifier
McSdk.setCustomRule() Before initialize Set custom traffic segmentation rules

πŸ“Œ Tip: After setting channel and sub-channel information, you can view data reports and configure differentiated strategies by channel dimension on the HyperBid dashboard.


Previous
Advanced
Next
Revenue Tracking
Last modified: 2026-06-25Powered by