Greetings,
One thing is clear... the definition of a "gambit" is not that clear!
I always thought of a "gambit" as a sacrifice of a pawn in the opening for non-material compensation, whether in the form of
space (centre control, open lines, etc) and/or
time (lead in development, the initiative, etc).
Some gambits, obviously, are more open-ended ("ongoing"

) - the Scotch and Goring Gambits, for example. There is no particular indication of if, or when(!), White may regain the gambited material - only if White's lead in development and open lines results in a successful attack will material be regained - with interest!
In the QGA, on the other hand, the gambitted pawn is regained fairly shortly - Black can try to hang on to the pawn, but it's inadvisable to do so.
Which is why the QGD was more popular than the QGA - why capture a pawn if you can't keep it?
For this reaon, most people don't think of the Queen's Gambit as an actual offer of a pawn.
Theory has, however, moved on and now the QGA is back in fashion because Black has compensation in other forms to make up for not being able to keep the sacrificed pawn.
However, the Queen's Gambit
is a "gambit" in the truest sense of the term.
Why?
Because White sacrifices a flank (c-)pawn to deflect Black's centre (d-)pawn
in order to gain a space advantage - the Classical Centre (pawns on d4 and e4) granting (greater) control of the centre.
A form of non-material compensation.
I apologise if the above explanation appears to belittle any here - that is
not it's intent!
I simply wished to clarify this point...
In the case of a "temporary" gambit, it's easy to overlook the
real reason for the pawn sacrifice - and, therefore, why it is a "gambit" in the truest sense of the term.
Kindest regards,
James