Skip to content

Update stale v21 API references to v24#61

Merged
Raibaz merged 1 commit intogoogleads:mainfrom
ZLeventer:fix/api-version-v21-to-v24
Apr 24, 2026
Merged

Update stale v21 API references to v24#61
Raibaz merged 1 commit intogoogleads:mainfrom
ZLeventer:fix/api-version-v21-to-v24

Conversation

@ZLeventer
Copy link
Copy Markdown
Contributor

Summary

  • Update core.py import from google.ads.googleads.v21 to v24 to match the rest of the codebase (utils.py, test files)
  • Update README API reference link from v21 to v24

Details

utils.py:23 and both test files import from v24, but tools/core.py:22 still imports ListAccessibleCustomersResponse from v21. The README link on line 10 also pointed to the v21 reference docs.

The pyproject.toml requires google-ads>=30.1.0, which ships v24.

Test plan

  • Existing unit tests pass (nox -s tests)
  • list_accessible_customers tool still works against a live account

@google-cla
Copy link
Copy Markdown

google-cla Bot commented Apr 24, 2026

Thanks for your pull request! It looks like this may be your first contribution to a Google open source project. Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA).

View this failed invocation of the CLA check for more information.

For the most up to date status, view the checks section at the bottom of the pull request.

@ZLeventer
Copy link
Copy Markdown
Contributor Author

I have signed the CLA.

core.py imports from `google.ads.googleads.v21` while the rest of the
codebase (utils.py, tests) uses v24. The README API reference link
also pointed to v21. Align both to v24.
@ZLeventer ZLeventer force-pushed the fix/api-version-v21-to-v24 branch from 5e58ec9 to a674232 Compare April 24, 2026 01:33
@Raibaz Raibaz self-requested a review April 24, 2026 06:36
@Raibaz Raibaz merged commit b71f3fe into googleads:main Apr 24, 2026
8 checks passed
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