Well there's your problem. On Android phones you can disable the Google Photos app (or remove it all together, or never have it to begin with) and replace it with a Free and Open Source Software version that doesn't do any of that crap.
You can also install Firefox (or a secure fork eg IronFox) with ublock origin and block ads.