class_docstr: A class for handling connections and interactions with the Google Content API for Shopping.
class_docstr_tok: ["A","class","for","handling","connections","and","interactions","with","the","Google","Content","API","for","Shopping","."]
docstr: Call Google Search API and map the data to pandas DataFrame
  Args:
      method_name (str): method name
      params (dict): query parameters
  Returns:
      DataFrame
docstr_tok: ["Call","Google","Search","API","and","map","the","data","to","pandas","DataFrame","Args",":","method_name","(","str",")",":","method","name","params","(","dict",")",":","query","parameters","Returns",":","DataFrame"]
code: def call_application_api(
      self, method_name: str = None, params: dict = None
  ) -> DataFrame:
      """
      Call Google Search API and map the data to pandas DataFrame
      Args:
          method_name (str): method name
          params (dict): query parameters
      Returns:
          DataFrame
      """
      if method_name == "get_accounts":
          return self.get_accounts(params)
      elif method_name == "delete_accounts":
          return self.delete_accounts(params)
      elif method_name == "get_orders":
          return self.get_orders(params)
      elif method_name == "delete_orders":
          return self.delete_orders(params)
      elif method_name == "get_products":
          return self.get_products(params)
      elif method_name == "update_products":
          return self.update_products(params)
      elif method_name == "delete_products":
          return self.delete_products(params)
      else:
          raise NotImplementedError(f"Unknown method {method_name}")
  
imports: import json
  from collections import OrderedDict
  from mindsdb.integrations.libs.const import HANDLER_CONNECTION_ARG_TYPE
  import pandas
  from pandas import DataFrame
  from google.auth.transport.requests import Request
  from google.oauth2 import service_account
  from google.oauth2.credentials import Credentials
  from googleapiclient.discovery import build
  from mindsdb.api.executor.data_types.response_type import RESPONSE_TYPE
  from .google_content_shopping_tables import AccountsTable, OrdersTable, ProductsTable
  from mindsdb.integrations.libs.api_handler import APIHandler, FuncParser
  from mindsdb.integrations.libs.response import HandlerStatusResponse, HandlerResponse
  from mindsdb.utilities import log
label_desc: Use image node_id 12 for calling the GoogleContentShoppingHandler obj's underlying member method code with example usage: obj.call_application_api(method_name, params) and returns: self, self, self, self, self, self, self