| :py:mod:`airflow.providers.google.marketing_platform.hooks.search_ads` |
| ====================================================================== |
| |
| .. py:module:: airflow.providers.google.marketing_platform.hooks.search_ads |
| |
| .. autoapi-nested-parse:: |
| |
| This module contains Google Search Ads 360 hook. |
| |
| |
| |
| Module Contents |
| --------------- |
| |
| Classes |
| ~~~~~~~ |
| |
| .. autoapisummary:: |
| |
| airflow.providers.google.marketing_platform.hooks.search_ads.GoogleSearchAdsHook |
| |
| |
| |
| |
| .. py:class:: GoogleSearchAdsHook(api_version = 'v2', gcp_conn_id = 'google_cloud_default', delegate_to = None, impersonation_chain = None) |
| |
| Bases: :py:obj:`airflow.providers.google.common.hooks.base_google.GoogleBaseHook` |
| |
| Hook for Google Search Ads 360. |
| |
| .. py:method:: get_conn() |
| |
| Retrieves connection to Google SearchAds. |
| |
| |
| .. py:method:: insert_report(report) |
| |
| Inserts a report request into the reporting system. |
| |
| :param report: Report to be generated. |
| |
| |
| .. py:method:: get(report_id) |
| |
| Polls for the status of a report request. |
| |
| :param report_id: ID of the report request being polled. |
| |
| |
| .. py:method:: get_file(report_fragment, report_id) |
| |
| Downloads a report file encoded in UTF-8. |
| |
| :param report_fragment: The index of the report fragment to download. |
| :param report_id: ID of the report. |
| |
| |
| |