Menu

SDK Preset Strategy

๐Ÿ’กTips

Using local preset strategies allows you to:

  • ๐Ÿš€ Reduce the time taken to fetch strategies on the first launch
  • ๐Ÿ”’ Avoid strategy fetch failures caused by network issues

1. Export Strategy

HyperBid Tools Console - App Management - Select App

Preset Strategy Export Flowchart

2. Import Strategy


โ— Android

plaintext Copy
1. Create the specified directory
   โ””โ”€ /Assets/Plugins/Android/mcRes.androidlib/assets/localStrategy

2. Place the strategy file
   โ””โ”€ Put the exported JSON file into the directory above

โ— iOS

  • Rename the JSON file exported from the backend to localStrategy.json and place it in the Xcode project as shown in the figure
    Xcode Project Diagram

Call McSdk#SetLocalStrategyAssetPath(string path) before SDK initialization to set it up. Example:

csharp Copy
McSdk.SetLocalStrategyAssetPath("localStrategy");
Previous
Customized Segment
Next
Check Ad Status information
Last modified: 2025-07-29Powered by