Skip to main content

@swamp/gcp/adsense

v2026.04.23.1

Google Cloud adsense infrastructure models

Repository

https://github.com/systeminit/swamp-extensions

Labels

gcpgoogle-cloudadsensecloudinfrastructure

Contents

Quality score

Verified by Swamp

How well-documented and verifiable this extension is.

100%

Grade A

  • Has README or module doc2/2earned
  • README has a code example1/1earned
  • README is substantive1/1earned
  • Most symbols documented1/1earned
  • No slow types1/1earned
  • Has description1/1earned
  • At least one platform tag (or universal)1/1earned
  • Two or more platform tags (or universal)1/1earned
  • License declared1/1earned
  • Verified public repository2/2earned

Install

$ swamp extension pull @swamp/gcp/adsense

@swamp/gcp/adsense/accountsv2026.04.23.1accounts.ts

Global Arguments

ArgumentTypeDescription
namestringInstance name for this resource (used as the unique identifier in the factory pattern)
getGet a accounts
ArgumentTypeDescription
identifierstringThe name of the accounts
syncSync accounts state from GCP
get_ad_blocking_recovery_tagget ad blocking recovery tag
list_child_accountslist child accounts

Resources

state(infinite)— Representation of an account.
@swamp/gcp/adsense/accounts-adclientsv2026.04.23.1accounts_adclients.ts

Global Arguments

ArgumentTypeDescription
namestringInstance name for this resource (used as the unique identifier in the factory pattern)
parent?stringThe parent resource name (e.g., projects/my-project/locations/us-central1, organizations/123, folders/456)
getGet a adclients
ArgumentTypeDescription
identifierstringThe name of the adclients
syncSync adclients state from GCP
get_adcodeget adcode

Resources

state(infinite)— Representation of an ad client. An ad client represents a user's subscription...
@swamp/gcp/adsense/accounts-adclients-adunitsv2026.04.23.1accounts_adclients_adunits.ts

Global Arguments

ArgumentTypeDescription
namestringInstance name for this resource (used as the unique identifier in the factory pattern)
contentAdsSettings?objectSettings specific to content ads (AFC).
displayName?stringRequired. Display name of the ad unit, as provided when the ad unit was created.
state?enumRequired. State of the ad unit.
parent?stringThe parent resource name (e.g., projects/my-project/locations/us-central1, organizations/123, folders/456)
createCreate a adunits
ArgumentTypeDescription
waitForReady?booleanWait for the resource to reach a ready state after creation (default: true)
getGet a adunits
ArgumentTypeDescription
identifierstringThe name of the adunits
updateUpdate adunits attributes
ArgumentTypeDescription
waitForReady?booleanWait for the resource to reach a ready state after update (default: true)
syncSync adunits state from GCP
get_adcodeget adcode
list_linked_custom_channelslist linked custom channels

Resources

state(infinite)— Representation of an ad unit. An ad unit represents a saved ad unit with a sp...
@swamp/gcp/adsense/accounts-adclients-customchannelsv2026.04.23.1accounts_adclients_customchannels.ts

Global Arguments

ArgumentTypeDescription
namestringInstance name for this resource (used as the unique identifier in the factory pattern)
active?booleanWhether the custom channel is active and collecting data. See https://support.google.com/adsense/answer/10077192.
displayName?stringRequired. Display name of the custom channel.
parent?stringThe parent resource name (e.g., projects/my-project/locations/us-central1, organizations/123, folders/456)
createCreate a customchannels
getGet a customchannels
ArgumentTypeDescription
identifierstringThe name of the customchannels
updateUpdate customchannels attributes
deleteDelete the customchannels
ArgumentTypeDescription
identifierstringThe name of the customchannels
syncSync customchannels state from GCP
list_linked_ad_unitslist linked ad units

Resources

state(infinite)— Representation of a custom channel.
@swamp/gcp/adsense/accounts-adclients-urlchannelsv2026.04.23.1accounts_adclients_urlchannels.ts

Global Arguments

ArgumentTypeDescription
namestringInstance name for this resource (used as the unique identifier in the factory pattern)
parent?stringThe parent resource name (e.g., projects/my-project/locations/us-central1, organizations/123, folders/456)
getGet a urlchannels
ArgumentTypeDescription
identifierstringThe name of the urlchannels
syncSync urlchannels state from GCP

Resources

state(infinite)— Representation of a URL channel. URL channels allow you to track the performa...
@swamp/gcp/adsense/accounts-alertsv2026.04.23.1accounts_alerts.ts

Global Arguments

ArgumentTypeDescription
namestringInstance name for this resource (used as the unique identifier in the factory pattern)
parent?stringThe parent resource name (e.g., projects/my-project/locations/us-central1, organizations/123, folders/456)
getGet a alerts
ArgumentTypeDescription
identifierstringThe name of the alerts
syncSync alerts state from GCP

Resources

state(infinite)— Representation of an alert.
@swamp/gcp/adsense/accounts-paymentsv2026.04.23.1accounts_payments.ts

Global Arguments

ArgumentTypeDescription
namestringInstance name for this resource (used as the unique identifier in the factory pattern)
parent?stringThe parent resource name (e.g., projects/my-project/locations/us-central1, organizations/123, folders/456)
getGet a payments
ArgumentTypeDescription
identifierstringThe name of the payments
syncSync payments state from GCP

Resources

state(infinite)— Representation of an unpaid or paid payment. See [Payment timelines for AdSen...
@swamp/gcp/adsense/accounts-policyissuesv2026.04.23.1accounts_policyissues.ts

Global Arguments

ArgumentTypeDescription
namestringInstance name for this resource (used as the unique identifier in the factory pattern)
parent?stringThe parent resource name (e.g., projects/my-project/locations/us-central1, organizations/123, folders/456)
getGet a policyIssues
ArgumentTypeDescription
identifierstringThe name of the policyIssues
syncSync policyIssues state from GCP

Resources

state(infinite)— Representation of a policy issue for a single entity (site, site-section, or ...
@swamp/gcp/adsense/accounts-reports-savedv2026.04.23.1accounts_reports_saved.ts

Global Arguments

ArgumentTypeDescription
namestringInstance name for this resource (used as the unique identifier in the factory pattern)
parent?stringThe parent resource name (e.g., projects/my-project/locations/us-central1, organizations/123, folders/456)
getGet a saved
ArgumentTypeDescription
identifierstringThe name of the saved
syncSync saved state from GCP
generategenerate
generate_csvgenerate csv

Resources

state(infinite)— Representation of a saved report.
@swamp/gcp/adsense/accounts-sitesv2026.04.23.1accounts_sites.ts

Global Arguments

ArgumentTypeDescription
namestringInstance name for this resource (used as the unique identifier in the factory pattern)
parent?stringThe parent resource name (e.g., projects/my-project/locations/us-central1, organizations/123, folders/456)
getGet a sites
ArgumentTypeDescription
identifierstringThe name of the sites
syncSync sites state from GCP

Resources

state(infinite)— Representation of a Site.