Pangle: A global platform dedicated to developer growth.|Integration Docs
Knowledge Center

Adapter Integration

This article will guide you on how to integrate the Pangle Adapter within the Prebid environment.

  1. Get the latest version Adapter
  2. Prepare the bid params for ads
  3. Add source code to ads settings
  4. Test pangle ads

We strongly recommend that you refer to our provided manual testing document for testing. If you encounter any issues during integration, please contact us promptly.


Get Prebid Adapter

You can download the Adapter from the Prebid official website and GitHub. After downloading, refer to the Prebid official guide to integrate the Adapter into your project.

  1. Download from Prebid official website
  2. Download from Github

Prepare Bid Params

In the ad configuration, you may need the following parameters. Please refer to the parameter descriptions and fill them out in order.

Name

Scope

Description

Example

Type

token

required

please fill 'pangle' by default.

'Pangle'

string

appid

required

The app id on Pangle platform, please get them from the platform.

'5123400'

string

placementid

required

The placement id created on Pangle platform, please get them from the platform.

'912340000'

string

test

optional

For testing, please set it to '1' so that you can test the integration.

Please ensure that this parameter is deleted or set to '0' in the production environment.

1

number

Prebid.js adapter supports banner and video media types, doesn't support native.

Usage

In the code configuration, we have provided a simple sample to help you quickly set up the relevant parameters and code. Please refer to the following content.

User Sync

Add the following code to enable user sync. Pangle strongly recommends enabling user syncing through iFrames. This functionality improves partners' user match rates and increases the Pangle bid rate and bid price. Be sure to call pbjs.setConfig() only once.

How to Test

Pangle strongly recommends testing before going live.

To make testing easier, please refer to Test Manual.