There will be situations when a resource is lacking some (or even most) of the information that is required to reference it.
In these cases you will need to represent the resource as best as you can with the information at hand. This often involves changing the order of the referencing elements or using substitution phrases in place of the information.
A detailed guide is available at the APA Style Blog.
The style blog also has a detailed page for missing journal article information.