In the PGT section set "Corresponding WC Number" to 1, then in the AR Export in "Live ARDS Code preview" set the third dropdown menu to "Card 1" instead of "Gift 1". This will make the code longer, though...
You have to create a Custom ID.
Go to AR Export as you would normally, then in Custom ID name your ID (Pokemon HeartGold UK, for example), and in "Based on" set it to HG/SS, JP, and add IPKE-AD102382 as the ID. Then, once you make the code for whatever you want, take out the first three lines of code and add:
94000130 fcff0000
62111880 00000000
You more than likely wrote something wrong or omitted something. Or you copy+pasted both codes together...?