Search Unity

  1. Unity Asset Manager is now available in public beta. Try it out now and join the conversation here in the forums.
    Dismiss Notice

Problem with submit playable ad on Facebook

Discussion in 'Project Tiny' started by Sly88, Jun 24, 2019.

  1. Sly88

    Sly88

    Joined:
    Feb 22, 2016
    Posts:
    73
    Hi guys,
    I have some problem with upload my ad on Facebook.
    I got error about CTA click function.

    I added FacebookHelper class
    Code (CSharp):
    1. <script type="text/javascript">
    2.     function CTACaller() { FbPlayableAd.onCTAClick(); }
    3. </script>
    and I override tsconfig (tsconfig.override.json)

    Code (CSharp):
    1. {
    2.  
    3.     "compilerOptions": {
    4.  
    5.         "allowJs": true
    6.  
    7.     },
    8.  
    9.     "include":[
    10.  
    11.         "External/FacebookHelper.js"
    12.  
    13.     ]
    14.  
    15. }
    What I can do more? any advice?
     

    Attached Files: