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")
Gets information about the specified AdMob publisher account.
curl \
  -H "Authorization: Bearer $ACCESS_TOKEN" \
  https://admob.googleapis.com/v1beta/{name}
Lists the AdMob publisher account that was most recently signed in to from th…
curl \
  -H "Authorization: Bearer $ACCESS_TOKEN" \
  https://admob.googleapis.com/v1beta/accounts
List the apps under the specified AdMob account.
curl \
  -H "Authorization: Bearer $ACCESS_TOKEN" \
  https://admob.googleapis.com/v1beta/{parent}/apps
SDK on GitHub 📄 API Docs
SDK
go-genai
Go
API
googleapis.com
googleapis.com:admob
At a glance
Language Go
Endpoints7
Base URLhttps://admob.googleapis.com
✓ Official