Using js-genai with googleapis.com

TypeScript integration

✓ Official SDK
Install
npm install js-genai
Quick start
import Js_genai from 'js-genai';

const client = new Js_genai({ accessToken: "YOUR_ACCESS_TOKEN" });
Polls for the status of a report request.
curl \
  -H "Authorization: Bearer $ACCESS_TOKEN" \
  https://doubleclicksearch.googleapis.com/doubleclicksearch/v2/reports/{reportId}
Retrieves a list of conversions from a DoubleClick Search engine account.
curl \
  -H "Authorization: Bearer $ACCESS_TOKEN" \
  https://doubleclicksearch.googleapis.com/doubleclicksearch/v2/customer/{customerId}/conversion
Downloads a report file encoded in UTF-8.
curl \
  -H "Authorization: Bearer $ACCESS_TOKEN" \
  https://doubleclicksearch.googleapis.com/doubleclicksearch/v2/reports/{reportId}/files/{reportFragment}
SDK on GitHub 📄 API Docs
SDK
js-genai
TypeScript
API
googleapis.com
googleapis.com:doubleclicksearch
At a glance
Language TypeScript
Endpoints11
Base URLhttps://doubleclicksearch.googleapis.com
✓ Official