GithubHelp home page GithubHelp logo

isabella232 / appsflyer-unity-adrevenue-generic-connector Goto Github PK

View Code? Open in Web Editor NEW

This project forked from appsflyersdk/appsflyer-unity-adrevenue-generic-connector

0.0 0.0 0.0 1.07 MB

License: MIT License

C# 51.85% Objective-C 2.43% Objective-C++ 9.36% Swift 0.12% Java 26.92% Shell 9.32%

appsflyer-unity-adrevenue-generic-connector's Introduction

appsflyer-unity-adrevenue-generic-connector

๐Ÿ›  In order for us to provide optimal support, we would kindly ask you to submit any issues to [email protected]

When submitting an issue please specify your AppsFlyer sign-up (account) email , your app ID , production steps, logs, code snippets and any additional relevant information.

Table of content

๐Ÿ“ฒ Installation

This plugin requires the AppsFlyer Unity plugin version >= 4.22.x.

  1. Clone / download this repository.
  2. Import appsflyer-unity-adrevenue-plugin-x.x.x.unitypackage into your Unity project.
    • Go to Assets >> Import Package >> Custom Package
    • Select appsflyer-unity-adrevenue-plugin-x.x.x.unitypackage.

Note: You must have the AppsFlyer Unity plugin already in your project. In addition, make sure to init AppsFlyer SDK before AppsFlyerAdRevenue.

๐Ÿš€ Initialization


using AppsFlyerSDK;

public class AppsFlyerObjectScript : MonoBehaviour
{
  void Start()
  {
  	AppsFlyerAdRevenue.start();
  	/* AppsFlyerAdRevenue.setIsDebug(true); */
  }

  ....

    Dictionary<string, string> dic = new Dictionary<string, string>();
    dic.Add("custom", "foo");
    dic.Add("custom_2", "bar");
    dic.Add("af_quantity", "1");
    AppsFlyerAdRevenue.logAdRevenue("facebook", AppsFlyerAdRevenueMediationNetworkType.AppsFlyerAdRevenueMediationNetworkTypeGoogleAdMob, 0.026, "USD", dic);
}

๐Ÿ“‘ API

Check out the API here.

appsflyer-unity-adrevenue-generic-connector's People

Contributors

af-margot avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.