airflow.providers.google.marketing_platform.operators.display_video¶
This module contains Google DisplayVideo operators.
Classes¶
Creates an SDF operation task. |
|
Download SDF media and save it in the Google Cloud Storage. |
Module Contents¶
- class airflow.providers.google.marketing_platform.operators.display_video.GoogleDisplayVideo360CreateSDFDownloadTaskOperator(*, body_request, api_version='v4', gcp_conn_id='google_cloud_default', impersonation_chain=None, **kwargs)[source]¶
Bases:
airflow.providers.google.version_compat.BaseOperatorCreates an SDF operation task.
See also
For more information on how to use this operator, take a look at the guide: Create SDF download task
See also
Check also the official API docs: https://developers.google.com/display-video/api/reference/rest
- Parameters:
version – The SDF version of the downloaded file.
partner_id – The ID of the partner to download SDF for.
advertiser_id – The ID of the advertiser to download SDF for.
parent_entity_filter – Filters on selected file types.
id_filter – Filters on entities by their entity IDs.
inventory_source_filter – Filters on Inventory Sources by their IDs.
gcp_conn_id (str) – The connection ID to use when fetching connection info.
impersonation_chain (str | collections.abc.Sequence[str] | None) – Optional service account to impersonate using short-term credentials, or chained list of accounts required to get the access_token of the last account in the list, which will be impersonated in the request. If set as a string, the account must grant the originating account the Service Account Token Creator IAM role. If set as a sequence, the identities from the list must grant Service Account Token Creator IAM role to the directly preceding identity, with first account from the list granting this role to the originating account (templated).
- template_fields: collections.abc.Sequence[str] = ('body_request', 'impersonation_chain')[source]¶
- class airflow.providers.google.marketing_platform.operators.display_video.GoogleDisplayVideo360SDFtoGCSOperator(*, operation_name, bucket_name, object_name, gzip=False, api_version='v4', gcp_conn_id='google_cloud_default', impersonation_chain=None, **kwargs)[source]¶
Bases:
airflow.providers.google.version_compat.BaseOperatorDownload SDF media and save it in the Google Cloud Storage.
See also
For more information on how to use this operator, take a look at the guide: Save SDF files in the Google Cloud Storage
See also
Check also the official API docs: https://developers.google.com/display-video/api/reference/rest
- Parameters:
version – The SDF version of the downloaded file.
partner_id – The ID of the partner to download SDF for.
advertiser_id – The ID of the advertiser to download SDF for.
parent_entity_filter – Filters on selected file types.
id_filter – Filters on entities by their entity IDs.
inventory_source_filter – Filters on Inventory Sources by their IDs.
gcp_conn_id (str) – The connection ID to use when fetching connection info.
impersonation_chain (str | collections.abc.Sequence[str] | None) – Optional service account to impersonate using short-term credentials, or chained list of accounts required to get the access_token of the last account in the list, which will be impersonated in the request. If set as a string, the account must grant the originating account the Service Account Token Creator IAM role. If set as a sequence, the identities from the list must grant Service Account Token Creator IAM role to the directly preceding identity, with first account from the list granting this role to the originating account (templated).
- template_fields: collections.abc.Sequence[str] = ('operation_name', 'bucket_name', 'object_name', 'impersonation_chain')[source]¶