'Is there any API to create segment and add tags in Google Ads?

I have an application in which I want to authorize the Google ads account and after that want to create the segment for website visitors with the specific tags, using the Google Ads API. But I am not able to find the exact API to create a segment. Please let me know if anyone has any ideas.



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source