brendanhay / gogol

A comprehensive Google Services SDK for Haskell.
Other
282 stars 105 forks source link

Google Ads API #130

Closed JuanGalilea closed 2 years ago

JuanGalilea commented 5 years ago

Is there a way to get the new Google Ads API included here?

I've read the issue about adwords but since the have changed the inner workings of the API maybe its possible now?

I couldn't find it in the google service discovery list but maybe i'm doing it wrong

brendanhay commented 2 years ago

You can find the (periodically) synched list of available definitions from service discovery here: https://github.com/brendanhay/gogol/tree/main/configs/models

If the model you want to generate bindings for exists, then a configuration needs to be added to: https://github.com/brendanhay/gogol/tree/main/configs/services. You can check the README for a minimal example.

Unfortunately at first glance I don't think the Ads API is actually part of service discovery and is provided as separate bespoke libraries, such as the Python client library.