Skip to content

Update adsense.gs for adsense v2. #225

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Sep 29, 2021

Conversation

malcolmr
Copy link
Contributor

This updates the sample code to use v2 of the AdSense Management API rather than deprecated-and-soon-to-be-removed v1.4, including adding a new sample to list accounts (the v1.4 API picked an account if one was not specified; v2 requires the account to be specified explicitly).

This also modernizes some of the JavaScript used here, and formats the code using semistandard.

This updates the sample code to use v2 of the AdSense Management API
rather than deprecated-and-soon-to-be-removed v1.4, including adding a
new sample to list accounts (the v1.4 API picked an account if one was
not specified; v2 requires the account to be specified explicitly).

This also modernizes some of the JavaScript used here, and formats the
code using semistandard.
@sqrrrl sqrrrl merged commit a5e719d into googleworkspace:master Sep 29, 2021
brentchang pushed a commit to brentchang/apps-script-samples that referenced this pull request Dec 3, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants