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

Fixes setting to disable Brave Ads ad conversion detection isn't working #4839

Merged
merged 1 commit into from
Mar 5, 2020

Conversation

tmancey
Copy link
Collaborator

@tmancey tmancey commented Mar 5, 2020

Resolves brave/brave-browser#8536

Submitter Checklist:

Test Plan:

See brave/brave-browser#8536

Reviewer Checklist:

  • New files have MPL-2.0 license header.
  • Request a security/privacy review as needed.
  • Adequate test coverage exists to prevent regressions
  • Verify test plan is specified in PR before merging to source

After-merge Checklist:

  • The associated issue milestone is set to the smallest version that the
    changes has landed on.
  • All relevant documentation has been updated.

@@ -14,7 +14,7 @@
- (void)confirmAction:(const std::string &)uuid creativeSetId:(const std::string &)creative_set_id confirmationType:(const ads::ConfirmationType &)confirmation_type;
- (void)eventLog:(const std::string &)json;
- (void)getCreativeAdNotifications:(const std::vector<std::string> &)categories callback:(ads::OnGetCreativeAdNotificationsCallback)callback;
- (void)getAdConversions:(const std::string &)url callback:(ads::OnGetAdConversionsCallback)callback;
- (void)getAdConversions:callback:(ads::OnGetAdConversionsCallback)callback;
Copy link
Collaborator

Choose a reason for hiding this comment

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

Have to remove callback: here (will fail to compile)

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Fixed

Copy link
Collaborator

@kylehickinson kylehickinson left a comment

Choose a reason for hiding this comment

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

iOS ++

@tmancey tmancey added CI/skip-android Do not run CI builds for Android CI/skip-ios Do not run CI builds for iOS CI/skip-linux labels Mar 5, 2020
@tmancey
Copy link
Collaborator Author

tmancey commented Mar 5, 2020

CI failed on macOS, restarting macOS

@tmancey tmancey removed CI/skip-android Do not run CI builds for Android CI/skip-ios Do not run CI builds for iOS CI/skip-linux labels Mar 5, 2020
@btlechowski
Copy link

LGTM

Verification passed on

Brave 1.7.54 Chromium: 80.0.3987.132 (Official Build) nightly (64-bit)
Revision fcea73228632975e052eb90fcf6cd1752d3b42b4-refs/branch-heads/3987@{#974}
OS Ubuntu 18.04 LTS

Verified that ads that have conversions are shown when toggle is ON
Verified that ads that have conversions are not shown when toggle is OFF
Verified that ads without conversions are shown when toggle is ON
Verified that ads without conversions are shown when toggle is OFF
Verified that turning toggle back ON, will show all the ads

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

setting to disable ad conversion detection isn't working
3 participants