A
A
Andrew2019-01-23 09:52:56
Facebook
Andrew, 2019-01-23 09:52:56

Facebook Creative, what goes where?

Expensive time of day,
FB has an advertising chip - "Facebook Creative", i.e. interactive advertising for applications, etc.
The video is loaded, in the ad block, on click, the "demo" of the game is loaded, which should be done in HTML5. Requirements
For those who did this, a couple of questions:
1. Is it possible to load external fonts (from Google) / pictures
2. What initialization should be for redirection so that FB skips it and how should it look like?
If you click on some guide - it will be great, I did not find anything similar

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Andrew, 2019-01-25
@KickeRockK

If someone needs to be
1. Fonts missed from Google
2. there should be an initialization of something like:

window.onload = function() {
      FBInstant.initializeAsync().then(function() {
        FBInstant.setLoadingProgress(100)

        FBInstant.startGameAsync().then(function() {
          startGame();
        });

      });
    };

and if you need to go to the application link (indicated in the FB advertising settings):
el.addEventListener("click", function() {
        FbPlayableAd.onCTAClick();
      })

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question