docstr: Inserts a conversion event into your GA4 property.
  
  Args:
      query (ast.Insert): SQL query to parse.
docstr_tok: ["Inserts","a","conversion","event","into","your","GA4","property",".","Args",":","query","(","ast.Insert",")",":","SQL","query","to","parse","."]
code: def insert(self, query: ast.Insert):
      """
      Inserts a conversion event into your GA4 property.
  
      Args:
          query (ast.Insert): SQL query to parse.
      """
      columns = [col.name for col in query.columns]
  
      supported_columns = {"event_name", "countingMethod"}
      if not set(columns).issubset(supported_columns):
          unsupported_columns = set(columns).difference(
              supported_columns
          )
          raise ValueError(
              "Unsupported columns for create conversion event: "
              + ", ".join(unsupported_columns)
          )
      params = {}
  
      for row in query.values:
          params = dict(zip(columns, row))
  
      # get params values of a type <Constant>
      if isinstance(params["countingMethod"], str):
          params["countingMethod"] = int(params["countingMethod"])
      elif isinstance(params["countingMethod"], Constant):
          params["countingMethod"] = params["countingMethod"].value
      else:
          params["countingMethod"] = params["countingMethod"]
  
      if isinstance(params["event_name"], Constant):
          params["event_name"] = params["event_name"].value
      else:
          params["event_name"] = params["event_name"]
  
      # Insert the conversion event into the Google Analytics Admin API.
      conversion_events = pd.DataFrame(columns=self.get_columns())
      result = self.create_conversion_event(params=params)
      conversion_events_data = self.extract_conversion_events_data(
          [result]
      )
      self.concat_dataframes(conversion_events, conversion_events_data)
  
file_path: mindsdb/mindsdb/integrations/handlers/google_analytics_handler/google_analytics_tables.py
imports: import pandas
  from typing import List
  from google.analytics.admin_v1beta import ListConversionEventsRequest, ConversionEvent, CreateConversionEventRequest, UpdateConversionEventRequest, DeleteConversionEventRequest
  from mindsdb_sql import Constant
  from mindsdb_sql.parser import ast
  from mindsdb.integrations.libs.api_handler import APITable
  from mindsdb.integrations.utilities.sql_utils import extract_comparison_conditions
label_desc: Use image node_id 2 for calling the ConversionEventsTable obj's underlying member method code with example usage: obj.insert(query) without return types