Facebook Advertising Troubleshooting

How does an ad get credit for a conversion?