https://github.com/appodeal/bidmachine-android-sdk
https://github.com/appodeal/bidmachine-android-sdk
Last synced: 10 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/appodeal/bidmachine-android-sdk
- Owner: appodeal
- License: gpl-3.0
- Created: 2019-07-15T15:39:35.000Z (almost 7 years ago)
- Default Branch: master
- Last Pushed: 2019-10-31T11:16:46.000Z (over 6 years ago)
- Last Synced: 2023-06-28T15:34:45.036Z (almost 3 years ago)
- Language: Java
- Size: 2.07 MB
- Stars: 0
- Watchers: 1
- Forks: 8
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
# BidMachine Android SDK
__Get more information about SDK integration and usage in our Wiki:__
__[BidMachine Android SDK Documentation](https://wiki.appodeal.com/display/BID/BidMachine+Android+SDK+Documentation)__
## Integration
[
](https://artifactory.bidmachine.io/bidmachine/io/bidmachine/ads/)
Add this to Module-level or App-level `build.gradle` before dependencies:
```groovy
repositories {
// ... other project repositories
maven {
name 'BidMachine maven repo'
url 'https://artifactory.bidmachine.io/bidmachine'
}
}
```
Add next dependency to you build.gradle:
```groovy
dependencies {
// ... other project dependencies
implementation 'io.bidmachine:ads:1.3.3'
}
```
## Network security configuration
[Android 9.0 (API 28) blocks cleartext (non-HTTPS) traffic by default](https://developer.android.com/training/articles/security-config), which can prevent ads from serving correctly.
Add a Network Security Configuration file to your AndroidManifest.xml:
```xml
```
In your `network_security_config.xml` file, add base-config that sets cleartextTrafficPermitted to true:
```xml
```
## Initialization
Initialize SDK, and set your `SellerId`:
```java
BidMachine.initialize(Context, YOUR_SELLER_ID);
```
> To get your SELLER_ID, visit [our website](https://bidmachine.io/) or contact the support.
## Header-Bidding
3rd party networks which can be used for Header-Bidding can be find [here](adapters)
## What's new in this version
Please view the [changelog](CHANGELOG.md) for details.