google-ads-pb

module
v1.0.11 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 21, 2022 License: Apache-2.0

README

google-ads-pb

You can use the golang library to interact with the Google Ads API across grpc. This library is not the official Google Ads API library.

Generated from googleapis/ads/v10

Installation

$ go get -d github.com/robertbakker/google-ads-pb

Usage

main.go contains some example functions. It works with environment variables:

export GOOGLE_CLIENT_ID=<your client id>
export GOOGLE_CLIENT_SECRET=<your client secret>
export GOOGLE_DEVELOPER_TOKEN=<your developer token>
export GOOGLE_ACCESS_TOKEN=<your access token>
export GOOGLE_REFRESH_TOKEN=<your refresh token>

You can run the example functions with:

$ go run main.go

It will output the result to stdout:

# output example 1: list accessible Google Ads accounts
ResourceName: customers/1231231234

# output example 2: get a Google Ads account information
test-google-account-name

# output example 3: search all campaigns
customers/1231234/campaigns/12341234123

See main.go and examples for more details.

Documentation

Documentation is in progress. Welcome to contribute!

Directories

Path Synopsis
Package clients is an auto-generated package for the Google Ads API.
Package clients is an auto-generated package for the Google Ads API.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL