You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by GitBox <gi...@apache.org> on 2019/09/23 16:20:57 UTC

[GitHub] [airflow] mschickensoup commented on a change in pull request #6170: [AIRFLOW-4971][Don't merge] Add Google Display & Video 360 integration

mschickensoup commented on a change in pull request #6170: [AIRFLOW-4971][Don't merge] Add Google Display & Video 360 integration
URL: https://github.com/apache/airflow/pull/6170#discussion_r327207862
 
 

 ##########
 File path: docs/howto/operator/gcp/display_video.rst
 ##########
 @@ -0,0 +1,122 @@
+ .. Licensed to the Apache Software Foundation (ASF) under one
+    or more contributor license agreements.  See the NOTICE file
+    distributed with this work for additional information
+    regarding copyright ownership.  The ASF licenses this file
+    to you under the Apache License, Version 2.0 (the
+    "License"); you may not use this file except in compliance
+    with the License.  You may obtain a copy of the License at
+
+ ..   http://www.apache.org/licenses/LICENSE-2.0
+
+ .. Unless required by applicable law or agreed to in writing,
+    software distributed under the License is distributed on an
+    "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+    KIND, either express or implied.  See the License for the
+    specific language governing permissions and limitations
+    under the License.
+
+Google Display & Video 360 Operators
+=======================================
+Display & Video 360 has the end-to-end campaign management features you need. For more
+information check `Google Display & Video 360 <https://marketingplatform.google.com/about/display-video-360/>`__
+
+
+.. contents::
+  :depth: 1
+  :local:
+
+Prerequisite Tasks
+^^^^^^^^^^^^^^^^^^
+
+.. include:: _partials/prerequisite_tasks.rst
+
+.. _howto/operator:GoogleDisplayVideo360CreateReportOperator:
+
+Creating a report
+^^^^^^^^^^^^^^^^^
+
+To create Display&Video 360 report you can use
+:class:`~airflow.gcp.operators.display_video.GoogleDisplayVideo360CreateReportOperator`.
+
+.. exampleinclude:: ../../../../airflow/gcp/example_dags/example_display_video.py
+    :language: python
+    :dedent: 4
+    :start-after: [START howto_google_display_video_createquery_report_operator]
+    :end-before: [END howto_google_display_video_createquery_report_operator]
+
+You can use :ref:`Jinja templating <jinja-templating>` with
+:template-fields:`airflow.gcp.operators.display_video.GoogleDisplayVideo360CreateReportOperator`
+parameters which allows you to dynamically determine values.
+The result is saved to :ref:`XCom <concepts:xcom>`, which allows it to be used by other operators.
 
 Review comment:
   ```suggestion
   The result is saved to :ref:`XCom <concepts:xcom>`, which allows the result to be used by other operators.
   ```

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services