airflow.providers.google.marketing_platform.hooks.display_video¶
This module contains Google DisplayVideo hook.
Classes¶
Hook for Google Display & Video 360. |
Module Contents¶
- class airflow.providers.google.marketing_platform.hooks.display_video.GoogleDisplayVideo360Hook(api_version='v4', gcp_conn_id='google_cloud_default', impersonation_chain=None, **kwargs)[source]¶
Bases:
airflow.providers.google.common.hooks.base_google.GoogleBaseHookHook for Google Display & Video 360.
- static erf_uri(partner_id, entity_type)[source]¶
Return URI for all Entity Read Files in bucket.
For example, if you were generating a file name to retrieve the entity read file for partner 123 accessing the line_item table from April 2, 2013, your filename would look something like this: gdbm-123/entity/20130402.0.LineItem.json
More information: https://developers.google.com/bid-manager/guides/entity-read/overview
:param partner_id The numeric ID of your Partner. :param entity_type: The type of file Partner, Advertiser, InsertionOrder, LineItem, Creative, Pixel, InventorySource, UserList, UniversalChannel, and summary.
- create_sdf_download_operation(body_request)[source]¶
Create an SDF Download Task and Returns an Operation.
More information about body request can be found here: https://developers.google.com/display-video/api/reference/rest/v1/sdfdownloadtasks/create