The paper presents the results of the optical and structural properties studies of samples consisting of ZnO:Al (AZO) oxide films with an intermediate silver nanoparticles layer. Obtaining samples were carried out by the method of sol-gel technology using different types of composition, and the conditions for drying and final annealing of the samples were varied. The study of the samples optical properties consisted of the optical absorption spectra measurements, and their structural properties were determined by X-ray diffraction and small-angle X-ray scattering. Comparison of data obtained from measurements of optical and structural properties of samples confirmed the results obtained from modeling in the Comsol Multiphysics software. X-ray diffraction demonstrated that the AZO films have a polycrystalline structure and are highly textured in the [002] direction. Zinc oxide grains are 10-15 nm. Silver nanoparticles are the comparable with AZO grains and have dimensions of several tens of nanometers. An increase in the annealing temperature of the films leads to a redistribution of silver nanoparticles in the AZO film, the distance between the particles increases. Consequently, the effect of the plasmon eigenmodes of the nanoparticles prevails over the effect of the system of particles oscillations interacting with each other. The analysis of the coatings obtained by the method of small-angle X-ray scattering showed that nanoparticles in the AZO film form an ordered structure.