Getting started
This guide will walk you through the steps to integrate the bidapp SDK into your Unity project, enabling you to monetize your applications with ads effectively.
Import the Plugin into Unity
Configure and Choose ad networks
AndroidiOSGet the pubid string
Initialize the SDK
using UnityEngine;
using System;
using Bidapp;
public class DemoGUI : MonoBehaviour
{
// Use this for initialization
void Start()
{
//BidappBinding.Instance.SetLogging(true);//Uncomment if you need debug logs
//BidappBinding.Instance.setTestMode(true);//Uncomment if you need test mode
string adFormats =
BidappFormat.Interstitial +
BidappFormat.Banner +
BidappFormat.Rewarded;
BidappBinding.Instance.RequestTrackingAuthorization();
string pubid = "pubid from your bidapp account";
BidappBinding.Instance.Start(pubid, adFormats);
Debug.Log("Started with pubid = " + pubid);
}
....
}
Last updated