diff --git a/pinterest/ads/campaigns.py b/pinterest/ads/campaigns.py index a67c25f..a41e120 100644 --- a/pinterest/ads/campaigns.py +++ b/pinterest/ads/campaigns.py @@ -376,11 +376,11 @@ def set_lifetime_budget(self, new_spend_cap:int) -> bool: """ api_response = self._generated_api.campaigns_update( ad_account_id=self._ad_account_id, - campaign_update_request=CampaignUpdateRequest( + campaign_update_request=[CampaignUpdateRequest( id=self._id, ad_account_id=self._ad_account_id, lifetime_spend_cap=new_spend_cap - ) + )] ) verify_api_response(api_response)