The 70's were difficult times for PanAm, plane accidents, financial problems, union problems, regulation problems, what ever was wrong with the airline industry, Pan Am had it in ample amounts
Since this is an ad from the 1960s,the 747 in the commercial must have been the very first model-Boeing 747-100(and the upper deck was a bar in those days and not a passenger cabin).