Did you check out the solution offered on same question in forum for Google Ads API
here and AdWords API
here? Are you facing any issues while implementing it? If so, could you please elaborate along with API request and response so that I can troubleshoot further? Unfortunately, we do not have samples yet for IpBlock in Client Library but you could refer to the code snippet provided by API Advisor in one of the linked posts in my email.