Republican gubernatorial candidate Pat McCrory is airing a television advertisement about offshore drilling in part to challenge an ad from an outside group.