There are many kinds of "cash advance". You can't buy lottery tickets on a credit card (or in jurisdictions where you can, it's a cash advance). Credit cards also treat things such as buying dollar coins online from the US Mint different from a normal transaction.