Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

MoPub SDK install / usage issue #5

Closed
rmloveland opened this issue Aug 8, 2017 · 3 comments
Closed

MoPub SDK install / usage issue #5

rmloveland opened this issue Aug 8, 2017 · 3 comments

Comments

@rmloveland
Copy link
Contributor

When you open the Demo App in Android Studio, it tries to build the project and fails with the following error message (atop a stack trace):

error: package com.mopub.mobileads does not exist

According to the MoPub Android repo, you need to add MoPub SDK to your build.gradle as follows:

repositories {
    jcenter()
}

dependencies {
    compile('com.mopub:mopub-sdk:4.15.0@aar') {
        transitive = true
    }
}

Since we are already pulling from the JCenter repository, we just need to add the following to our existing 'dependencies' section so it looks like this:

dependencies {
compile 'com.android.support:appcompat-v7:23.1.1'
// For aaid
compile 'com.google.android.gms:play-services-ads:9.2.1'

// From MoPub Android SDK docs
compile('com.mopub:mopub-sdk:4.15.0@aar') {
transitive = true
}

// Build from compiled libs
compile fileTree(dir: 'libs', include: ['*.jar'])
}

When re re-sync the project in Android Studio, it fails again, but differently, with the following error message:

Error:Execution failed for task ':processDebugManifest'.
> Manifest merger failed : uses-sdk:minSdkVersion 14 cannot be smaller than version 16 declared in library [com.mopub:mopub-sdk:4.15.0] /Users/rloveland/.android/build-cache/020e912c9aa50c62670f43e55499007e6bed09ee/output/AndroidManifest.xml
    Suggestion: use tools:overrideLibrary="com.mopub.mobileads" to force usage

I can "fix" the issue by editing the defaultConfig block to bump the minSdkVersion to 16 like so:

defaultConfig {
applicationId 'org.prebid.mobile.demoapp'
minSdkVersion 16 // <--- s/14/16/
targetSdkVersion 25
versionCode 1
versionName '1.0'
}

This gets the app running on the device. However, when you click MoPub > Banner, you get an error message:

ERROR: YOUR MOPUB INTEGRATION IS INCOMPLETE:
Check logcat and update your AndroidManifest.xml with the correct activities and configuration.

The instructions for updating the Android Manifest are on the MoPub Wiki, so I went to follow them.

However, when I checked the Demo App's AndroidManifest.xml it looked like all but these two were already there:

<activity android:name="com.mopub.mobileads.RewardedMraidActivity" android:configChanges="keyboardHidden|orientation|screenSize"/>
<meta-data android:name="com.google.android.gms.version"
      android:value="@integer/google_play_services_version" />

When I add these two lines to the manifest, the app stops throwing the error messages in the MoPub submenu screens but still doesn't show any ads.

rmloveland pushed a commit to rmloveland/prebid-mobile-android that referenced this issue Aug 21, 2017
@rmloveland
Copy link
Contributor Author

Update: Just verified that everything from the above is the same, except that the MoPub ads show up fine now after going through all of the steps listed above.

This is with 0.0.2 release (commit SHA is 6c06772).

Just made a PR with the fixes that get it working for me - let me know what you think!

anwzhang pushed a commit that referenced this issue Aug 22, 2017
@anwzhang
Copy link
Contributor

The fixes look good to me, merged already.

@rmloveland
Copy link
Contributor Author

Thanks @anwzhang !!!

anwzhang added a commit that referenced this issue Feb 15, 2019
…w_api_time_out to new_api

* commit '922d1aec5cb7f9658701d67d206ba8f5357e17d8':
  if publisher doesn't set application context, return result code invalid context
  minor
  add timeout logic and network error logic
  update libs version
  update demo app and tests to use latest libs
  stable dfp ads lib
yoalex5 pushed a commit to yoalex5/prebid-mobile-android that referenced this issue Jul 31, 2019
YuriyVelichkoPI pushed a commit that referenced this issue Oct 21, 2021
refactoring(Mockito):
- Update mockito version and applied changes for tests
YuriyVelichkoPI added a commit that referenced this issue Dec 3, 2021
* MOBILE-6999: Introduce the rendering module in prebid app (#1)

feat(Migration):
- Migrated Apollo SDK and omsdk modules to prebid
- Migrated GAM event handlers and mopub adapters modules
- Migrated internal test app
- Added TestUtils module and included it in SDK and GAM event handlers
- Using gradle.properties in each module to enable androidx support
- Added fastlane and jenkins scripts
- Updated gradle plugin and fixed issues after update

* MOBILE-7002: Rename modules and products (#2)

refactoring:
- Rename Test app module and package names
- Rename Rendering module and package names
- Rename GAM event handlers module and package names
- Update package name reference in layout files
- Remove mentions of apollo and openx
- Rename PPM to In-App
- Remove openx icon

* MOBILE-7013: Introduce ability to set custom host for pbs (#3)

* feat(PrebidRenderingSettings):
- Added ability to change bidServerHost

refactoring(DemoRenderingKotlin)
- Replaced reflection usage for setting bid server host

tests:
- Added unit test to verify that bid server host was changed (if not empty)

* refactoring(PrebidInternalTestApp):
- Rename prebid rendering demo app module

* feat(PrebidRenderingSettings):
- Introduced Host enum with RUBICON, APPNEXUS and CUSTOM values
- Added ability to set custom host through HOST enum
- Added host url validation to fetchDemand

tests:
- Added unit test to verify fetch demand error on invalid custom host
- Applied change to unit tests that rely on bid server host

* MOBILE-7010: Rename classes and methods (#4)

* refactoring:
- Removed mentions of OpenX and apollo where possible
- Renaming classes and methods with openx prefixes
- Renaming Gamutils methods
- Renaming tests and removing openx mentions from resources
- Renaming test utils package to org.prebid.mobile.test

* fix(ui tests):
- Applied changes for GAM UI tests to work until config changes are applied

* MOBILE-7037: Update mockito dependency (#5)

refactoring(Mockito):
- Update mockito version and applied changes for tests

* MOBILE-7007: Rename config keys (#6)

* refactoring(AppEvents):
- Changed app events constant
- Removed unneeded event field from utils

* refactoring(MoPub adapters):
- Changed adapter names to prebid
- Removed mentions of apollo / openx

* MOBILE-7043: Rename file signature (copyright) (#7)

chore(copyright):
- Added prebid copyright to rendering modules

* MOBILE-7049: Sync support of GDPR and CCPA (#8)

feat(UserConsentManager):
- Added handling of device purpose consent
- Cleanup unused variables

feat(Requester):
- Fetching ADID only if device consent is valid
- Nullifying ADID if consent is not granted (in case it changed)

tests(unit):
- Added unit tests to verify consent behaviour

* MOBILE-7046: Replace OM SDK with prebid version (#9)

chore(OM SDK):
- Replaced openx OM SDK with Prebid OM SDK
- Updated imports

* MOBILE-7055: Update GAM to latest version (#10)

refactoring(GAM SDK v20):
- Updated GAM SDK to v20
- Applied changes for RewardedAdWrapper, InterstitialWrapper, BannerWrapper
- Applied changes to GamUtils
- Applied changes to InternalTestApp
- Removed GAM reflection from rendering SDK. Providing access without reflection in GamUtils
- Renaming unified and customTemplate mentions

tests(unit):
- Applied GAM v20 changes to unit tests
- Added isLoad tests to ad wrappers
- Rename test methods

* MOBILE-7053: Update MoPub version in adapters (#11)

feat(MoPub adapters):
- Updated mopub to 5.16.4
- Removed mopub dependency from rendering module
- Remove deprecated classes from RV example

tests(unit)
- Moved tests with mopub dependency from rendering module to adapters module
- Created dummy mopub view in tests to verify keywords are set
- Added steps into dastfile to execute mopub adapter tests

* MOBILE-7044: Remove AdChoices functionality (#12)

refactoring(AdIndicator):
- Removed AdIndicator classes and resources
- Removed references to ad indicator

tests:
- Removed adIndicator unit / ui tests
- Modified MraidExpand tests to avoid dialog show execution

* MOBILE-7056: Introduce rendering module as part of Prebid (#13)

feat(gradle.publish):
- Added script to generate OM SDK POM
- Added script to generate MoPub Adapters POM
- Added script to generate GAM EH SDK POM
- Added script to generate rendering SDK POM
- Added shared build script to reduce duplication

feat(gradle):
- Renaming and moving common properties to project ext

feat(deployPrebidMobile):
- Simplifying script by extracting maven publishing into a separate function
- Added artifact generation and moving them to generated folder alongside prebid artifacts

* MOBILE-7057: Remove OX OXB prefixes (#14)

* refactoring:
- Remove mentions of OXM, OXA, OX, OXB prefixes in source code

* refactoring:
- Rename PbLog into LogUtil

* fix(buildPrebidMobile.sh):
- Fixed mkdir command failure due */META-INF folder exists

* chore:
- Applied changes to fix auto tests.

* fix(UserConsentManager):
- Change deviceConsent index to 0 and modified unit tests.

* MOBILE-7080: Sync request params with Prebid (#18)

* chore(request):
- Added "adslot" to imp.ext.context.data.adslot
- Added API for setting pbAdSlot
- Added "storedauctionresponse" and "storedbidresponse" support and API
- Added unit tests

* chore(Targeting):
- Removed possibility to set targeting for carrier and ip

* MOBILE-7090: Restore sending of OM event tracker (#19)

feat(NativeAdUnit):
- Appending omid tracker on adunit creation

tests:
- Added test to verify event tracker list contains OMID event

* Add switcher to demo app for GDPR

- Added gdpr helper class to work with updating iab values
- Added switch to change state of GDPR
- Disabling gdpr in ui tests

* Migration of rendering module and reviving unit tests.  (#281)

* feat: update buildPrebidMobile.sh script, add Proguard rules for rendering modules

* refactor(kotlin-app): refactore code, add data binding

* feat(kotlin-app): add in app rendering banner to test app

* feat(unit-tests): revive tests

Update tests dependencies.

* feat(instrumented-tests): update dependencies to make tests runnable

* feat(unit-tests): fix unit tests, update testPrebidMobile.sh to run rendering tests too (#275)

Co-authored-by: Valentin Petrovych <valllentua9128@gmail.com>

* Add in-app with gam example in PrebidInternalTestApp (#276) (#284)

* Fixed broken instrumented tests.  (#285)

* feat(project-structure): update project structure, add in-app with gam example in PrebidInternalTestApp (#276)

* feat(instrumented-tests): fix broken tests, check mock server #277

* feat(instrumented-tests): fix broken tests, check mock server #277

* Make native ad from rendering private, comment tests with native from InternalTestApp (#290)

* Added integration examples with rendering to PrebidDemoKotlin (#295)

* feat(DemoKotlin): add rendering examples, make code cleaner and flexible #286

* feat(DemoKotlin): fix ad unit ids and config ids, add required MoPub ad size parameter #286

* Created mediation api for scalable connecting mediation platforms (#299)

* feat(mediation): create scalable delegate for ad servers integrations #292

* feat(mediation): add documentation #292

* Actualize build and test scripts #293 (#301)

* Added content url field onto rendering API  (#302)

* feat(content url): add content url to rendering API #300

* feat(content url): rename method as in original SDK #300

* Provide access to the bid response  #297 (#304)

* Migrate project to AndroidX #294 (#298)

Co-authored-by: KostiantynTselykh <79995965+KostiantynTselykh@users.noreply.github.com>
Co-authored-by: KostiantynTselykh <konstantin.tseluch@openx.com>
Co-authored-by: Valentin Petrovych <72038591+ValentinPostindustria@users.noreply.github.com>
Co-authored-by: Valentin Petrovych <valllentua9128@gmail.com>
silviojaureguibehere pushed a commit to intergi/prebid-mobile-android that referenced this issue Aug 31, 2022
* Introduce consistent refresh policy (prebid#268)

- Updated compile version to 30
- Updated robolectric version to 4.3.1

feat(AdUnit):
- Added ability to resume autorefresh
- Added unit tests

* Introduce Rendering API (prebid#305)

* MOBILE-6999: Introduce the rendering module in prebid app (#1)

feat(Migration):
- Migrated Apollo SDK and omsdk modules to prebid
- Migrated GAM event handlers and mopub adapters modules
- Migrated internal test app
- Added TestUtils module and included it in SDK and GAM event handlers
- Using gradle.properties in each module to enable androidx support
- Added fastlane and jenkins scripts
- Updated gradle plugin and fixed issues after update

* MOBILE-7002: Rename modules and products (#2)

refactoring:
- Rename Test app module and package names
- Rename Rendering module and package names
- Rename GAM event handlers module and package names
- Update package name reference in layout files
- Remove mentions of apollo and openx
- Rename PPM to In-App
- Remove openx icon

* MOBILE-7013: Introduce ability to set custom host for pbs (prebid#3)

* feat(PrebidRenderingSettings):
- Added ability to change bidServerHost

refactoring(DemoRenderingKotlin)
- Replaced reflection usage for setting bid server host

tests:
- Added unit test to verify that bid server host was changed (if not empty)

* refactoring(PrebidInternalTestApp):
- Rename prebid rendering demo app module

* feat(PrebidRenderingSettings):
- Introduced Host enum with RUBICON, APPNEXUS and CUSTOM values
- Added ability to set custom host through HOST enum
- Added host url validation to fetchDemand

tests:
- Added unit test to verify fetch demand error on invalid custom host
- Applied change to unit tests that rely on bid server host

* MOBILE-7010: Rename classes and methods (prebid#4)

* refactoring:
- Removed mentions of OpenX and apollo where possible
- Renaming classes and methods with openx prefixes
- Renaming Gamutils methods
- Renaming tests and removing openx mentions from resources
- Renaming test utils package to org.prebid.mobile.test

* fix(ui tests):
- Applied changes for GAM UI tests to work until config changes are applied

* MOBILE-7037: Update mockito dependency (prebid#5)

refactoring(Mockito):
- Update mockito version and applied changes for tests

* MOBILE-7007: Rename config keys (prebid#6)

* refactoring(AppEvents):
- Changed app events constant
- Removed unneeded event field from utils

* refactoring(MoPub adapters):
- Changed adapter names to prebid
- Removed mentions of apollo / openx

* MOBILE-7043: Rename file signature (copyright) (prebid#7)

chore(copyright):
- Added prebid copyright to rendering modules

* MOBILE-7049: Sync support of GDPR and CCPA (prebid#8)

feat(UserConsentManager):
- Added handling of device purpose consent
- Cleanup unused variables

feat(Requester):
- Fetching ADID only if device consent is valid
- Nullifying ADID if consent is not granted (in case it changed)

tests(unit):
- Added unit tests to verify consent behaviour

* MOBILE-7046: Replace OM SDK with prebid version (prebid#9)

chore(OM SDK):
- Replaced openx OM SDK with Prebid OM SDK
- Updated imports

* MOBILE-7055: Update GAM to latest version (prebid#10)

refactoring(GAM SDK v20):
- Updated GAM SDK to v20
- Applied changes for RewardedAdWrapper, InterstitialWrapper, BannerWrapper
- Applied changes to GamUtils
- Applied changes to InternalTestApp
- Removed GAM reflection from rendering SDK. Providing access without reflection in GamUtils
- Renaming unified and customTemplate mentions

tests(unit):
- Applied GAM v20 changes to unit tests
- Added isLoad tests to ad wrappers
- Rename test methods

* MOBILE-7053: Update MoPub version in adapters (prebid#11)

feat(MoPub adapters):
- Updated mopub to 5.16.4
- Removed mopub dependency from rendering module
- Remove deprecated classes from RV example

tests(unit)
- Moved tests with mopub dependency from rendering module to adapters module
- Created dummy mopub view in tests to verify keywords are set
- Added steps into dastfile to execute mopub adapter tests

* MOBILE-7044: Remove AdChoices functionality (prebid#12)

refactoring(AdIndicator):
- Removed AdIndicator classes and resources
- Removed references to ad indicator

tests:
- Removed adIndicator unit / ui tests
- Modified MraidExpand tests to avoid dialog show execution

* MOBILE-7056: Introduce rendering module as part of Prebid (prebid#13)

feat(gradle.publish):
- Added script to generate OM SDK POM
- Added script to generate MoPub Adapters POM
- Added script to generate GAM EH SDK POM
- Added script to generate rendering SDK POM
- Added shared build script to reduce duplication

feat(gradle):
- Renaming and moving common properties to project ext

feat(deployPrebidMobile):
- Simplifying script by extracting maven publishing into a separate function
- Added artifact generation and moving them to generated folder alongside prebid artifacts

* MOBILE-7057: Remove OX OXB prefixes (prebid#14)

* refactoring:
- Remove mentions of OXM, OXA, OX, OXB prefixes in source code

* refactoring:
- Rename PbLog into LogUtil

* fix(buildPrebidMobile.sh):
- Fixed mkdir command failure due */META-INF folder exists

* chore:
- Applied changes to fix auto tests.

* fix(UserConsentManager):
- Change deviceConsent index to 0 and modified unit tests.

* MOBILE-7080: Sync request params with Prebid (prebid#18)

* chore(request):
- Added "adslot" to imp.ext.context.data.adslot
- Added API for setting pbAdSlot
- Added "storedauctionresponse" and "storedbidresponse" support and API
- Added unit tests

* chore(Targeting):
- Removed possibility to set targeting for carrier and ip

* MOBILE-7090: Restore sending of OM event tracker (prebid#19)

feat(NativeAdUnit):
- Appending omid tracker on adunit creation

tests:
- Added test to verify event tracker list contains OMID event

* Add switcher to demo app for GDPR

- Added gdpr helper class to work with updating iab values
- Added switch to change state of GDPR
- Disabling gdpr in ui tests

* Migration of rendering module and reviving unit tests.  (prebid#281)

* feat: update buildPrebidMobile.sh script, add Proguard rules for rendering modules

* refactor(kotlin-app): refactore code, add data binding

* feat(kotlin-app): add in app rendering banner to test app

* feat(unit-tests): revive tests

Update tests dependencies.

* feat(instrumented-tests): update dependencies to make tests runnable

* feat(unit-tests): fix unit tests, update testPrebidMobile.sh to run rendering tests too (prebid#275)

Co-authored-by: Valentin Petrovych <valllentua9128@gmail.com>

* Add in-app with gam example in PrebidInternalTestApp (prebid#276) (prebid#284)

* Fixed broken instrumented tests.  (prebid#285)

* feat(project-structure): update project structure, add in-app with gam example in PrebidInternalTestApp (prebid#276)

* feat(instrumented-tests): fix broken tests, check mock server prebid#277

* feat(instrumented-tests): fix broken tests, check mock server prebid#277

* Make native ad from rendering private, comment tests with native from InternalTestApp (prebid#290)

* Added integration examples with rendering to PrebidDemoKotlin (prebid#295)

* feat(DemoKotlin): add rendering examples, make code cleaner and flexible prebid#286

* feat(DemoKotlin): fix ad unit ids and config ids, add required MoPub ad size parameter prebid#286

* Created mediation api for scalable connecting mediation platforms (prebid#299)

* feat(mediation): create scalable delegate for ad servers integrations prebid#292

* feat(mediation): add documentation prebid#292

* Actualize build and test scripts prebid#293 (prebid#301)

* Added content url field onto rendering API  (prebid#302)

* feat(content url): add content url to rendering API prebid#300

* feat(content url): rename method as in original SDK prebid#300

* Provide access to the bid response  prebid#297 (prebid#304)

* Migrate project to AndroidX prebid#294 (prebid#298)

Co-authored-by: KostiantynTselykh <79995965+KostiantynTselykh@users.noreply.github.com>
Co-authored-by: KostiantynTselykh <konstantin.tseluch@openx.com>
Co-authored-by: Valentin Petrovych <72038591+ValentinPostindustria@users.noreply.github.com>
Co-authored-by: Valentin Petrovych <valllentua9128@gmail.com>

* Added deploying of rendering part and updated release version (prebid#306)

* feat(deploy rendering): update release version to 1.13-beta1, add pom files and complete deploy script for rendering prebid#303

* feat(deploy rendering): make deploying of open measurement sdk without sources prebid#303

* feat(release version): update to 1.13.0-beta1.

* Delete useless files related to legacy rendering build system  (prebid#307)

* Merging release 1.13.0 fixes (prebid#325)

* Added ability to deploy handlers and adapters (prebid#308)

* feat: add event handlers and adapters to deploy script, generate pom files

* feat: edit pom files

* Fix deploying of project with rendering (prebid#310)

Deploy script publishes rendering module as aar. Build script generates and saves aar files too. Fix Sonatype exception about javadoc and sources in OpenMeasument SDK. Fix possible exception in DemandFetcher. Move staging url to global build.gradle.

* Fix stop method prebid#268 (prebid#311)

* Replaced jcenter dependencies (prebid#313)

* fix(jcenter dependencies): replace jcenter dependencies prebid#312

* fix(jcenter dependencies): updated dependencies in pom files prebid#312

* feat: update version to beta2

* fix: manifest merge fix prebid#316 (prebid#317)

* Make separate script for deploying Open Measurement SDK prebid#318 (prebid#321)

* Fix instream examples due to the updated dependencies  (prebid#315)

* fix(DemoJava): fix updated dependencies in PrebidDemoJava prebid#312

* fix: update exoplayer API in DemoJava app prebid#312

* Fix timeout bug prebid#291 (prebid#326)

* README: update PBS details (prebid#336)

* Introduced the possibility to add custom headers to prebid post requests. (prebid#338)

* temp. work

* temp. work

* working ad unit content url test

* test improved

* version updated

* Custom prebid headers (#2)

Added custom headers and merging from upstream master

Co-authored-by: ondra-kormanik <ondra.kormanik@gmail.com>

* Remove range version in readme file (prebid#350)

* AdMob adapters (prebid#353)

* Prepare project for AdMob integration (prebid#327)

* feat: add event handlers and adapters to deploy script, generate pom files

* feat: edit pom files

* fix(deploying): fix deploying of project with rendering

Deploy script publishes rendering module as aar. Build script generates and saves aar files too. Fix Sonatype exception about javadoc and sources in OpenMeasument SDK. Fix possible exception in DemandFetcher. Move staging url to global build.gradle.

* feat: make separate script for deploying Open Measurement SDK prebid#318

* feat(AdMob): prepare project for AdMob integration prebid#324

* feat(AdMob): corrected imports for staging releases

* Introduce AdMob banner adapter (prebid#334)

* feat: add event handlers and adapters to deploy script, generate pom files

* feat: edit pom files

* fix(deploying): fix deploying of project with rendering

Deploy script publishes rendering module as aar. Build script generates and saves aar files too. Fix Sonatype exception about javadoc and sources in OpenMeasument SDK. Fix possible exception in DemandFetcher. Move staging url to global build.gradle.

* feat: make separate script for deploying Open Measurement SDK prebid#318

* feat(AdMob): prepare project for AdMob integration prebid#324

* feat(AdMob): corrected imports for staging releases

* feat(AdMob): connect AdMob banner prebid#323

Configure AdMob banner. Add example to PrebidDemoJava app. Show logs for uncorrect auto refresh time.

* feat: new mediation delegate's architecture prebid#323

Simplify mediation delegate. Rewrite MoPub adapters using new architecture. Check MoPub examples in PrebidKotlin app.

* feat: rewrite MoPub examples and mediation utils with new architecture prebid#323

Create new mediation utils files for MoPub. Rewrite examples. Fix instrumented test cases.

* fix(UnitTests): rewrite unit tests with new architecture prebid#334

Fix old tests. Create new ones to cover more cases.

* feat: remove reflection calls in MoPub mediation utils prebid#334

Add weak reference for views. Add logs in case of destroying WeakReference.

* feat(AdMob): complete AdMob banner implementation prebid#323

Create ParametersMatcher. Add ability to get bid keywords without pop. Remove PrebidAdMobRequest.

* feat(AdMob): add working ids for AdMob prebid#323

* feat(AdMob): add AdMob banner examples to InternalTestApp prebid#323

Added 320x50, 300x250 and flexible examples.

* feat(AdMob): add visibility check for AdMob banner prebid#323

* Introduce AdMob rewarded adapter (prebid#339)

* feat: add event handlers and adapters to deploy script, generate pom files

* feat: edit pom files

* fix(deploying): fix deploying of project with rendering

Deploy script publishes rendering module as aar. Build script generates and saves aar files too. Fix Sonatype exception about javadoc and sources in OpenMeasument SDK. Fix possible exception in DemandFetcher. Move staging url to global build.gradle.

* feat: make separate script for deploying Open Measurement SDK prebid#318

* feat(AdMob): prepare project for AdMob integration prebid#324

* feat(AdMob): corrected imports for staging releases

* feat(AdMob): connect AdMob banner prebid#323

Configure AdMob banner. Add example to PrebidDemoJava app. Show logs for uncorrect auto refresh time.

* feat: new mediation delegate's architecture prebid#323

Simplify mediation delegate. Rewrite MoPub adapters using new architecture. Check MoPub examples in PrebidKotlin app.

* feat: rewrite MoPub examples and mediation utils with new architecture prebid#323

Create new mediation utils files for MoPub. Rewrite examples. Fix instrumented test cases.

* fix(UnitTests): rewrite unit tests with new architecture prebid#334

Fix old tests. Create new ones to cover more cases.

* feat: remove reflection calls in MoPub mediation utils prebid#334

Add weak reference for views. Add logs in case of destroying WeakReference.

* feat(AdMob): complete AdMob banner implementation prebid#323

Create ParametersMatcher. Add ability to get bid keywords without pop. Remove PrebidAdMobRequest.

* feat(AdMob): add working ids for AdMob prebid#323

* feat(AdMob): add AdMob banner examples to InternalTestApp prebid#323

Added 320x50, 300x250 and flexible examples.

* feat(AdMob): create AdMob rewarded adapter prebid#329

Add example to Kotlin test app.

* feat(AdMob): add visibility check for AdMob banner prebid#323

* feat(AdMob): add rewarded examples to Internal test app prebid#329

* Introduce AdMob interstitial adapter (prebid#340)

* feat: add event handlers and adapters to deploy script, generate pom files

* feat: edit pom files

* fix(deploying): fix deploying of project with rendering

Deploy script publishes rendering module as aar. Build script generates and saves aar files too. Fix Sonatype exception about javadoc and sources in OpenMeasument SDK. Fix possible exception in DemandFetcher. Move staging url to global build.gradle.

* feat: make separate script for deploying Open Measurement SDK prebid#318

* feat(AdMob): prepare project for AdMob integration prebid#324

* feat(AdMob): corrected imports for staging releases

* feat(AdMob): connect AdMob banner prebid#323

Configure AdMob banner. Add example to PrebidDemoJava app. Show logs for uncorrect auto refresh time.

* feat: new mediation delegate's architecture prebid#323

Simplify mediation delegate. Rewrite MoPub adapters using new architecture. Check MoPub examples in PrebidKotlin app.

* feat: rewrite MoPub examples and mediation utils with new architecture prebid#323

Create new mediation utils files for MoPub. Rewrite examples. Fix instrumented test cases.

* fix(UnitTests): rewrite unit tests with new architecture prebid#334

Fix old tests. Create new ones to cover more cases.

* feat: remove reflection calls in MoPub mediation utils prebid#334

Add weak reference for views. Add logs in case of destroying WeakReference.

* feat(AdMob): complete AdMob banner implementation prebid#323

Create ParametersMatcher. Add ability to get bid keywords without pop. Remove PrebidAdMobRequest.

* feat(AdMob): add working ids for AdMob prebid#323

* feat(AdMob): add AdMob banner examples to InternalTestApp prebid#323

Added 320x50, 300x250 and flexible examples.

* feat(AdMob): create AdMob rewarded adapter prebid#329

Add example to Kotlin test app.

* feat(AdMob): add visibility check for AdMob banner prebid#323

* feat(AdMob): add rewarded examples to Internal test app prebid#329

* feat(AdMob): create AdMob interstitial adapter prebid#328

Add example to Kotlin test app.

* feat(AdMob): add interstitial examples to Internal test app prebid#328

* AdMob fixes  (prebid#351)

* feat(AdMob): add display insterstitial examples prebid#343

* feat(AdMob): indicate the status of interstitial ads prebid#344

* fix(AdMob): fix listeners and confg ids for rewarded and interstitial prebid#345

* feat: open measurement version prebid#346

* fix: add additional size to AdMob flexible banner  prebid#349

* Introduce AdMob native adapter (prebid#342)

* feat: add event handlers and adapters to deploy script, generate pom files

* feat: edit pom files

* fix(deploying): fix deploying of project with rendering

Deploy script publishes rendering module as aar. Build script generates and saves aar files too. Fix Sonatype exception about javadoc and sources in OpenMeasument SDK. Fix possible exception in DemandFetcher. Move staging url to global build.gradle.

* feat: make separate script for deploying Open Measurement SDK prebid#318

* feat(AdMob): prepare project for AdMob integration prebid#324

* feat(AdMob): corrected imports for staging releases

* feat(AdMob): connect AdMob banner prebid#323

Configure AdMob banner. Add example to PrebidDemoJava app. Show logs for uncorrect auto refresh time.

* feat: new mediation delegate's architecture prebid#323

Simplify mediation delegate. Rewrite MoPub adapters using new architecture. Check MoPub examples in PrebidKotlin app.

* feat: rewrite MoPub examples and mediation utils with new architecture prebid#323

Create new mediation utils files for MoPub. Rewrite examples. Fix instrumented test cases.

* fix(UnitTests): rewrite unit tests with new architecture prebid#334

Fix old tests. Create new ones to cover more cases.

* feat: remove reflection calls in MoPub mediation utils prebid#334

Add weak reference for views. Add logs in case of destroying WeakReference.

* feat(AdMob): complete AdMob banner implementation prebid#323

Create ParametersMatcher. Add ability to get bid keywords without pop. Remove PrebidAdMobRequest.

* feat(AdMob): add working ids for AdMob prebid#323

* feat(AdMob): add AdMob banner examples to InternalTestApp prebid#323

Added 320x50, 300x250 and flexible examples.

* feat(AdMob): create AdMob rewarded adapter prebid#329

Add example to Kotlin test app.

* feat(AdMob): add visibility check for AdMob banner prebid#323

* feat(AdMob): add rewarded examples to Internal test app prebid#329

* feat(AdMob): create AdMob interstitial adapter prebid#328

Add example to Kotlin test app.

* feat(AdMob): add interstitial examples to Internal test app prebid#328

* feat(AdMob): create AdMob native adapter prebid#341

Create native example for Kotlin test app. Fix accessibility error with NativeAsset. Change PrebidNativeAd image parser.

* feat(AdMob): add native examples to Internal test app prebid#341

* feat(AdMob): migrate mediation logic to MediationNativeAdUnit prebid#341

Renamed some samples of AdMod ads.

* feat(AdMob): configure MediationNativeAdUnit for MoPubNativeMediationUtils prebid#333

Fix PrebidNativeAd exception when listener is null.

* feat(AdMob): rewrite MoPub native examples prebid#341

Remove old renderer, wrapper and mediation utils.

* feat(AdMob): native ads according to IAB specs prebid#347

Make test for parsing NativeAd.

* feat(AdMob): rewrite in-app AdMob native example using original API prebid#331

* feat(AdMob): rewrite in-app AdMob native feed and links examples using original API prebid#331

* feat(AdMob): rewrite in-app GAM native examples using original API prebid#332

* feat(AdMob): minor corrections prebid#330 (prebid#355)

* Remove native ads components from rendering (prebid#359)

* feat: remove native part from Rendering API prebid#330

Update Kotlin for apps that use it.

* feat: remove native part from Rendering API prebid#330

Remove tests based on native.

* AdMob corrections (prebid#360)

* feat(AdMob): use appropriate ad unit format for MediationInterstitialAdUnit test cases prebid#354

* feat(AdMob): fix native ad crash prebid#357

* feat(AdMob): minor corrections for Native ad prebid#356

* Support OpenRTB app content object prebid#314 (prebid#362)

Provide full ContentObject for original and rendering ad units. Disable not working unit tests based on disabled AppNexus server.

* Response code 204 returns NO_BIDS (prebid#320)

* Handled response code 204 (BLANK), now returns NO_BID. Added Unit test.

* Moved 204 to a seperate conditional block

* Code cleaning

* feat: response code 204 as NO_BIDS for rendering part prebid#319

Co-authored-by: Valentin Petrovych <valentin.petrovich@postindustria.com>

* CircleCI build for PRs prebid#363

* Support for Seller-Defined Audiences for First Party Data (prebid#366)

* feat(user data): add ability to add user data objects prebid#358

* feat(user data): rename methods, return user.ext.data keywords functionality prebid#358

* feat(user data): naming convention prebid#358

* Corrections in Internal test app (prebid#369)

* fix: correct mistakes in delegates prebid#361

* fix: fix MoPub rewarded video adapter and feed example prebid#361

* fix: small fixes in banner and interstitial examples prebid#361

* feat: add security config for Kotlin app

* Unify the bid requesting for original and rendering API (prebid#394)

* Unification of configuration and targeting (prebid#374)

* feat(unification): create ad unit configuration interfaces and classes prebid#370

* feat(unification): replace internal attributes in ad units to AdUnitConfiguration prebid#370

* feat(unification): replace internal references to interface prebid#370

* feat(unification): sort targeting params by categories prebid#370

Sort variables by categories: user, context, metadata, consents data.

* feat(unification): move targeting params from rendering prebid#370

* feat(unification): use original targeting in rendering prebid#370

* feat(unification): fix test cases for configuration and targeting prebid#370

* feat(unification): fix native tests prebid#370

* feat(unification): remove duplicate methods for external ids prebid#370

* Merge of core and rendering modules (prebid#376)

* Prebid configuration unification  (prebid#378)

* feat(unification): Prebid configuration unification prebid#370

* feat(unification): fix tests for Prebid configuration prebid#370

* feat(unification): fix dependency prebid#370

* feat(unification): remove legacy methods prebid#370

* Apply unified ad units configuration (prebid#379)

* feat(unification): apply common ad unit configuration prebid#370

Migrate to one AdSize.

* feat(unification): use classes instead of interfaces prebid#370

* feat(unification): remove base configuration, place native into original prebid#370

* feat(unification): fix tests prebid#370

* Use unified logging system (prebid#383)

* feat(logging): use one logging class prebid#382

* feat(logging): use full names in logging methods prebid#382

* Apply bid loader from rendering instead of demand fetcher (prebid#381)

* feat(unification): connect BidLoader from rendering prebid#370

Add Native json object. Add saving Native ad to cache.

* feat(unification): configure auto refresh prebid#370

Add pbs debug field to Bid request.

* feat(unification): add setter for auto refresh interval in seconds prebid#370

* feat(unification): fix ad units types prebid#370

* feat(unification): rebase conflicts resolves prebid#370

* Unification corrections (prebid#384)

* feat(unification): remove unused files and ad type from original SDK prebid#370

* feat(unification): fix tests and remove tests based on demand fetcher prebid#370

* feat(unification): fix NativeImageAsset examples prebid#370

* feat(unification): remove unused test prebid#370

* feat(unification): correct documentation prebid#370

* feat(unification): remove default auto refresh time prebid#370

* feat(unification): set positive refresh interval in banner view prebid#370

* feat(unification): fix test prebid#370

* Migration: InternalTestApp from mock server to pbs on aws (prebid#396)

* fix: correct mistakes in delegates prebid#361

Rename some examples. Fix delegates.

* fix: fix MoPub rewarded video adapter and feed example prebid#361

* Migrate banner cases internaltestapp to pbs on aws (prebid#365)

* removed mock switcher

* configured banner test cases for PBS on AWS

* renamed mock impressions and added no bids examples for banner

* configured admob adapter for pbs on aws

* renamed no_bids config

* Migrate display interstitial to pbs on aws (prebid#373)

* Migration: video interstitial from mock server to pbs on aws (prebid#375)

* CircleCI build for PRs prebid#363

* Support for Seller-Defined Audiences for First Party Data (prebid#366)

* feat(user data): add ability to add user data objects prebid#358

* feat(user data): rename methods, return user.ext.data keywords functionality prebid#358

* feat(user data): naming convention prebid#358

* Corrections in Internal test app (prebid#369)

* fix: correct mistakes in delegates prebid#361

* fix: fix MoPub rewarded video adapter and feed example prebid#361

* fix: small fixes in banner and interstitial examples prebid#361

* feat: add security config for Kotlin app

* migrated video interstitial to pbs on aws

* added video interstitial with end-card case

* fixed banner adaptive (admob) format

Co-authored-by: Yuriy Velichko <yuriy.velichko@postindustria.com>
Co-authored-by: Valentin Petrovych <72038591+ValentinPostindustria@users.noreply.github.com>

* Migration: Video cases in internaltestapp from mock server  to pbs on aws (prebid#377)

* added video rewarded and outstream cases to pbs

* fixed prebid responses

* configured mraid test cases on pbs (prebid#380)

* Migration native ads internaltestapp from mock server to pbs on aws (prebid#395)

* configured native test cases on pbs

* removed mock server dependencies from internal test app

* Unify the bid requesting for original and rendering API (prebid#394)

* Unification of configuration and targeting (prebid#374)

* feat(unification): create ad unit configuration interfaces and classes prebid#370

* feat(unification): replace internal attributes in ad units to AdUnitConfiguration prebid#370

* feat(unification): replace internal references to interface prebid#370

* feat(unification): sort targeting params by categories prebid#370

Sort variables by categories: user, context, metadata, consents data.

* feat(unification): move targeting params from rendering prebid#370

* feat(unification): use original targeting in rendering prebid#370

* feat(unification): fix test cases for configuration and targeting prebid#370

* feat(unification): fix native tests prebid#370

* feat(unification): remove duplicate methods for external ids prebid#370

* Merge of core and rendering modules (prebid#376)

* Prebid configuration unification  (prebid#378)

* feat(unification): Prebid configuration unification prebid#370

* feat(unification): fix tests for Prebid configuration prebid#370

* feat(unification): fix dependency prebid#370

* feat(unification): remove legacy methods prebid#370

* Apply unified ad units configuration (prebid#379)

* feat(unification): apply common ad unit configuration prebid#370

Migrate to one AdSize.

* feat(unification): use classes instead of interfaces prebid#370

* feat(unification): remove base configuration, place native into original prebid#370

* feat(unification): fix tests prebid#370

* Use unified logging system (prebid#383)

* feat(logging): use one logging class prebid#382

* feat(logging): use full names in logging methods prebid#382

* Apply bid loader from rendering instead of demand fetcher (prebid#381)

* feat(unification): connect BidLoader from rendering prebid#370

Add Native json object. Add saving Native ad to cache.

* feat(unification): configure auto refresh prebid#370

Add pbs debug field to Bid request.

* feat(unification): add setter for auto refresh interval in seconds prebid#370

* feat(unification): fix ad units types prebid#370

* feat(unification): rebase conflicts resolves prebid#370

* Unification corrections (prebid#384)

* feat(unification): remove unused files and ad type from original SDK prebid#370

* feat(unification): fix tests and remove tests based on demand fetcher prebid#370

* feat(unification): fix NativeImageAsset examples prebid#370

* feat(unification): remove unused test prebid#370

* feat(unification): correct documentation prebid#370

* feat(unification): remove default auto refresh time prebid#370

* feat(unification): set positive refresh interval in banner view prebid#370

* feat(unification): fix test prebid#370

* removed openx qa endpoint

Co-authored-by: Valentin Petrovych <valentin.petrovich@postindustria.com>
Co-authored-by: Yuriy Velichko <yuriy.velichko@postindustria.com>
Co-authored-by: Valentin Petrovych <72038591+ValentinPostindustria@users.noreply.github.com>

* Multi-format interstitial ad units (prebid#398)

* feat: replace AdUnitIdentifierType to AdFormat prebid#393

* feat: make ad format as array prebid#393

* feat(multi-format): make multi-format in MediationInterstitialAdUnit prebid#393

* feat(multi-format): configure multi-format prebid#393

Remove useless constructors in InterstitialAdUnit. Refactored InterstitialAdUnit. Convert AdUnitFormat array to enum set.

* feat(multi-format): fix tests prebid#393

Remove m prefix for Interstitial classes.

* feat(multi-format): fix internal app prebid#393

* feat(multi-format): add tests for ad formats prebid#393

* feat(multi-format): add multi-format test prebid#393

* feat(multi-format): rename field prebid#393

* Changed Xandr request endpoint (prebid#397)

* Introduce video rendering controls (prebid#415)

* feat(controls): add max video duration property prebid#386 (prebid#403)

* Add sound button and mute property  (prebid#410)

* feat(controls): add sound button and mute property for video interstitial prebid#387

* feat(controls): create params for fast run in Kotlin demo app

* feat(controls): tests for mute button prebid#387

* feat(controls): fix tests error prebid#387

* feat(controls): fix tests error prebid#387

* feat(controls): add interstitial example prebid#387

* feat(controls): destroy creative in tests prebid#387

* Add close button area and position properties (prebid#411)

* feat(controls): add close button area property prebid#388

* feat(controls): add unit tests prebid#388

* feat(controls): add internal example prebid#388

* feat(controls): fix tests prebid#388

* feat(controls): create close button position property prebid#389

Make example in Internal test app. Write unit tests.

* Add skip delay and skip button customization properties (prebid#413)

* feat(controls): add skip button and skip delay for Interstitial prebid#392

* feat(controls): add skip delay tests prebid#392

* feat(controls): add skip button area and position fields prebid#388

* feat(controls): add skip button example prebid#392

* Shut down mopub (prebid#417)

* removed mopub dependencies from internal test app

* removed mopub dependencies from prebid demo kotlin

* removed mopub dependencies from internal test app android tests

* removed mopub declarations in manifest in demo apps

* removed mopub dependencies in prebid demo java

* removed mopub dependencies from prebid demo java tests

* removed al mopub references from demo apps and Dr.Prebid

* removed mopub dependencies from prebid mobile core

* removed mopub dependencies from prebid mobile core tests

* removed prebid mobile mopub adapters

* removed mopub adapters from scripts

* small corrections in build script, comments and dependencies

Co-authored-by: Valentin Petrovych <valentin.petrovich@postindustria.com>

* Migration: Prebid Demo Kotlin to pbs on aws (prebid#412)

* removed mopub dependencies from internal test app

* removed mopub dependencies from prebid demo kotlin

* removed mopub dependencies from internal test app android tests

* removed mopub declarations in manifest in demo apps

* removed mopub dependencies in prebid demo java

* removed mopub dependencies from prebid demo java tests

* removed al mopub references from demo apps and Dr.Prebid

* removed mopub dependencies from prebid mobile core

* removed mopub dependencies from prebid mobile core tests

* removed prebid mobile mopub adapters

* removed mopub adapters from scripts

* configured banner 320x50 in-app prebid demo kotlin

* configured in-app cases

* removed mopub cases

* configured gam cases

* configured admob cases

* added gam video interstitial example

* applied appropriate gam video interstitial

* added video base parameters for gam video interstitial ad unit

* configured ad unit for prebid banner 300x250

* removed setStoredAuctionResponse(null) function from ads creators

* Introduce Applovin MAX adapters (prebid#421)

* Create Applovin Max banner adapter and configure environment  (prebid#416)

* feat(max-adapters): create max adapters module prebid#401

* feat(max-adapters): add max page into Internal test app prebid#401

* feat(max-adapters): connect banner example to Kotlin app prebid#401

* feat(max-adapters): create max banner adapter prebid#401

* Create interstitial and rewarded MAX adapters (prebid#418)

* feat(max-adapters): create interstitial and rewarded adapters prebid#404, prebid#405

Add examples to Kotlin app.

* feat(max-adapters): move listeners to different files prebid#404, prebid#405

* Create native MAX adapter and change architecture (prebid#419)

* feat(max-adapters): create native adapter prebid#406

Add example to native app.

* feat(max-adapters): change max adapters architecture

Move files to packages. Create managers for separating different ad types logic.

* feat(max-adapters): use unified parameters matcher

* feat(max-adapters): create tests for ParametersChecker

* feat(max-adapters): use unified name convention for adapters

* feat(max-adapters): fix tests

* Add MAX examples to internal test app (prebid#420)

* feat(max-adapters): add MREC example to Kotlin app prebid#407

* feat(max-adapters): remove applovin ad review gradle plugin

* feat(max-adapters): add banner examples to Internal test app prebid#407

* feat(max-adapters): add interstitial and rewarded examples to Internal test app prebid#404, prebid#405

Add cleaning response id. Fix not correct check for ad type in MaxInterstitialManager. Add rewarded callbacks.

* feat(max-adapters): add native examples to Internal test app prebid#406

* feat(max-adapters): fix kotlin app dependencies

* Return original parameters support prebid#408 (prebid#423)

* Rendering controls settings from bid responses (prebid#424)

* feat: add rendering control settings from bid response prebid#422

* feat: add ad configuration examples prebid#422

Add temporary examples debug support.

* test: add tests for MobileSdkPassThrough and BidResponse prebid#422

Change debug tests to release ones.

* Restore Java demo app examples and add AWS ones (prebid#427)

* refactor: Prebid Java app refactoring

Remove useless gradle files. Refactor main files.

* refactor: change architecture in Kotlin app

Restore Rubicon cases.

* refactor: rewrite Xandr native examples and remove not working ones

* refactor: change package, sort classes, refactor files

* refactor: remove old files

* feat: add AWS examples to Java test app

Update GAM. Rename ad types.

* fix: fix video interstitial and native in app examples

Fix SDK problem with native ad with GAM. Remove DownloadImageTask from SDK.

* fix: remove deprecated calls in native example

* refactor: full refactor for Java app

* Support rendering controls in mediation ad units  (prebid#430)

* feat: support rendering controls in mediation ad units prebid#425

* fix: skip release tests in debug mode

* Some fixes (prebid#431)

* fix: change default value for is muted property

* fix: fix test

* feat: use unified namings for mediation utils classes

* feat: update sdk version

* Add Applovin MAX examples  (prebid#428)

* feat: add "OK, Adapter" examples

* fix: some fixes in examples prebid#429

* feat: add more multiformat examples prebid#429

* fix: fix ad unit types in video interstitial prebid#429

* fix: fix original video interstitial prebid#429

* fix: resolve dependency

* Classes movement and some corrections (prebid#432)

* refactor: remove copy of Ext object prebid#429

It was created while rendering and original merging. So it is no longer needed.

* fix: fix release dependencies

* feat: move main classes for publisher to api folder

* Preparation for release (prebid#433)

* feat: update sdk version to 2.0.0

* fix: fix deploy problem with MAX adapters

Fix some imports.

* fix: add min size fields

* fix: add min size to multi-format in app case

* fix: add listener for Video Banner

* refactor: remove -m prefix in classes fields (prebid#439)

* Add FLAG_ACTIVITY_NEW_TASK for external browser (prebid#440)

Fix calling startActivity() from outside of an Activity context requires the FLAG_ACTIVITY_NEW_TASK flag. This flag was added only for application context cases. 

Co-authored-by: Ho Chia Leung <chia.leung.ho@huawei.com>

* Corrections in video banner and feed adapter (prebid#436)

* fix: don't show ad from first position prebid#287

* fix: video banner corrections

Fix video banner auto start. Remove double sound button. Fix sound button state.

* fix: unit tests

* fix: resolve conflicts

* fix: use internal gradle imports

* Make Custom headers working again (prebid#449)

* working ad unit content url test

* test improved

* version updated

* Custom prebid headers (#2)

Added custom headers and merging from upstream master

* add custom headers

* test for custom headers

Co-authored-by: ondra-kormanik <ondra.kormanik@gmail.com>
Co-authored-by: Gianpiero Bozza <52072711+gianpiero-bozza@users.noreply.github.com>
Co-authored-by: gianpiero-bozza <gianpiero.bozza@ibillboard.com>

* Make caching of the bid optional in Rendering prebid#442 (prebid#448)

* feat: optional bid caching for rendering api prebid#442

* feat: add "hb_size" field check for winning bid prebid#442

* test: add tests for winning keywords prebid#442

* fix: change hb_cache_id check prebid#442

* Corrections (prebid#450)

* fix: add null check for custom headers prebid#449

* refactor: remove unused original files

* Fix MRAID offscreen resize method prebid#288 (prebid#444)

* fix: mraid offscreen resize method prebid#288

* fix: error when run clean app in Android 11+

* fix: add context type check for every start of new activity

* fix: add offset for resize check prebid#288

* Support events in rendering API  (prebid#452)

* feat: support win event in rendering API prebid#443

* feat: add native event notifications prebid#443

Add examples.

* fix: fix null pointer prebid#443

* feat: request impression urls when Open measurement impression notified prebid#443

* Initialization improvements (prebid#455)

* feat: initialization improvements prebid#447

Move all initialization methods to SdkInitializer. Refactor PrebidMobile. Create new SDK initialization listener. Deprecate LogLevel field and create setter.

* feat: saving application context even if activity context was placed prebid#447

Add request to status endpoint when init SDK. Check if previous init context is null when call init SDK. Replace all setApplicationContext SDK calls with new ones.

* fix: correction prebid#447

* feat: call onSdkFailedToInit when context is null prebid#447

* feat: separate InitError into different file prebid#447

* test: add sdk initializer test prebid#447

* fix: reset field state in test prebid#447

* fix: sdk initializer reset prebid#447

* fix: show full logs in CircleCI

* fix: tests prebid#447

* fix: double reset prebid#447

* Update test dependencies (prebid#456)

* feat: update unit tests dependencies prebid#434

Update Mockito to 4+ version to get static fields and methods checks.

* fix: replace old dependency JUnit dependency prebid#434

* fix: replace dependencies prebid#434

* Applovin MAX privacy settings prebid#454 (prebid#457)

* Rendering controls corrections (prebid#459)

* fix: close button position rendering settings prebid#445

* feat: add more examples of rendering settings in response prebid#445

* Add cases for the vertical and landscape video (prebid#461)

* Smoke tests kotlin demo (prebid#453)

* wrote ui tests for banner 320x50

* added tests for display interstitial

* added tests for video rewarded

* added tests for video banner and configured circleci workflow

* changed workflow for running builds simultaneously

* fixed circle ci build error

* changed build matrix name and removed alias

* Updated config.yml

* Updated config.yml

* added testPrebidDemo.sh script to config.yml

* added manual start of android emulators to circle ci config

* changed avd name

* added working directory for android test

* added post-emulator-launch-assemble-command to android test configuration

* Updated config.yml

* changed tests and added retryCount for test restart

* configured admob display interstitial case

* modified display interstitial check

* added ads for testing in Prebid Kotlin Demo and removed Android 8 emulator from circle ci config

* added smoke tests for other cases

* fixed tests configuration

* small fixes

* returned assembleAndroidTest command

* added tests for video rewarded original api and include prebid internal test app build step

* increased timeout

* fixed internal test app build and changed video tests

* changed jobs name in circle ci build steps

* changed build Commands for demo apps

* configured buildPrebidMobile.sh for circle ci build

* update buildPrebidMobile.sh

* fix: remove useless dependency and correct build script

Co-authored-by: Valentin Petrovych <valentin.petrovich@postindustria.com>

* Consents improvements (prebid#466)

* feat: consents improvements prebid#465

Migrate consent logic to UserConsentManager from StorageUtils. Create UserConsentUtils. Add documentation. Add setter for CMP SDK id into TargetingParams.

* fix: COPPA consent in auction request prebid#465

* test: create tests for consents classes prebid#465

* feat: add Prebid custom keys for consents prebid#465

* Add switch for cache enabling in Internal test app (prebid#468)

* Interstitial video fixes (prebid#469)

* feat: make interstitial ad fullscreen and fix cutouts prebid#462

Fix close, counter, and learn more button positions when there are cutouts or bottom navigation. Create custom theme for all interstitial ads.

* fix: read timeout for file download tasks prebid#462

* fix: increase creative factory timeout for interstitial cases prebid#462

* fix: buttons visibility in interstitial ads prebid#462

Fix Learn more button position. Show Learn more button in every video interstitial ad.  Show count down button only for rewarded.

* fix: insets fixes prebid#462

Fix insets for other orientations.

* fix: displaying Learn more prebid#462

* fix: button positions after rotation prebid#462

* fix: scaling end cards for any resolution prebid#462

* Remove optional permissions from SDK prebid#460

* Update OM SDK to 1.3.34 prebid#464

* Update release version to 2.0.1 (prebid#472)

* Some fixes (prebid#473)

* fix: sound button position

* fix: cutout problem

* fix: visibility checker problem due to transparent navigation bar prebid#475

* fix: open measurement sdk import problem

* fix: video outstream watch again problem prebid#475

* fix: add min size property to display interstitial example prebid#475

* fix: mraid resize example  prebid#475

* fix: open measurement sdk visibility problem  prebid#475

* fix: device ext field  prebid#475

* Configure Proguard  (prebid#479)

* feat: proguard configuration prebid#476

Remove useless rules. Add safe consumers rules. Optimize shrinking.

* feat: update Prebid version to 2.0.2

Co-authored-by: Valentin Petrovych <valllentua9128@gmail.com>

* Populate Device.Geo.Country property (prebid#477)

Country from telephonyManager-locale-reverseGeocoding

* Use OMID Partner name and version from TargetingParams (prebid#480)

Co-authored-by: ondra-kormanik <ondra.kormanik@gmail.com>
Co-authored-by: Gianpiero Bozza <52072711+gianpiero-bozza@users.noreply.github.com>
Co-authored-by: gianpiero-bozza <gianpiero.bozza@ibillboard.com>
Co-authored-by: David Racl <david@racl.cz>

* Add get query params on url request builder (prebid#486)

* Fix NPE in ad response parser vast on get vast url method (prebid#487)

* Geolocation fixes merge (prebid#488)

* ShareGeoLocation issue fix (prebid#484)

* Fix isShareGeoLocation not checked

* Implement test for ShareGeoLocation

* fix: test with new task

Co-authored-by: David Racl <david@racl.cz>

* Update exoplayer to version 2.15.1 and replace deprecated code (prebid#482) (prebid#489)

Resolve conflicts. Returned consistent behavior with iOS (according to prebid#462)

* Update exoplayer to version 2.15.1 and replace deprecated code (prebid#482)

* Update exoplayer to version 2.15.1 and replace deprecated code

* Fix internal browser action test

* fix(Render): Add get query params on url request builder

* fix(Render): replace vast regex validator to include other valid formats and unified validation criteria on vast parser extractor

* fix(Render): fix exo player issue by changing video uri builder

* fix(Render): close interstitial video only when it is an end card

* fix(render): show call to action on rewarded video

* fix(Render): fix NPE in ad response parser vast on get vast url method

* Update release version to 2.0.2.1

* fix: return behaviour according to prebid#462

Learn more must be only in Rewarded. Fix test.

Co-authored-by: gerzalez <gerzalez@gmail.com>
Co-authored-by: German Gonzalez <german.gonzalez@etermax.com>
Co-authored-by: gerzalez-etermax <110118032+gerzalez-etermax@users.noreply.github.com>

* Update release version to 2.0.3 (prebid#490)

* feat: update release version

Return flag for new task in browser actions.

* fix: use const versions

Co-authored-by: KostiantynTselykh <79995965+KostiantynTselykh@users.noreply.github.com>
Co-authored-by: Yuriy Velichko <yuriy.velichko@postindustria.com>
Co-authored-by: KostiantynTselykh <konstantin.tseluch@openx.com>
Co-authored-by: Valentin Petrovych <72038591+ValentinPostindustria@users.noreply.github.com>
Co-authored-by: Valentin Petrovych <valllentua9128@gmail.com>
Co-authored-by: bretg <bgorsline@gmail.com>
Co-authored-by: Gianpiero Bozza <52072711+gianpiero-bozza@users.noreply.github.com>
Co-authored-by: ondra-kormanik <ondra.kormanik@gmail.com>
Co-authored-by: Abhas Vohra <42031593+avohraa@users.noreply.github.com>
Co-authored-by: Valentin Petrovych <valentin.petrovich@postindustria.com>
Co-authored-by: MaksPetrukhnoPI <94057303+MaksPetrukhnoPI@users.noreply.github.com>
Co-authored-by: Ho Chia Leung <clho40@hotmail.com>
Co-authored-by: Ho Chia Leung <chia.leung.ho@huawei.com>
Co-authored-by: Jiří Leták <jiri.letak@ibillboard.com>
Co-authored-by: gianpiero-bozza <gianpiero.bozza@ibillboard.com>
Co-authored-by: Cem Genar <cemgenar@gmail.com>
Co-authored-by: David Racl <david@racl.cz>
Co-authored-by: gerzalez-etermax <110118032+gerzalez-etermax@users.noreply.github.com>
Co-authored-by: gerzalez <gerzalez@gmail.com>
Co-authored-by: German Gonzalez <german.gonzalez@etermax.com>
ValentinPostindustria added a commit that referenced this issue Aug 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants