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

Ads enabled for unsupported regions #3967

Closed
srirambv opened this issue Apr 1, 2019 · 11 comments · Fixed by brave/brave-core#2232
Closed

Ads enabled for unsupported regions #3967

srirambv opened this issue Apr 1, 2019 · 11 comments · Fixed by brave/brave-core#2232

Comments

@srirambv
Copy link
Contributor

srirambv commented Apr 1, 2019

Description

While verifying #2562, found even if device on unsupported region, Ads get enabled.

Steps to Reproduce

  1. Set VPN to a unsupported region
  2. Launch a clean profile of beta
  3. Enable rewards
  4. Open rewards setting, Sorry, Ads are not available in your region message pops up for a second and then ads settings get enabled

Actual result:

Ads enabled for unsupported regions

Expected result:

Unavailable message should persist and ads should not be enabled. Only for supported regions should be enabled

Reproduces how often:

Easy

Brave version (brave://version info)

Brave 0.63.28 Chromium: 73.0.3683.75 (Official Build) beta(64-bit)
Revision 909ee014fcea6828f9a610e6716145bc0b3ebf4a-refs/branch-heads/3683@{#803}
OS Linux

Reproducible on current release:

  • Does it reproduce on brave-browser dev/beta builds?
    Yes on beta and dev. Not checked on Nightly

Website problems only:

  • Does the issue resolve itself when disabling Brave Shields?
    N/A
  • Is the issue reproducible on the latest version of Chrome?
    N/A

Additional Information

cc: @tmancey @jsecretan set priority to P2, please change if required
@brave/legacy_qa to verify on other platforms as well

@tmancey
Copy link
Contributor

tmancey commented Apr 1, 2019

@ryanml do you know of any recent changes which may have caused this please?

@ryanml
Copy link
Contributor

ryanml commented Apr 2, 2019

@tmancey I have not made any changes related to this since: brave/brave-core#1941 - I can do some investigation on this one though 👍

@tmancey
Copy link
Contributor

tmancey commented Apr 2, 2019

@ryanml This could be related to Chromium returning en_US for non supported regions, let me check this first and I will then get back to you if that is ok?

However this does not explain why the UI displays for a brief moment.

@ryanml
Copy link
Contributor

ryanml commented Apr 2, 2019

@tmancey sounds good. Double checking the logic in place is all sound but yeah just seems that the wrong value is showing for region

@btlechowski
Copy link

I am located in Poland and Ads are enabled. I don't see any ads though.

Brave 0.63.30 Chromium: 73.0.3683.75 (Official Build) beta (64-bit)
Revision 909ee014fcea6828f9a610e6716145bc0b3ebf4a-refs/branch-heads/3683@{#803}
OS Windows 10 OS Build 17134.523

image

@tmancey
Copy link
Contributor

tmancey commented Apr 4, 2019

@btlechowski Ads are not available at this time in Poland, an unavailable message should be shown and ads should not be enabled, thanks

@GeetaSarvadnya
Copy link

GeetaSarvadnya commented Apr 4, 2019

I am located in India Ads are disabled

image

Brave 0.64.36 Chromium: 73.0.3683.75 (Official Build) dev (64-bit)
Revision 909ee014fcea6828f9a610e6716145bc0b3ebf4a-refs/branch-heads/3683@{#803}
OS Windows 10 OS Build 17134.523

@GeetaSarvadnya
Copy link

GeetaSarvadnya commented Apr 10, 2019

I am not getting Sorry, Ads are not available in your region message for the region India. I was seeing the message on 0.64.36 version, but not now. I am not getting this message in any of the Dev and Beta versions.

Brave 0.64.40 Chromium: 74.0.3729.61 (Official Build) dev (64-bit)
Revision 5df2c8936783bd7575987e45d72a92fcf528496b-refs/branch-heads/3729@{#645}
OS Windows 10 OS Build 17134.523
Brave 0.63.34 Chromium: 74.0.3729.40 (Official Build) beta (64-bit)
Revision 278d6a0d856d8314f36fb9a68b6e1d85cd0d14e7-refs/branch-heads/3729@{#470}
OS Windows 10 OS Build 17134.523

@srirambv
Copy link
Contributor Author

srirambv commented Apr 22, 2019

Verification passed on

Brave 0.63.46 Chromium: 74.0.3729.91 (Official Build) (64-bit)
Revision 03844ed83e02b8add3f4b9cb859a7108d55b2e4d-refs/branch-heads/3729@{#860}
OS Linux
  • Setting VPN to supported region and OS locale changed doesn't enable ads
    image
  • Setting VPN and OS locale to supported region shows ads as expected

Verified passed with

Brave 0.63.46 Chromium: 74.0.3729.91 (Official Build) (64-bit)
Revision 03844ed83e02b8add3f4b9cb859a7108d55b2e4d-refs/branch-heads/3729@{#860}
OS Mac OS X
  • Verified test plan from Fix Ads enabled for unsupported regions and enabled by default after 0.63.x update brave-core#2232
  • Verified did not see 'Sorry' message when IP and Region were set appropriately for included regions (US, Can, UK, FR, DE). When 'Sorry' message was not displayed, verified was able to access UI (settings, etc).
  • Verified did see 'Sorry' message when IP and Region were set for non-included regions (Australia, Sweden, etc). When 'Sorry' message was displayed, was unable to access Ads UI (settings, etc).
    Screen Shot 2019-04-22 at 16 36 06

Verification passed on

Brave 0.63.46 Chromium: 74.0.3729.91 (Official Build) (64-bit)
Revision 03844ed83e02b8add3f4b9cb859a7108d55b2e4d-refs/branch-heads/3729@{#860}
OS Windows 10 OS Build 17134.523

image

@muro886
Copy link

muro886 commented May 13, 2019

I am in Turkey please enable ads for Turkey.

Brave 0.63.55 Chromium: 74.0.3729.131 (Official Build) (64-bit)
Revision 518a41c1fa7ce1c8bb5e22346e82e42b4d76a96f-refs/branch-heads/3729@{#954}
OS Windows 10 OS Build 17134.706

@lyquocnam
Copy link

i am in Vietnam, please enable ads for Vietnam.

Brave 0.66.99 Chromium: 75.0.3770.100 (Official Build) (64-bit)
Revision cd0b15c8b6a4e70c44e27f35c37a4029bad3e3b0-refs/branch-heads/3770@{#1033}
OS Mac OS X

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