Hi Mahir,
You can update the bid of a keyword using AdGroupCriterionService. Please refer to this example in Java for more details. Same example is available in other client libraries as well. If you would like to update bid for multiple keywords, you may use the BatchJobService to group multiple operations into a single request. Our Batch Processing Guide has details and code snippets on how to get started with BatchJobService.
Since you mentioned about rate 5%, if what you want to set is Bid modifiers, it can be applied at the campaign and ad group level, and it cannot be added for individual keywords. You need to group keywords into ad groups for which you want to apply the same modifier and apply bid modifiers at the ad group level for different platforms as needed.
Please let me know if you have further clarifications.
Regards,
Hiroyuki
Google Ads API Team
Hi Mahir,
You may use AdGroupCriterionService to update bidModifier of BiddableAdGroupCriterion using with specifying the criterion Keyword. Also, if you wish to process these in bulk, you may use the BatchJobService as AdGroupCriterionOperation is supported by this service.
With regard to the sample, unfortunately, we don't have the exact sample code that you are looking for. With this, I would recommend you to reach out to the owners of the client library which you are using.
Please let me know if you have further clarifications.
Regards,
Hiroyuki
Google Ads API Team