Hi Rafael,
Welcome to the Analytics Community. It would be great if you can introduce yourself here.
If appid is missing you can try enabling Mobile App Acquisition and then re-download the SDK configuration file.
There is a java tool (acquisitionTest.jar) to help you get the unique ID and broadcast install referrer to help you obtain the information. Download acquistionTester.zip, then extract the .jar file.
I hope that helps.