Using go-genai with googleapis.com

Go integration

✓ Official SDK
Install
go get github.com/googleapis/go-genai
Quick start
import "go-genai"

// Initialize client
client := go-genai.NewClient("YOUR_ACCESS_TOKEN")
Retrieves the requested filter set for the account with the given account ID.
curl \
  -H "Authorization: Bearer $ACCESS_TOKEN" \
  https://adexchangebuyer.googleapis.com/v2beta1/{name}
Lists all filter sets for the account with the given account ID.
curl \
  -H "Authorization: Bearer $ACCESS_TOKEN" \
  https://adexchangebuyer.googleapis.com/v2beta1/{ownerName}/filterSets
Lists all metrics that are measured in terms of number of bids.
curl \
  -H "Authorization: Bearer $ACCESS_TOKEN" \
  https://adexchangebuyer.googleapis.com/v2beta1/{filterSetName}/bidMetrics
SDK on GitHub 📄 API Docs
SDK
go-genai
Go
API
googleapis.com
googleapis.com:adexchangebuyer2
At a glance
Language Go
Endpoints50
Base URLhttps://adexchangebuyer.googleapis.com
✓ Official