The average scale of a vertical aerial photograph is
\[
\text{Scale}=\frac{f}{H}
\]
where
\[
f=\text{camera focal length}, \qquad
H=\text{flying height above ground}.
\]
Thus, the scale primarily depends on the focal length and flying height.
Hence,
\[
\boxed{\text{Focal length and flying height}}
\]
is the correct answer.
Therefore,
\[
\boxed{(A)}
\]