Is there any way on the server to know that the user viewed the advertisement? May be somehow check the information from the client?
Which server are you referring to? I think you’ll find information from Statistics tab on UnityAds Dashboard.
I think you may mean from within your app - so the example code on https://unity3d.com/services/ads/quick-start-guide can tell you a few things.
More from the Unity reference https://docs.unity3d.com/ScriptReference/Advertisements.Advertisement.html
Thank you for your reply. I have an authoritative server on which it is necessary to know that the client (user ID) has viewed the advertisement. Information about this is only on the client and I can not transfer it to my server because of security. Can I somehow ask the advertising server that the user viewed the ad? Or maybe the client has encrypted information about viewing ads so that it can be transferred to the server for decryption.
That sounds like a very specific agenda. All I know is you’re asking for extra functionality and you may want to speak with Unity about client messaging to your specific server. I don’t see the real advantages of this and if you want to do this en masse, you may run into problems. I’d say in the case of asking the “advertising server” is far more complex an issue, it’s not really open for developer access as far as I know!