Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
[![PyPI version](https://badge.fury.io/py/google-ads-stubs.svg)](https://badge.fury.io/py/google-ads-stubs)

This package provides type stubs for the [Google Ads API Client Library for Python](https://github.com/googleads/google-ads-python).
It's currently compatible with v29.0.0 of this library (v23.0 of the API). It allows you to type check usage of the library with e.g. [mypy](http://mypy-lang.org/) and will also improve autocomplete in many editors.
It's currently compatible with v29.1.0 of this library (v23.0 of the API). It allows you to type check usage of the library with e.g. [mypy](http://mypy-lang.org/) and will also improve autocomplete in many editors.

**This is in no way affiliated with Google.**

Expand Down
2 changes: 2 additions & 0 deletions google-stubs/ads/googleads/client.pyi
Original file line number Diff line number Diff line change
Expand Up @@ -1275,6 +1275,7 @@ class GoogleAdsClient:
http_proxy: str | None
use_proto_plus: bool
enums: _EnumGetter
gaada: str | None
@classmethod
def copy_from(
cls,
Expand Down Expand Up @@ -1307,6 +1308,7 @@ class GoogleAdsClient:
http_proxy: str | None = None,
use_proto_plus: bool = False,
use_cloud_org_for_api_access: bool | None = None,
gaada: str | None = None,
) -> None: ...
# Autogenerated get_type overload
def get_type(cls, name: str, version: _V = "v23") -> Any: ...
Expand Down
1 change: 1 addition & 0 deletions google-stubs/ads/googleads/config.pyi
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ class _ConfigDataOptional(TypedDict, total=False):
endpoint: str
http_proxy: str
use_cloud_org_for_api_access: bool
gaada: str

class _ConfigDataParsedOptional(_ConfigDataOptional, total=False):
login_customer_id: str
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -33,13 +33,15 @@ class MetadataInterceptor(
developer_token_meta: tuple[str, str] = ...
login_customer_id_meta: tuple[str, str] | None = ...
linked_customer_id_meta: tuple[str, str] | None = ...
gaada: str | None = ...
use_cloud_org_for_api_access: bool | None = ...
def __init__(
self,
developer_token: str,
login_customer_id: str,
linked_customer_id: str | None = None,
use_cloud_org_for_api_access: bool | None = None,
gaada: str | None = None,
) -> None: ...
def intercept_unary_unary(
self,
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ classifiers = [
"Typing :: Stubs Only",
]
dependencies = [
"google-ads>=29.0.0",
"google-ads>=29.1.0",
"google-auth-stubs>=0.1.0",
"googleapis-common-protos-stubs>=2.0.0",
"grpc-stubs>=1.24.7",
Expand Down
Loading
Loading