You’re using get_field() where you should probably be using the_field()
<div id="affiliatebutton"> <a href="<?php
// use the_field() here
the_field ('affiliate_button_link_url') ; ?>" target="_blank"><?php
the_field('affiliate_button_label');?></a></div