All Products
Search
Document Center

Mobile Platform as a Service:Create a booth

Last Updated:Jul 06, 2023

With the booth management function provided by MCDP, you can customize and manage the booths to effectively control the traffic. Before delivering an advertisement, create a booth in advance, specify the client page, position, type, material type, and height of the booth as needed, so that when you create a marketing campaign, you can directly select the booth and add the corresponding advertisement content or elements. Each created booth can be reused in different advertisement deliveries to facilitate marketing campaigns.

According to the different configuration modes, booths can be divided into the following three categories:

  • Dynamic booth

    After you added the MCDP SDK to the client, directly configure all the booth properties on the console, including the ID, page, display style, position, material, and height of the booth, without any operation on the client.

    Dynamic booths do not support configuring a booth in the center position.

  • Client preset booth

    After you added the MCDP SDK to the client, preset some of the booth properties on the client by coding (including the ID, page, position, and height of the booth), then create a booth on the console, and enter the booth parameters preset on the client. When the information configured on the console does not match the information configured on the client, the actual booth information on the client shall prevail.

    • Applicable scenario: The client configuration mode is available to support booth positions that are not supported by the dynamic configuration mode (for example, the center position).

    • Recommended mode: For ease of adjustment, the ID, page, and position of the booth are preset on the client, and all other booth properties are configured on the console.

  • Splash booth

    A special preset booth. Only one splash booth can be created in an app, and by default, the splash booth ID is STARTPAGE and cannot be modified.

Create a dynamic booth

Prerequisites

  • MCDP SDK has been added to the client.

  • For a custom booth, you need to preset the booth on the client first. This type of booth is special and applies to partially scenarios where custom copywriting is required. Take the search box as an example, on the console, you can define the content of the copy in the search box, but you cannot set the position, width, or height of the search box, these properties need to be configured through the client.

  • In Android client, the top floating layer or the top of the page must contain the ViewGroup control with tag h5_titlebar, or the layout must contain the AUTitleBar control from the antui-build component; the head/bottom of the list must contain the ListView control.

  • In iOS client, the head/bottom of the list must contain the UITableView control.

Procedures

Log in to the mPaaS console, select the app, and perform the following steps to create a booth:

  1. On the left navigation bar, enter Mobile Content Delivery Platform > Resource management >

    Booth management page, click Create a booth, and enter Basic information page.

  2. Enter the booth name, select Custom ID, enter the page address, and then set the valid (cache) time.

    • iOS page address: Enter the iOS-client page address of the booth to be displayed. To enter the VCName of the page, you need to contact the app developer, for example, MPHomeViewController.

    • Android page address: Enter the Android-client page address of the booth to be displayed. To enter the ActivityName of the page, you need to contact the app developer, for example, com.mpaas.demo.cdp.DynamicContent1Activity.

    • HTML5 page address: Enter the HTML5 page address of the booth to be displayed. To enter the full path of the page, you need to contact the app developer. You can use the window.location object to get the full path of the HTML5 page.

  3. Click Next to enter Configuration details page, and configure the booth details. For the description of each parameter, see Booth configuration information.

  4. After confirming all the information, click Submit.

    After completing the booth creation, you can view the information of the booth you have just created in the booth list, edit and delete the booth. For operation details, see Booth management > Booth list.

Create a client preset booth

Prerequisites

In the case of booths preset on the client, you need to preset the booths by coding in the client project, and record the ID, page, and position of the preset booth, and only configure the booth height on the console. For booth preset operations, see Preset booth (iOS) and Preset booth (Android).

Procedures

Log in to the mPaaS console, select the app, and perform the following steps to create a booth:

  1. On the left navigation bar, enter Mobile Content Delivery Platform > Resource management >

    Booth management page, click Create a booth, and enter Basic information page.

  2. Enter the booth name, select Client preset ID, enter the client preset booth ID, and set the valid (cache) time.

  3. Click Next to enter Configuration details page, and configure the booth details. For the description of each parameter, see Booth configuration information.

  4. After confirming all the information, click Submit.

    After completing the booth creation, you can view the information of the booth you have just created in the booth list, edit and delete the booth. For operation details, see Booth management > Booth list.

Create a splash booth

Prerequisites

MCDP SDK has been added to the client and the startup page (Configure an iOS startup page/Configure an Android startup page) has been configured.

Procedures

Only one splash booth can be created in an app.

Log in to the mPaaS console, select the app, and perform the following steps to create a booth:

  1. On the left navigation bar, enter Mobile Content Delivery Platform > Resource management >

    Booth management page, click Create a booth, and enter Basic information page.

  2. Enter the booth name, select Splash booth ID, and then set the valid (cache) time.

    Note

    If a splash booth has been created in the current app, the Splash booth ID tab will be unavailable.

  3. Click Next to enter Configuration details page, and select the type of material and the amount of advertisement space. For the description of each parameter, see Booth configuration information.

  4. After confirming all the information, click Submit.

    Important

    The splash booth provides only one advertising space.

    After completing the booth creation, you can view the information of the booth you have just created in the booth list, edit and delete the booth. For operation details, see Booth management > Booth list.