GithubHelp home page GithubHelp logo

isabella232 / appsflyer-android-oem-client Goto Github PK

View Code? Open in Web Editor NEW

This project forked from appsflyersdk/appsflyer-android-preinstall-provider-sample-project

0.0 0.0 0.0 103 KB

OEM Client for retrieving, storing and providing access to preinstall transaction IDs required for preinstall attribution with AppsFlyer

License: MIT License

Java 20.66% Kotlin 79.34%

appsflyer-android-oem-client's Introduction

Pre install SDK

SDK fetches ids from appsflyer backend for pre-install attribution

Content Provider data structure

Column Type Description
0 String transaction_id

API

class PreInstallClient

A main class used to create an interface between OEM and AppsFlyer OEM Client.

class PreInstallClient(application: Application, private val mediaSource: String)

The partner unique identifier

@Throws(IOException::class)
suspend fun add(vararg info: PreInstallInfo): List<PreInstallId>
  • info - the object contains attribution parameters.
Field Name Description Type Mandatory
af_engagement_type Type of the preinstall flow (preload or click_to_download)
af_media_source Partner unique identifier String Yes
install_time Timestamp representing the install time Epoch timestamp - long (milliseconds) Yes
app_id Application unique identifier String Yes
af_campaign Campaign name String No
af_campaign_id Campaign Id String No
af_adset Adset name String No
af_adset_id Adset Id String No
af_ad Ad Name String No
af_ad_id Ad Id String No
af_prt Agency Account Name String No
af_click_id Ad network unique transaction identifier String No
af_ad_type Ad type:
text: an ad unit containing only text, e.g. a search result
banner: a basic format that appears at the top or bottom of the device screen
interstitial: a full-page ad that appears during breaks in the current experience video: a standard video, i.e. non-rewarded
rewarded_video: an ad unit offering in-app rewards in exchange for watching a video
playable: an ad unit containing an interactive preview of the app experience
sponsored_content: a link included in a piece of sponsored content, like an advertorial article
audio: an audio ad
String No
af_channel The media source channel through which the ads are distributed, e.g., UAC_Search, UAC_Display, Instagram, Facebook Audience Network etc. String No
af_custom[n]
(n=1-5) example: af_custom1
Optional custom parameter defined by the advertiser. String No

An class that returns the information about processing preload.

class PreInstallId

Response:

Name Description
app_id "com.appsflyer.game"
transaction_id "AC9FB4FB-AAAA-BBBB-88E6-2840D9BB17F4"
status "success" or "failure"

Example

appsflyer-android-oem-client's People

Contributors

af-fess avatar afdima avatar sokoloff06 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.