Hello,
The recommendation resource name is of the form "customers/{customer_id}/recommendations/{recommendation_id}", so to run the example you would need to extract the recommendation_id from the resource name, so that the code example can reconstruct the resource name using its components. In your app, where you write the code, you can omit this step and just use the resource name directly with no additional manipulation, or you can customize the example to accept a resource name directly instead.
It looks like you may have already tried this, however, and filed an issue on GitHub. I will follow up with the owner of that library to see if I can get a response for you.
As for your other question regarding RMF, from the RMF page, towards the top, you can find the sentence:
My team cannot assist with RMF inquiries, so I would suggest that you reach out via that link.
Regards,
Mike, Google Ads API Team
ref:_00D1U1174p._5004Q2i11iN:ref