GoogleAds
TODO: Add description
Installation
If available in Hex, the package can be installed
by adding google_ads
to your list of dependencies in mix.exs
:
def deps do
[
{:google_ads, "~> 0.2.0"}
]
end
Documentation can be generated with ExDoc and published on HexDocs. Once published, the docs can be found at https://hexdocs.pm/google_ads.
Elixir protobuf generation
- version v5 is not supported due to optional proto fields not being supported in proto-buf-elixir plugin
Install protoc tool (OSX)
brew install protobuf
Download proto files definitions: git@github.com:googleapis/googleapis.git
install plugin proto-buf-elixir
mix escript.install hex protobuf 0.8.1-beta
generate from google definitions
protoc --elixir_out=plugins=grpc:/Users/kbojcic/Desktop/proto $(find /Users/kbojcic/dev/vbt/googleapis/google/ads/googleads/v4 -iname "*.proto") --proto_path=/Users/kbojcic/dev/vbt/googleapis/