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

AppLovin/internal advanced bidding #2

Open
wants to merge 11 commits into
base: master
Choose a base branch
from

Conversation

thomasmso
Copy link
Owner

No description provided.

@thomasmso thomasmso changed the base branch from master to googleads/master July 18, 2018 02:57
@thomasmso thomasmso changed the base branch from googleads/master to patch-1 July 18, 2018 02:58
@thomasmso thomasmso changed the base branch from patch-1 to master July 18, 2018 02:58
thomasmso pushed a commit that referenced this pull request Jul 18, 2018
@thomasmso
Copy link
Owner Author

Please note: There are some TODOs that have yet to be tackled

@thomasmso
Copy link
Owner Author

Waiting on response(s) from AdMob

else
{
Log.e( TAG, "Failed to generate bid token" );
signalCallbacks.onFailure( null );

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Add a reason for failure in the failure callback? Maybe even the error message we are logging above.

Copy link
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yea I thought about that - more code - but why not!

@Override
public void collectSignals(RtbSignalData rtbSignalData, SignalCallbacks signalCallbacks)
{
// TODO: I hope that we do not use the SDK Key and Context from here to initialize SDK / get bid token with...

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't think we would be initializing the SDK here. We initialize it in either initialize() or setUp().
According to AdMob's docs:

collectSignals() is called on a background thread, and has a timeout of 1 second.

So, we should not be doing any heavy duty work here and try to callback with a bid token ASAP.

Copy link
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I understand, but we can't initialize our SDK in initialize() or setUp()(wherever that method is) b/c there is no Context parameter in those methods :/.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ah, makes sense. Didn't notice that they were not providing Context there.


// TODO: Why is this not in the base adapter?!
// @Override
// public void setUp()

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't see this method in RtbAdapter in the latest version of the GMA SDK. I'm guessing that this method may have been dropped in favor of initialize()

Copy link
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

:/ inconsistent with iOS - we are going to figure out what's up.

@Override
public void adDisplayed(AppLovinAd ad)
{
Log.d( TAG, "Rewarded video dismissed" );

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Dismissed :)?

Copy link
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

:(

@Override
public void adDisplayed(AppLovinAd ad)
{
Log.d( TAG, "Interstitial dismissed" );

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Dismissed :)?

Copy link
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

:(

@Override
public void adDisplayed(AppLovinAd ad)
{
Log.d( TAG, "Banner dismissed" );

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Dismissed :)?

Copy link
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

:(

}

@Override
public void updateConfiguration(final List<RtbConfiguration> list)
Copy link
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

NOTE: Waiting on AdMob for action on this.

thomasmso pushed a commit that referenced this pull request Apr 30, 2019
thomasmso pushed a commit that referenced this pull request Mar 15, 2020
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

Successfully merging this pull request may close these issues.

3 participants