code: def delete(self, ads_definition_id: str):
      trace_id = str(uuid.uuid4())
      ads_management_task_id = self.rc.delete_ads(
          ads_definition_id, trace_id
      )
      print(
          f"Ads management task with id {ads_management_task_id} created"
      )
  
      with Spinner():
          status_response = self.rc.poll_ads_management_task_status(
              ads_management_task_id, trace_id
          )
          while status_response["status"] not in self.FINAL_STATUSES:
              time.sleep(5)
              status_response = self.rc.poll_ads_management_task_status(
                  ads_management_task_id, trace_id
              )
  
      if status_response["status"] != "COMPLETED":
          raise Exception(
              "Failed to register ADS: "
              + status_response["errorMessage"]
          )
  
      print("ADS successfully deleted")
  
file_path: upgini/src/upgini/ads_management/ads_manager.py
imports: import time
  from typing import Dict, Optional
  import uuid
  from upgini.http import get_rest_client
  from upgini.spinner import Spinner
  import pandas
label_desc: Use image node_id 3 for calling the AdsManager obj's underlying member method code with example usage: obj.delete(ads_definition_id) without return types