Skip to main content

Gcp/admob

@swamp/gcp/admobv2026.10.13.1· 1d agoBEHAVIORS
01README

Google Cloud admob infrastructure models

02Release Notes
  • Updated: accounts, accounts_adunits, accounts_apps
03Behaviors3
@swamp/gcp/admob/accountsv2026.10.13.1accounts.ts

Global Arguments

ArgumentTypeDescription
namestringInstance name for this resource (used as the unique identifier in the factory pattern)
accessToken?stringGCP OAuth2 access token; overrides GCP_ACCESS_TOKEN environment variable. Wire with a vault.get(...) expression to source it from a vault.
credentialsJson?stringGCP service account JSON credentials; overrides GOOGLE_APPLICATION_CREDENTIALS_JSON environment variable. Wire with a vault.get(...) expression to source it from a vault.
project?stringGCP project ID; overrides GCP_PROJECT / GOOGLE_CLOUD_PROJECT environment variables.
scopes?stringComma-separated OAuth scopes to request when minting access tokens via gcloud. Defaults to the API's Discovery Document scopes.
quotaProject?stringGCP project ID for quota and billing attribution; sets the x-goog-user-project header. Overrides GOOGLE_CLOUD_QUOTA_PROJECT environment variable. Required for APIs like Cloud Identity when using user credentials.
apiEndpoint?stringCustom API endpoint for emulators; overrides GCP_API_ENDPOINT environment variable. Defaults to the service's production URL.
fn get(identifier: string)
Get a accounts
ArgumentTypeDescription
identifierstringThe name of the accounts
fn sync(identifier?: string)
Sync accounts state from GCP
ArgumentTypeDescription
identifier?stringTarget a specific accounts by name (e.g. one discovered by list)
fn list(pageSize?: number, maxPages?: number)
List accounts resources
ArgumentTypeDescription
pageSize?numberMaximum number of accounts to return.
maxPages?numberMaximum number of pages to fetch (default: 10)

Resources

state(infinite)— A publisher account contains information relevant to the use of this API, suc...
@swamp/gcp/admob/accounts-adunitsv2026.10.13.1accounts_adunits.ts

Global Arguments

ArgumentTypeDescription
namestringInstance name for this resource (used as the unique identifier in the factory pattern)
accessToken?stringGCP OAuth2 access token; overrides GCP_ACCESS_TOKEN environment variable. Wire with a vault.get(...) expression to source it from a vault.
credentialsJson?stringGCP service account JSON credentials; overrides GOOGLE_APPLICATION_CREDENTIALS_JSON environment variable. Wire with a vault.get(...) expression to source it from a vault.
project?stringGCP project ID; overrides GCP_PROJECT / GOOGLE_CLOUD_PROJECT environment variables.
scopes?stringComma-separated OAuth scopes to request when minting access tokens via gcloud. Defaults to the API's Discovery Document scopes.
quotaProject?stringGCP project ID for quota and billing attribution; sets the x-goog-user-project header. Overrides GOOGLE_CLOUD_QUOTA_PROJECT environment variable. Required for APIs like Cloud Identity when using user credentials.
apiEndpoint?stringCustom API endpoint for emulators; overrides GCP_API_ENDPOINT environment variable. Defaults to the service's production URL.
parent?stringThe parent resource name (e.g., projects/my-project/locations/us-central1, organizations/123, folders/456)
fn get(identifier: string)
Get a adUnits
ArgumentTypeDescription
identifierstringThe name of the adUnits
fn sync(identifier?: string)
Sync adUnits state from GCP
ArgumentTypeDescription
identifier?stringTarget a specific adUnits by name (e.g. one discovered by list)
fn list(pageSize?: number, maxPages?: number)
List adUnits resources
ArgumentTypeDescription
pageSize?numberThe maximum number of ad units to return. If unspecified or 0, at most 10,000 ad units will be returned. The maximum value is 20,000; values above 20,000 will be coerced to 20,000.
maxPages?numberMaximum number of pages to fetch (default: 10)

Resources

state(infinite)— Describes an AdMob ad unit.
@swamp/gcp/admob/accounts-appsv2026.10.13.1accounts_apps.ts

Global Arguments

ArgumentTypeDescription
namestringInstance name for this resource (used as the unique identifier in the factory pattern)
accessToken?stringGCP OAuth2 access token; overrides GCP_ACCESS_TOKEN environment variable. Wire with a vault.get(...) expression to source it from a vault.
credentialsJson?stringGCP service account JSON credentials; overrides GOOGLE_APPLICATION_CREDENTIALS_JSON environment variable. Wire with a vault.get(...) expression to source it from a vault.
project?stringGCP project ID; overrides GCP_PROJECT / GOOGLE_CLOUD_PROJECT environment variables.
scopes?stringComma-separated OAuth scopes to request when minting access tokens via gcloud. Defaults to the API's Discovery Document scopes.
quotaProject?stringGCP project ID for quota and billing attribution; sets the x-goog-user-project header. Overrides GOOGLE_CLOUD_QUOTA_PROJECT environment variable. Required for APIs like Cloud Identity when using user credentials.
apiEndpoint?stringCustom API endpoint for emulators; overrides GCP_API_ENDPOINT environment variable. Defaults to the service's production URL.
parent?stringThe parent resource name (e.g., projects/my-project/locations/us-central1, organizations/123, folders/456)
fn get(identifier: string)
Get a apps
ArgumentTypeDescription
identifierstringThe name of the apps
fn sync(identifier?: string)
Sync apps state from GCP
ArgumentTypeDescription
identifier?stringTarget a specific apps by name (e.g. one discovered by list)
fn list(pageSize?: number, maxPages?: number)
List apps resources
ArgumentTypeDescription
pageSize?numberThe maximum number of apps to return. If unspecified or 0, at most 10,000 apps will be returned. The maximum value is 20,000; values above 20,000 will be coerced to 20,000.
maxPages?numberMaximum number of pages to fetch (default: 10)

Resources

state(infinite)— Describes an AdMob app for a specific platform (For example: Android or iOS).
04Previous Versions19
2026.08.12.2
  • Updated: accounts, accounts_adunits, accounts_apps
2026.07.29.1
  • Updated: accounts, accounts_adunits, accounts_apps
2026.07.21.2
  • Updated: accounts, accounts_adunits, accounts_apps
2026.07.20.1
  • Updated: accounts, accounts_adunits, accounts_apps
2026.07.19.1
  • Updated: accounts, accounts_adunits, accounts_apps
2026.07.18.1
  • Updated: accounts, accounts_adunits, accounts_apps
2026.06.08.2
  • Updated: accounts, accounts_adunits, accounts_apps
2026.06.07.1
  • Updated: accounts, accounts_adunits, accounts_apps
2026.05.25.2
  • Updated: accounts

Modified 3 behaviors

2026.05.24.1
  • Updated: accounts, accounts_adunits, accounts_apps
2026.05.21.2
  • Updated: accounts, accounts_adunits, accounts_apps
2026.05.21.1
2026.05.19.2
2026.05.19.1
2026.04.23.1
2026.04.03.3
  • Updated: accounts, accounts_adunits, accounts_apps
2026.04.03.1
  • Updated: accounts, accounts_adunits, accounts_apps
2026.04.02.2
2026.03.27.1
  • Added: accounts, accounts_adunits, accounts_apps
05Stats
A
93 / 100
Downloads
17
Archive size
20.5 KB
Verified by Swamp
  • Has README or module doc2/2earned
  • README has a code example1/1earned
  • README is substantive1/1earned
  • Most symbols documented1/1earned
  • No slow types (deprecated)1/1earned
  • Dependencies pass trust audit2/2earned
  • Has description1/1earned
  • Platform support declared (or universal)2/2earned
  • License1/2partial

    no SPDX license declared

  • Verified public repository2/2earned
06Platforms
07Labels