Skip to content

How to get video orientation for assets

Video orientation data is not readily available in Google Ads API but can be fetched with YouTube Data API.

In order to get this data for App Reporting Pack do the following:

  • Enable YouTube Data API
  • API key to access to YouTube Data API.
  • Once you created API key export it as an environmental variable

    export GOOGLE_API_KEY=<YOUR_API_KEY_HERE>
    

Important

During Google Cloud installation of App Reporting Pack this API is created automatically.