Changes for page React native integration
Last modified by Developer on 2020/01/03 12:47
Change comment:
There is no comment for this version
Summary
-
Page properties (1 modified, 0 added, 0 removed)
Details
- Page properties
-
- Content
-
... ... @@ -629,16 +629,46 @@ 629 629 {{/code}} 630 630 {{/showhide}} 631 631 632 +(% style="color:powderblue" %) 633 +---- 632 632 635 +**Mobigate.getIDsProfiles(onSuccess, onError)** 636 +Method returns IDs profiles. List of IDs profiles in the application memory is updated (synchronized with the server) at specified intervals. To enable functionality, use the 'enableIDsProfiles (boolean enable)' method. Returns the identifiers of IDs profiles (ex. 5,9,20), returns '0' if list of user IDs profiles is empty, returns 'null' if the system has not yet communicated 633 633 634 634 635 635 (% class="table-bordered table-hover" style="border-color:powderblue" %) 636 636 |=(% style="background-color:powderblue" %)Name|=(% style="background-color:powderblue" %)Type|=(% style="background-color:powderblue" %)Description 637 -| | | 641 +|onSuccess |Function |returns callback object 642 +|onError |Function |returns callback object 638 638 639 639 {{showhide id="3" showmessage="Example" hidemessage="Example"}} 640 640 {{code language="javascript"}} 646 +Mobigate.getIDsProfiles((success) => { 647 + console.log("Profiles: " + success) 648 + }, (error) => { 649 + console.log(error) 650 + }) 651 +{{/code}} 652 +{{/showhide}} 641 641 654 +(% style="color:powderblue" %) 655 +---- 656 + 657 +**Mobigate.getAdOceanTargeting(onSuccess, onError)** 658 +Getting numerical variables, that can be used for ads targeting. Method must be called from separate thread. Return 3 different identifiers of a user, encoded into a map of AdOcean numerical variables 659 + 660 +(% class="table-bordered table-hover" style="border-color:powderblue" %) 661 +|=(% style="background-color:powderblue" %)Name|=(% style="background-color:powderblue" %)Type|=(% style="background-color:powderblue" %)Description 662 +|onSuccess |Function |returns callback object 663 +|onError |Function |returns callback object 664 + 665 +{{showhide id="3" showmessage="Example" hidemessage="Example"}} 666 +{{code language="javascript"}} 667 +Mobigate.getAdOceanTargeting((success) => { 668 + console.log("Adocean targeting: " + success) 669 + }, (error) => { 670 + console.log(error) 671 + }) 642 642 {{/code}} 643 643 {{/showhide}} 644 644