Skip to content

Latest commit

 

History

History
44 lines (30 loc) · 1.09 KB

README.md

File metadata and controls

44 lines (30 loc) · 1.09 KB

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: [email protected]: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/