From a096e69059fe6f41d39c6e8019c931a5bf91b241 Mon Sep 17 00:00:00 2001 From: leollon <7395833+leollon@users.noreply.github.com> Date: Fri, 15 Nov 2024 15:56:27 +0800 Subject: [PATCH] rename update_ad_groups to edit_ad_groups --- ad_api/api/sb/ad_groups_v4.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ad_api/api/sb/ad_groups_v4.py b/ad_api/api/sb/ad_groups_v4.py index a0bf6b4..7e0dff0 100644 --- a/ad_api/api/sb/ad_groups_v4.py +++ b/ad_api/api/sb/ad_groups_v4.py @@ -27,7 +27,7 @@ def create_ad_groups(self, version: int = 4, **kwargs) -> ApiResponse: return self._request(kwargs.pop('path'), data=Utils.convert_body(kwargs.pop('body'), False), params=kwargs, headers=headers) @sp_endpoint('/sb/v4/adGroups', method='PUT') - def update_ad_groups(self, version: int = 4, **kwargs) -> ApiResponse: + def edit_ad_groups(self, version: int = 4, **kwargs) -> ApiResponse: """ Update Sponsored Brand Ad groups.