google-ads-pb

command module
v1.1.1 Latest Latest
Warning

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

Go to latest
Published: Feb 11, 2022 License: Apache-2.0 Imports: 5 Imported by: 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/shenzhencenter/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!

Documentation

The Go Gopher

There is no documentation for this package.

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