CData Python Connector for Google Ads

Build 26.0.9655

CData Python Connector for Google Ads

Overview

The CData Python Connector for Google Ads allows developers to write Python scripts with connectivity to Google Ads. The connector wraps the complexity of accessing Google Ads data in an interface commonly used by Python connectors to common database systems.

Key Features

  • WHL installation packages that enable installation with "pip install".
  • Supported for Python 3.10 or newer on Windows, Linux, and macOS.
  • Write and execute SQL queries to fetch data in Google Ads.
  • Custom dialect class that enables SQLAlchemy 1.3 and 1.4 to use this connector.

Getting Started

See Getting Started to install the connector to your Python distribution and to create a basic connection to Google Ads.

Using the Python Connector/Using from Tools

See Using the Connector for examples of executing basic SELECT, INSERT, UPDATE, DELETE, and EXECUTE queries with the module's provided classes.

See Using from Tools to connect Google Ads data to tools such as Pandas or Petl.

SQLAlchemy ORM

SQLAlchemy can be leveraged to model the tables in Google Ads with mapped classes. See From SQLAlchemy for instructions for configuring the Python connector with SQLAlchemy.

Pandas

Pandas' DataFrames can be used alongside the connector to generate analytical graphics. See From Pandas for a guide.

Schema Discovery

See Schema Discovery to query the provided system tables, which allows users to discover the available tables, views, and stored procedure, alongside additional information about their columns or parameters.

Advanced Features

Advanced Features details additional features supported by the connector, such as defining user defined views, ssl configuration, remoting, caching, firewall/proxy settings, and advanced logging.

SQL Compliance

See SQL Compliance for a syntax reference and code examples outlining the supported SQL.

Data Model

See Data Model for the available database objects. This section also provides more detailed information on querying specific Google Ads entities.

Connection String Options

The Connection properties describe the various options that can be used to establish a connection.

CData Python Connector for Google Ads

Getting Started

Connecting to Google Ads

For information on the available WHL files for supported environments, and how to install the appropriate file for your Python distribution, see Package Installation.

For information on the module to import, and how to configure the necessary connection properties in a connection string, see Establishing a Connection.

Other available connection properties can be used to configure other aspects of the connector capabilities.

Python Version Support

The CData Python Connector for Google Ads can be installed and used in Python 3.10 or newer.

Google Ads Version Support

The connector provides a relational view of Google Ads data for your Google account or Google Apps domain. The connector includes tables containing often-used dimensions and metrics; you can customize the table schemas or write your own to combine any valid set of dimensions and metrics.

See Also

  • Using the Connector: Establish connections and query Google Ads through Python code.
  • From SQLAlchemy: Use SQLAlchemy to establish a connection with dialect URL, and interact with Google Ads data using mapped classes and Sessions.

CData Python Connector for Google Ads

Package Installation

Dependencies

The Python connectors require that Python 3.10 or newer be installed.

Installation

The CData Python Connector for Google Ads is available as a WHL file for Windows, Linux, and Mac. Each connector is built using the Python 3.10 Stable ABI (indicated by the abi3 tag in the filename), so a single wheel supports any Python 3.10 or newer installation — there is no need to match your exact Python minor version. Use the "pip install" command with the appropriate WHL file for your platform.

Windows:

pip install cdata_googleads_connector-26.0.9655-cp310-abi3-win_amd64.whl

Linux:

pip install cdata_googleads_connector-26.0.9655-cp310-abi3-linux_x86_64.whl

macOS:

pip install cdata_googleads_connector-26.0.9655-cp310-abi3-macosx_12_0_arm64.whl

The macOS wheel supports arm64 (Apple Silicon) architectures only on macOS 12 and newer.

Regardless of the environment, certain distributions might require that the "pip3 install" command be used instead, to differentiate from a Python 2 distribution that might exist already. After installation, confirm whether the connector is successfully installed by running the "pip list" command. If "cdata_googleads_connector" is present in the list output by the command, then the installation was successful.

Upgrading

When upgrading, "pip install" does not automatically clean up old JRE files. To avoid leftover files that could cause JVM errors, uninstall the previous version before installing the new one.

Licensing

After the installation is complete, a separate step is needed to activate a license for the connector. Among the CData assets in the distribution's site packages, there is an install-license tool that activates this license. From within the distribution's site-packages folder, after navigating to the "cdata/installlic_googleads" folder, simply use a command like the below to activate the license. Omitting the <key> argument activates a trial license:

  • Windows:
    ./install-license.exe <key>
  • Linux / Mac:
    ./install-license.sh <key>

Sometimes, file access issues may cause pip to install the connector in a fallback file path that is not the python distribution's main or primary site-packages location. This can make it difficult to find where the connector was installed, and from there, the license activator. In that event, this python script below will print out the full file path of the connector's native file. This file will be stored in the mentioned cdata folder, from which the installlic_googleads folder is trivial to find:

import os
import cdata.googleads
path = os.path.abspath(cdata.googleads.__file__)
print(path)

Uninstallation

If the connector needs to be uninstalled for any reason, do so by running the pip uninstall command, as in the example below:

pip uninstall cdata-googleads-connector

CData Python Connector for Google Ads

Establishing a Connection

The objects available within our connector are accessible from the "cdata.googleads" module. To use the module's objects directly:

  1. Import the module as follows:
    import cdata.googleads as mod
  2. To establish a connection string, call the connect() method from the connector object using an appropriate connection string, such as:
    mod.connect("InitiateOAuth=GETANDREFRESH;DeveloperToken=myDeveloperToken;ClientCustomerId=myClientCustomerId;")

Connecting to Google Ads

Before you can add the properties needed to authenticate, you must provide the following connection properties:

  • DeveloperToken: The account developer token.
  • ClientCustomerId: Your Google Ads customer ID. To find your ClientCustomerId, click the Help icon at the upper right corner of the Google Ads UI, then look at the bottom of the help menu.

Retrieving Data from Multiple Accounts

A common use for the driver is retrieving data from multiple customer Ids. This is useful when you have a Google Ads MCC account that includes numerous accounts/ClientCustomerIds. You can query and get data from the accounts you want by specifying CustomerId in the WHERE clause. For example:
SELECT * FROM AdGroupAd WHERE CustomerId='3333333333'
SELECT * FROM AdGroupAd WHERE CustomerId IN ('1111111111', '2222222222')

When you specify the CustomerId in WHERE clauses, the driver ignores the ClientCustomerId connection property.

Authenticating to Google Ads

All connections to Google Ads are authenticated using OAuth. The connector supports using user accounts, service accounts and GCP instance accounts for authentication.

User Accounts (OAuth/OauthPKCE)

Google Ads provides embedded OAuth credentials that simplify connection from a Desktop application or a Headless machine. To connect from a Web application, you must create a custom OAuth application, as described in Creating a Custom OAuth Application.

To connect via OAuth from all authentication flows, you must set AuthScheme to OAuth.

The following subsections describe how to authenticate to Google Ads from the available oauth flows. For information about how to create a custom OAuth application, and why you might want to create one even for auth flows that already have embedded OAuth credentials, see Creating a Custom OAuth Application.

For a complete list of connection string properties available in Google Ads, see Connection.

Desktop Applications

CData provides an embedded OAuth application that simplifies authentication at the desktop. You can also authenticate from the desktop via a custom OAuth application, which you configure and register at the Google Ads console. For further information, see Creating a Custom OAuth Application.

Before you connect, set these properties:

  • InitiateOAuth: GETANDREFRESH. Used to automatically get and refresh the OAuthAccessToken.
  • Custom OAuth applications only:
    • OAuthClientId: The client Id assigned when you registered your custom OAuth application.
    • OAuthClientSecret: The client secret assigned when you registered your custom OAuth application.
    • CallbackURL: The redirect URI defined when you registered your custom OAuth application.

When you connect, the connector opens Google Ads's OAuth endpoint in your default browser. Log in and grant permissions to the application.

After you grant permissions to the application, the connector completes the OAuth process:

  1. Obtains an access token from Google Ads and uses it to request data.
  2. Saves the OAuth values in the path specified in OAuthSettingsLocation. These values persist across connections.

When the access token expires, the connector refreshes it automatically.

Web Applications

Authenticating via the Web requires you to create and register a custom OAuth application with Google Ads, as described in Creating a Custom OAuth Application. You can then use the connector to get and manage the OAuth token values.

This section describes how to get the OAuth access token, how to have the driver refresh the OAuth access token automatically, and how to refresh the OAuth access token manually.

Get the OAuth access token:

  1. To obtain the OAuthAccessToken, set these connection properties:
    • OAuthClientId: The client Id in your custom OAuth application settings.
    • OAuthClientSecret: The client secret in your custom OAuth application settings.

  2. Call stored procedures to complete the OAuth exchange:
    • Call the GetOAuthAuthorizationURL stored procedure. Set the AuthMode input to WEB and the CallbackURL to the Redirect URI you specified in your custom OAuth application settings. The stored procedure returns the URL to the OAuth endpoint.
    • Navigate to the URL that the stored procedure returned in Step 1. Log in and authorize the web application. You are redirected back to the callback URL.
    • Call the GetOAuthAccessToken stored procedure. Set the AuthMode input to WEB. Set the Verifier input to the code parameter in the query string of the redirect URI.

After you obtain the access and refresh tokens, you can connect to data and refresh the OAuth access token automatically.

Automatic refresh of the OAuth access token:

To have the connector automatically refresh the OAuth access token, do the following:

  1. The first time you connect to data, set these connection parameters:
  2. On subsequent data connections, set:

Manual refresh of the OAuth access token:

The only value needed to manually refresh the OAUth access token is the OAuth refresh token.

  1. To manually refresh the OAuthAccessToken after the ExpiresIn period (returned by GetOAuthAccessToken) has elapsed, call the RefreshOAuthAccessToken stored procedure.
  2. Set these connection properties:
    • OAuthClientId: The Client Id in your custom OAuth application settings.
    • OAuthClientSecret: The Client Secret in your custom OAuth application settings.

  3. Call RefreshOAuthAccessToken with OAuthRefreshToken set to the OAuth refresh token returned by GetOAuthAccessToken.
  4. After the new tokens have been retrieved, set the OAuthAccessToken property to the value returned by RefreshOAuthAccessToken. This opens a new connection.

Store the OAuth refresh token so that you can use it to manually refresh the OAuth access token after it has expired.

Headless Machines

If you need to log in to a resource that resides on a headless machine, you must authenticate on another device that has an internet browser. You can do this in either of the following ways:

  • Option 1: Obtain the OAuthVerifier value.
  • Option 2: Install the connector on a machine with an internet browser and transfer the OAuth authentication values after you authenticate through the usual browser-based flow.

After you execute either Option 1 or Option 2, configure the driver to automatically refresh the access token on the headless machine.

Option 1: Obtaining and Exchanging a Verifier Code

To obtain a verifier code, you must authenticate at the OAuth authorization URL as follows:

  1. Authenticate from the machine with an internet browser, and obtain the OAuthVerifier connection property.

    If you are using the embedded OAuth application, call the GetOAuthAuthorizationURL stored procedure. Open the URL returned by the stored procedure in a browser.

    If you are using a custom OAuth application, set these properties:

  2. Call the GetOAuthAuthorizationURL stored procedure. The stored procedure returns the CallbackURL established when the custom OAuth application was registered. (See Creating a Custom OAuth Application.)

    Copy this URL and paste it into a new browser tab.

  3. Log in and grant permissions to the connector. The OAuth application redirects you the redirect URI, with a parameter called code appended. Note the value of this parameter; you will need it later, to configure the OAuthVerifier connection property.

  4. Exchange the OAuth verifier code for OAuth refresh and access tokens. On the headless machine, to obtain the OAuthAccessToken, set these connection properties:

    • InitiateOAuth: REFRESH.
    • OAuthVerifier: The noted verifier code (the value of the code parameter in the redirect URI).
    • OAuthSettingsLocation: persist the encrypted OAuth authentication values to the specified file.
    • Custom OAuth applications only:

  5. Test the connection to generate the OAuth settings file.

  6. You are ready to connect after you re-set these properties:

    • InitiateOAuth: REFRESH.
    • OAuthSettingsLocation: The file containing the encrypted OAuth authentication values. To enable the automatic refreshing of the access token, be sure that this file gives read and write permissions to the connector.
    • Custom OAuth applications only:
      • OAuthClientId: The client Id assigned when you registered your custom OAuth application.
      • OAuthClientSecret: The client secret assigned when you registered your custom OAuth application.

Option 2: Transferring OAuth Settings

Prior to connecting on a headless machine, you must install and create a connection with the driver on a device that supports an internet browser. Set the connection properties as described above in "Desktop Applications".

After completing the instructions in "Desktop Applications", the resulting authentication values are encrypted and written to the path specified by OAuthSettingsLocation. The default filename is OAuthSettings.txt.

Test the connection to generate the OAuth settings file, then copy the OAuth settings file to your headless machine.

To connect to data via the headless machine, set these connection properties:

  • InitiateOAuth: REFRESH
  • OAuthSettingsLocation: The path to the OAuth settings file you copied from the machine with the browser. To enable automatic refreshing of the access token, ensure that this file gives read and write permissions to the connector.
  • Custom OAuth applications only:
    • OAuthClientId: The client Id assigned when you registered your custom OAuth application.
    • OAuthClientSecret: The client secret assigned when you registered your custom OAuth application.

Service Accounts (OAuthJWT)

To authenticate using a service account, you must create a new service account and have a copy of the account's certificate.

For a JSON file, set these properties:

  • AuthScheme: Set this to OAuthJWT.
  • InitiateOAuth: Set this to GETANDREFRESH.
  • OAuthJWTCertType: Set this to GOOGLEJSON.
  • OAuthJWTCert: Set this to the path to the .json file provided by Google.
  • OAuthJWTSubject:The service account should be part of a GSuite domain, with delegation enabled. The value of this property should be the email address of the user whose data you want to access.

For a PFX file, set these properties:

  • AuthScheme: Set this to the email address of the service account. This address usually includes the domain iam.gserviceaccount.com.
  • OAuthJWTSubject: The service account must part of a GSuite domain, with delegation enabled. The value of this property is the email address of the user whose data you want to access.

If you do not already have a service account, you can create one by following the procedure in Creating a Custom OAuth Application.

GCP Instance Accounts

When running on a GCP virtual machine, the connector can authenticate using a service account tied to the virtual machine. To use this mode, set AuthScheme to GCPInstanceAccount.

CData Python Connector for Google Ads

Configuring JNI

Java Native Interface (JNI) is a standard programming interface for writing Java native methods and embedding the Java virtual machine into native applications.

The connector leverages the JNI for improved performance on Mac and Linux.

Configure the Config INI File

The Linux and Mac editions of the Google Ads python connector are configured with an ini file. This file is used to set several parameters, including JNI behavior. This file is to be located in:

{path_to_distribution_site-packages}/cdata/config.ini

Ensure that any configuration properties you set in the ini file fall under the following section name (adjust the 311 number if you are using an different python version from 3.11):

  • For Linux:
    [googleads.cpython-311-x86_64-linux-gnu.so]
  • For Mac:
    [googleads.cpython-311-darwin.so]

Configure the JNI connector's behavior by editing the properties in the connector's config.ini file. The connector can be configured as follows:

  • LOGFILE: Set this the same way as the CDATA_LOGFILE envrionment variable below.
  • JAVA_HOME: Configure the path to the JVM library location used to launch the JVM.
  • CLASS_PATH: Use a colon-separated list to configure the paths to the third-party jar libraries.

Configure Environment Variables

Additionally, set the following environment variables:

  • CDATA_JAVA_HOME: Configure the path to the JVM library location used to launch the JVM.
  • CDATA_JVM_OPTIONS: Place JVM options here.
  • CDATA_LOGFILE: Set this in the following scheme: <SCHEME>://<TAG>[|<LEVEL>]

    • SCHEME: The options are STDOUT, FILE.
      • STDOUT: Both the native wrapper and odbc core log into stdout. The Logfile and Verbosity properties can override the behavior of ODBC core.
      • FILE: The native wrapper logs into <FILENAME> while the odbc core logs into <FILENAME>.driver.log. The Logfile and Verbosity properties can override the behavior of ODBC core.
    • TAG
      • For STDOUT, set this to 1. For FILE, set this to the filename.
    • LEVEL
      • Set to one of: FATAL | ERROR | WARNING | INFO | DEBUG

The following are some examples of this syntax:

  • STDOUT://1|DEBUG
  • FILE:///tmp/my_py.log|DEBUG

Custom Logger

The Python connector supports a custom logging mechanism for redirecting log output to any destination, such as a cloud storage service or logging framework. Use setCustomLoggerFactory() to register a factory function that creates a logger instance for each connection.

The factory function receives the context string from the Logfile connection property (the portion after CUSTOM://) and must return an object with a writeLog(verbosity, message) method.

To enable custom logging:

  1. Call setCustomLoggerFactory() with your factory function before opening connections.
  2. Set Logfile to CUSTOM:// followed by a context string to identify the connection.
  3. Set Verbosity to the desired log level.

The following example demonstrates a custom logger factory that creates a separate logger instance per connection:

import cdata.googleads as mod
import time

class MyLogger:
    def __init__(self, loggerId):
        self.loggerId = loggerId
    def writeLog(self, verbosity, message):
        print("[MyLogger " + self.loggerId + "] " + message)

def createLogger(context):
    return MyLogger(context[len("MyLoggerId="):])

mod.setCustomLoggerFactory(createLogger)

conn1 = mod.connect("...;Logfile=CUSTOM://MyLoggerId=1;Verbosity=2;")
# do something with conn1
time.sleep(1)  # Wait for logs to flush from conn1

conn2 = mod.connect("...;Logfile=CUSTOM://MyLoggerId=2;Verbosity=2;")
# do something with conn2
time.sleep(1)  # Wait for logs to flush from conn2

CData Python Connector for Google Ads

Creating a Custom OAuth Application

Creating a Custom OAuth Application

CData embeds OAuth Application Credentials with CData branding that can be used when connecting to Google Ads via a desktop application or a headless machine. (For information on getting and setting the OAuthAccessToken and other configuration parameters, see the Desktop Authentication section of "Connecting to Google Ads".)

However, you must create a custom OAuth application to connect to Google Ads via the Web. And since custom OAuth applications seamlessly support all three commonly-used auth flows, you might want to create custom OAuth applications (use your own OAuth Application Credentials) for those auth flows anyway. Custom OAuth applications are useful if you want to:

  • control branding of the authentication dialog;
  • control the redirect URI that the application redirects the user to after the user authenticates; or
  • customize the permissions that you are requesting from the user.
Custom applications work with both OAuth and OAuthPKCE authschemes.

The following sections describe how to enable the Directory API and create custom OAuth applications for user accounts (OAuth/OAuthPKCE) and Service Accounts (OAuth/JWT).

User Accounts (OAuth/OAuthPKCE)

For users whose AuthScheme is OAuth or OAuthPKCE, and who need to authenticate over a web application, you must always create a custom OAuth application. (For desktop and headless flows, creating a custom OAuth application is optional.)

Do the following:

  1. Navigate to the Google Cloud Console.
  2. Create a new project or select an existing project.
  3. At the left-hand navigation menu, select Credentials.
  4. If this project does not already have a consent screen configured, click CONFIGURE CONSENT SCREEN to create one. If you are not using a Google Workspace account, you are restricted to creating an External-type Consent Screen, which requires specifying a support email and developer contact email. Additional info is optional.
  5. On the Credentials page, select Create Credentials > OAuth Client ID.
  6. In the Application Type menu, select Web application.
  7. Specify a name for your custom OAuth application.
  8. Under Authorized redirect URIs, click ADD URI and enter a redirect URI.
  9. Click Enter, then CREATE. The Cloud Console returns you to the Credentials page.
  10. The Google Cloud Console opens a window that displays your client Id and client secret. Record the client Id and Client Secret for later use.

Note: The client secret remains accessible from from the Google Cloud Console.

Service Accounts (OAuthJWT)

Service accounts (AuthScheme OAuthJWT) are used in an OAuth flow to access Google APIs on behalf of users in a domain. A domain administrator can delegate domain-wide access to the service account.

To create a new service account:

  1. Navigate to the Google Cloud Console.
  2. Create a new project or select an existing project.
  3. At the left-hand navigation menu, select Credentials.
  4. Select Create Credentials > Service account.
  5. On the Create service account page, enter the Service account name, and the Service account ID. If desired, enter a description.
  6. Click DONE. The Cloud Console redisplays the Credentials page.
  7. In the Service Accounts section, select the service account you just created.
  8. Click the KEYS tab.
  9. Click ADD KEY > Create new key.
  10. Select any supported Key type (see OAuthJWTCert and OAuthJWTCertType).
  11. Click CREATE. The key is automatically downloaded to your device, and any additional information specific to the key is displayed.
    Record the additional information for future use.
  12. To complete the service account flow, generate a private key in the Google Cloud Console. In the service account flow, the driver exchanges a JSON Web token (JWT) for the OAuthAccessToken. The private key is required to sign the JWT; using it gives the driver the same permissions as those that were granted to the service account.

CData Python Connector for Google Ads

Fine-Tuning Data Access

Customizing Google Ads Behavior

Using QueryPassthrough

Google Ads has its own query language (GAQL) that allow you to execute queries not supported by SQL-92 standard dialect which the driver uses by default. To execute these queries, set QueryPassthrough to True in order to bypass the SQL engine of the connector and execute GAQL queries to Google Ads. By default, queries are sent as-is to Google Ads.

Using QueryPassthrough with GAQL allows fine-tuned control while querying. When QueryPassthrough is True, the use must validate that queries are being built using the native dialect of the data source. It is recommended to have QueryPassthrough set to False in the connection manager when creating tables using this method.

Using APIVersion

This connection property controls the Google Ads APIVersion, defaulting currently to v8. The lastest Google Ads API version can be found in the Google Ads API documentation.

CData Python Connector for Google Ads

OAuth Scopes and Endpoints

Required Scopes and Endpoint Domains for Google Ads

When integrating with Google Ads, your application needs specific permissions to interact with the API.

These permissions are defined by access scopes, which determine what data your application can access and what actions it can perform.

This topic provides information about the required access scopes and endpoint domains for the Google Ads connector.

Understanding Scopes

Scopes are a way to limit an application's access to a user's data. They define the specific actions that an application can perform on behalf of the user.

For example, a read-only scope might allow an application to view data, while a full access scope might allow it to modify data.

Required Scopes for Google Ads

Scope Description
googleapis.com/auth/adwords This driver is read-only, however a read-only scope is not provided by Google Ads. This is the default scope and the only scope available.

Understanding Endpoint Domains

Endpoint domains are the specific URLs that the application needs to communicate with in order to authenticate, retrieve records, and perform other essential operations.

Allowlisting these domains ensures that the network traffic between your application and the API is not blocked by firewalls or security settings.

Note: Most users do not need to make any special configurations. Allowlisting is typically only necessary for environments with strict security measures, such as restricted outbound network traffic.

Required Endpoint Domains for Google Ads

Domain Always Required Description
googleads.googleapis.com TRUE The endpoint used to make API calls and retrieve data. For example, https://googleads.googleapis.com/v17/customers/1234567890/adGroups.
accounts.google.com TRUE The domain used for OAuth.

CData Python Connector for Google Ads

Changelog

General Changes

DateVersionSourceCategoryTypeDescription
2026-06-0326.0.9650Google AdsData ModelRemoved
  • Removed the following columns from the Ad view: AdCallAdBusinessName, AdCallAdCallTracked, AdCallAdConversionAction, AdCallAdConversionReportingState, AdCallAdCountryCode, AdCallAdDescription1, AdCallAdDescription2, AdCallAdDisableCallConversion, AdCallAdHeadline1, AdCallAdHeadline2, AdCallAdPath1, AdCallAdPath2, AdCallAdPhoneNumber, AdCallAdPhoneNumberVerificationUrl, and AdDemandGenMultiAssetAdLeadFormOnly.
  • Removed the following columns from the AdGroupAd view: AdGroupAdAdCallAdBusinessName, AdGroupAdAdCallAdCallTracked, AdGroupAdAdCallAdConversionAction, AdGroupAdAdCallAdConversionReportingState, AdGroupAdAdCallAdCountryCode, AdGroupAdAdCallAdDescription1, AdGroupAdAdCallAdDescription2, AdGroupAdAdCallAdDisableCallConversion, AdGroupAdAdCallAdHeadline1, AdGroupAdAdCallAdHeadline2, AdGroupAdAdCallAdPath1, AdGroupAdAdCallAdPath2, AdGroupAdAdCallAdPhoneNumber, AdGroupAdAdCallAdPhoneNumberVerificationUrl, and AdGroupAdAdDemandGenMultiAssetAdLeadFormOnly.
  • Removed CampaignStartDate and CampaignEndDate from the Campaign view.
  • Removed the following columns from the CampaignAggregateAssetView and ChannelAggregateAssetView views: AssetBestPerformanceCostPercentage, AssetBestPerformanceImpressionPercentage, AssetGoodPerformanceCostPercentage, AssetGoodPerformanceImpressionPercentage, AssetLearningPerformanceCostPercentage, AssetLearningPerformanceImpressionPercentage, AssetLowPerformanceCostPercentage, AssetLowPerformanceImpressionPercentage, AssetUnratedPerformanceCostPercentage, AssetUnratedPerformanceImpressionPercentage, SampleBestPerformanceEntities, SampleGoodPerformanceEntities, SampleLearningPerformanceEntities, SampleLowPerformanceEntities, and SampleUnratedPerformanceEntities.
2026-06-0326.0.9650Google AdsData ModelAdded
  • Added 5 new views: AppliedIncentive, AppTopCombinationView, MatchedLocationInterestView, VideoEnhancement, and YouTubeVideoUpload.
  • Added the following columns to the Ad view: AdDemandGenVideoResponsiveAdCompanionBanners, AdVideoResponsiveAdBusinessName, and AdVideoResponsiveAdLogoImages.
  • Added the following columns to the AdGroup view: ActiveViewAudibilityInvalidGivtMeasurableImpressionsRate, ActiveViewAudibilityInvalidMeasurableImpressionsRate, ActiveViewAudibilityMeasurableImpressions, ActiveViewAudibilityMeasurableImpressionsRate, ActiveViewAudibleImpressions, ActiveViewAudibleImpressionsRate, ActiveViewAudibleQuartileP100Rate, ActiveViewAudibleQuartileP25Rate, ActiveViewAudibleQuartileP50Rate, ActiveViewAudibleQuartileP75Rate, ActiveViewAudibleThirtySecondsImpressions, ActiveViewAudibleThirtySecondsImpressionsRate, ActiveViewAudibleTwoSecondsImpressions, ActiveViewAudibleTwoSecondsImpressionsRate, AdGroupVerticalAdsFormatSettingDisableTextAds, AdGroupVerticalAdsFormatSettingEnableBookingLinks, AdGroupVerticalAdsFormatSettingEnableVerticalPromotionAds, AdSubNetworkType, BiddableIndirectInstallFirstInAppConversionMicros, CostConvertedCurrencyPerPlatformComparableConversion, CostPerPlatformComparableConversion, CrossDeviceConversionsByConversionDate, CrossDeviceConversionsValueByConversionDate, PlatformComparableConversions, PlatformComparableConversionsByConversionDate, PlatformComparableConversionsFromInteractionsRate, PlatformComparableConversionsFromInteractionsValuePerInteraction, PlatformComparableConversionsValue, PlatformComparableConversionsValueByConversionDate, PlatformComparableConversionsValuePerCost, ValuePerPlatformComparableConversion, ValuePerPlatformComparableConversionsByConversionDate, VerticalAdsEventParticipantDisplayNames, VerticalAdsHotelClass, VerticalAdsListing, VerticalAdsListingBrand, VerticalAdsListingCity, VerticalAdsListingCountry, VerticalAdsListingRegion, VerticalAdsPartnerAccount, VerticalAdsVertical, VideoTrueviewViewRateInFeed, VideoTrueviewViewRateInStream, and VideoTrueviewViewRateShorts.
  • Added the following columns to the AdGroupAd view: ActiveViewAudibilityInvalidGivtMeasurableImpressionsRate, ActiveViewAudibilityInvalidMeasurableImpressionsRate, ActiveViewAudibilityMeasurableImpressions, ActiveViewAudibilityMeasurableImpressionsRate, ActiveViewAudibleImpressions, ActiveViewAudibleImpressionsRate, ActiveViewAudibleQuartileP100Rate, ActiveViewAudibleQuartileP25Rate, ActiveViewAudibleQuartileP50Rate, ActiveViewAudibleQuartileP75Rate, ActiveViewAudibleThirtySecondsImpressions, ActiveViewAudibleThirtySecondsImpressionsRate, ActiveViewAudibleTwoSecondsImpressions, ActiveViewAudibleTwoSecondsImpressionsRate, AdGroupAdAdDemandGenVideoResponsiveAdCompanionBanners, AdGroupAdAdVideoResponsiveAdBusinessName, AdGroupAdAdVideoResponsiveAdLogoImages, AdGroupAdEndDateTime, AdGroupAdStartDateTime, AdSubNetworkType, CostConvertedCurrencyPerPlatformComparableConversion, CostPerPlatformComparableConversion, PlatformComparableConversions, PlatformComparableConversionsByConversionDate, PlatformComparableConversionsFromInteractionsRate, PlatformComparableConversionsFromInteractionsValuePerInteraction, PlatformComparableConversionsValue, PlatformComparableConversionsValueByConversionDate, PlatformComparableConversionsValuePerCost, ValuePerPlatformComparableConversion, ValuePerPlatformComparableConversionsByConversionDate, VideoTrueviewViewRateInFeed, VideoTrueviewViewRateInStream, and VideoTrueviewViewRateShorts.
  • Added the following columns to the AdGroupAdAssetView view: AdSubNetworkType and ConversionActionName.
  • Added AdSubNetworkType to the following views: AdGroupAdAssetCombinationView, AdGroupAudienceView, AgeRangeView, AssetFieldTypeView, AssetGroupProductGroupView, AssetSetAsset, AssetSetTypeView, BiddingStrategy, CampaignAsset, CampaignAudienceView, CampaignBudget, CampaignSearchTermView, ClickView, ContentCriterionView, CustomerAsset, DetailPlacementView, DisplayKeywordView, DistanceView, ExpandedLandingPageView, GenderView, GroupPlacementView, HotelPerformanceView, IncomeRangeView, KeywordView, LandingPageView, LocationInterestView, ManagedPlacementView, ParentalStatusView, ProductGroupView, SearchTermView, TopicView, and TravelActivityPerformanceView.
  • Added the following columns to the AssetGroup view: AdSubNetworkType, AverageCpe, EngagementRate, and Engagements.
  • Added the following columns to the AssetGroupAsset view: AdSubNetworkType, AverageCpe, AverageCpm, InteractionEventTypes, TrueviewAverageCpv, VideoTrueviewViewRate, and VideoTrueviewViews.
  • Added the following columns to the Asset view: AssetBusinessMessageAssetFacebookMessengerInfoPageName, AssetBusinessMessageAssetZaloInfoCustomName, AssetBusinessMessageAssetZaloInfoOaId, and AssetOrientation.
  • Added the following columns to the Campaign view: ActiveViewAudibilityInvalidGivtMeasurableImpressionsRate, ActiveViewAudibilityInvalidMeasurableImpressionsRate, ActiveViewAudibilityMeasurableImpressions, ActiveViewAudibilityMeasurableImpressionsRate, ActiveViewAudibleImpressions, ActiveViewAudibleImpressionsRate, ActiveViewAudibleQuartileP100Rate, ActiveViewAudibleQuartileP25Rate, ActiveViewAudibleQuartileP50Rate, ActiveViewAudibleQuartileP75Rate, ActiveViewAudibleThirtySecondsImpressions, ActiveViewAudibleThirtySecondsImpressionsRate, ActiveViewAudibleTwoSecondsImpressions, ActiveViewAudibleTwoSecondsImpressionsRate, AdSubNetworkType, BiddableIndirectInstallFirstInAppConversionMicros, CampaignEndDateTime, CampaignHotelSettingDisableHotelSetting, CampaignStartDateTime, CampaignTargetRoasTargetRoasTolerancePercentMillis, CampaignTextGuidelinesMessagingRestrictions, CampaignTextGuidelinesTermExclusions, CampaignVideoCampaignSettingsBookingDetailsCancellationDateTime, CampaignVideoCampaignSettingsBookingDetailsHoldExpirationDateTime, CampaignVideoCampaignSettingsBookingDetailsStatus, CampaignVideoCampaignSettingsReservationAdCategorySelfDisclosureAlcohol, CampaignVideoCampaignSettingsReservationAdCategorySelfDisclosureGambling, CampaignVideoCampaignSettingsReservationAdCategorySelfDisclosurePolitics, CrossDeviceConversionsByConversionDate, CrossDeviceConversionsValueByConversionDate, Svr, UniqueUsersFivePlus, UniqueUsersFourPlus, UniqueUsersTenPlus, UniqueUsersThreePlus, UniqueUsersTwoPlus, VerticalAdsEventParticipantDisplayNames, VerticalAdsHotelClass, VerticalAdsListing, VerticalAdsListingBrand, VerticalAdsListingCity, VerticalAdsListingCountry, VerticalAdsListingRegion, VerticalAdsPartnerAccount, and VerticalAdsVertical.
  • Added the following columns to the Customer view: ActiveViewAudibilityInvalidGivtMeasurableImpressionsRate, ActiveViewAudibilityInvalidMeasurableImpressionsRate, ActiveViewAudibilityMeasurableImpressions, ActiveViewAudibilityMeasurableImpressionsRate, ActiveViewAudibleImpressions, ActiveViewAudibleImpressionsRate, ActiveViewAudibleQuartileP100Rate, ActiveViewAudibleQuartileP25Rate, ActiveViewAudibleQuartileP50Rate, ActiveViewAudibleQuartileP75Rate, ActiveViewAudibleThirtySecondsImpressions, ActiveViewAudibleThirtySecondsImpressionsRate, ActiveViewAudibleTwoSecondsImpressions, ActiveViewAudibleTwoSecondsImpressionsRate, AdSubNetworkType, BiddableIndirectInstallFirstInAppConversionMicros, CrossDeviceConversionsByConversionDate, CrossDeviceConversionsValueByConversionDate, VerticalAdsEventParticipantDisplayNames, VerticalAdsHotelClass, VerticalAdsListing, VerticalAdsListingBrand, VerticalAdsListingCity, VerticalAdsListingCountry, VerticalAdsListingRegion, VerticalAdsPartnerAccount, VerticalAdsVertical, VideoTrueviewViewRateInFeed, VideoTrueviewViewRateInStream, and VideoTrueviewViewRateShorts.
  • Added the following columns to the GeographicView view: AdSubNetworkType, AllConversionsByConversionDate, AllConversionsValueByConversionDate, ConversionsByConversionDate, ConversionsValueByConversionDate, CrossDeviceConversionsByConversionDate, CrossDeviceConversionsValueByConversionDate, ValuePerAllConversionsByConversionDate, and ValuePerConversionsByConversionDate.
  • Added the following columns to the PerStoreView view: AdSubNetworkType, PerStoreViewAddress1, PerStoreViewAddress2, PerStoreViewBusinessName, PerStoreViewCity, PerStoreViewCountryCode, PerStoreViewPhoneNumber, PerStoreViewPostalCode, and PerStoreViewProvince.
  • Added ProductLinkAdvertisingPartnerPropertiesAllowedDomain to the ProductLink view.
  • Added ProductLinkInvitationAdvertisingPartnerPropertiesAllowedDomain to the ProductLinkInvitation view.
  • Added the following columns to the SharedCriterion view: SharedCriterionNegative, SharedCriterionVerticalAdsItemGroupRuleCityCriterionId, SharedCriterionVerticalAdsItemGroupRuleCountryCriterionId, SharedCriterionVerticalAdsItemGroupRuleHotelClass, SharedCriterionVerticalAdsItemGroupRuleItemCode, and SharedCriterionVerticalAdsItemGroupRuleRegionCriterionId.
  • Added SharedSetVerticalAdsItemVerticalType to the SharedSet view.
  • Added the following columns to the ShoppingPerformanceView view: AdSubNetworkType, AllConversionsByConversionDate, AllConversionsValueByConversionDate, ConversionsByConversionDate, ConversionsValueByConversionDate, SearchBudgetLostAbsoluteTopImpressionShare, SearchBudgetLostImpressionShare, SearchRankLostAbsoluteTopImpressionShare, SearchRankLostImpressionShare, ValuePerAllConversionsByConversionDate, and ValuePerConversionsByConversionDate.
  • Added ShoppingProductProductImageUri to the ShoppingProduct view.
  • Added TrueviewAverageCpv to the TargetingExpansionView view.
  • Added the following columns to the UserLocationView view: AdSubNetworkType, AllConversionsByConversionDate, AllConversionsValueByConversionDate, ConversionsByConversionDate, ConversionsValueByConversionDate, CrossDeviceConversionsByConversionDate, CrossDeviceConversionsValueByConversionDate, ValuePerAllConversionsByConversionDate, and ValuePerConversionsByConversionDate.
  • Added the following columns to the Video view: ActiveViewAudibilityInvalidGivtMeasurableImpressionsRate, ActiveViewAudibilityInvalidMeasurableImpressionsRate, ActiveViewAudibilityMeasurableImpressions, ActiveViewAudibilityMeasurableImpressionsRate, ActiveViewAudibleImpressions, ActiveViewAudibleImpressionsRate, ActiveViewAudibleQuartileP100Rate, ActiveViewAudibleQuartileP25Rate, ActiveViewAudibleQuartileP50Rate, ActiveViewAudibleQuartileP75Rate, ActiveViewAudibleThirtySecondsImpressions, ActiveViewAudibleThirtySecondsImpressionsRate, ActiveViewAudibleTwoSecondsImpressions, ActiveViewAudibleTwoSecondsImpressionsRate, AdSubNetworkType, CostConvertedCurrencyPerPlatformComparableConversion, CostPerPlatformComparableConversion, PlatformComparableConversions, PlatformComparableConversionsByConversionDate, PlatformComparableConversionsFromInteractionsRate, PlatformComparableConversionsFromInteractionsValuePerInteraction, PlatformComparableConversionsValue, PlatformComparableConversionsValueByConversionDate, PlatformComparableConversionsValuePerCost, ValuePerPlatformComparableConversion, ValuePerPlatformComparableConversionsByConversionDate, VideoTrueviewViewRateInFeed, VideoTrueviewViewRateInStream, and VideoTrueviewViewRateShorts.
  • Added AdSubNetworkType and TrueviewAverageCpv to the WebpageView view.
  • Added AdGroupCriterionVerticalAdsItemGroupRuleListSharedSet to the AdGroupCriterion view.
  • Added the following enum values to AdFormatType in the AdGroup, AdGroupAd, Campaign, Customer, and Video views and the AdGroupAdAssetView view: TEXT, VERTICAL_ADS_BOOKING_LINK, and VERTICAL_ADS_PROMOTION.
  • Added the following enum values to field type enums across the following views: CALL_TO_ACTION and LONG_DESCRIPTION to AdGroupExcludedParentAssetFieldTypes (AdGroup view), AdGroupAdAssetViewFieldType (AdGroupAdAssetView view), AdGroupAssetFieldType (AdGroupAsset view), AssetFieldTypeViewFieldType (AssetFieldTypeView view), AssetGroupAssetFieldType (AssetGroupAsset view), CampaignAggregateAssetViewFieldType (CampaignAggregateAssetView view), CampaignAssetFieldType (CampaignAsset view), ChannelAggregateAssetViewFieldType (ChannelAggregateAssetView view), CustomerAssetFieldType (CustomerAsset view), CampaignExcludedParentAssetFieldTypes (Campaign view), and FinalUrlExpansionAssetViewFieldType (FinalUrlExpansionAssetView view).
  • Added the following enum values to criterion type enums across the following views: VERTICAL_ADS_ITEM_GROUP_RULE and VERTICAL_ADS_ITEM_GROUP_RULE_LIST to AdGroupCriterionType (AdGroupCriterion view), CampaignCriterionType (CampaignCriterion view), CustomerNegativeCriterionType (CustomerNegativeCriterion view), and SharedCriterionType (SharedCriterion view).
  • Added the following enum value to SharedSetType in the SharedSet view: VERTICAL_ADS_ITEM_GROUP_RULE_LIST.
  • Added the following enum value to SearchTermMatchSource in the CampaignSearchTermView and SearchTermView views: VERTICAL_ADS_DATA_FEED.
  • Added the following enum value to AdGroupAdAssetViewPerformanceLabel in the AdGroupAdAssetView view: NOT_APPLICABLE.
  • Added the following enum values to AdGroupAdAssetViewPinnedField in the AdGroupAdAssetView view: DESCRIPTION_LINE_HEADLINE_AS_SITELINK_POSITION_ONE, DESCRIPTION_LINE_HEADLINE_AS_SITELINK_POSITION_TWO, HEADLINE_AS_SITELINK_POSITION_ONE, and HEADLINE_AS_SITELINK_POSITION_TWO.
  • Added the following enum values to AssetBusinessMessageAssetMessageProvider in the Asset view: FACEBOOK_MESSENGER and ZALO.
  • Added the following enum value to ConversionActionCategory across all applicable views: YOUTUBE_FOLLOW_ON_VIEWS.
2026-05-2726.0.9643GeneralConnectionRemoved
  • Removed the deprecated ReplaceInvalidTypesWithNull connection property. Use the ReplaceInvalidValuesWithNull property instead.
2026-05-2226.0.9638PythonRemoved
  • Remove support for Intel x64 architecture on macOS
2026-05-0726.0.9623GeneralData ModelAdded
  • Added the ColumnCapabilities column to the sys_tablecolumns system table. This column is a bit mask denoting the column's write capabilities.
2026-05-0726.0.9623PythonChanged
  • Updated embedded JRE to jre-17.0.19+10 (Linux x64 / MacOs x64).
2026-04-1526.0.9601GeneralQuery ExecChanged
  • String comparisons using GREATER, LESS, and CONTAINS operators are now case-insensitive by default.
2026-04-0826.0.9594Google AdsSecurityChanged
  • TLS 1.3 is now supported by default for HTTP connections.
2026-04-0126.0.9587Google AdsRemoved
  • Removed the BatchSize connection property.
2026-03-1225.0.9567Google AdsData ModelAdded
  • Added the CampaignGoalConfig view.
  • Added the Goal view.
  • Added the TargetingExpansion view.
  • Added the following columns to the AdGroup view: AdGroupEffectiveTargetCpc, AdGroupEffectiveTargetCpcSource, AdGroupTargetCpcMicros, AverageVideoWatchTimeDurationMillis, TrueviewAverageCpv, and VideoWatchTimeDurationMillis.
  • Added the following columns to the AdGroupAd view: AverageVideoWatchTimeDurationMillis, VideoWatchTimeDurationMillis.
  • Added the following columns to the AdGroupAdAssetView view: AllConversionsFromInteractionsRate, AverageCost, AverageCpe, AverageCpm, ConversionsFromInteractionsRate, CrossDeviceConversions, EngagementRate, Engagements, InteractionEventTypes, InteractionRate, Interactions, TrueviewAverageCpv, VideoTrueviewViewRate, and VideoTrueviewViews.
  • Added the following columns to the AssetGroupAsset view: ConversionAction, ConversionActionCategory, ConversionActionName, and Device.
  • Added the following columns to the Campaign view: CampaignFeedTypes, CampaignTargetCpcTargetCpcMicros, AverageVideoWatchTimeDurationMillis, VideoWatchTimeDurationMillis, and AdUsingVideo.
  • Added the following columns to the Customer view: AverageVideoWatchTimeDurationMillis, VideoWatchTimeDurationMillis, AdUsingProductData, and AdUsingVideo.
  • Added the following columns to the Video view: AverageVideoWatchTimeDurationMillis, VideoWatchTimeDurationMillis.
  • Added the following enums for the ClickType column in all views it appears in: CLICK_TO_MESSAGE_LANDING_PAGE_CLICK, CLICK_TO_MESSAGE_THIRD_PARTY_CLICK.
  • Added the following enums to the AccessibleBiddingStrategyType column in the AccessibleBiddingStrategy view: FIXED_SHARE_OF_VOICE, TARGET_CPC.
  • Added the LANDING_PAGE_PREVIEW enum to fields in views pertaining to AssetFieldType, For example the AdGroupExcludedParentAssetFieldTypes column in the AdGroup view and the CustomerAssetFieldType column in the CustomerAsset view.
  • Added the following enums to the AccessibleBiddingStrategyType column in the AccessibleBiddingStrategy view: FIXED_SHARE_OF_VOICE, TARGET_CPC.
  • Added the following enums to the BiddingStrategyType column in the BiddingStrategy view: TARGET_CPC, FIXED_SHARE_OF_VOICE.
  • Added the following enums to the CampaignAppCampaignSettingBiddingStrategyGoalType column in the Campaign view: OPTIMIZE_TOTAL_VALUE_WITHOUT_TARGET_ROAS, OPTIMIZE_IN_APP_CONVERSIONS_WITHOUT_TARGET_CPA.
  • Added the following enums to the CampaignBiddingStrategyType column in the Campaign view: FIXED_SHARE_OF_VOICE, TARGET_CPC.
  • Added the following enum to the CampaignExcludedPArentAssetFieldTypes column in the Campaign view: LANDING_PAGE_PREVIEW.
  • Added the following enum to the UserListCrmBasedUserListDataSourceType column in the USerList view: THIRD_PARTY_PARTNER_DATA.
2026-03-1225.0.9567Google AdsConnectionChanged
  • Changed the default API version from v21 to v22.
2026-03-1225.0.9567Google AdsData ModelChanged
  • The VideoViewRate column is renamed to VideoTrueviewViewRate in all views it appears in.
  • The VideoViews column is renamed to VideoTrueviewViews in all views it appears in.
  • The AverageCpv column is renamed to TrueviewAverageCpv in all views it appears in.
  • The VideoViewRateInFeed column is renamed to VideoTrueviewViewRateInFeed in the Campaign view.
  • The VideoViewRateInStream column is renamed to VideoTrueviewViewRateInStream in the Campaign view.
  • The VideoViewRateShorts column is renamed to VideoTrueviewViewRateShorts in the Campaign view.
  • The AverageCpv column is renamed to TrueviewAverageCpv in the CampaignGroup view.
2026-03-1225.0.9567Google AdsData ModelRemoved
  • Removed the AssetGroupAssetPerformanceLabel column from the AssetGroupAsset view.
  • Removed the CampaignUrlExpansionOptOut column from the Campaign view.
  • Removed the AverageCpv column from the Webpage view.
2026-01-1325.0.9509GeneralAdded
  • Added support for the REGEXP_REPLACE() string function.
2025-12-2125.0.9486PythonAdded
  • Added support for custom loggers in Python connectors on Linux and macOS.
2025-12-0525.0.9470GeneralAdded
  • Added support for the INSERT INTO SELECT statement, with driver-side execution for providers that do not support the operation natively.
2025-11-0525.0.9440Google AdsAdded
  • Added a CustomerId column to the following views: CarrierConstant, CurrencyConstant, CustomerSearchTermInsight, GeoTargetConstant, HotelPerformanceView, KeywordThemeConstant, LanguageConstant, LifeEvent, MobileAppCategoryConstant, MobileDeviceConstant, OperatingSystemVersionConstant, ProductCategoryConstant, QualifyingQuestion, TopicConstant, TravelActivityPerformanceView, and UserInterest.
  • Added the following views: AiMaxSearchTermAdCombinationView, CampaignSearchTermView, DetailContentSuitabilityPlacementView, FinalUrlExpansionAssetView, GroupContentSuitabilityPlacementView, and LocationInterestView.
  • Added the AdGroupAiMaxAdGroupSettingDisableSearchTermMatching and AdGroupVideoAdGroupSettingsVideoAdSequenceStepId columns to the AdGroup view.
  • Added the Device column to the AdGroupAdAssetView view.
  • Added the AdGroupCriterionBrandListSharedSet, AdGroupCriterionExtendedDemographicExtendedDemographicId, AdGroupCriterionLifeEventLifeEventId, and AdGroupCriterionVideoLineupVideoLineupId columns to the AdGroupCriterion view.
  • Added the AssetPromotionAssetPromotionBarcodeInfoBarcodeContent, AssetPromotionAssetPromotionBarcodeInfoType, AssetPromotionAssetPromotionQrCodeInfoQrCodeContent, AssetPromotionAssetTermsAndConditionsText, AssetPromotionAssetTermsAndConditionsUri, and AssetYoutubeVideoListAssetYoutubeVideos columns to the Asset view.
  • Added the AllConversionsByConversionDate, AllConversionsValueByConversionDate, AllNewCustomerLifetimeValue, AllValueAdjustment, ConversionsByConversionDate, ConversionsValueByConversionDate, NewCustomerLifetimeValue, ValueAdjustment, ValuePerAllConversionsByConversionDate, ValuePerConversionsByConversionDate, AdNetworkType, ClickType, ConversionAction, ConversionActionCategory, ConversionActionName, ConversionAdjustment, ConversionAttributionEventType, ConversionLagBucket, ConversionOrAdjustmentLagBucket, Device, ExternalConversionSource, NewVersusReturningCustomers, and Slot columns to the AssetGroup view.
  • Added the AllConversions, AllConversionsFromInteractionsRate, AllConversionsFromInteractionsValuePerInteraction, AllConversionsValue, AllConversionsValuePerCost, AverageCost, AverageCpc, Clicks, ConversionsFromInteractionsRate, ConversionsFromInteractionsValuePerInteraction, ConversionsValuePerCost, CostMicros, CostPerAllConversions, CostPerConversion, CrossDeviceConversions, CrossDeviceConversionsValue, Ctr, EngagementRate, Engagements, Impressions, InteractionRate, Interactions, ValuePerAllConversions, ViewThroughConversions, and AdNetworkType columns to the AssetGroupAsset view.
  • Added the BiddingStrategyMaximizeConversionValueTargetRoasTolerancePercentMillis, BiddingStrategyTargetRoasTargetRoasTolerancePercentMillis, ClicksUniqueQueryClusters, ConversionsUniqueQueryClusters, and ImpressionsUniqueQueryClusters columns to the BiddingStrategy view.
  • Added the CampaignAiMaxSettingBundlingRequired, CampaignAiMaxSettingEnableAiMax, CampaignContainsEuPoliticalAdvertising, CampaignMaximizeConversionValueTargetRoasTolerancePercentMillis, CampaignThirdPartyIntegrationPartnersBrandLiftIntegrationPartners, CampaignThirdPartyIntegrationPartnersBrandSafetyIntegrationPartners, CampaignThirdPartyIntegrationPartnersReachIntegrationPartners, CampaignThirdPartyIntegrationPartnersViewabilityIntegrationPartners, CampaignVideoCampaignSettingsVideoAdFormatControlFormatRestriction, CampaignVideoCampaignSettingsVideoAdFormatControlNonSkippableInStreamRestrictionsMaxDuration, CampaignVideoCampaignSettingsVideoAdFormatControlNonSkippableInStreamRestrictionsMinDuration,CampaignVideoCampaignSettingsVideoAdInventoryControlAllowNonSkippableInStream, CampaignVideoCampaignSettingsVideoAdSequenceMinimumDuration, CampaignVideoCampaignSettingsVideoAdSequenceSteps, ClicksUniqueQueryClusters, ConversionsUniqueQueryClusters, CostConvertedCurrencyPerPlatformComparableConversion, CostPerPlatformComparableConversion, ImpressionsUniqueQueryClusters, PlatformComparableConversions, PlatformComparableConversionsByConversionDate, PlatformComparableConversionsFromInteractionsRate, PlatformComparableConversionsFromInteractionsValuePerInteraction, PlatformComparableConversionsValue, PlatformComparableConversionsValueByConversionDate, PlatformComparableConversionsValuePerCost, ValuePerPlatformComparableConversion, and ValuePerPlatformComparableConversionsByConversionDate columns to the Campaign view.
  • Added the AllConversions, AllConversionsFromInteractionsRate, AllConversionsFromInteractionsValuePerInteraction, AllConversionsValue, AllConversionsValuePerCost, AverageCost, AverageCpc, Clicks, ConversionsFromInteractionsRate, ConversionsFromInteractionsValuePerInteraction, ConversionsValuePerCost, CostMicros, CostPerAllConversions, CostPerConversion, CrossDeviceConversions, CrossDeviceConversionsValue, Ctr, EngagementRate, Engagements, InteractionRate, Interactions, ValuePerAllConversions, and ViewThroughConversions columns to the ChannelAggregateAssetView view.
  • Added the AllConversions, AllConversionsFromInteractionsRate, AllConversionsFromInteractionsValuePerInteraction, AllConversionsValue, AllConversionsValuePerCost, AverageCost, AverageCpc, Clicks, ConversionsFromInteractionsRate, ConversionsFromInteractionsValuePerInteraction, ConversionsValuePerCost, CostMicros, CostPerAllConversions, CostPerConversion, CrossDeviceConversions, CrossDeviceConversionsValue, Ctr, EngagementRate, Engagements, InteractionRate, Interactions, ValuePerAllConversions, and ViewThroughConversions to the CampaignAggregateAssetView view.
  • Added the CustomerVideoCustomerThirdPartyIntegrationPartnersBrandLiftIntegrationPartners, CustomerVideoCustomerThirdPartyIntegrationPartnersBrandSafetyIntegrationPartners, CustomerVideoCustomerThirdPartyIntegrationPartnersReachIntegrationPartners, CustomerVideoCustomerThirdPartyIntegrationPartnersViewabilityIntegrationPartners, ClicksUniqueQueryClusters, ConversionsUniqueQueryClusters, CostConvertedCurrencyPerPlatformComparableConversion, CostPerPlatformComparableConversion, ImpressionsUniqueQueryClusters, PlatformComparableConversions, PlatformComparableConversionsByConversionDate, PlatformComparableConversionsFromInteractionsRate, PlatformComparableConversionsFromInteractionsValuePerInteraction, PlatformComparableConversionsValue, PlatformComparableConversionsValueByConversionDate, PlatformComparableConversionsValuePerCost, ValuePerPlatformComparableConversion, and ValuePerPlatformComparableConversionsByConversionDate columns to the Customer view.
  • Added the CustomerNegativeCriterionPlacementListSharedSet column to the CustomerNegativeCriterion view.
  • Added the LandingPageSource column to the ExpandedLandingPageView view.
  • Added the MatchType column to the KeywordView view.
  • Added the LandingPageSource column to the LandingPageView view.
  • Added the SearchTermMatchSource column to the SearchTermView view.
  • Added the SharedCriterionWebpageConditions, SharedCriterionWebpageCoveragePercentage, SharedCriterionWebpageCriterionName, and SharedCriterionWebpageSampleSampleUrls columns to the SharedCriterion view.
  • Added the CampaignCriterionExtendedDemographicExtendedDemographicId, CampaignCriterionLifeEventLifeEventId, CampaignCriterionVideoLineupVideoLineupId, and CampaignCriterionWebpageListSharedSet columns to the CampaignCriterion view.
  • Added the ChangeStatusAssetSet and ChangeStatusCampaignAssetSet columns to the ChangeStatus view.
  • In the AdGroup view, added the RELATED_YOUTUBE_VIDEOS enum to the AdGroupExcludedParentAssetFieldTypes column and the PAUSE enum to the AdGroupPrimaryStatus view.
  • In the AdGroupAd view, added the PAUSE enum to the AdFormatType column.
  • In the AdGroupAdAssetView view, added the RELATED_YOUTUBE_VIDEOS enum to the AdGroupAdAssetViewFieldType column, the DESCRIPTION_PREFIX enum to the AdGroupAdAssetViewPinnedField column, and the PAUSE enum to the AdFormatType.
  • In the AdGroupAssset view, added the RELATED_YOUTUBE_VIDEOS enum to the AdGroupAssetFieldType column.
  • In the AdGroupCriterion view, added the PLACEMENT_LIST, VIDEO_LINEUP, and WEBPAGE_LIST enums to the AdGroupCriterionType column.
  • In the Asset view, added the YOUTUBE_VIDEO_LIST enum to the AssetType column.
  • In the AssetFieldTypeView view, added the RELATED_YOUTUBE_VIDEOS enum to the AssetFieldTypeViewFieldType column.
  • In the AssetGroupAsset view, added the RELATED_YOUTUBE_VIDEOS to the AssetGroupAssetFieldType column.
  • In the Campaign view, added the RELATED_YOUTUBE_VIDEOS enum to the CampaignExcludedParentAssetFieldTypes column, the MISSING_LOCATION_TARGETING enum to the CampaignPrimaryStatusReasons column, the PAUSE enum to the AdFormatType column, and the ENGAGED_VIEW enum to the ConversionAttributionEventType column.
  • In the CampaignAggregateAssetView view, added the RELATED_YOUTUBE_VIDEOS enum to the CampaignAggregateAssetViewFieldType column.
  • In the CampaignAsset view, added the RELATED_YOUTUBE_VIDEOS enums to the CampaignAssetFieldType column.
  • In the CampaignCriterion view, added the PLACEMENT_LIST, VIDEO_LINEUP, and the WEBPAGE_LIST enums to the CampaignCriterionType column.
  • In the ChannelAggregateAssetView view, added the RELATED_YOUTUBE_VIDEOS enum to the ChannelAggregateAssetViewFieldType column.
  • In the Customer view, added the PAUSE enum to the AdFormatType column.
  • In the CustomerNegativeCriterion view, added the PLACEMENT_LIST, VIDEO_LINEUP, and WEBPAGE_LIST enums to the CustomerNegativeCriterionType column.
  • In the SearchTermView view, added the AI_MAX and PERFORMANCE_MAX enums to the SearchTermMatchType column.
  • In the SharedCriterion view, added the PLACEMENT_LIST, VIDEO_LINEUP, and WEBPAGE_LIST enums to the SharedCriterionType column.
  • In the SharedSet view, added the WEBPAGES enum to the SharedSetType column.
  • In the UserLocationView, TravelActivityPerformanceView, and Video views, added the PAUSE enum to the AdNetworkType column.
  • The DISCOVER, GMAIL, and MAPS enums have been added to the AdNetworkType column in all views where this column is available.
  • The PRODUCT_ASSETS, VEHICLE_ASSETS, VIDEO_RELATED_VIDEOS_CLICK, and VIDEO_CHANNEL_CLICK enums have been added to the ClickType column in all views where this column is available.
2025-11-0525.0.9440Google AdsChanged
  • Updated the default API version from v19 to v21.
2025-10-3025.0.9434PythonChanged
  • Updated embedded JRE to jre-17.0.17+10 (Linux x64 / MacOs x64).
2025-10-0625.0.9410GeneralAdded
  • Support for parsing datetime formats using ".S" and ",S" for milliseconds and nanoseconds.
2025-09-1625.0.9390Google AdsChanged
  • When you run SELECT * queries, NULL segment columns are no longer included in the result set.
2025-09-1225.0.9386GeneralAdded
  • Added the IsInsertable, IsUpdateable, and IsDeleteable columns to the sys_tables table.
2025-09-1025.0.9384GeneralChanged
  • All columns in statically defined Views are now reported as read-only.
2025-09-0325.0.9377GeneralChanged
  • Corrected the behavior when IN criteria with NULL values are used in the projection part. It now returns NULL instead of 0. For example, "NULL IN (1,2)" returns "NULL".
2025-09-0125.0.9375GeneralAdded
  • Added support for using the CAST function with infinity values. This function can cast "inf" and "-inf" to DOUBLE, FLOAT, or REAL.
2025-08-2125.0.9364GeneralChanged
  • Report behavior change:
    • Fixed inconsistent string value comparisons in non-table queries.
    • For example, "SELECT 'A' = 'a'" previously returned false, but it now returns true.
2025-08-1325.0.9356GeneralChanged
  • Changed the maximum number of pages held in memory from 15 to 5 for the page providers to decrease heap usage.
2025-07-0825.0.9320Google AdsChanged
  • The following fields are now filtered using Date values (yyyy-mm-dd) instead of DateTime values (yyyy-mm-ddthh:mm:ssz):
    • AccountBudgetProposal view: AccountBudgetProposalApprovalDateTime and AccountBudgetProposalCreationDateTime
    • CallView view: CallViewEndCallDateTime and CallViewStartCallDateTime
    • ChangeEvent view: ChangeEventChangeDateTime
    • ChangeStatus view: ChangeStatusLastChangeDateTime
    • ConversionAction view: ConversionLastReceivedRequestDateTime
2025-07-0725.0.9319PythonRemoved
  • Removed the 32-bit version of Windows Python.
2025-07-0225.0.9314PythonRemoved
  • Removed support for Python 3.9.
2025-06-2525.0.9307GeneralRemoved
  • Removed the "ADLS Gen 1" value from the ConnectionType property.
2025-06-2525.0.9307PythonAdded
  • Added support for Python 3.13 in Windows, Linux, and Mac editions.
2025-06-2525.0.9307PythonRemoved
  • Removed support for Python 3.8 as it is no longer supported.
2025-06-2025.0.9302GeneralAdded
  • Created the following functions:
    • TEXT_ENCODE: encodes a string into a different charset (UTF8 → UTF7 and returns a binary array as the result).
    • TEXT_DECODE: takes a binary array and decodes it back into a string when provided the charset.
    • BASE64_ENCODE: takes a binary array and encodes it as a base64 string (varchar).
    • BASE64_DECODE: takes a base 64-encoded string and decodes it into a binary array.
2025-06-1825.0.9300GeneralChanged
  • The internal code for exception handling has been refactored. Exception messages returned during certain error conditions may now have different wording or formatting.
2025-06-1025.0.9292Google AdsAdded
  • Added 3 columns to the Ad view.
  • Added 9 columns to the AdGroup view.
  • Added 3 columns to the AdGroupAd view.
  • Added 7 columns to the Asset view.
  • Added 1 column to the AssetGroup view.
  • Added 10 columns to the AssetGroupAsset view.
  • Added 11 columns to the Campaign view.
  • Added 3 columns to the CampaignAggregateAssetView view.
  • Added 1 column to the ChangeStatus view.
  • Added 3 columns to the ChannelAggregateAssetView view.
  • Added 1 column to the CustomerLifecycleGoal view.
  • Added 1 column to the LocalServicesLead view.
  • Added value YOUTUBE_AUDIO_AD:
    • In the Ad view's AdType column.
    • In the AdGroupAd view's AdGroupAdType column.
  • Added value YOUTUBE_AUDIO:
    • In the AdGroup view's AdGroupType column.
  • Added values BUSINESS_MESSAGE and TALL_PORTRAIT_MARKETING_IMAGE:
    • In the AdGroup view's AdGroupCpcBidMicros column.
    • In the AdGroupAdAssetView view's AdGroupAdAssetViewFieldType column.
    • In the AdGroupAsset view's AdGroupAssetFieldType column.
    • In the AssetFieldTypeView's AssetFieldTypeViewFieldType column.
    • In the AssetGroupAsset view's AssetGroupAssetFieldType column.
    • In the CampaignAsset view's CampaignAssetFieldType column.
    • In the CustomerAsset view's CustomerAssetFieldType column.
    • In the CampaignAggregateAssetView view's CampaignAggregateAssetViewFieldType column.
    • In the ChannelAggregateAssetView view's ChannelAggregateAssetViewFieldType column.
  • Added values APP_DEEP_LINK and BUSINESS_MESSAGE:
    • In the Asset view's AssetType column.
  • Added value MONTHLY:
    • In the Campaign view's CampaignFixedCpmTargetFrequencyInfoTimeUnit column.
  • Added values ASSET_SET, CAMPAIGN_ASSET_SET, and CAMPAIGN_BUDGET:
    • In the ChangeStatus view's ChangeStatusResourceType column.
2025-06-1025.0.9292Google AdsChanged
  • Updated the default API version from v18 to v19.
2025-06-1025.0.9292Google AdsRemoved
  • Removed the following views: AdGroupExtensionSetting, AdGroupFeed, CampaignExtensionSetting, CampaignFeed, CustomerExtensionSetting, CustomerFeed, ExtensionFeedItem, Feed, FeedItem, FeedItemSet, FeedItemSetLink, FeedItemTarget, FeedMapping, and FeedPlaceholderView.
  • Removed 1 column in Campaign view: CampaignDynamicSearchAdsSettingFeeds.
  • Removed 1 column in CampaignCriterion view: CampaignCriterionLocationGroupFeed.
  • Removed 2 columns in ChangeEvent view: ChangeEventFeed and ChangeEventFeedItem.
  • Removed 4 columns in ChangeStatus view: ChangeStatusAdGroupFeed, ChangeStatusCampaignFeed, ChangeStatusFeed, and ChangeStatusFeedItem.
  • Removed the following enum values:
    • In the Ad view's AdType column, removed value: VIDEO_OUTSTREAM_AD.
    • In the AdGroup view's AdGroupType column, removed value: VIDEO_OUTSTREAM.
2025-05-2925.0.9280Google AdsRemoved
  • Removed the PageSize connection property, which has been deprecated in GoogleAds.
2025-05-2725.0.9278GeneralRemoved
  • Removed the "Proprietary" enum option from ProxyAuthscheme.
2025-05-1225.0.9263PythonChanged
  • Updated embedded JRE to jre-17.0.15+6 (Linux x64 / MacOS x64) and jre-17.0.15+6 (MacOS aarch64).
2025-02-1724.0.9179Google AdsAdded
  • Three new views: ContentCriterionView, Datalink, and PerformanceMaxPlacementView.
  • New columns in AdGroup: AdGroupExcludeDemographicExpansion, TravelDestinationCity, TravelDestinationRegion, TravelDestinationCountry.
  • New columns in AdGroupAd: AdGroupAdAdGroupAdAssetAutomationSettings
  • New columns in Campaign: StoreVisitsLastClickModelAttributedConversions, VideoViewRateInFeed, VideoViewRateInStream, VideoViewRateShorts, ResultsConversionsPurchase, GeneralInvalidClickRate, GeneralInvalidClicks
  • New columns in ConversionValueRule: ConversionValueRuleItineraryConditionAdvanceBookingWindowMaxDays, ConversionValueRuleItineraryConditionAdvanceBookingWindowMinDays, ConversionValueRuleItineraryConditionTravelLengthMaxNights, ConversionValueRuleItineraryConditionTravelLengthMinNights, ConversionValueRuleItineraryConditionTravelStartDayFriday, ConversionValueRuleItineraryConditionTravelStartDayMonday, ConversionValueRuleItineraryConditionTravelStartDaySaturday, ConversionValueRuleItineraryConditionTravelStartDaySunday, ConversionValueRuleItineraryConditionTravelStartDayThursday, ConversionValueRuleItineraryConditionTravelStartDayTuesday, ConversionValueRuleItineraryConditionTravelStartDayWednesday.
2025-02-1524.0.9177GeneralAdded
  • Added support for converting unsigned integer types to the nearest signed data type that has enough precision to hold the unsigned value.This is done for JDBC only because it does not have support for unsigned data types.
2024-11-2724.0.9097GeneralAdded
  • Added ThreadId to LogModule output. Logfile lines now include the Thread ID associated with the action being performed.
2024-10-1724.0.9056Google AdsAdded
  • Added support for Workload Identity Federation using AWS accounts.
2024-10-1424.0.9053Google AdsAdded
  • Added a new view, ShoppingProduct.
2024-10-1424.0.9053Google AdsRemoved
  • In the AdGroup, Campaign, Custom, and KeywordView views, removed 6 columns:
    • AuctionInsightSearchAbsoluteTopImpressionPercentage
    • AuctionInsightSearchImpressionShare
    • AuctionInsightSearchOutrankingShare
    • AuctionInsightSearchOverlapRate
    • AuctionInsightSearchPositionAboveRate
    • AuctionInsightSearchTopImpressionPercentage
2024-08-2024.0.8998Google AdsAdded
  • Added support for V17 of the Google Ads API. This is now the default value for the APIVersion connection property.
  • Added the Ad, CampaignAggregateAssetView, ChannelAggregateAssetView, OfflineConversionUploadConversionActionSummary, and UserListCustomerType views.
  • For all views with a ClickType column, the value AD_IMAGE has been added to them.
  • In the AdGroup view, added the AdGroupFixedCpmMicros, AdGroupTargetCpvMicros, and AdFormatType columns.
  • In the AdGroupAd view, added the column AdFormatType.
  • In the AdGroupAdAssetView view, added the AdFormatType column.
  • In the AdGroupCriterion view, added the AdGroupCriterionPrimaryStatus and AdGroupCriterionPrimaryStatusReasons columns.
  • In the BiddingDataExclusion view's BiddingDataExclusionAdvertisingChannelTypes column, added the value DEMAND_GEN.
  • In the BiddingSeasonalityAdjustment view's BiddingSeasonalityAdjustmentAdvertisingChannelTypes column, added the value DEMAND_GEN.
  • In the Campaign view, added the CampaignFixedCpmGoal, CampaignFixedCpmTargetFrequencyInfoTargetCount, CampaignFixedCpmTargetFrequencyInfoTimeUnit, CampaignKeywordMatchType, CampaignTargetCpv, CampaignVideoCampaignSettingsVideoAdInventoryControlAllowInFeed, CampaignVideoCampaignSettingsVideoAdInventoryControlAllowInStream, CampaignVideoCampaignSettingsVideoAdInventoryControlAllowShorts, AdFormatType, SkAdNetworkRedistributedFineConversionValue and SkAdNetworkVersion columns.
  • In the Campaign view's CampaignAdvertisingChannelType column, added the value DEMAND_GEN.
  • In the ChangeStatus view, added the ChangeStatusAssetGroup column.
  • In the Customer view, added the AdFormatType, SkAdNetworkRedistributedFineConversionValue, and SkAdNetworkVersion columns.
  • In the CustomerClientLink view, added the CustomerId column.
  • In the CustomerNegativeCriterion's CustomerNegativeCriterionContentLabelType column, added the BRAND_SUITABILITY_CONTENT_FOR_FAMILIES,BRAND_SUITABILITY_GAMES_FIGHTING,BRAND_SUITABILITY_GAMES_MATURE,BRAND_SUITABILITY_HEALTH_SENSITIVE,BRAND_SUITABILITY_HEALTH_SOURCE_UNDETERMINED,BRAND_SUITABILITY_NEWS_RECENT,BRAND_SUITABILITY_NEWS_SENSITIVE,BRAND_SUITABILITY_NEWS_SOURCE_NOT_FEATURED,BRAND_SUITABILITY_POLITICS, and BRAND_SUITABILITY_RELIGION values.
  • In the GenderView view, added the SearchImpressionShare column.
  • In the KeywordView view, added the PhoneCalls column.
  • In the LocalServicesLeadConversation view's LocalServicesLeadConversationConversationChannel column, added the WHATSAPP value.
  • In the LocalServicesVerificationArtifact view, added the LocalServicesVerificationArtifactLicenseVerificationArtifactExpirationDateTime and LocalServicesVerificationArtifactInsuranceVerificationArtifactExpirationDateTime columns.
  • In the OfflineConversionUploadClientSummary view, added the OfflineConversionUploadClientSummaryPendingEventCount and OfflineConversionUploadClientSummaryPendingRate columns.
  • In the PerStoreView view, added the Date and Period columns.
  • In the Video view, added the AdFormatType column.
2024-08-2024.0.8998Google AdsRemoved
  • In the AdGroupAd view's AdGroupAdAdType column, removed the DISCOVERY_CAROUSEL_AD value.
  • In the BiddingDataExclusion view's BiddingDataExclusionAdvertisingChannelTypes column, removed the value DISCOVERY.
  • In the BiddingSeasonalityAdjustment view's BiddingSeasonalityAdjustmentAdvertisingChannelTypes column, removed the value DISCOVERY.
  • In the Campaign view's CampaignAdvertisingChannelType column, removed the value DISCOVERY.
  • Removed the CustomerClientLink view's LinkedManagerId column and CustomerId pseudocolumn.
  • Removed the CustomerLifecycleGoal's CustomerLifecycleGoalLifecycleGoalCustomerDefinitionSettingsExistingUserLists and CustomerLifecycleGoalLifecycleGoalCustomerDefinitionSettingsHighLifetimeValueUserLists columns.
2024-08-2024.0.8998Google AdsChanged
  • In the AdGroup view's AdGroupExcludedParentAssetFieldTypes column, renamed the value DISCOVERY_CAROUSEL_CARD to DEMAND_GEN_CAROUSEL_CARD.
  • Renamed the AdGroupAd view's AdGroupAdAdDiscoveryCarouselAdBusinessName column to AdGroupAdAdDemandGenCarouselAdBusinessName.
  • Renamed the AdGroupAd view's AdGroupAdAdDiscoveryCarouselAdCallToActionText column to AdGroupAdAdDemandGenCarouselAdCallToActionText.
  • Renamed the AdGroupAd view's AdGroupAdAdDiscoveryCarouselAdCarouselCards column to AdGroupAdAdDemandGenCarouselAdCarouselCards.
  • Renamed the AdGroupAd view's AdGroupAdAdDiscoveryCarouselAdDescription column to AdGroupAdAdDemandGenCarouselAdDescription.
  • Renamed the AdGroupAd view's AdGroupAdAdDiscoveryCarouselAdHeadline column to AdGroupAdAdDemandGenCarouselAdHeadline.
  • Renamed the AdGroupAd view's AdGroupAdAdDiscoveryCarouselAdLogoImage column to AdGroupAdAdDemandGenCarouselAdLogoImage.
  • Renamed the AdGroupAd view's AdGroupAdAdDiscoveryMultiAssetAdBusinessName column to AdGroupAdAdDemandGenMultiAssetAdBusinessName.
  • Renamed the AdGroupAd view's AdGroupAdAdDiscoveryMultiAssetAdCallToActionText column to AdGroupAdAdDemandGenMultiAssetAdCallToActionText.
  • Renamed the AdGroupAd view's AdGroupAdAdDiscoveryMultiAssetAdDescriptions column to AdGroupAdAdDemandGenMultiAssetAdDescriptions.
  • Renamed the AdGroupAd view's AdGroupAdAdDiscoveryMultiAssetAdHeadlines column to AdGroupAdAdDemandGenMultiAssetAdHeadlines.
  • Renamed the AdGroupAd view's AdGroupAdAdDiscoveryMultiAssetAdLeadFormOnly column to AdGroupAdAdDemandGenMultiAssetAdLeadFormOnly.
  • Renamed the AdGroupAd view's AdGroupAdAdDiscoveryMultiAssetAdLogoImages column to AdGroupAdAdDemandGenMultiAssetAdLogoImages.
  • Renamed the AdGroupAd view's AdGroupAdAdDiscoveryMultiAssetAdMarketingImages column to AdGroupAdAdDemandGenMultiAssetAdMarketingImages.
  • Renamed the AdGroupAd view's AdGroupAdAdDiscoveryMultiAssetAdPortraitMarketingImages column to AdGroupAdAdDemandGenMultiAssetAdPortraitMarketingImages.
  • Renamed the AdGroupAd view's AdGroupAdAdDiscoveryMultiAssetAdSquareMarketingImages column to AdGroupAdAdDemandGenMultiAssetAdSquareMarketingImages.
  • Renamed the AdGroupAd view's AdGroupAdAdDiscoveryVideoResponsiveAdBreadcrumb1 column to AdGroupAdAdDemandGenVideoResponsiveAdBreadcrumb1.
  • Renamed the AdGroupAd view's AdGroupAdAdDiscoveryVideoResponsiveAdBreadcrumb2 column to AdGroupAdAdDemandGenVideoResponsiveAdBreadcrumb2.
  • Renamed the AdGroupAd view's AdGroupAdAdDiscoveryVideoResponsiveAdBusinessName column to AdGroupAdAdDemandGenVideoResponsiveAdBusinessName.
  • Renamed the AdGroupAd view's AdGroupAdAdDiscoveryVideoResponsiveAdCallToActions column to AdGroupAdAdDemandGenVideoResponsiveAdCallToActions.
  • Renamed the AdGroupAd view's AdGroupAdAdDiscoveryVideoResponsiveAdDescriptions column to AdGroupAdAdDemandGenVideoResponsiveAdDescriptions.
  • Renamed the AdGroupAd view's AdGroupAdAdDiscoveryVideoResponsiveAdHeadlines column to AdGroupAdAdDemandGenVideoResponsiveAdHeadlines.
  • Renamed the AdGroupAd view's AdGroupAdAdDiscoveryVideoResponsiveAdLogoImages column to AdGroupAdAdDemandGenVideoResponsiveAdLogoImages.
  • Renamed the AdGroupAd view's AdGroupAdAdDiscoveryVideoResponsiveAdLongHeadlines column to AdGroupAdAdDemandGenVideoResponsiveAdLongHeadlines.
  • Renamed the AdGroupAd view's AdGroupAdAdDiscoveryVideoResponsiveAdVideos column to AdGroupAdAdDemandGenVideoResponsiveAdVideos.
  • In the AdGroupAd view's AdGroupAdAdType column, renamed the value DISCOVERY_MULTI_ASSET_AD to DEMAND_GEN_MULTI_ASSET_AD.
  • In the AdGroupAd view's AdGroupAdAdType column, renamed the value DISCOVERY_VIDEO_RESPONSIVE_AD to DEMAND_GEN_VIDEO_RESPONSIVE_AD.
  • Renamed the Asset view's AssetDiscoveryCarouselCardAssetCallToActionText column to AssetDemandGenCarouselCardAssetCallToActionText.
  • Renamed the Asset view's AssetDiscoveryCarouselCardAssetHeadline column to AssetDemandGenCarouselCardAssetHeadline.
  • Renamed the Asset view's AssetDiscoveryCarouselCardAssetMarketingImageAsset column to AssetDemandGenCarouselCardAssetMarketingImageAsset.
  • Renamed the Asset view's AssetDiscoveryCarouselCardAssetPortraitMarketingImageAsset column to AssetDemandGenCarouselCardAssetPortraitMarketingImageAsset.
  • Renamed the Asset view's AssetDiscoveryCarouselCardAssetSquareMarketingImageAsset column to AssetDemandGenCarouselCardAssetSquareMarketingImageAsset.
  • In the AssetGroupAsset view's AssetGroupAssetFieldType column, renamed the value DISCOVERY_CAROUSEL_CARD to DEMAND_GEN_CAROUSEL_CARD.
  • Renamed the Campaign view's CampaignDiscoveryCampaignSettingsUpgradedTargeting column to CampaignDemandGenCampaignSettingsUpgradedTargeting.
  • Renamed the Campaign view's SkAdNetworkConversionValue column to SkAdNetworkFineConversionValue.
  • In the Campaign view's CampaignExcludedParentAssetFieldTypes column, renamed the value DISCOVERY_CAROUSEL_CARD to DEMAND_GEN_CAROUSEL_CARD.
  • Renamed the Customer view's SkAdNetworkConversionValue column to SkAdNetworkFineConversionValue.
  • Renamed the CustomerClientLink view's ClientCustomerId column to CustomerClientLinkClientCustomer.
  • Renamed the CustomerClientLink view's Hidden column to CustomerClientLinkHidden.
  • Renamed the CustomerClientLink view's ManagerLinkId column to CustomerClientLinkManagerLinkId.
  • Renamed the CustomerClientLink view's ResourceName column to CustomerClientLinkResourceName.
  • Renamed the CustomerClientLink view's Status column to CustomerClientLinkStatus.
2024-07-1224.0.8959Google AdsAdded
  • Added a new "ServerTimeZone" connection property. When you set a timezone in this property, the driver assumes that datetime values from the server are in the specified timezone.
2024-07-0424.0.8951Google AdsRemoved
  • Removed the ProductBiddingCategoryConstant view since it has been deprecated from the API.
2024-06-1424.0.8931Google AdsAdded
  • Added support for V16 of the Google Ads API. This is now the default value for the APIVersion connection property.
  • Added LocalServicesEmployee view.
  • Added columns to various views.
2024-06-1424.0.8931Google AdsRemoved
  • Removed columns from various views.
2024-06-0524.0.8922PythonAdded
  • Added support for Python 3.12.
2024-05-0924.0.8895GeneralChanged
  • The ROUND function previously did not accept negative precision values. That feature has now been restored.
2024-03-1523.0.8840GeneralAdded
  • Created a new SQL function called STRING_COMPARE that provides java's String.compare() ability to SQL queries. Returns a number representative of the compared value of two strings
2023-12-1123.0.8745Google AdsChanged
  • Updated the GoogleAds schema to be compatible with Google Ads API v15.
2023-11-2923.0.8733GeneralChanged
  • The ROUND function doesn't accept the negative precision values anymore.
2023-11-2923.0.8733GeneralChanged
  • The returning types of the FDMonth, FDQuarter, FDWeek, LDMonth, LDQuarter, LDWeek functions are changed from Timestamp to Date.
  • The return type of the ABS function will be consistent with the parameter value type.
2023-11-2823.0.8732GeneralAdded
  • Added the HMACSHA256 formatter to allow for secrets to be decoded if it is in base64 format
2023-10-2023.0.8693Google AdsAdded
  • Added all missing metrics and the following column for Customer view: CustomerCustomerAgreementSettingAcceptedLeadFormTerms.
  • Added columns AllNewCustomerLifetimeValue, NewCustomerLifetimeValue, NewVersusReturningCustomers to AdGroup, AdGroupAd, Campaign views.
  • Added column NewVersusReturningCustomers to KeywordView, LocationView views.
  • Added columns RecommendationImprovePerformanceMaxAdStrengthRecommendation, RecommendationMigrateDynamicSearchAdsCampaignToPerformanceMaxRecommendation, RecommendationPerformanceMaxOptInRecommendation to Recommendation view.
  • Added columns AdGroupAdAdDiscoveryVideoResponsiveAdBreadcrumb1, AdGroupAdAdDiscoveryVideoResponsiveAdBreadcrumb2, AdGroupAdAdDiscoveryVideoResponsiveAdBusinessName, AdGroupAdAdDiscoveryVideoResponsiveAdCallToActions, AdGroupAdAdDiscoveryVideoResponsiveAdDescriptions, AdGroupAdAdDiscoveryVideoResponsiveAdHeadlines, AdGroupAdAdDiscoveryVideoResponsiveAdLogoImages, AdGroupAdAdDiscoveryVideoResponsiveAdLongHeadlines, AdGroupAdAdDiscoveryVideoResponsiveAdVideos to AdGroupAd view.
  • Added columns AdGroupCriterionLanguageLanguageConstant, AdGroupCriterionListingGroupPath, AdGroupCriterionLocationGeoTargetConstant to AdGroupCriterion view.
  • Added columns AssetGroupPrimaryStatus, AssetGroupPrimaryStatusReasons to AssetGroup view.
  • Added columns AssetGroupAssetPrimaryStatus, AssetGroupAssetPrimaryStatusDetails, AssetGroupAssetPrimaryStatusReasons to AssetGroupAsset view.
  • Added column AssetGroupListingGroupFilterPath to AssetGroupListingGroupFilter view.
  • Added columns CampaignDiscoveryCampaignSettingsUpgradedTargeting, CampaignShoppingSettingAdvertisingPartnerIds to Campaign view.
  • Added the following value to AdGroupAd.AdGroupAdAdType: DISCOVERY_VIDEO_RESPONSIVE_AD
  • Added the following values to Asset.AssetCallToActionAssetCallToAction: BUY_NOW, DONATE_NOW, ORDER_NOW, PLAY_NOW, SEE_MORE, START_NOW, VISIT_SITE, WATCH_NOW.
  • Added the following values to Campaign.CampaignPrimaryStatusReasons: HAS_ASSET_GROUPS_DISAPPROVED, HAS_ASSET_GROUPS_LIMITED_BY_POLICY, MOST_ASSET_GROUPS_UNDER_REVIEW.
  • Added the following values to Campaign.RecommendationType: IMPROVE_PERFORMANCE_MAX_AD_STRENGTH, MIGRATE_DYNAMIC_SEARCH_ADS_CAMPAIGN_TO_PERFORMANCE_MAX, PERFORMANCE_MAX_OPT_IN.
  • Added the following values to Recommendation.RecommendationType: IMPROVE_PERFORMANCE_MAX_AD_STRENGTH, MIGRATE_DYNAMIC_SEARCH_ADS_CAMPAIGN_TO_PERFORMANCE_MAX, PERFORMANCE_MAX_OPT_IN.
  • Added views CampaignSearchTermInsight, CustomerSearchTermInsight.
2023-08-2923.0.8641PythonAdded
  • Added support for SQLAlchemy 2.0.
2023-08-0323.0.8615Google AdsChanged
  • Renamed the following pre-defined views, AccountStats to AccountStatsReport, AccountHourlyStats to AccountHourlyStatsReport, AdGroupStats to AdGroupStatsReport, AdGroupHourlyStats to AdGroupHourlyStatsReport, AdStats to AdStatsReport, AudienceStats to AudienceStatsReport, CampaignStats to CampaignStatsReport, CampaignHourlyStats to CampaignHourlyStatsReport, KeywordStats to KeywordStats Report.
2023-08-0223.0.8614Google AdsChanged
  • Updated the GoogleAds schema to be compatible with Google Ads API v14.
2023-06-2323.0.8574Google AdsAdded
  • Added ClickViewFiltredReport view. Using this view, filtered operator in DATE column for getting data in multiple days are supported.
2023-06-2023.0.8571GeneralAdded
  • Added the new sys_lastresultinfo system table.
2023-05-1923.0.8539PythonAdded
  • Added support for Python 3.11 on Windows, Linux and Mac.
2023-05-1623.0.8536PythonRemoved
  • Removed support for Python 3.7 on Windows and Linux
2023-04-2523.0.8515GeneralRemoved
  • Removed support for the SELECT INTO CSV statement. The core code doesn't support it anymore.
2023-03-2322.0.8482Google AdsAdded
  • Added the following pre-defined views, AccountStats, AccountHourlyStats, AdGroupStats, AdGroupHourlyStats, AdStats, AudienceStats, CampaignStats, CampaignHourlyStats, KeywordStats.
2023-01-2522.0.8425Google AdsAdded
  • Added support for PKCE using the OAuthPKCE auth scheme
2023-01-1622.0.8416Google AdsChanged
  • Changed FeedItemSet.FeedItemSetDynamicAffiliateLocationSetFilterChainIds's xs:type attribute from 'long' to 'string'.
  • Changed Feed.FeedAffiliateLocationFeedDataChainIds's xs:type attribute from 'long' to 'string'.
  • Changed AssetSet.AssetSetLocationSetBusinessProfileLocationSetListingIdFilters's xs:type attribute from 'long' to 'string'.
2022-12-1422.0.8383GeneralChanged
  • Added the Default column to the sys_procedureparameters table.
2022-12-0622.0.8375Google AdsAdded
  • Added WriteToFile as an input for CreateReportSchema. If set to True, the schema file will be written to the directory specified by the Location connection property. If set to False, the schema data will either be written to the FileStream or be output as BASE64 encoded data. Defaults to True.
2022-12-0622.0.8375Google AdsRemoved
  • Removed OutputFolder from the CreateReportSchema stored procedure. If WriteToFile is set to true, all schema files will be written to the directory specified by the Location connection property.
2022-11-1522.0.8354PythonChanged
  • Updated embedded JRE to jre8u345-b01(Linux x64 / MacOS x64) and jre-17.0.5+8(MacOS aarch64).
2022-11-1122.0.8350Google AdsAdded
  • Updated the driver to be compliant with the v12 release of GoogleAds.
  • Added the following tables PerStoreView, CustomerAssetSet, AssetSetTypeView and AdGroupAssetSet.
  • Added the following column to the AccountLink table, AccountLinkAdvertisingPartnerCustomer.
  • Added the following column to the BiddingStrategy table, BiddingStrategyAlignedCampaignBudgetId.
  • Added the following column to the CampaignBudget table, CampaignBudgetAlignedBiddingStrategyId.
  • Added the following column to the CampaignCriterion table, CampaignCriterionLocationGroupEnableCustomerLevelLocationAssetSet.
  • Added the following column to the LeadFormSubmissionData table, LeadFormSubmissionDataCustomLeadFormSubmissionFields.
  • Added the following column to the AdGroup table, AdGroupExcludedParentAssetSetTypes.
  • Added the following columns to the AdGroupAdAssetView table, AdGroupAdAssetViewPinnedField, ConversionAction.
  • Added the following columns to the Asset table, AssetLocationAssetBusinessProfileLocations, AssetLocationAssetLocationOwnershipType, AssetLocationAssetPlaceId.
  • Added the following columns to the AssetSet table, AssetSetBusinessProfileLocationGroupDynamicBusinessProfileLocationGroupFilterBusinessNameFilterBusinessName, AssetSetBusinessProfileLocationGroupDynamicBusinessProfileLocationGroupFilterBusinessNameFilterFilterType, AssetSetBusinessProfileLocationGroupDynamicBusinessProfileLocationGroupFilterLabelFilters, AssetSetLocationSetBusinessProfileLocationSetBusinessNameFilter, AssetSetLocationSetBusinessProfileLocationSetLabelFilters, AssetSetLocationSetBusinessProfileLocationSetListingIdFilters, AssetSetLocationSetChainLocationSetRelationshipType, AssetSetLocationSetLocationOwnershipType.
  • Added the following columns to the AssetSetAsset table, AbsoluteTopImpressionPercentage, AllConversions, AllConversionsFromInteractionsRate, AllConversionsValue, AverageCost, AverageCpc, AverageCpm, Clicks, Conversions, ConversionsFromInteractionsRate, ConversionsValue, CostMicros, CostPerAllConversions, CostPerConversion, CrossDeviceConversions, Ctr, EngagementRate, Engagements, Impressions, InteractionEventTypes, InteractionRate, Interactions, PhoneCalls, PhoneImpressions, PhoneThroughRate, TopImpressionPercentage, ValuePerAllConversions, ValuePerConversion, AdNetworkType, AssetInteractionTargetAsset, AssetInteractionTargetInteractionOnThisAsset, ClickType, ConversionAction, ConversionActionCategory, ConversionActionName, Date, DayOfWeek, Device, ExternalConversionSource, Month, MonthOfYear, Period, Quarter, Slot, Week, Year.
  • Added the following columns to the Campaign table, CampaignExcludedParentAssetSetTypes, CampaignPrimaryStatus, CampaignPrimaryStatusReasons, AllConversionsFromLocationAssetClickToCall, AllConversionsFromLocationAssetDirections, AllConversionsFromLocationAssetMenu, AllConversionsFromLocationAssetOrder, AllConversionsFromLocationAssetOtherEngagement, AllConversionsFromLocationAssetStoreVisits, AllConversionsFromLocationAssetWebsite, EligibleImpressionsFromLocationAssetStoreReach, PublisherOrganicClicks, PublisherPurchasedClicks, PublisherUnknownClicks, ViewThroughConversionsFromLocationAssetClickToCall, ViewThroughConversionsFromLocationAssetDirections, ViewThroughConversionsFromLocationAssetMenu, ViewThroughConversionsFromLocationAssetOrder, ViewThroughConversionsFromLocationAssetOtherEngagement, ViewThroughConversionsFromLocationAssetStoreVisits, ViewThroughConversionsFromLocationAssetWebsite.
  • Added the following value to AccountLink.AccountLinkType: ADVERTISING_PARTNER.
  • Added the following value to AdGroup.AdGroupExcludedParentAssetFieldTypes: AD_IMAGE.
  • Added the following value to AdGroupAdAssetView.AdGroupAdAssetViewFieldType: AD_IMAGE.
  • Added the following value to AdGroupAsset.AdGroupAssetFieldType: AD_IMAGE.
  • Added the following value to Asset.AssetType: LOCATION.
  • Added the following value to AssetFieldTypeView.AssetFieldTypeViewFieldType: AD_IMAGE.
  • Added the following value to AssetGroupAsset.AssetGroupAssetFieldType: AD_IMAGE.
  • Added the following value to Campaign.CampaignExcludedParentAssetFieldTypes: AD_IMAGE.
  • Added the following value to Campaign.RecommendationType: FORECASTING_SET_TARGET_ROAS, RAISE_TARGET_CPA_BID_TOO_LOW.
  • Added the following value to CampaignAsset.CampaignAssetFieldType: AD_IMAGE.
  • Added the following value to CustomerAsset.CustomerAssetFieldType: AD_IMAGE.
  • Added the following value to Recommendation.RecommendationType: FORECASTING_SET_TARGET_ROAS, RAISE_TARGET_CPA_BID_TOO_LOW.
  • Added the following values to AssetSet.AssetSetType: BUSINESS_PROFILE_DYNAMIC_LOCATION_GROUP, CHAIN_DYNAMIC_LOCATION_GROUP, LOCATION_SYNC, STATIC_LOCATION_GROUP.
  • Added the following values to OfflineUserDataJob.OfflineUserDataJobFailureReason: HIGH_AVERAGE_TRANSACTION_VALUE, LOW_AVERAGE_TRANSACTION_VALUE, NEWLY_OBSERVED_CURRENCY_CODE.
2022-11-1122.0.8350Google AdsChanged
  • Updated the schema to be compatible with Google Ads API v12. The default APIVersion is now v12. Google has sunset V9. v10 will sunset on January 2023. v11 will sunset on March/April 2023.
  • Renamed ExperimentArm.ExperimentArmTrial to ExperimentArm.ExperimentArmExperiment.
2022-11-1122.0.8350Google AdsRemoved
  • Removed the following columns from the AdGroupAd table, AdGroupAdAdGmailAdHeaderImage, AdGroupAdAdGmailAdMarketingImage, AdGroupAdAdGmailAdMarketingImageDescription,AdGroupAdAdGmailAdMarketingImageDisplayCallToActionText, AdGroupAdAdGmailAdMarketingImageDisplayCallToActionTextColor, AdGroupAdAdGmailAdMarketingImageDisplayCallToActionUrlCollectionId,AdGroupAdAdGmailAdMarketingImageHeadline, AdGroupAdAdGmailAdProductImages, AdGroupAdAdGmailAdProductVideos, AdGroupAdAdGmailAdTeaserBusinessName, AdGroupAdAdGmailAdTeaserDescription,AdGroupAdAdGmailAdTeaserHeadline, AdGroupAdAdGmailAdTeaserLogoImage.
  • Removed the following value from AdGroupAd.AdGroupAdAdType: GMAIL_AD.
2022-11-1122.0.8350Google AdsDeprecated
  • Deprecated CampaignExperiment. This table can only be used with APIVersion v11 or older.
2022-10-1322.0.8321Google AdsDeprecated
  • The ClientCustomerId field now has support for multiple ids in addition to All, which will use all currently active ids.
  • SELECT CustomerID FROM Customer can now be used to retrieve all the client's ids.
2022-09-3022.0.8308GeneralChanged
  • Added the IsPath column to the sys_procedureparameters table.
2022-09-0122.0.8279Google AdsAdded
  • Updated the driver to be compliant with the v11 release of GoogleAds.
  • Added the following tables, LeadFormSubmissionData and CampaignGroup.
  • Added the following columns to the AccountLink table, AccountLinkHotelCenterHotelCenterId.
  • Added the following columns to the AdGroup table, AssetInteractionTargetAsset, AssetInteractionTargetInteractionOnThisAsset, AuctionInsightDomain.
  • Added the following columns to the AdGroupAd table, AdGroupAdAdDiscoveryCarouselAdBusinessName, AdGroupAdAdDiscoveryCarouselAdCallToActionText, AdGroupAdAdDiscoveryCarouselAdCarouselCards, AdGroupAdAdDiscoveryCarouselAdDescription, AdGroupAdAdDiscoveryCarouselAdHeadline, AdGroupAdAdDiscoveryCarouselAdLogoImage, AdGroupAdAdDiscoveryMultiAssetAdBusinessName, AdGroupAdAdDiscoveryMultiAssetAdCallToActionText, AdGroupAdAdDiscoveryMultiAssetAdDescriptions, AdGroupAdAdDiscoveryMultiAssetAdHeadlines, AdGroupAdAdDiscoveryMultiAssetAdLeadFormOnly, AdGroupAdAdDiscoveryMultiAssetAdLogoImages, AdGroupAdAdDiscoveryMultiAssetAdMarketingImages, AdGroupAdAdDiscoveryMultiAssetAdPortraitMarketingImages, AdGroupAdAdDiscoveryMultiAssetAdSquareMarketingImages, AdGroupAdAdVideoResponsiveAdBreadcrumb1, AdGroupAdAdVideoResponsiveAdBreadcrumb2.
  • Added the following columns to the AdGroupAdAssetCombinationView table, AdGroupAdAssetCombinationViewEnabled.
  • Added the following columns to the AdGroupAsset table, AdGroupAssetSource.
  • Added the following columns to the AdGroupAudienceView table, AbsoluteTopImpressionPercentage, TopImpressionPercentage.
  • Added the following columns to the Asset table, AssetDiscoveryCarouselCardAssetCallToActionText, AssetDiscoveryCarouselCardAssetHeadline, AssetDiscoveryCarouselCardAssetMarketingImageAsset, AssetDiscoveryCarouselCardAssetPortraitMarketingImageAsset, AssetDiscoveryCarouselCardAssetSquareMarketingImageAsset, AssetDynamicCustomAssetAndroidAppLink, AssetDynamicCustomAssetContextualKeywords, AssetDynamicCustomAssetFormattedPrice, AssetDynamicCustomAssetFormattedSalePrice, AssetDynamicCustomAssetId, AssetDynamicCustomAssetId2, AssetDynamicCustomAssetImageUrl, AssetDynamicCustomAssetIosAppLink, AssetDynamicCustomAssetIosAppStoreId, AssetDynamicCustomAssetItemAddress, AssetDynamicCustomAssetItemCategory, AssetDynamicCustomAssetItemDescription, AssetDynamicCustomAssetItemSubtitle, AssetDynamicCustomAssetItemTitle, AssetDynamicCustomAssetPrice, AssetDynamicCustomAssetSalePrice, AssetDynamicCustomAssetSimilarIds, AssetDynamicFlightsAssetAndroidAppLink, AssetDynamicFlightsAssetCustomMapping, AssetDynamicFlightsAssetDestinationId, AssetDynamicFlightsAssetDestinationName, AssetDynamicFlightsAssetFlightDescription, AssetDynamicFlightsAssetFlightPrice, AssetDynamicFlightsAssetFlightSalePrice, AssetDynamicFlightsAssetFormattedPrice, AssetDynamicFlightsAssetFormattedSalePrice, AssetDynamicFlightsAssetImageUrl, AssetDynamicFlightsAssetIosAppLink, AssetDynamicFlightsAssetIosAppStoreId, AssetDynamicFlightsAssetOriginId, AssetDynamicFlightsAssetOriginName, AssetDynamicFlightsAssetSimilarDestinationIds, AssetDynamicHotelsAndRentalsAssetAddress, AssetDynamicHotelsAndRentalsAssetAndroidAppLink, AssetDynamicHotelsAndRentalsAssetCategory, AssetDynamicHotelsAndRentalsAssetContextualKeywords, AssetDynamicHotelsAndRentalsAssetDescription, AssetDynamicHotelsAndRentalsAssetDestinationName, AssetDynamicHotelsAndRentalsAssetFormattedPrice, AssetDynamicHotelsAndRentalsAssetFormattedSalePrice, AssetDynamicHotelsAndRentalsAssetImageUrl, AssetDynamicHotelsAndRentalsAssetIosAppLink, AssetDynamicHotelsAndRentalsAssetIosAppStoreId, AssetDynamicHotelsAndRentalsAssetPrice, AssetDynamicHotelsAndRentalsAssetPropertyId, AssetDynamicHotelsAndRentalsAssetPropertyName, AssetDynamicHotelsAndRentalsAssetSalePrice, AssetDynamicHotelsAndRentalsAssetSimilarPropertyIds, AssetDynamicHotelsAndRentalsAssetStarRating, AssetDynamicJobsAssetAddress, AssetDynamicJobsAssetAndroidAppLink, AssetDynamicJobsAssetContextualKeywords, AssetDynamicJobsAssetDescription, AssetDynamicJobsAssetImageUrl, AssetDynamicJobsAssetIosAppLink, AssetDynamicJobsAssetIosAppStoreId, AssetDynamicJobsAssetJobCategory, AssetDynamicJobsAssetJobId, AssetDynamicJobsAssetJobSubtitle, AssetDynamicJobsAssetJobTitle, AssetDynamicJobsAssetLocationId, AssetDynamicJobsAssetSalary, AssetDynamicJobsAssetSimilarJobIds, AssetDynamicLocalAssetAddress, AssetDynamicLocalAssetAndroidAppLink, AssetDynamicLocalAssetCategory, AssetDynamicLocalAssetContextualKeywords, AssetDynamicLocalAssetDealId, AssetDynamicLocalAssetDealName, AssetDynamicLocalAssetDescription, AssetDynamicLocalAssetFormattedPrice, AssetDynamicLocalAssetFormattedSalePrice, AssetDynamicLocalAssetImageUrl, AssetDynamicLocalAssetIosAppLink, AssetDynamicLocalAssetIosAppStoreId, AssetDynamicLocalAssetPrice, AssetDynamicLocalAssetSalePrice, AssetDynamicLocalAssetSimilarDealIds, AssetDynamicLocalAssetSubtitle, AssetDynamicRealEstateAssetAddress, AssetDynamicRealEstateAssetAndroidAppLink, AssetDynamicRealEstateAssetCityName, AssetDynamicRealEstateAssetContextualKeywords, AssetDynamicRealEstateAssetDescription, AssetDynamicRealEstateAssetFormattedPrice, AssetDynamicRealEstateAssetImageUrl, AssetDynamicRealEstateAssetIosAppLink, AssetDynamicRealEstateAssetIosAppStoreId, AssetDynamicRealEstateAssetListingId, AssetDynamicRealEstateAssetListingName, AssetDynamicRealEstateAssetListingType, AssetDynamicRealEstateAssetPrice, AssetDynamicRealEstateAssetPropertyType, AssetDynamicRealEstateAssetSimilarListingIds, AssetDynamicTravelAssetAndroidAppLink, AssetDynamicTravelAssetCategory, AssetDynamicTravelAssetContextualKeywords, AssetDynamicTravelAssetDestinationAddress, AssetDynamicTravelAssetDestinationId, AssetDynamicTravelAssetDestinationName, AssetDynamicTravelAssetFormattedPrice, AssetDynamicTravelAssetFormattedSalePrice, AssetDynamicTravelAssetImageUrl, AssetDynamicTravelAssetIosAppLink, AssetDynamicTravelAssetIosAppStoreId, AssetDynamicTravelAssetOriginId, AssetDynamicTravelAssetOriginName, AssetDynamicTravelAssetPrice, AssetDynamicTravelAssetSalePrice, AssetDynamicTravelAssetSimilarDestinationIds, AssetDynamicTravelAssetTitle, AssetLeadFormAssetCustomQuestionFields, AssetSource.
  • Added the following columns to the AssetGroup table, AssetGroupAdStrength.
  • Added the following columns to the AssetSet table, AssetSetId.
  • Added the following columns to the Campaign table, CampaignBiddingStrategySystemStatus, CampaignCampaignGroup, CampaignLocalServicesCampaignSettingsCategoryBids, CampaignManualCpa, CampaignPerformanceMaxUpgradePerformanceMaxCampaign, CampaignPerformanceMaxUpgradePreUpgradeCampaign, CampaignPerformanceMaxUpgradeStatus, CampaignShoppingSettingFeedLabel, AllConversionsFromClickToCall, AllConversionsFromDirections, AllConversionsFromMenu, AllConversionsFromOrder, AllConversionsFromOtherEngagement, AllConversionsFromStoreVisit, AllConversionsFromStoreWebsite, AssetInteractionTargetAsset, AssetInteractionTargetInteractionOnThisAsset, AuctionInsightDomain, SkAdNetworkAttributionCredit.
  • Added the following columns to the CampaignAsset table, CampaignAssetSource.
  • Added the following columns to the CampaignAudienceView table, AbsoluteTopImpressionPercentage, TopImpressionPercentage.
  • Added the following columns to the ConversionAction table, ConversionActionFirebaseSettingsPropertyId, ConversionActionFirebaseSettingsPropertyName, AllConversions, AllConversionsValue, Date, Month, Period, Quarter, Week.
  • Added the following columns to the Customer table, CustomerConversionTrackingSettingGoogleAdsConversionCustomer.
  • Added the following columns to the CustomerAsset table, CustomerAssetSource.
  • Added the following columns to the KeywordView table, AuctionInsightDomain.
  • Added the following columns to the Recommendation table, RecommendationDisplayExpansionOptInRecommendation, RecommendationResponsiveSearchAdImproveAdStrengthRecommendation, RecommendationUpgradeLocalCampaignToPerformanceMaxRecommendation, RecommendationUpgradeSmartShoppingCampaignToPerformanceMaxRecommendation.
  • Added the following columns to the SmartCampaignSetting table, SmartCampaignSettingAdOptimizedBusinessProfileSettingIncludeLeadForm, SmartCampaignSettingBusinessProfileLocation.
  • Added the following columns to the UserList table, UserListRuleBasedUserListFlexibleRuleUserListExclusiveOperands, UserListRuleBasedUserListFlexibleRuleUserListInclusiveOperands, UserListRuleBasedUserListFlexibleRuleUserListInclusiveRuleOperator.
2022-09-0122.0.8279Google AdsChanged
  • Updated the schema to be compatible with Google Ads API v11. The default APIVersion is now v11. Google has sunset v7 and v8. V9 will sunset on September 2022.
  • Renamed AccessibleBiddingStrategy.AccessibleBiddingStrategyMaximizeConversionsTargetCpa to AccessibleBiddingStrategy.AccessibleBiddingStrategyMaximizeConversionsTargetCpaMicros.
  • Renamed BiddingStrategy.BiddingStrategyMaximizeConversionsTargetCpa to BiddingStrategy.BiddingStrategyMaximizeConversionsTargetCpaMicros.
  • Renamed Campaign.CampaignMaximizeConversionsTargetCpa to Campaign.CampaignMaximizeConversionsTargetCpaMicros.
  • Removed SmartCampaignSettings.SmartCampaignSettingBusinessLocationId.
  • Removed UserList.UserListRuleBasedUserListDateSpecificRuleUserListEndDate.
  • Removed UserList.UserListRuleBasedUserListDateSpecificRuleUserListRuleRuleItemGroups.
  • Removed UserList.UserListRuleBasedUserListDateSpecificRuleUserListRuleRuleType.
  • Removed UserList.UserListRuleBasedUserListDateSpecificRuleUserListStartDate.
  • Removed 'SMART_DISPLAY' value for ExperimentType column (Experiment table).
2022-07-0122.0.8217Google AdsAdded
  • Added support for Google Ads Native Queries with Query Passthrough.
2022-06-2322.0.8209Google AdsAdded
  • Added back embedded credentials.
2022-05-1822.0.8173PythonAdded
  • Added support for Python 3.10 on Windows, Linux, and Mac
  • Added support for Python 3.9 on Mac
  • Added support for Mac M1
2022-05-1822.0.8173PythonRemoved
  • Removed support for Python 3.6 on Windows and Linux
2022-04-2222.0.8147Google AdsRemoved
  • Removed the AdWords schema as it has been sunset.
2022-03-2321.0.8117Google AdsAdded
  • Added support for using predefined date ranges by introducing the Period column to many tables.
2022-03-0421.0.8098Google AdsAdded
  • Added the tables AdGroupAdAssetCombinationView, AssetGroupSignal, Audience, Experiment, ExperimentArm
  • Added the following columns to the AdGroup table: AdGroupAudienceSettingUseAudienceGrouped, AdGroupEffectiveCpcBidMicros
  • Added the following columns to the AdGroupAdAssetView table: BiddableAppInstallConversions, BiddableAppPostInstallConversions
  • Added the following columns to the AdGroupCriterion table: AdGroupCriterionAudienceAudience
  • Added the following columns to the Campaign table: CampaignAudienceSettingUseAudienceGrouped, CampaignShoppingSettingUseVehicleInventory, SkAdNetworkAdEventType, SkAdNetworkSourceAppSkAdNetworkSourceAppId, SkAdNetworkUserType
  • Added the following columns to the ConversionValueRuleSet table: ConversionValueRuleSetConversionActionCategories
  • Added the following columns to the Customer table: CustomerConversionTrackingSettingAcceptedCustomerDataTerms, CustomerConversionTrackingSettingConversionTrackingStatus, CustomerConversionTrackingSettingEnhancedConversionsForLeadsEnabled, CustomerStatus
  • Added the following columns to the CustomerClient table: CustomerClientStatus
  • Added the following columns to the GeographicView table: AbsoluteTopImpressionPercentage, TopImpressionPercentage
  • Added the following columns to the HotelReconciliation table: HotelReconciliationCampaign, HotelCommissionRateMicros, HotelExpectedCommissionCost
  • Added the following columns to the Recommendation table: RecommendationResponsiveSearchAdAssetRecommendation, RecommendationUseBroadMatchKeywordRecommendation
2022-03-0421.0.8098Google AdsChanged
  • Updated the GoogleAds schema to be compatible with Google Ads API v10.
  • Renamed AdGroupAd.AdGroupAdAdVideoAdDiscoveryDescription1 to AdGroupAd.AdGroupAdAdVideoAdInFeedDescription1
  • Renamed AdGroupAd.AdGroupAdAdVideoAdDiscoveryDescription2 to AdGroupAd.AdGroupAdAdVideoAdInFeedDescription2
  • Renamed AdGroupAd.AdGroupAdAdVideoAdDiscoveryHeadline to AdGroupAd.AdGroupAdAdVideoAdInFeedHeadline
  • Renamed AdGroupAd.AdGroupAdAdVideoAdDiscoveryThumbnail to AdGroupAd.AdGroupAdAdVideoAdInFeedThumbnail
2022-02-0921.0.8075Google AdsAdded
  • Added support for using CustomerId in a query. For example, let's say you have a lot of accounts from which you want to get data. Instead of opening multiple connections, each with their own ClientCustomerId connection property, you can now specify the customer ids in a list: SELECT * FROM AdGroupAd WHERE CustomerId IN ('1111111111', '2222222222'). You can also specify just one CustomerId: SELECT * FROM AdGroupAd WHERE CustomerId='3333333333'
2022-02-0921.0.8075Google AdsChanged
  • ClientCustomerId is no longer a required connection property.
2022-02-0921.0.8075Google AdsRemoved
  • Removed unsupported columns from the tables: AdGroup, AdGroupAd, BiddingStrategy, Campaign, KeywordView. The unsupported columns can not be selected if the table is specified in the FROM clause of the query.
2021-11-1221.0.7986Google AdsAdded
  • Added the tables: AdGroupCriterionCustomizer, AdGroupCustomizer, AssetGroup, AssetGroupAsset, AssetGroupListingGroupFilter, AssetSet, AssetSetAsset, CampaignAssetSet, CampaignConversionGoal, CampaignCustomizer, ConversionGoalCampaignConfig, CustomConversionGoal, CustomerConversionGoal, CustomerCustomizer, CustomizerAttribute, HotelReconciliation.
2021-11-1221.0.7986Google AdsChanged
  • The view Resources now shows the resource name, attribute resources and segmenting resources. They are needed when executing the stored procedure CreateReportSchema.
2021-11-1221.0.7986Google AdsRemoved
  • Removed CustomerId from the following tables where it is not available: CarrierConstant, CurrencyConstant, GeoTargetConstant, KeywordThemeConstant, LanguageConstant, LifeEvent, HotelPerformanceView, MobileAppCategoryConstant, MobileDeviceConstant, OperatingSystemVersionConstant, ProductBiddingCategoryConstant, TopicConstant, UserInterest
2021-11-0421.0.7978Google AdsAdded
  • Added the following columns to the Asset table: AssetCallAssetAdScheduleTargets, AssetCallAssetCallConversionAction, AssetCallAssetCallConversionReportingState, AssetCallAssetCountryCode, AssetCallAssetPhoneNumber, AssetCallToActionAssetCallToAction, AssetHotelCalloutAssetLanguageCode, AssetHotelCalloutAssetText, AssetMobileAppAssetAppId, AssetMobileAppAssetAppStore, AssetMobileAppAssetEndDate, AssetMobileAppAssetLinkText, AssetMobileAppAssetStartDate, AssetPriceAssetLanguageCode, AssetPriceAssetPriceOfferings, AssetPriceAssetPriceQualifier, AssetPriceAssetType.
  • Added the following columns to the BiddingStrategy table: BiddingStrategyMaximizeConversionValueCpcBidCeilingMicros, BiddingStrategyMaximizeConversionValueCpcBidFloorMicros, BiddingStrategyMaximizeConversionValueTargetRoas, BiddingStrategyMaximizeConversionsCpcBidCeilingMicros, BiddingStrategyMaximizeConversionsCpcBidFloorMicros, BiddingStrategyMaximizeConversionsTargetCpa.
2021-11-0421.0.7978Google AdsChanged
  • Updated the GoogleAds schema to be compatible with Google Ads API v9.
2021-09-0221.0.7915GeneralAdded
  • Added support for the STRING_SPLIT table-valued function in the CROSS APPLY clause.
2021-08-0721.0.7889GeneralChanged
  • Added the KeySeq column to the sys_foreignkeys table.
2021-08-0621.0.7888GeneralChanged
  • Added the new sys_primarykeys system table.
2021-07-2321.0.7874GeneralChanged
  • Updated the Literal Function Names for relative date/datetime functions. Previously, relative date/datetime functions resolved to a different value when used in the projection as opposed to the predicate. For example: SELECT LAST_MONTH() AS lm, Col FROM Table WHERE Col > LAST_MONTH(). Formerly, the two LAST_MONTH() methods would resolve to different datetimes. Now, they will match.
  • As a replacement for the previous behavior, the relative date/datetime functions in the criteria may have an 'L' appended to them. For example: WHERE col > L_LAST_MONTH(). This will continue to resolve to the same values that were previously calculated in the criteria. Note that the "L_" prefix will only work in the predicate - it not available for the projection.
2021-07-2121.0.7872Google AdsRemoved
  • Removed the embedded credentials since they are no longer working for other Developer Keys.
2021-06-2121.0.7842Google AdsAdded
  • Added the connection property APIVersion, which defaults to v8. This connection property controls the Google Ads API version.
2021-06-2121.0.7842Google AdsChanged
  • Updated the GoogleAds schema to be compatible with Google Ads API v8.
  • Renamed the v201809 schema to AdWords, and the googleadsv6 schema to GoogleAds.
2021-06-1821.0.7839Google AdsAdded
  • Added support for the GOOGLEJSONBLOB JWT certificate type. This works like the existing GOOGLEJSON certificate type except that the certificate is provided as JSON text instead of as a file path.
2021-04-2321.0.7783GeneralChanged
  • Updated how display sizes are determined for varchar primary key and foreign key columns so they will match the reported length of the column.
2021-04-1621.0.7776GeneralChanged
  • Reduced the length to 255 for varchar primary key and foreign key columns.
2021-04-1621.0.7776GeneralChanged
  • Updated implicit and metadata caching to improve performance and support for multiple connections. Old metadata caches are not compatible - you need to generate new metadata caches if you are currently using CacheMetadata.
2021-04-1621.0.7776GeneralChanged
  • Updated index naming convention to avoid duplicates.
2020-11-1520.0.7624Google AdsAdded
  • Added schema GoogleAdsV6 which uses the Google Ads API V6 to connect to Google Ads data. Added the corresponding 'Data Model' subsection in the Help Documentation.
  • Removed deprecated columns (GoogleAdsV3 and GoogleAdsV6 schemas): HotelPerformanceView.CustomerId and BiddingStrategyTargetOutrankShareCompetitorDomain, BiddingStrategyTargetOutrankShareCpcBidCeilingMicros, BiddingStrategyTargetOutrankShareOnlyRaiseCpcBids, BiddingStrategyTargetOutrankShareRaiseCpcBidWhenQualityScoreIsLow, BiddingStrategyTargetOutrankShareTargetOutrankShareMicros from the BiddingStrategy View.
  • The aggregate column AdGroupAdPolicySummary in the AdGroupAd and AdGroupAdAssetView views of the GoogleAdsV6 schema has been expanded to AdGroupAdPolicySummaryApprovalStatus, AdGroupAdPolicySummaryPolicyTopicEntries, AdGroupAdPolicySummaryReviewStatus.
  • Added new columns (GoogleAdsV6 schema): Customer.CustomerOptimizationScore, AdGroupCriterion.AdGroupCriterionDisapprovalReasons, HotelGroupView.HotelEligibleImpressions, HotelPerformanceView.HotelEligibleImpressions, BiddingStrategy.BiddingStrategyEffectiveCurrencyCode, ClickView.ClickViewCampaignLocationTarget, ClickView.ClickViewUserList, CampaignCriterion.CampaignCriterionCustomAudience, AdGroupCriterion. AdGroupCriterionCustomAudience, Customer.CustomerOptimizationScoreWeight.

CData Python Connector for Google Ads

Using the Connector

This section provides a walk-through for writing Google Ads data access code in Python script.

For more information on the available data source entities and how to query them with SQL, see Data Model. For the SQL syntax, see SQL Compliance.

Connecting from Code

For information on how to deploy the connector and configure the connection to Google Ads, see Package Installation and Establishing a Connection.

For information on how to connect with the googleads.connector module and its related classes, see Connecting.

Executing SQL

The connection's cursor object is used to directly execute SQL queries. For information on how to execute SELECT statements and process the returned result sets, see Querying Data.

Executing Stored Procedures

You can call stored procedures by using the EXECUTE statement. For further information, see Calling Stored Procedures.

CData Python Connector for Google Ads

Connecting

Connecting with the cdata.googleads Module:

The connector's module is used directly to establish a connection with the data source. It does this by using a connection string as its argument. For example:
import cdata.googleads as mod
conn = mod.connect("InitiateOAuth=GETANDREFRESH;DeveloperToken=myDeveloperToken;ClientCustomerId=myClientCustomerId;")

Once the connection is created, you can use it to execute subsequent SQL queries.

CData Python Connector for Google Ads

Querying Data

After connecting as described in Connecting, you can use the open connection to execute SQL statements.

Executing Queries

To execute SQL statements that return data, use the execute() method. Once a query is executed, the result set is fetched from the cursor. This result set can then be iterated over to process the records individually.

For example:

cur = conn.execute("SELECT Clicks, Device FROM CampaignPerformance")
rs = cur.fetchall()
for row in rs:
	print(row)

Parameterized Queries

Various Python collections, such as arrays and tuples, can act as additional arguments for the execute() method. This enables you to parameterize the queries executed and help to prevent SQL Injection.

For example:

cmd = "SELECT Clicks, Device FROM CampaignPerformance WHERE Device = ?"
params = ["Mobile devices with full browsers"]
cur = conn.execute(cmd, params)
rs = cur.fetchall()
for row in rs:
	print(row)

CData Python Connector for Google Ads

Calling Stored Procedures

You can execute stored procedures using either the execute() or callproc() method of the connection.

Calling Stored Procedures Using Execute()

When you call stored procedures by issuing EXECUTE commands, the stored procedure arguments are parameterized. For example:
cmd = "EXECUTE GetOAuthAccessToken AuthMode = ?"
params = ["APP"]
conn.execute(cmd, params)

Calling Stored Procedures Using Callproc()

When you call stored procedured by issuing the callproc() method, the stored procedure arguments are a procedure name and a list of parameters. For example:
cur = conn.cursor()
params = ["APP"]
cur.callproc("GetOAuthAccessToken", params)

CData Python Connector for Google Ads

Using from Tools

The connector is integrated with other tools and packages within Python.

Python Integration Guides

The following sections show how to create and use connections with the connector in common packages in Python:

Complete List of Google Ads Integration Quickstarts

For information on connecting from other applications, see Google Ads integration guides.

CData Python Connector for Google Ads

From SQLAlchemy

The CData Python Connector for Google Ads includes a Dialect class that enables integration with SQLAlchemy. Bear in mind that several aspects of connector functionality are not currently supported in SQLAlchemy 2.0 or above. If necessary, downgrade SQLAlchemy to version 1.4 or 1.3 before using this connector.

The following sections detail various aspects of this integration:

Connecting From SQLAlchemy

To construct a URL with which SQLAlchemy loads and uses the appropriate connector automatically, see Connecting

Reflecting Metadata With SQLAlchemy

To learn how to model Google Ads tables with mapped classes, see Reflecting Metadata.

Querying Data From SQLAlchemy

To learn how to use mapped classes to query the associated tables, see Querying Data.

CData Python Connector for Google Ads

Connecting

Connecting With a Dialect URL

Establishing a connection using SQLAlchemy requires a specific URL format.
from sqlalchemy import create_engine
engine = create_engine("googleads:///?InitiateOAuth=GETANDREFRESH;DeveloperToken=myDeveloperToken;ClientCustomerId=myClientCustomerId;")

For SQLAlchemy 2.0, the dialect name is googleads_2. To establish a connection, use the following URL format:

from sqlalchemy import create_engine
engine = create_engine("googleads_2:///?InitiateOAuth=GETANDREFRESH;DeveloperToken=myDeveloperToken;ClientCustomerId=myClientCustomerId;")

CData Python Connector for Google Ads

Reflecting Metadata

SQLAlchemy can act as an Object-relational Map (ORM). This enables you to treat records of a database table as instantiable records. To leverage this functionality, you must reflect the underlying metadata in one of the following ways.

Note: The following examples employ SQLAlchemy 1.4.

Modeling Data Using a Mapping Class

Use "sqlalchemy.ext.declarative.declarative_base" to declare a mapping class for the table you wish to model in the ORM. A known table in the data model is modeled either partially or completely, as shown in the following example:
from sqlalchemy.ext.declarative import declarative_base
Base = declarative_base()
class CampaignPerformance(Base):
	__tablename__ = "CampaignPerformance"
	Id = Column(String, primary_key=True)
	Clicks = Column(String)
	Device = Column(String)

Automatically Reflecting Metadata

Rather than mapping tables manually, SQLAlchemy can discover the metadata for one or more tables automatically. To accomplish this across the entire data model, use automap_base:
from sqlalchemy import MetaData
from sqlalchemy.ext.automap import automap_base
meta = MetaData()
abase = automap_base(metadata=meta)
abase.prepare(autoload_with=engine)
CampaignPerformance = abase.classes.CampaignPerformance

You can also reflect a single table with an inspector. When reflecting this way, providing a list of specific columns to map is optional:

from sqlalchemy import MetaData, Table
from sqlalchemy import inspect
meta = MetaData()
insp = inspect(engine)
CampaignPerformance_table = Table("CampaignPerformance", meta)
insp.reflect_table(CampaignPerformance_table, ["Id","Device"])

CData Python Connector for Google Ads

Querying Data

After you use the steps in Connecting to connect, and use one of the methods in Reflecting Metadata to reflect some of the metadata, you can use a session object to query data.

Querying Data Using the Query Method

If the mapping class has been prepared, use it with a session object to query the data source. After binding the engine to the session, provide the mapping class to the session's query method.

For example:

engine = create_engine("googleads:///?InitiateOAuth=GETANDREFRESH;DeveloperToken=myDeveloperToken;ClientCustomerId=myClientCustomerId;")
factory = sessionmaker(bind=engine)
session = factory()
for instance in session.query(CampaignPerformance).filter_by(Device="Mobile devices with full browsers"):
	print("Id: ", instance.Id)
	print("Clicks: ", instance.Clicks)
	print("Device: ", instance.Device)
	print("---------")

Querying Data Using the Execute Method

The session object can also run the query with the execute() method alongside the appropriate Table object. Assuming you have an active session, the following is just as viable:
CampaignPerformance_table = CampaignPerformance.metadata.tables["CampaignPerformance"]
for instance in session.execute(CampaignPerformance_table.select().where(CampaignPerformance_table.c.Device == "Mobile devices with full browsers")):
	print("Id: ", instance.Id)
	print("FullName: ", instance.Name)
	print("City: ", instance.BillingCity)
	print("---------")

CData Python Connector for Google Ads

Executing JOINs

Implicit Joining

If mapped classes of related Google Ads objects have a singular foreign key relationship, the classes are implicitly joined. After importing the necessary objects, a relationship is established between your two mapped classes, as in the example below:
from sqlalchemy.ext.declarative import declarative_base
from sqlalchemy import Column, String, Integer, DateTime, ForeignKey
from sqlalchemy.orm import sessionmaker, relationship

Base = declarative_base()
class Contact(Base):
	__tablename__ = "Contact"
	Id = Column(Integer, primary_key=True)
	Name = Column(String)
	Email = Column(String)
	BirthDate = Column(DateTime)
	AccountId = Column(String, ForeignKey("Account.Id"))
	Account_Link = relationship("Account", back_populates="Contact_Link")

class Account(Base):
	__tablename__ = "Account"
	Id = Column(String, primary_key=True)
	Name = Column(String)
	BillingCity = Column(String)
	NumberOfEmployees = Column(Integer)
	Contact_Link = relationship("Contact", order_by=Contact.Id, back_populates="Account_Link")

Once the relationship is established, the tables are queried simultaneously using the session's query() method. For example:

rs = session.query(Account, Contact).filter(Account.Id == Contact.AccountId)
for Ac, Ct in rs:
  print("AccountId: ", Ac.Id)
  print("AccountName: ", Ac.Name)
  print("ContactId: ", Ct.Id)
  print("ContactName: ", Ct.Name)

Other Join Forms

In situations where mapped classes have either no foreign keys or multiple foreign keys, you may need different forms of the JOIN query to accommodate them. Using the earlier classes as examples, the following JOIN queries are possible as well:
  • Explicit condition (necessary if there are no foreign keys in your mapped classes):
    rs = session.query(Account, Contact).join(Contact, Account.Id == Contact.AccountId)
    for Ac, Ct in rs:
  • Left-to-right relationship:
    rs = session.query(Account, Contact).join(Account.Contact_Link)
    for Ac, Ct in rs:
  • Left-to-right relationship with explicit target:
    rs = session.query(Account, Contact).join(Contact, Account.Contact_Link)
    for Ac, Ct in rs:
  • String form of a left-to-right relationship:
    rs = session.query(Account, Contact).join("Contact_Link")
    for Ac, Ct in rs:

CData Python Connector for Google Ads

Other SQL Clauses

SQLAlchemy ORM also exposes support for other clauses in SQL, such as ORDER BY, GROUP BY, LIMIT, and OFFSET. All of these are supported by this connector:

ORDER BY

The following example sorts by a specified column using the session object's query() method:
rs = session.query(CampaignPerformance).order_by(CampaignPerformance.AnnualRevenue)
for instance in rs:
	print("Id: ", instance.Id)
	print("Clicks: ", instance.Clicks)
	print("Device: ", instance.Device)
	print("---------")

You can also use the session object's execute() method perform an ORDER BY. For example:

rs = session.execute(CampaignPerformance_table.select().order_by(CampaignPerformance_table.c.AnnualRevenue))
for instance in rs:

GROUP BY

The following example uses the session object's query() method to group records with a specified column:
rs = session.query(func.count(CampaignPerformance.Id).label("CustomCount"), CampaignPerformance.Clicks).group_by(CampaignPerformance.Clicks)
for instance in rs:
	print("Count: ", instance.CustomCount)
	print("Clicks: ", instance.Clicks)
	print("---------")

You can also use the session object's execute() method to perform a GROUP BY:

rs = session.execute(CampaignPerformance_table.select().with_only_columns([func.count(CampaignPerformance_table.c.Id).label("CustomCount"), CampaignPerformance_table.c.Clicks]).group_by(CampaignPerformance_table.c.Clicks))
for instance in rs:

LIMIT and OFFSET

The following example uses the session object's query() method to skip the first 100 records and fetch the following 25:
rs = session.query(CampaignPerformance).limit(25).offset(100)
for instance in rs:
	print("Id: ", instance.Id)
	print("Clicks: ", instance.Clicks)
	print("Device: ", instance.Device)
	print("---------")

You can also use the session object's execute() method to set a LIMIT or OFFSET:

rs = session.execute(CampaignPerformance_table.select().limit(25).offset(100))
for instance in rs:

CData Python Connector for Google Ads

Aggregate Functions

Certain aggregate functions can also be used within SQLAlchemy by using the func module.

To import this module, execute:

from sqlalchemy.sql import func

Once func is imported, the following aggregate functions are available:

COUNT

The following example counts the number of records in a set of groups using the session object's query() method.
rs = session.query(func.count(CampaignPerformance.Id).label("CustomCount"), CampaignPerformance.Clicks).group_by(CampaignPerformance.Clicks)
for instance in rs:
	print("Count: ", instance.CustomCount)
	print("Clicks: ", instance.Clicks)
	print("---------")

You can also execute COUNT using the session object's execute() method:

rs = session.execute(CampaignPerformance_table.select().with_only_columns([func.count(CampaignPerformance_table.c.Id).label("CustomCount"), CampaignPerformance_table.c.Clicks])group_by(CampaignPerformance_table.c.Clicks))
for instance in rs:

SUM

This example calculates the cumulative amount of a numeric column in a set of groups.

rs = session.query(func.sum(CampaignPerformance.AnnualRevenue).label("CustomSum"), CampaignPerformance.Clicks).group_by(CampaignPerformance.Clicks)
for instance in rs:
	print("Sum: ", instance.CustomSum)
	print("Clicks: ", instance.Clicks)
	print("---------")

You can also invoke SUM using the session object's execute() method.

rs = session.execute(CampaignPerformance_table.select().with_only_columns([func.sum(CampaignPerformance_table.c.AnnualRevenue).label("CustomSum"), CampaignPerformance_table.c.Clicks]).group_by(CampaignPerformance_table.c.Clicks))
for instance in rs:

AVG

This example uses the session object's query() method to calculate the average amount of a numeric column in a set of groups:
rs = session.query(func.avg(CampaignPerformance.AnnualRevenue).label("CustomAvg"), CampaignPerformance.Clicks).group_by(CampaignPerformance.Clicks)
for instance in rs:
	print("Avg: ", instance.CustomAvg)
	print("Clicks: ", instance.Clicks)
	print("---------")

You can also use the session object's execute() method to invoke AVG:

rs = session.execute(CampaignPerformance_table.select().with_only_columns([func.avg(CampaignPerformance_table.c.AnnualRevenue).label("CustomAvg"), CampaignPerformance_table.c.Clicks]).group_by(CampaignPerformance_table.c.Clicks))
for instance in rs:

MAX and MIN

This example finds the maximum value and minimum value of a numeric column in a set of groups.
rs = session.query(func.max(CampaignPerformance.AnnualRevenue).label("CustomMax"), func.min(CampaignPerformance.AnnualRevenue).label("CustomMin"), CampaignPerformance.Clicks).group_by(CampaignPerformance.Clicks)
for instance in rs:
	print("Max: ", instance.CustomMax)
	print("Min: ", instance.CustomMin)
	print("Clicks: ", instance.Clicks)
	print("---------")

You can also use the session object's execute() method to invoke MAX and MIN:

rs = session.execute(CampaignPerformance_table.select().with_only_columns([func.max(CampaignPerformance_table.c.AnnualRevenue).label("CustomMax"), func.min(CampaignPerformance_table.c.AnnualRevenue).label("CustomMin"), CampaignPerformance_table.c.Clicks]).group_by(CampaignPerformance_table.c.Clicks))
for instance in rs:

CData Python Connector for Google Ads

From Pandas

When combined with the connector, Pandas can be used to generate data frames that contain your Google Ads data. Once created, a data frame can be passed to various other Python packages.

Connecting

Pandas relies on an SQLAlchemy engine to execute queries. Before you can use Pandas you must import it:
import pandas as pd
from sqlalchemy import create_engine
engine = create_engine("googleads:///?InitiateOAuth=GETANDREFRESH;DeveloperToken=myDeveloperToken;ClientCustomerId=myClientCustomerId;")

Querying Data

In Pandas, SELECT queries are provided in a call to the read_sql() method, alongside a relevant connection object. Pandas executes the query on that connection, and returns the results in the form of a data frame, which can be used for a variety of purposes.
df = pd.read_sql("""
	SELECT
	   Clicks,
	   Device,
     $exNumericCol;
	FROM CampaignPerformance;""", engine)
print(df)

CData Python Connector for Google Ads

From Matplotlib

Matplotlib contains a number of tools that can graphically model Google Ads data after being fed a data frame From Pandas.

Using PyPlot

Before any Matplotlib tool, such as pyplot, can be used, it must be imported:
from matplotlib import pyplot as plt

Once a Pandas data frame is obtained, it can be used to create a plot visualizing Google Ads data. For example, the following plot generates and displays a bar graph relating Clicks and AnnualRevenue values:

df.plot(kind="bar", x="Clicks", y=["AnnualRevenue"])
plt.show()

CData Python Connector for Google Ads

From Petl

The connector can be used to create ETL applications and pipelines for CSV data in Python using Petl.

Install Required Modules

Install the Petl modules using the pip utility.
pip install petl

Connecting

After you import the modules, including the CData Python Connector for Google Ads, you can use the connector's connect function to create a connection using a valid Google Ads connection string. If you prefer not to use a direct connection, you can use a SQLAlchemy engine.
import petl as etl
import cdata.googleads as mod
cnxn = mod.connect("InitiateOAuth=GETANDREFRESH;DeveloperToken=myDeveloperToken;ClientCustomerId=myClientCustomerId;")

Extract, Transform, and Load the Google Ads Data

Create a SQL query string and store the query results in a DataFrame.
sql = "SELECT	Clicks, Device FROM CampaignPerformance "
table1 = etl.fromdb(cnxn,sql)

Loading Data

With the query results stored in a DataFrame, you can load your data into any supported Petl destination. The following example loads the data into a CSV file.
etl.tocsv(table1,'output.csv')

CData Python Connector for Google Ads

Schema Discovery

The extension supports schema discovery by using SQL queries to available System Tables.

Using SQL

The following sections describe the discovery of metadata through several System Tables:

CData Python Connector for Google Ads

Tables and Views

The connector possesses system tables that are used to discover the tables and views available in the data model. Of these system tables, "sys_tables" and "sys_views" are used to fetch information about the available tables and views respectively:

Tables


import cdata.googleads as mod
conn = mod.connect("InitiateOAuth=GETANDREFRESH;DeveloperToken=myDeveloperToken;ClientCustomerId=myClientCustomerId;")
cur = conn.cursor()
cmd = "SELECT * FROM sys_tables"
cur.execute(cmd)
rs = cur.fetchall()
for row in rs:
	print(row)

Views


import cdata.googleads as mod
conn = mod.connect("InitiateOAuth=GETANDREFRESH;DeveloperToken=myDeveloperToken;ClientCustomerId=myClientCustomerId;")
cur = conn.cursor()
cmd = "SELECT * FROM sys_views"
cur.execute(cmd, params)
rs = cur.fetchall()
for row in rs:
	print(row)

CData Python Connector for Google Ads

Columns

The available columns for any given table are fetched from a system table called "sys_tablecolumns". A specific table name is provided in the WHERE criteria to restrict the table from which the column information is fetched:

import cdata.googleads as mod
conn = mod.connect("InitiateOAuth=GETANDREFRESH;DeveloperToken=myDeveloperToken;ClientCustomerId=myClientCustomerId;")
cur = conn.cursor()
cmd = "SELECT * FROM sys_tablecolumns WHERE TableName = 'CampaignPerformance'"
cur.execute(cmd)
rs = cur.fetchall()
for row in rs:
	print(row)

CData Python Connector for Google Ads

Procedures

Procedures

A system table called "sys_procedures" is queried to obtain the available stored procedures that are executed:
import cdata.googleads as mod
conn = mod.connect("InitiateOAuth=GETANDREFRESH;DeveloperToken=myDeveloperToken;ClientCustomerId=myClientCustomerId;")
cur = conn.cursor()
cmd = "SELECT * FROM sys_procedures"
cur.execute(cmd)
rs = cur.fetchall()
for row in rs:
	print(row)

Parameters

The input parameters of any stored procedure are similarly obtained from the "sys_procedureparameters" system table:
import cdata.googleads as mod
conn = mod.connect("InitiateOAuth=GETANDREFRESH;DeveloperToken=myDeveloperToken;ClientCustomerId=myClientCustomerId;")
cur = conn.cursor()
cmd = "SELECT * FROM sys_procedureparameters WHERE ProcedureName = 'GetOAuthAccessToken'"
cur.execute(cmd)
rs = cur.fetchall()
for row in rs:
	print(row)

CData Python Connector for Google Ads

Advanced Features

This section details a selection of advanced features of the Google Ads connector.

User Defined Views

The connector supports the use of user defined views, virtual tables whose contents are decided by a pre-configured user defined query. These views are useful when you cannot directly control queries being issued to the drivers. For an overview of creating and configuring custom views, see User Defined Views .

SSL Configuration

Use SSL Configuration to adjust how connector handles TLS/SSL certificate negotiations. You can choose from various certificate formats;. For further information, see the SSLServerCert property under "Connection String Options" .

Firewall and Proxy

Configure the connector for compliance with Firewall and Proxy, including Windows proxies and HTTP proxies. You can also set up tunnel connections.

Caching Data

Caching Data enables faster access to data and reduces the number of API calls, improving performance. The connector supports a simple caching model where multiple connections can also share the cache over time. When configuring the cache connection, you can specify automatic or explicit data caching.

Query Processing

The connector offloads as much of the SELECT statement processing as possible to Google Ads and then processes the rest of the query in memory (client-side).

For further information, see Query Processing.

Logging

For an overview of configuration settings that can be used to refine CData logging, see Logging. Only two connection properties are required for basic logging, but there are numerous features that support more refined logging, which enables you to use the LogModules connection property to specify subsets of information to be logged.

Exception Handling

For an overview of how exceptions are reported and the components of an exception, see Exception Handling.

CData Python Connector for Google Ads

User Defined Views

The CData Python Connector for Google Ads supports the use of user defined views: user-defined virtual tables whose contents are decided by a preconfigured query. User defined views are useful in situations where you cannot directly control the query being issued to the driver; for example, when using the driver from a tool.

Use a user defined view to define predicates that are always applied. If you specify additional predicates in the query to the view, they are combined with the query already defined as part of the view.

There are two ways to create user defined views:

  • Create a JSON-formatted configuration file defining the views you want.
  • DDL statements.

Defining Views Using a Configuration File

User defined views are defined in a JSON-formatted configuration file called UserDefinedViews.json. The connector automatically detects the views specified in this file.

You can also have multiple view definitions and control them using the UserDefinedViews connection property. When you use this property, only the specified views are seen by the connector.

This user defined view configuration file is formatted so that each root element defines the name of a view, and includes a child element, called query, which contains the custom SQL query for the view.

For example:

{
	"MyView": {
		"query": "SELECT * FROM CampaignPerformance WHERE MyColumn = 'value'"
	},
	"MyView2": {
		"query": "SELECT * FROM MyTable WHERE Id IN (1,2,3)"
	}
}
Use the UserDefinedViews connection property to specify the location of your JSON configuration file. For example:
"UserDefinedViews", "C:\\Users\\yourusername\\Desktop\\tmp\\UserDefinedViews.json"

Defining Views Using DDL Statements

The connector is also capable of creating and altering the schema via DDL Statements such as CREATE LOCAL VIEW, ALTER LOCAL VIEW, and DROP LOCAL VIEW.

Create a View

To create a new view using DDL statements, provide the view name and query as follows:

CREATE LOCAL VIEW [MyViewName] AS SELECT * FROM Customers LIMIT 20;

If no JSON file exists, the above code creates one. The view is then created in the JSON configuration file and is now discoverable. The JSON file location is specified by the UserDefinedViews connection property.

Alter a View

To alter an existing view, provide the name of an existing view alongside the new query you would like to use instead:

ALTER LOCAL VIEW [MyViewName] AS SELECT * FROM Customers WHERE TimeModified > '3/1/2020';

The view is then updated in the JSON configuration file.

Drop a View

To drop an existing view, provide the name of an existing schema alongside the new query you would like to use instead.

DROP LOCAL VIEW [MyViewName]

This removes the view from the JSON configuration file. It can no longer be queried.

Schema for User Defined Views

In order to avoid a view's name clashing with an actual entity in the data model, user defined views are exposed in the UserViews schema by default. To change the name of the schema used for UserViews, reset the UserViewsSchemaName property.

Working with User Defined Views

For example, a SQL statement with a user defined view called UserViews.RCustomers only lists customers in Raleigh:
SELECT * FROM Customers WHERE City = 'Raleigh';
An example of a query to the driver:
SELECT * FROM UserViews.RCustomers WHERE Status = 'Active';
Resulting in the effective query to the source:
SELECT * FROM Customers WHERE City = 'Raleigh' AND Status = 'Active';
That is a very simple example of a query to a user defined view that is effectively a combination of the view query and the view definition. It is possible to compose these queries in much more complex patterns. All SQL operations are allowed in both queries and are combined when appropriate.

CData Python Connector for Google Ads

SSL Configuration

Customizing the SSL Configuration

By default, the connector attempts to negotiate TLS with the server. The server certificate is validated against the default system trusted certificate store. You can override how the certificate gets validated using the SSLServerCert connection property.

To specify another certificate, see the SSLServerCert connection property.

CData Python Connector for Google Ads

Firewall and Proxy

Connecting Through a Firewall or Proxy

HTTP Proxies

Note: The connector uses the system proxy settings by default, without further configuration needed. If you want to connect to other proxies, set ProxyAutoDetect to False and read further.

To authenticate to an HTTP proxy, set the following:

  • ProxyServer: the hostname or IP address of the proxy server that you want to route HTTP traffic through.
  • ProxyPort: the TCP port that the proxy server is running on.
  • ProxyAuthScheme: the authentication method the connector uses when authenticating to the proxy server.
  • ProxyUser: the username of a user account registered with the proxy server.
  • ProxyPassword: the password associated with the ProxyUser.

Other Proxies

Set the following properties:

CData Python Connector for Google Ads

Caching Data

Caching Data

Caching data provides several benefits, including faster access to data and reducing the number of API calls, which improve performance. The connector supports a simple caching model where multiple connections can also share the cache over time. You can enable and configure caching features by setting the necessary connection properties.

Contents

The sections in this chapter detail the connector's caching functionality and link to the corresponding connection properties, as well as SQL statements.

Configuring the Cache Connection

Configuring the Cache Connection describes the properties that you can set when configuring the cache database.

Caching Metadata

Caching Metadata describes the CacheMetadata property. This property determines whether or not to cache the table metadata to a file store.

Automatically Caching Data

Automatically Caching Data describes how the connector automatically refreshes the cache when the AutoCache property is set.

Explicitly Caching Data

Explicitly Caching Data describes how you can decide what data is stored in the cache and when it is updated.

Data Type Mapping

Data Type Mapping shows the mappings between the data types configured in the schema and the data types in the database.

CData Python Connector for Google Ads

Configuring the Cache Connection

Configuring the Caching Database

This section describes the properties for caching data to the persistent store of your choice.

CacheLocation

The CacheLocation property species the path to a file-system-based database. When caching is enabled, a file-system-based database is used by default. If CacheLocation is not specified, this database is stored at the path in Location. If neither of these connection properties are specified, the connector uses a platform-dependent default location.

CacheConnection

The CacheConnection property specifies a database driver and the connection string to the caching database.

CacheDriver and CacheProvider

Both the CacheDriver and CacheProvider properties are supported. Each specifies a database driver and the connection string to the caching database. CacheDriver is designed for Linux and MacOS; CacheProvider is Windows-based.

CData Python Connector for Google Ads

Caching Metadata

This section describes how to enable caching metadata and how to update the metadata cache.

Before being able to query data, the connector requires relevant metadata to be retrieved. By default, metadata is cached in memory and shared across connections. But if you want to persist across processes, or if metadata requests are expensive, the solution is to cache the metadata to disk.

Enable Caching Metadata

To enable caching of metadata, set CacheMetadata = true and see Configuring the Cache Connection for instructions on how to configure your connection string. The connector caches the metadata the first time it is needed and uses the metadata cache for subsequent requests.

Update the Metadata Cache

Because metadata is cached, changes to metadata on the live source, for example, adding or removing a column or attribute, are not automatically reflected in the metadata cache. To get updates to the live metadata, you need to delete or drop the cached data.

CData Python Connector for Google Ads

Automatically Caching Data

Automatically caching data is useful when you do not want to rebuild the cache for each query. When you query data for the first time, the connector automatically initializes and builds a cache in the background. When AutoCache = true, the connector uses the cache for subsequent query executions, resulting in faster response times.

Configuring Automatic Caching

Caching the CampaignPerformance Table

The following example caches the CampaignPerformance table in the file specified by the CacheLocation property of the connection string.

SELECT Clicks, Device FROM CampaignPerformance WHERE Device = 'Mobile devices with full browsers'

Common Use Case

A common use for automatically caching data is to improve driver performance when making repeated requests to a live data source, such as building a report or creating a visualization. With auto caching enabled, repeated requests to the same data may be executed in a short period of time, but within an allowable tolerance (CacheTolerance) of what is considered "live" data.

CData Python Connector for Google Ads

Explicitly Caching Data

With explicit caching (AutoCache = false), you decide exactly what data is cached and when to query the cache instead of the live data. Explicit caching gives you full control over the cache contents by using CACHE Statements. This section describes some strategies to use the caching features offered by the connector.

Creating the Cache

To load data in the cache, issue the following statement.

CACHE SELECT * FROM tableName WHERE ...

Once the statement is issued, any matching data in tableName is loaded into the corresponding table.

Updating the Cache

This section describes two ways to update the cache.

Updating with the SELECT Statement

The following example shows a statement that can update modified rows and add missing rows in the cached table. However, this statement does not delete extra rows that are already in the cache. This statement only merges the new rows or updates the existing rows.

CACHE SELECT * FROM CampaignPerformance WHERE Device = 'Mobile devices with full browsers'

Updating with the TRUNCATE Statement

The following example shows a statement that can update modified rows and add missing rows in the cached table. This statement can also delete rows in the cache table that are not present in the live data source.

  CACHE WITH TRUNCATE SELECT * FROM CampaignPerformance WHERE Device = 'Mobile devices with full browsers'
  

Query the Data in Online or Offline Mode

This section describes how to query the data in online or offline mode.

Online: Select Cached Tables

You can use the tableName#CACHE syntax to explicitly execute queries to the cache while still online, as shown in the following example.

SELECT * FROM CampaignPerformance#CACHE

Offline: Select Cached Tables

With Offline = true, SELECT statements always execute against the local cache database, regardless of whether you explicitly specify the cached table or not. Modification of the cache is disabled in Offline mode to prevent accidentally updating only the cached data. Executing a DELETE/UPDATE/INSERT statement while in Offline mode results in an exception.

The following example selects from the local cache but not the live data source because Offline = true.

SELECT * FROM CampaignPerformance WHERE Device='Mobile devices with full browsers' ORDER BY Device ASC

Delete Data from the Cache

You can delete data from the cache by building a direct connection to the database. Note that the connector does not support manually deleting data from the cache.

Common Use Case

A common use for caching is to have an application always query the cached data and only update the cache at set intervals, such as once every day or every two hours. There are two ways in which this can be implemented:

  • AutoCache = false and Offline = false. All queries issued by the application explicitly reference the tableName#CACHE table. When the cache needs to be updated, the application executes a tableName#CACHE ... statement to bring the cached data up to date.
  • Offline = true. Caching is transparent to the application. All queries are executed against the table as normal, so most application code does not need to be aware that caching is done. To update the cached data, simply create a separate connection with Offline = false and execute a tableName#CACHE ... statement.

CData Python Connector for Google Ads

Data Type Mapping

The connector maps types from the data source to the corresponding data type available in the chosen cache database. The following table shows the mappings between the data types configured in the schema and the data types in the database. Some schema types have synonyms which are all listed in the Schema column.

Data Type Mapping

Note: String columns can map to different data types depending on their length.

Schema .NET JDBC SQL Server Derby MySQL Oracle SQLite Access
int, integer, int32 Int32 int int INTEGER INT NUMBER integer LONG
smallint, short, int16 Int16 short smallint SMALLINT SMALLINT NUMBER integer SHORT
double, float, real Double double float DOUBLE DOUBLE NUMBER double DOUBLE
date DateTime java.sql.Date date DATE DATE DATE date DATETIME
datetime, timestamp DateTime java.sql.Date datetime TIMESTAMP DATETIME TIMESTAMP datetime DATETIME
time, timespan TimeSpan java.sql.Time time TIME TIME TIMESTAMP datetime DATETIME
string, varchar String java.lang.String If length > 4000: nvarchar(max), Otherwise: nvarchar(length)If length > 32672: LONG VARCHAR, Otherwise VARCHAR(length)If length > 255: LONGTEXT, Otherwise: VARCHAR(length)If length > 4000: CLOB, Otherwise: VARCHAR2(length)nvarchar(length)If length > 255: LONGTEXT, Otherwise: VARCHAR(length)
long, int64, bigint Int64 long bigint BIGINT BIGINT NUMBER bigint LONG
boolean, bool Boolean boolean tinyint SMALLINT BIT NUMBER tinyint BIT
decimal, numeric Decimal java.math.BigDecimal decimal DECIMAL DECIMAL DECIMAL decimal CURRENCY
uuid Guid java.util.UUID nvarchar(length) VARCHAR(length)VARCHAR(length) VARCHAR2(length)nvarchar(length) VARCHAR(length)
binary, varbinary, longvarbinary byte[] byte[] binary(1000) or varbinary(max) after SQL Server 2000, image otherwise BLOB LONGBLOB BLOB BLOB LONGBINARY

CData Python Connector for Google Ads

Query Processing

Query Processing

CData has a client-side SQL engine built into the connector library. This enables support for the full capabilities that SQL-92 offers, including filters, aggregations, functions, etc.

For sources that do not support SQL-92, the connector offloads as much of SQL statement processing as possible to Google Ads and then processes the rest of the query in memory (client-side). This results in optimal performance.

For data sources with limited query capabilities, the connector handles transformations of the SQL query to make it simpler for the connector. The goal is to make smart decisions based on the query capabilities of the data source to push down as much of the computation as possible. The Google Ads Query Evaluation component examines SQL queries and returns information indicating what parts of the query the connector is not capable of executing natively.

The Google Ads Query Slicer component is used in more specific cases to separate a single query into multiple independent queries. The client-side Query Engine makes decisions about simplifying queries, breaking queries into multiple queries, and pushing down or computing aggregations on the client-side while minimizing the size of the result set.

There's a significant trade-off in evaluating queries, even partially, client-side. There are always queries that are impossible to execute efficiently in this model, and some can be particularly expensive to compute in this manner. CData always pushes down as much of the query as is feasible for the data source to generate the most efficient query possible and provide the most flexible query capabilities.

More Information

For a full discussion of how CData handles query processing, see CData Architecture: Query Execution.

CData Python Connector for Google Ads

Logging

Logging

Capturing connector logging can be very helpful when diagnosing error messages or other unexpected behavior.

Basic Logging

To begin capturing connector logging, set these properties:

  • Logfile: A filepath that designates the name and location of the log file.
  • Verbosity: A numerical value (1-5) that determines the amount of detail in the log. See the page in the Connection Properties section for an explanation of the five levels.
  • MaxLogFileSize: When the limit is hit, a new log is created in the same folder with the date and time appended to the end. The default limit is 100 MB. Values lower than 100 kB will use 100 kB as the value instead.
  • MaxLogFileCount: A string specifying the maximum file count of log files. When the limit is hit, a new log is created in the same folder with the date and time appended to the end and the oldest log file will be deleted. Minimum supported value is 2. A value of 0 or a negative value indicates no limit on the count.

Once these properties are set, the connector populates the log file as it carries out various tasks, such as when authentication is performed or queries are executed. If the specified file doesn't already exist, it is created.

Log Verbosity

The verbosity level determines the amount of detail that the connector reports to the Logfile. Supported Verbosity levels range from 1 to 5.

The following list describes each level:

1Setting Verbosity to 1 logs the query, the number of rows returned by it, the start of execution and the time taken, and any errors.
2Setting Verbosity to 2 logs everything included in Verbosity 1, cache queries, and additional information about the request.
3Setting Verbosity to 3 also logs HTTP headers, as well as the body of the request and the response.
4Setting Verbosity to 4 also logs transport-level communication with the data source. This includes SSL negotiation.
5Setting Verbosity to 5 also logs communication with the data source and additional details that may be helpful in troubleshooting problems. This includes interface commands.

For normal operations, Verbosity should not be set to greater than 1. At higher verbosities you can log substantial amounts of data, which can delay execution times.

To refine the logged content further by showing/hiding specific categories of information, see LogModules.

Sensitive Data

Verbosity levels of 3 and higher may capture information that you do not want shared outside of your organization. The following lists information of concern for each level:

  • Verbosity 3: The full body of the request and the response, which includes all the data returned by the connector
  • Verbosity 4: SSL certificates
  • Verbosity 5: Any extra transfer data not included at Verbosity 3, such as non human-readable binary transfer data

Note: Although we mask sensitive values, such as passwords, in the connection string and any request in the log, it is always best practice to review the logs for any sensitive information before sharing outside your organization.

Advanced Logging

You may want to refine the exact information that is recorded to the log file. This can be accomplished using the LogModules property. This property allows you to filter the logging using a semicolon-separated list of logging modules.

Example property value:

LogModules=INFO;EXEC;SSL;SQL;META;

Note that the logfile filtering triggered by the Verbosity connection property takes precedence over the filtering imposed by this connection property. This means that operations of a higher verbosity level than the level specified in the Verbosity connection property are not printed in the logfile, even if they belong to one of the modules specified in this connection property.

The available modules and submodules are:

Module Name Module Description Submodules
INFO General Information. Includes the connection string, product version (build number), and initial connection messages.
  • Connec – Information related to creating or destroying connections.
  • Messag – Generic label for messages pertaining to connections, the connection string, and product version. These messages are typically specific to the connector, rather than being received and passed along directly from the service.
EXEC Query Execution. Includes execution messages for user-written SQL queries, parsed SQL queries, and normalized SQL queries. Success/failure messages for queries and query pages appear here as well.
  • Messag – Messages pertaining to query execution. These messages are typically specific to the connector, rather than being received and passed along directly from the service.
  • Normlz – Query normalization steps. Query normalization is when the product takes the user-submitted query and rewrites the query to get the same results with optimal performance.
  • Origin – This label applies to any messages recording a user's original query (the exact, unaltered, non-normalized query executed by the user).
  • Page – Messages related to query paging.
  • Parsed – Query parsing steps. Parsing is the process of converting the user-submitted query into a standardized format for easier processing.
HTTP HTTP protocol messages. Includes HTTP requests/responses (including POST messages), as well as Kerberos related messages.
  • KERB – HTTP requests related to Kerberos.
  • Messag – Messages pertaining to HTTP protocols. These messages are typically specific to the connector, rather than being received and passed along directly from the service.
  • Unpack – This label applies to messages about zipped data being returned from the service API and unpacked by the product.
  • Res – Messages containing HTTP responses.
  • Req – Messages containing HTTP requests.
WSDL Messages pertaining to the generation of WSDL/XSD files.
SSL SSL certificate messages.
  • Certif – Messages pertaining to SSL certificates.
AUTH Authentication related failure/success messages.
  • Messag – Messages pertaining to authentication. These messages are typically specific to the connector, rather than being received and passed along directly from the service.
  • OAuth – Messages related to OAuth authentication.
  • Krbros – Kerberos-related authentication messages.
SQL Includes SQL transactions, SQL bulk transfer messages, and SQL result set messages.
  • Bulk – Messages pertaining to bulk query execution.
  • Cache – Messages related to reading row data from and writing row data to the product's cache for better performance.
  • Messag – Messages pertaining to SQL transactions. These messages are typically specific to the connector, rather than being received and passed along directly from the service.
  • ResSet – Query resultsets.
  • Transc – Messages related to handling transactions, including information about the number of jobs executed and backup table handling.
META Metadata cache and schema messages.
  • Cache – Messages related to reading from and modifying column and table definitions in the product's cache for better performance.
  • Schema – Messages related to retrieving metadata from or modifying the service schema.
  • MemSto – Messages related to writing to or reading from in-memory metadata cache.
  • Storag – Messages relating to storing metadata on disk or in an external data store, rather than in memory.
FUNC Information related to executing SQL functions.
  • Errmsg – Error messages related to executing SQL functions.
TCP Incoming and outgoing raw bytes on TCP transport layer messages.
  • Send – Raw data sent via the TCP protocol.
  • Receiv – Raw data received via the TCP protocol.
FTP Messages pertaining to the File Transfer Protocol.
  • Info – Status messages related to communication in the FTP protocol.
  • Client – Messages related to actions taken by the FTP client (the product) during FTP communication.
  • Server – Messages related to actions taken by the FTP server during FTP communication.
SFTP Messages pertaining to the Secure File Transfer Protocol.
  • Info – Status messages related to communication in the SFTP protocol.
  • To_Server – Messages related to actions taken by the SFTP client (the product) during SFTP communication.
  • From_Server – Messages related to actions taken by the SFTP server during SFTP communication.
POP Messages pertaining to data transferred via the Post Office Protocol.
  • Client – Messages related to actions taken by the POP client (the product) during POP communication.
  • Server – Messages related to actions taken by the POP server during POP communication.
  • Status – Status messages related to communication in the POP protocol.
SMTP Messages pertaining to data transferred via the Simple Mail Transfer Protocol.
  • Client – Messages related to actions taken by the SMTP client (the product) during SMTP communication.
  • Server – Messages related to actions taken by the SMTP server during SMTP communication.
  • Status – Status messages related to communication in the SMTP protocol.
CORE Messages relating to various internal product operations not covered by other modules.
DEMN Messages related to SQL remoting.
CLJB Messages about bulk data uploads (cloud job).
  • Commit – Submissions for bulk data uploads.
SRCE Miscellaneous messages produced by the product that don't belong in any other module.
TRANCE Advanced messages concerning low-level product operations.

CData Python Connector for Google Ads

Exception Handling

Exception Handling

Exceptions can be surfaced from either the API or the CData Python Connector for Google Ads. Each exception will have an error code, an error message, and a SQL state.

Error Codes

The error code classifies the type of error.

0 NONE Used for unclassified errors and internally handled errors. This code also covers data source-specific errors that do not fit in any specific category.
65537 TCP_UNKNOWN_HOST Unable to resolve a hostname (DNS failure).
65538 TCP_CONNECTION_REFUSED Could not connect to the remote port.
65539 TCP_AUTH_FAILED Login failed when using a binary authentication protocol. Use this for auth errors when the protocol is not HTTP (LDAP, SASL, Kerberos, ...).
65540 TCP_TIMEOUT Did not receive a response after sending a request to the server.
65541 TCP_PROTOCOL For wire protocol drivers. Either the server sent a bad packet that we are unable to process, or we cannot construct a packet to send.
131073 TLS_SERVER_UNTRUSTED Could not verify SSL server certificate.
131074 TLS_CLIENT_UNTRUSTED Server did not accept the client certificate we sent.
196609 OAUTH_DECRYPT_FAILED OAuthEncryptKey did not decrypt the OAuthSettings file.
196610 OAUTH_MISSING_CLIENT_INFO OAuthClientId / OAuthClientSecret / OAuthJWTCert is missing.
196611 OAUTH_MISSING_PROP General OAuth property missing. OAUTH_MISSING_CLIENT_INFO is used for missing client ID/secret and JWT cert.
196612 OAUTH_NO_ACCESS_TOKEN Unable to retrieve access token. Only use this when getting a token in GetOAuthAccessToken / RefreshOAuthAccessToken.
196613 OAUTH_TOKEN_EXPIRED The access token expired. Normally used with a RefreshOAuth/OAuthException behavior.
196614 OAUTH_INVALID_PROP OAuth property has an invalid value. OAUTH_MISSING_CLIENT_INFO / OAUTH_MISSING_PROP is used if the value is not set.
262145 HTTP_REQUEST_TIMEOUT Did not receive a response from the HTTP server.
262146 HTTP_CLIENT_ERROR Generic HTTP 4xx error. Only use for 4xx errors not covered by other codes.
262147 HTTP_AUTH_FAILED HTTP 401 error.
262148 HTTP_LIMIT_EXCEEDED HTTP 429 error.
262149 HTTP_SERVER_ERROR HTTP 5xx error.
262150 HTTP_NOT_FOUND_ERROR HTTP 404 error.
327681 CORE_TIMEOUT General timeout. Not related to a specific network request.
327682 CORE_OP_NOT_ALLOWED Operation blocked by provider permissions.
327683 CORE_CONNECTION_CONFIG Connection configuration is not valid.
327684 CORE_SERIALIZE Failed to encode data into a specific format (XML, JSON, CSV, ...).
327685 CORE_DESERIALIZE Failed to decode data from a specific format (XML, JSON, CSV, ...).
393217 SQL_SYNTAX_ERROR Unable to parse a SQL query.
393218 SQL_MISSING_COLUMNS Query did not include required columns.
393219 SQL_MISSING_PARAMS Stored procedure call did not include required parameters.
393220 SQL_QUERY_NOT_SUPPORTED A part of the query is not allowed in the current context.
458753 SSH_SERVER_UNTRUSTED Could not verify SSH server.
524289 STORAGE_LIST_EXCEPTION Issue listing storage resources.
524290 STORAGE_RESOURCE_NOT_FOUND Issue finding storage resources.
524291 STORAGE_ROOT_RESOURCE_NOT_FOUND The root resource (bucket/share/drive) was not found; cannot create it in flat file drivers.
524292 STORAGE_RESOURCE_NOT_A_DIRECTORY Storage resource is not a directory.
524293 STORAGE_RESOURCE_NOT_A_FILE Storage resource is not a file.
524294 STORAGE_PERMISSIONS_DENIED Storage permissions denied.

SQL State

The SQL state is used when throwing generic provider errors to the wrapper and indicates the success or failure of a call.

Some of the common SQL states are listed below:

07007 REQUIRED_CLAUSE Class Code 07: Dynamic SQL Error.
08001 OPEN_CONNECTION Class Code 08: Connection Exception. The connection was unable to be established to the application server or other server.
08004 REJECT_CONNECTION The application server rejected establishment of the connection.
42501 PRIVILEGE_IDENTIFIED_OBJECT Class Code 42: Syntax Error or Access Rule Violation. The authorization ID does not have the privilege to perform the specified operation on the identified object.
42506 AUTH_FAILED Owner authorization failure occurred.
42601 SQL_SYNTAX A character, token, or clause is invalid or missing.

Error Message

The error message provides more detailed reasoning about why the error occurred. It provides an explanation of the issue, and may include steps on how to resolve it.

CData Python Connector for Google Ads

SQL Compliance

SELECT Statements

See SELECT Statements for a syntax reference and examples.

See Data Model for information on the capabilities of the Google Ads API.

CACHE Statements

CACHE statements allow granular control over the connector's caching functionality. For a syntax reference and examples, see CACHE Statements.

For more information on the caching feature, see Caching Data.

EXECUTE Statements

Use EXECUTE or EXEC statements to execute stored procedures. See EXECUTE Statements for a syntax reference and examples.

Names and Quoting

  • Table and column names are considered identifier names; as such, they are restricted to the following characters: [A-Z, a-z, 0-9, _:@].
  • To use a table or column name with characters not listed above, the name must be quoted using square brackets ([name]) in any SQL statement.
  • Parameter names can optionally start with the @ symbol (e.g., @p1 or @CustomerName) and cannot be quoted.
  • Strings must be quoted using single quotes (e.g., 'John Doe').

CData Python Connector for Google Ads

SQL Functions

The connector provides functions that are similar to those that are available with most standard databases. These functions are implemented in the CData provider engine and thus are available across all data sources with the same consistent API. Three categories of functions are available: string, date, and math.

The connector interprets all SQL function inputs as either strings or column identifiers, so you need to escape all literals as strings, with single quotes. For example, contrast the SQL Server syntax and connector syntax for the DATENAME function:

  • SQL Server:
    SELECT DATENAME(yy,GETDATE())
  • connector:
    SELECT DATENAME('yy',GETDATE())

String Functions

These functions perform string manipulations and return a string value. See STRING Functions for more details.

Date Functions

These functions perform date and date time manipulations. See DATE Functions for more details.

Math Functions

These functions provide mathematical operations. See MATH Functions for more details.

CData Python Connector for Google Ads

STRING Functions

ASCII(character_expression)

Returns the ASCII code value of the left-most character of the character expression.

  • character_expression: The character expression.

                      SELECT ASCII('0');
                      --  Result: 48
                    

BASE64_ENCODE(input_binary)

Returns the Base64-encoded string form of a binary input.

  • input_binary: The binary value to encode.

                        SELECT BASE64_ENCODE(BinaryData);
                    -- Result: 'QmFzZTY0RW5jb2RlZA=='
                    

BASE64_DECODE(input_string)

Returns the binary result of decoding a Base64-encoded string.

  • input_string: The Base64-encoded string.

                        SELECT BASE64_DECODE('QmFzZTY0RW5jb2RlZA==');
                    -- Result: (binary output)
                    

CHAR(integer_expression)

Converts the integer ASCII code to the corresponding character.

  • integer_expression: The integer from 0 through 255.

                      SELECT CHAR(48);
                      -- Result: '0'
                    

CHARINDEX(expressionToFind ,expressionToSearch [,start_location ])

Returns the starting position of the specified expression in the character string.

  • expressionToFind: The character expression to find.
  • expressionToSearch: The character expression, typically a column, to search.
  • start_location: An optional character position to start searching for expressionToFind in expressionToSearch.

                      SELECT CHARINDEX('456', '0123456');
                      -- Result: 4

                      SELECT CHARINDEX('456', '0123456', 5);
                      -- Result: -1
                    

CHAR_LENGTH(character_expression),

Returns the number of UTF-8 characters present in the expression.

  • character_expression: The set of characters to be evaluated for length.

				 SELECT CHAR_LENGTH('sample text') FROM Account LIMIT 1
				 -- Result: 11			
				

CONCAT(string_value1, string_value2, ..., string_valueN)

Returns the string that is the concatenation of two or more string values.

  • string_value1: The first string to be concatenated.
  • string_value2: The second string to be concatenated.
  • string_valueN: (optional) Any additional strings to be concatenated.

                      SELECT CONCAT('Hello, ', 'world!');
                      -- Result: 'Hello, world!'
                    

CONTAINS(expressionToSearch, expressionToFind)

Returns 1 if expressionToFind is found within expressionToSearch; otherwise, 0.

  • expressionToSearch: The character expression, typically a column, to search.
  • expressionToFind: The character expression to find.

                      SELECT CONTAINS('0123456', '456');
                      -- Result: 1

                      SELECT CONTAINS('0123456', 'Not a number');
                      -- Result: 0
                    

ENDSWITH(character_expression, character_suffix)

Returns 1 if character_expression ends with character_suffix; otherwise, 0.

  • character_expression: The character expression.
  • character_suffix: The character suffix to search for.

                      SELECT ENDSWITH('0123456', '456');
                      -- Result: 1

                      SELECT ENDSWITH('0123456', '012');
                      -- Result: 0
                    

FILESIZE(uri)

Returns the number of bytes present in the file at the specified file path.

  • uri: The path of the file from which to read the size.

				SELECT FILESIZE('C:/Users/User1/Desktop/myfile.txt');
				-- Result: 23684
				

FORMAT(value [, parseFormat], format )

Returns the value formatted with the specified format.

  • value: The string to format.
  • format: The string specifying the output syntax of the date or numeric format.
  • parseFormat: The string specifying the input syntax of the date value. Not applicable to numeric types.

                      SELECT FORMAT(12.34, '#');
                      -- Result: 12

                      SELECT FORMAT(12.34, '#.###');
                      -- Result: 12.34

                      SELECT FORMAT(1234, '0.000E0');
                      -- Result: 1.234E3
                      
                      SELECT FORMAT('2019/01/01', 'yyyy-MM-dd');
                      -- Result: 2019-01-01
                      
                      SELECT FORMAT('20190101', 'yyyyMMdd', 'yyyy-MM-dd');
                      -- Result: '2019-01-01'
                    

HASHBYTES(algorithm, value)

Returns the hash of the input value as a byte array using the given algorithm. The supported algorithms are MD5, SHA1, SHA2_256, SHA2_512, SHA3_224, SHA3_256, SHA3_384, and SHA3_512.

  • algorithm: The algorithm to use for hashing. Must be one of MD5, SHA1, SHA2_256, SHA2_512, SHA3_224, SHA3_256, SHA3_384, or SHA3_512.
  • value: The value to hash. Must be either a string or byte array.

                      SELECT HASHBYTES('MD5', 'Test');
                      -- Result (byte array): 0x0CBC6611F5540BD0809A388DC95A615B
                    

INDEXOF(expressionToSearch, expressionToFind [,start_location ])

Returns the starting position of the specified expression in the character string.

  • expressionToSearch: The character expression, typically a column, to search.
  • expressionToFind: The character expression to find.
  • start_location: An optional character position to start searching for expressionToFind in expressionToSearch.

                      SELECT INDEXOF('0123456', '456');
                      -- Result: 4

                      SELECT INDEXOF('0123456', '456', 5);
                      -- Result: -1
                    

ISALPHABETIC(character_expression)

Returns 1 if the character expression consists only of alphabetic characters; otherwise, 0.

  • character_expression: The string expression to evaluate.

                      SELECT ISALPHABETIC('Hello');
                      -- Result: 1

                      SELECT ISALPHABETIC('Hello123');
                      -- Result: 0

                      SELECT ISALPHABETIC('Hello!');
                      -- Result: 0
                    

ISALPHANUMERIC(character_expression)

Returns 1 if the character expression consists only of alphabetic and numeric characters; otherwise, 0.

  • character_expression: The string expression to evaluate.

                      SELECT ISALPHANUMERIC('Hello123');
                      -- Result: 1

                      SELECT ISALPHANUMERIC('123');
                      -- Result: 1

                      SELECT ISALPHANUMERIC('Hello.123');
                      -- Result: 0
                    

ISNUMERIC(character_expression)

Returns 1 if the character expression consists only of numeric digits and up to one decimal point; otherwise, 0.

  • character_expression: The string expression to evaluate.

                      SELECT ISNUMERIC('123');
                      -- Result: 1

                      SELECT ISNUMERIC('123.45');
                      -- Result: 1

                      SELECT ISNUMERIC('123.45.67');
                      -- Result: 0

                      SELECT ISNUMERIC('12a3');
                      -- Result: 0
                    

JSON_EXTRACT(json, jsonpath)

Selects any value in a JSON array or object. The path to the array is specified in the jsonpath argument. Return value is numeric or null.

  • json: The JSON document to extract.
  • jsonpath: The XPath used to select the nodes. The JSONPath must be a string constant. The values of the nodes selected will be returned in a token-separated list.

                      SELECT JSON_EXTRACT('{"test": {"data": 1}}', '$.test');
                      -- Result: '{"data":1}'

                      SELECT JSON_EXTRACT('{"test": {"data": 1}}', '$.test.data');
                      -- Result: 1

                      SELECT JSON_EXTRACT('{"test": {"data": [1, 2, 3]}}', '$.test.data[1]');
                      -- Result: 2
                    

LEFT ( character_expression , integer_expression )

Returns the specified number of characters counting from the left of the specified string.

  • character_expression: The character expression.
  • integer_expression: The positive integer that specifies how many characters will be returned counting from the left of character_expression.

                      SELECT LEFT('1234567890', 3);
                      -- Result: '123'
                    

LEN(string_expression)

Returns the number of characters of the specified string expression.

  • string_expression: The string expression.

                      SELECT LEN('12345');
                      -- Result: 5
                    

LOCATE(substring,string)

Returns an integer representing how many characters into the string the substring appears.

  • substring: The substring to find inside larger string.
  • string: The larger string that is searched for the substring.
  • start locations: An optional integer that sets the character position (offset) from which to start searching.

				SELECT LOCATE('sample','XXXXXsampleXXXXX');
				-- Result: 6

                SELECT LOCATE('sample', 'XXXXXsampleXXXXX', 7)
                -- Result: 0
				

LOWER ( character_expression )

Returns the character expression with the uppercase character data converted to lowercase.

  • character_expression: The character expression.

                      SELECT LOWER('MIXED case');
                      -- Result: 'mixed case'
                    

LTRIM(character_expression)

Returns the character expression with leading blanks removed.

  • character_expression: The character expression.

                      SELECT LTRIM('     trimmed');
                      -- Result: 'trimmed'
                    

MASK(string_expression, mask_character [, start_index [, end_index ]])

Replaces the characters between start_index and end_index with the mask_character within the string.

  • string_expression: The string expression to be searched.
  • mask_character: The character to mask with.
  • start_index: The optional number of characters to leave unmasked at beginning of string. Defaults to 0.
  • end_index: The optional number of characters to leave unmasked at end of string. Defaults to 0.

                        SELECT MASK('1234567890','*',);
                        -- Result: '**********'
                        SELECT MASK('1234567890','*', 4);
                        -- Result: '1234******'
                        SELECT MASK('1234567890','*', 4, 2);
                        -- Result: '1234****90'  
                    

NCHAR(integer_expression)

Returns the Unicode character with the specified integer code as defined by the Unicode standard.

  • integer_expression: The integer from 0 through 65535 (0 through xFFFF).

OCTET_LENGTH(character_expression),

Returns the number of bytes present in the expression.

  • character_expression: The set of characters to be be evaluated.

				 SELECT OCTET_LENGTH('text') FROM Account LIMIT 1
				 -- Result: 4
				

PATINDEX(pattern, expression)

Returns the starting position of the first occurrence of the pattern in the expression. Returns 0 if the pattern is not found.

  • pattern: The character expression that contains the sequence to be found. The wild-card character % can be used only at the start or end of the expression.
  • expression: The expression, typically a column, to search for the pattern.

                      SELECT PATINDEX('123%', '1234567890');
                      -- Result: 1

                      SELECT PATINDEX('%890', '1234567890');
                      -- Result: 8

                      SELECT PATINDEX('%456%', '1234567890');
                      -- Result: 4
                    

POSITION(expressionToFind IN expressionToSearch)

Returns the starting position of the specified expression in the character string.

  • expressionToFind: The character expression to find.
  • expressionToSearch: The character expression, typically a column, to search.

                      SELECT POSITION('456' IN '123456');
                      -- Result: 4

                      SELECT POSITION('x' IN '123456');
                      -- Result: 0
                    

QUOTENAME(character_string [, quote_character])

Returns a valid SQL Server-delimited identifier by adding the necessary delimiters to the specified Unicode string.

  • character_string: The string of Unicode character data. The string is limited to 128 characters. Inputs greater than 128 characters return null.
  • quote_character: An optional single character to be used as the delimiter. These include:
    • a single quotation mark (')
    • a left or right bracket ([])
    • a double quotation mark (")
    • a left or right parenthesis ( () )
    • a greater or less than sign (><)
    • a left or right brace ({})
    • a backtick (`)

    If quote_character is not specified brackets are used. If an unacceptable character is supplied, it returns NULL.


                      SELECT QUOTENAME('table_name');
                      -- Result: '[table_name]'

                      SELECT QUOTENAME('table_name', '"');
                      -- Result: '"table_name"'

                      SELECT QUOTENAME('table_name', '[');
                      -- Result: '[table_name]'
                    

REGEXP_REPLACE(expr, pattern [, replacement [, position [, occurrence [, match_type]]]])

Replaces occurrences of a regular expression pattern in the input string with a specified value and returns the resulting string.

  • expr: The string expression to be searched.
  • pattern: The regular expression pattern to match.
  • replacement: (optional) The string to replace each matched occurrence of pattern with. Supports backreferences \1 through \9 and escape sequences \n, \r, \t, and \\. By default, this argument is an empty string, meaning matched portions are removed from the output string.
  • position: (optional) The 1-based starting position used when searching for regular expression matches in expr. The default is 1. All characters prior to the starting position are included in the output string unaltered. Skipped characters are ignored when calculating regular expression matches, even if they match pattern.
  • occurrence: (optional) Specifies whether all occurrences of pattern,, or only a specific occurrence of pattern are replaced. The default is 0, which means all occurrences of pattern are replaced with replacement. Set to 1 to only replace the first instance of the pattern; 2 to replace the second; etc.
  • match_type: (optional) Modifiers used to customize matching behavior. Supported values are: 'c' (case-sensitive, default), 'i' (case-insensitive), 'm' (multiline), 'n' (dot matches newline), 'x' (extended mode). These can be freely combined by including the letters back to back. For example, 'im' applies the functionality of both 'i' and 'm'. The regular expression syntax used is that of the Extended mode ('x') ignores whitespace and allows inline comments. If the pattern needs to match a literal space, it must be explicitly escaped.

                      SELECT REGEXP_REPLACE('abc123def456', '\d+', 'NUM');
                      -- Result: 'abcNUMdefNUM'

                      SELECT REGEXP_REPLACE('Hello\nHELLO\nhello', '^hello', 'X', 1, 0, 'im');
                      -- Result: 'X\nX\nX'
                    

REPLACE(string_expression, string_pattern, string_replacement)

Replaces all occurrences of a string with another string.

  • string_expression: The string expression to be searched. This can be a character or binary data type.
  • string_pattern: The substring to be found. Cannot be an empty string.
  • string_replacement: The replacement string.

                      SELECT REPLACE('1234567890', '456', '|');
                      -- Result: '123|7890'

                      SELECT REPLACE('123123123', '123', '.');
                      -- Result: '...'

                      SELECT REPLACE('1234567890', 'a', 'b');
                      -- Result: '1234567890'
                    

REPLICATE ( string_expression ,integer_expression )

Repeats the string value the specified number of times.

  • string_expression: The string to replicate.
  • integer_expression: The repeat count.

                      SELECT REPLACE('x', 5);
                      -- Result: 'xxxxx'
                    

REVERSE ( string_expression )

Returns the reverse order of the string expression.

  • string_expression: The string.

                      SELECT REVERSE('1234567890');
                      -- Result: '0987654321'
                    

RIGHT ( character_expression , integer_expression )

Returns the right part of the string with the specified number of characters.

  • character_expression: The character expression.
  • integer_expression: The positive integer that specifies how many characters of the character expression will be returned.

                      SELECT RIGHT('1234567890', 3);
                      -- Result: '890'
                    

RTRIM(character_expression)

Returns the character expression after it removes trailing blanks.

  • character_expression: The character expression.

                      SELECT RTRIM('trimmed     ');
                      -- Result: 'trimmed'
                    

SOUNDEX(character_expression)

Returns the four-character Soundex code, based on how the string sounds when spoken.

  • character_expression: The alphanumeric expression of character data.

                      SELECT SOUNDEX('smith');
                      -- Result: 'S530'
                    

SPACE(repeatcount)

Returns the string that consists of repeated spaces.

  • repeatcount: The number of spaces.

                      SELECT SPACE(5);
                      -- Result: '     '
                    

SPLIT(string, delimiter, offset)

Returns a section of the string between to delimiters.

  • string: The string to split.
  • delimiter: The character to split the string with.
  • offset: The number of the split to return. Positive numbers are treated as offsets from the left, and negative numbers are treated as offsets from the right.

                      SELECT SPLIT('a/b/c/d', '/', 1);
                      -- Result: 'a'
                      SELECT SPLIT('a/b/c/d', '/', -2);
                      -- Result: 'c'
                    

STARTSWITH(character_expression, character_prefix)

Returns 1 if character_expression starts with character_prefix; otherwise, 0.

  • character_expression: The character expression.
  • character_prefix: The character prefix to search for.

                      SELECT STARTSWITH('0123456', '012');
                      -- Result: 1

                      SELECT STARTSWITH('0123456', '456');
                      -- Result: 0
                    

STR ( float_expression [ , integer_length [ , integer_decimal ] ] )

Returns the character data converted from the numeric data. For example, STR(123.45, 6, 1) returns 123.5.

  • float_expression: The float expression.
  • length: The optional total length to return. This includes decimal point, sign, digits, and spaces. The default is 10.
  • decimal: The optional number of places to the right of the decimal point. The decimal must be less than or equal to 16.

                      SELECT STR('123.456');
                      -- Result: '123'

                      SELECT STR('123.456', 2);
                      -- Result: '**'

                      SELECT STR('123.456', 10, 2);
                      -- Result: '123.46'
                    

STUFF(character_expression , integer_start , integer_length , replaceWith_expression)

Inserts a string into another string. It deletes the specified length of characters in the first string at the start position and then inserts the second string into the first string at the start position.

  • character_expression: The string expression.
  • start: The integer value that specifies the location to start deletion and insertion. If start or length is negative, null is returned. If start is longer than the string to be modified, character_expression, null is returned.
  • length: The integer that specifies the number of characters to delete. If length is longer than character_expression, deletion occurs up to the last character in replaceWith_expression.
  • replaceWith_expression: The expression of character data that will replace length characters of character_expression beginning at the start value.

                      SELECT STUFF('1234567890', 3, 2, 'xx');
                      -- Result: '12xx567890'
                    

SUBSTRING(string_value FROM start FOR length)

Returns the part of the string with the specified length; starts at the specified index.

  • string_value: The character string.
  • start: The positive integer that specifies the start index of characters to return.
  • length: Optional. The positive integer that specifies how many characters will be returned.

                      SELECT SUBSTRING('1234567890' FROM 3 FOR 2);
                      -- Result: '34'

                      SELECT SUBSTRING('1234567890' FROM 3);
                      -- Result: '34567890'
                    
You can also drop the FROM and FOR clauses:
                    SELECT SUBSTRING('1234567890', 3, 2)
                    --Result: '34'
                    SELECT SUBSTRING('1234567890', 3)
                    --Result: '34567890'
                    

TEXT_ENCODE(input_string, charset)

Returns binary output by encoding a string using the specified character set.

  • input_string: The plain text string.
  • charset: The character set to use, such as 'UTF-8', 'ISO-8859-1'.

                    SELECT TEXT_ENCODE('Café', 'UTF-8');
                    -- Result: (binary output)
                    

TEXT_DECODE(input_binary, charset)

Returns a string decoded from binary data using the specified character set.

  • input_binary: The binary value to decode.
  • charset: The character set used for decoding.

                    SELECT TEXT_DECODE(BinaryData, 'UTF-8');
                    -- Result: 'Café'
                    

TOSTRING(string_value1)

Converts the value of this instance to its equivalent string representation.

  • string_value1: The string to be converted.

                      SELECT TOSTRING(123);
                      -- Result: '123'

                      SELECT TOSTRING(123.456);
                      -- Result: '123.456'

                      SELECT TOSTRING(null);
                      -- Result: ''
                    

TRIM(trimspec trimchar FROM string_value)

Returns the character expression with leading and/or trailing blanks removed.

  • trimspec: Optional. If included must be one of the keywords BOTH, LEADING or TRAILING.
  • trimchar: Optional. If included should be a one-character string value.
  • string_value: The string value to trim.

                      SELECT TRIM('     trimmed     ');
                      -- Result: 'trimmed'

                      SELECT TRIM(LEADING FROM '     trimmed     ');
                      -- Result: 'trimmed     '

                      SELECT TRIM('-' FROM '-----trimmed-----');
                      -- Result: 'trimmed'

                      SELECT TRIM(BOTH '-' FROM '-----trimmed-----');
                      -- Result: 'trimmed'

                      SELECT TRIM(TRAILING '-' FROM '-----trimmed-----');
                      -- Result: '-----trimmed'
                    

UNICODE(ncharacter_expression)

Returns the integer value defined by the Unicode standard of the first character of the input expression.

  • ncharacter_expression: The Unicode character expression.

UPPER ( character_expression )

Returns the character expression with lowercase character data converted to uppercase.

  • character_expression: The character expression.

                      SELECT UPPER('MIXED case');
                      -- Result: 'MIXED CASE'
                    

XML_EXTRACT(xml, xpath [, separator])

Extracts an XML document using the specified XPath to flatten the XML. A comma is used to separate the outputs by default, but this can be changed by specifying the third parameter.

  • xml: The XML document to extract.
  • xpath: The XPath used to select the nodes. The nodes selected will be returned in a token-separated list.
  • separator: The optional token used to separate the items in the flattened response. If this is not specified, the separator will be a comma.

                      SELECT XML_EXTRACT('<vowels><ch>a</ch><ch>e</ch><ch>i</ch><ch>o</ch><ch>u</ch></vowels>', '/vowels/ch');
                      -- Result: 'a,e,i,o,u'

                      SELECT XML_EXTRACT('<vowels><ch>a</ch><ch>e</ch><ch>i</ch><ch>o</ch><ch>u</ch></vowels>', '/vowels/ch', ';');
                      -- Result: 'a;e;i;o;u'
                    

CData Python Connector for Google Ads

MATH Functions

ABS ( numeric_expression )

Returns the absolute (positive) value of the specified numeric expression.

  • numeric_expression: The expression of an indeterminate numeric data type except for the bit data type.

                      SELECT ABS(15);
                      -- Result: 15

                      SELECT ABS(-15);
                      -- Result: 15
                    

ACOS ( float_expression )

Returns the arc cosine, the angle in radians whose cosine is the specified float expression.

  • float_expression: The float expression that specifies the cosine of the angle to be returned. Values outside the range from -1 to 1 return null.

                      SELECT ACOS(0.5);
                      -- Result: 1.0471975511966
                    

ASIN ( float_expression )

Returns the arc sine, the angle in radians whose sine is the specified float expression.

  • float_expression: The float expression that specifies the sine of the angle to be returned. Values outside the range from -1 to 1 return null.

                      SELECT ASIN(0.5);
                      -- Result: 0.523598775598299
                    

ATAN ( float_expression )

Returns the arc tangent, the angle in radians whose tangent is the specified float expression.

  • float_expression: The float expression that specifies the tangent of the angle to be returned.

                      SELECT ATAN(10);
                      -- Result: 1.47112767430373
                    

ATN2 ( float_expression1 , float_expression2 )

Returns the angle in radians between the positive x-axis and the ray from the origin to the point (y, x) where x and y are the values of the two specified float expressions.

  • float_expression1: The float expression that is the y-coordinate.
  • float_expression2: The float expression that is the x-coordinate.

                      SELECT ATN2(1, 1);
                      -- Result: 0.785398163397448
                    

CEILING ( numeric_expression ) or CEIL( numeric_expression )

Returns the smallest integer greater than or equal to the specified numeric expression.

  • numeric_expression: The expression of an indeterminate numeric data type except for the bit data type.

                      SELECT CEILING(1.3);
                      -- Result: 2

                      SELECT CEILING(1.5);
                      -- Result: 2

                      SELECT CEILING(1.7);
                      -- Result: 2
                    

COS ( float_expression )

Returns the trigonometric cosine of the specified angle in radians in the specified expression.

  • float_expression: The float expression of the specified angle in radians.

                      SELECT COS(1);
                      -- Result: 0.54030230586814
                    

COT ( float_expression )

Returns the trigonometric cotangent of the angle in radians specified by float_expression.

  • float_expression: The float expression of the angle in radians.

                      SELECT COT(1);
                      -- Result: 0.642092615934331
                    

DEGREES ( numeric_expression )

Returns the angle in degrees for the angle specified in radians.

  • numeric_expression: The angle in radians, an expression of an indeterminate numeric data type except for the bit data type.

                      SELECT DEGREES(3.1415926);
                      -- Result: 179.999996929531
                    

EXP ( float_expression )

Returns the exponential value of the specified float expression. For example, EXP(LOG(20)) is 20.

  • float_expression: The float expression.

                      SELECT EXP(2);
                      -- Result: 7.38905609893065
                    

EXPR ( expression )

Evaluates the expression.

  • expression: The expression. Operators allowed are +, -, *, /, ==, !=, >, <, >=, and <=.

                      SELECT EXPR('1 + 2 * 3');
                      -- Result: 7

                      SELECT EXPR('1 + 2 * 3 == 7');
                      -- Result: true
                    

FLOOR ( numeric_expression )

Returns the largest integer less than or equal to the numeric expression.

  • numeric_expression: The expression of an indeterminate numeric data type except for the bit data type.

                      SELECT FLOOR(1.3);
                      -- Result: 1

                      SELECT FLOOR(1.5);
                      -- Result: 1

                      SELECT FLOOR(1.7);
                      -- Result: 1
                    

GREATEST(int1,int2,....)

Returns the greatest of the supplied integers.

				SELECT GREATEST(3,5,8,10,1)
				-- Result: 10			
				

HEX(value)

Returns a the equivalent hex for the input value.

  • value: A string or numerical value to be converted into hex.

				SELECT HEX(866849198);
				-- Result: 33AB11AE
				
				SELECT HEX('Sample Text');
				-- Result: 53616D706C652054657874
				

JSON_AVG(json, jsonpath)

Computes the average value of a JSON array within a JSON object. The path to the array is specified in the jsonpath argument. Return value is numeric or null.

  • json: The JSON document to compute.
  • jsonpath: The JSONPath used to select the nodes. [x], [2..], [..8], or [1..12] are accepted. [x] selects all nodes.

                      SELECT JSON_AVG('[1,2,3,4,5]', '$[x]');
                      -- Result: 3

                      SELECT JSON_AVG('{"test": {"data": [1,2,3,4,5]}}', '$.test.data[x]');
                      -- Result: 3

                      SELECT JSON_AVG('{"test": {"data": [1,2,3,4,5]}}', '$.test.data[3..]');
                      -- Result: 4.5
                    

JSON_COUNT(json, jsonpath)

Returns the number of elements in a JSON array within a JSON object. The path to the array is specified in the jsonpath argument. Return value is numeric or null.

  • json: The JSON document to compute.
  • jsonpath: The JSONPath used to select the nodes. [x], [2..], [..8], or [1..12] are accepted. [x] selects all nodes.

                      SELECT JSON_COUNT('[1,2,3,4,5]', '$[x]');
                      -- Result: 5

                      SELECT JSON_COUNT('{"test": {"data": [1,2,3,4,5]}}', '$.test.data[x]');
                      -- Result: 5

                      SELECT JSON_COUNT('{"test": {"data": [1,2,3,4,5]}}', '$.test.data[3..]');
                      -- Result: 2
                    

JSON_MAX(json, jsonpath)

Gets the maximum value in a JSON array within a JSON object. The path to the array is specified in the jsonpath argument. Return value is numeric or null.

  • json: The JSON document to compute.
  • jsonpath: The JSONPath used to select the nodes. [x], [2..], [..8], or [1..12] are accepted. [x] selects all nodes.

                      SELECT JSON_MAX('[1,2,3,4,5]', '$[x]');
                      -- Result: 5

                      SELECT JSON_MAX('{"test": {"data": [1,2,3,4,5]}}', '$.test.data[x]');
                      -- Result: 5

                      SELECT JSON_MAX('{"test": {"data": [1,2,3,4,5]}}', '$.test.data[..3]');
                      -- Result: 4
                    

JSON_MIN(json, jsonpath)

Gets the minimum value in a JSON array within a JSON object. The path to the array is specified in the jsonpath argument. Return value is numeric or null.

  • json: The JSON document to compute.
  • jsonpath: The JSONPath used to select the nodes. [x], [2..], [..8], or [1..12] are accepted. [x] selects all nodes.

                      SELECT JSON_MIN('[1,2,3,4,5]', '$[x]');
                      -- Result: 1

                      SELECT JSON_MIN('{"test": {"data": [1,2,3,4,5]}}', '$.test.data[x]');
                      -- Result: 1

                      SELECT JSON_MIN('{"test": {"data": [1,2,3,4,5]}}', '$.test.data[3..]');
                      -- Result: 4
                    

JSON_SUM(json, jsonpath)

Computes the summary value in JSON according to the JSONPath expression. Return value is numeric or null.

  • json: The JSON document to compute.
  • jsonpath: The JSONPath used to select the nodes. [x], [2..], [..8], or [1..12] are accepted. [x] selects all nodes.

                      SELECT JSON_SUM('[1,2,3,4,5]', '$[x]');
                      -- Result: 15

                      SELECT JSON_SUM('{"test": {"data": [1,2,3,4,5]}}', '$.test.data[x]');
                      -- Result: 15

                      SELECT JSON_SUM('{"test": {"data": [1,2,3,4,5]}}', '$.test.data[3..]');
                      -- Result: 9
                    

LEAST(int1,int2,....)

Returns the least of the supplied integers.

				SELECT LEAST(3,5,8,10,1)
				-- Result: 1			
				

LOG ( float_expression [, base ] )

Returns the natural logarithm of the specified float expression.

  • float_expression: The float expression.
  • base: The optional integer argument that sets the base for the logarithm.

                      SELECT LOG(7.3890560);
                      -- Result: 1.99999998661119
                    

LOG10 ( float_expression )

Returns the base-10 logarithm of the specified float expression.

  • float_expression: The expression of type float.

                      SELECT LOG10(10000);
                      -- Result: 4
                    

MOD(dividend,divisor)

Returns the integer value associated with the remainder when dividing the dividend by the divisor.

  • dividend: The number to take the modulus of.
  • divisor: The number to divide the dividend by when determining the modulus.

				SELECT MOD(10,3);
				-- Result: 1
				

NEGATE(real_number)

Returns the opposite to the real number input.

  • real_number: The real number to find the opposite of.

				SELECT NEGATE(10);
				-- Result: -10
				
				SELECT NEGATE(-12.4)
				--Result: 12.4
				

PI ( )

Returns the constant value of pi.

                  SELECT PI()
                  -- Result: 3.14159265358979 
                

POWER ( float_expression , y )

Returns the value of the specified expression raised to the specified power.

  • float_expression: The float expression.
  • y: The power to raise float_expression to.

                      SELECT POWER(2, 10);
                      -- Result: 1024

                      SELECT POWER(2, -2);
                      -- Result: 0.25
                    

RADIANS ( float_expression )

Returns the angle in radians of the angle in degrees.

  • float_expression: The degrees of the angle as a float expression.

                      SELECT RADIANS(180);
                      -- Result: 3.14159265358979
                    

RAND ( [ integer_seed ] )

Returns a pseudorandom float value from 0 through 1, exclusive.

  • seed: The optional integer expression that specifies the seed value. If seed is not specified, a seed value at random will be assigned.

                      SELECT RAND();
                      -- This result may be different, since the seed is randomized
                      -- Result: 0.873159630165044

                      SELECT RAND(1);
                      -- This result will always be the same, since the seed is constant
                      -- Result: 0.248668584157093
                    

ROUND ( numeric_expression [ ,integer_length] [ ,function ] )

Returns the numeric value rounded to the specified length or precision.

  • numeric_expression: The expression of a numeric data type.
  • length: The optional precision to round the numeric expression to. When this is omitted, the default behavior will be to round to the nearest whole number.
  • function: The optional type of operation to perform. When the function parameter is omitted or has a value of 0 (default), numeric_expression is rounded. When a value other than 0 is specified, numeric_expression is truncated.

                      SELECT ROUND(1.3, 0);
                      -- Result: 1

                      SELECT ROUND(1.55, 1);
                      -- Result: 1.6

                      SELECT ROUND(1.7, 0, 0);
                      -- Result: 2

                      SELECT ROUND(1.7, 0, 1);
                      -- Result: 1
                      
                      SELECT ROUND (1.24);
                      -- Result: 1.0
                    

SIGN ( numeric_expression )

Returns the positive sign (1), 0, or negative sign (-1) of the specified expression.

  • numeric_expression: The expression of an indeterminate data type except for the bit data type.

                      SELECT SIGN(0);
                      -- Result: 0

                      SELECT SIGN(10);
                      -- Result: 1

                      SELECT SIGN(-10);
                      -- Result: -1
                    

SIN ( float_expression )

Returns the trigonometric sine of the angle in radians.

  • float_expression: The float expression specifying the angle in radians.

                     SELECT SIN(1);
                     -- Result: 0.841470984807897
                    

SQRT ( float_expression )

Returns the square root of the specified float value.

  • float_expression: The expression of type float.

                      SELECT SQRT(100);
                      -- Result: 10
                    

SQUARE ( float_expression )

Returns the square of the specified float value.

  • float_expression: The expression of type float.

                      SELECT SQUARE(10);
                      -- Result: 100

                      SELECT SQUARE(-10);
                      -- Result: 100
                    

TAN ( float_expression )

Returns the tangent of the input expression.

  • float_expression: The expression of type float.

                      SELECT TAN(1);
                      -- Result: 1.5574077246549
                    

TRUNC(decimal_number,precision)

Returns the supplied decimal number truncated to have the supplied decimal precision.

  • decimal_number: The decimal value to truncate.
  • precision: The number of decimal places to truncate the decimal number to.

				SELECT TRUNC(10.3423,2);
				-- Result: 10.34
				

_ROW_NUMBER_()

Returns a row index as an additional column.

				SELECT ColumnName, _ROW_NUMBER_() FROM TableName
				-- Result: ColumnData, 0
				ColumnData2, 1
				ColumnData3, 2
				

CData Python Connector for Google Ads

DATE Functions

CURRENT_DATE()

Returns the current date value.

                  SELECT CURRENT_DATE();
                  -- Result: 2018-02-01
                

CURRENT_TIMESTAMP()

Returns the current time stamp of the database system as a datetime value. This value is equal to GETDATE and SYSDATETIME, and is always in the local timezone.

                  SELECT CURRENT_TIMESTAMP();
                  -- Result: 2018-02-01 03:04:05
                

DATEADD (datepart , integer_number , date [, dateformat])

Returns the datetime value that results from adding the specified number (a signed integer) to the specified date part of the date.

  • datepart: The part of the date to add the specified number to. The valid values and abbreviations are
    • year (yy, yyyy)
    • quarter (qq, q)
    • month (mm, m)
    • week (wk, ww)
    • weekday (dw)
    • dayofyear (dy, y)
    • day (dd, d)
    • hour (hh)
    • minute (mi, n)
    • second (ss, s)
    • millisecond (ms)
  • number: The number to be added.
  • date: The expression of the datetime data type.
  • dateformat: The optional output date format.

                  SELECT DATEADD('d', 5, '2018-02-01');
                  -- Result: 2018-02-06

                  SELECT DATEADD('hh', 5, '2018-02-01 00:00:00');
                  -- Result: 2018-02-01 05:00:00
                

DATEDIFF ( datepart , startdate , enddate )

Returns the difference (a signed integer) of the specified time interval between the specified start date and end date.

  • datepart: The part of the date that is the time interval of the difference between the start date and end date. The valid values and abbreviations are:
    • Year (year, yyyy, yy)
    • Quarter (quarter, qq, q)
    • Month (month, mm, m)
    • Week (week, wk, ww)
    • Weekday (weekday, dw)
    • Dayofyear (dayofyear, dy, y)
    • Day (day, dd, d)
    • Hour (hour, hh)
    • Minute (minute, mi, n)
    • Second (second, ss, s)
    • Millisecond (millisecond, ms)
  • startdate: The datetime expression of the start date.
  • enddate: The datetime expression of the end date.

                  SELECT DATEDIFF('d', '2018-02-01', '2018-02-10');
                  -- Result: 9

                  SELECT DATEDIFF('hh', '2018-02-01 00:00:00', '2018-02-01 12:00:00');
                  -- Result: 12
                

DATE_FORMAT(date,format)

Returns the date or timestamp in the format specified. This function mirrors the MySQL DATE_FORMAT function.

  • date: A date or timestamp string.
  • format: The specifier string of the desired output format. The list of supported format specifiers comes from the MySQL DATE_FORMAT function (see link to MySQL documentation above).

					SELECT DATE_FORMAT('9/4/2021 3:11:53 AM','%h')
					-- Result: 03
				  

DATEFROMPARTS(integer_year, integer_month, integer_day)

Returns the datetime value for the specified year, month, and day.

  • year: The integer expression specifying the year.
  • month: The integer expression specifying the month.
  • day: The integer expression specifying the day.

                    SELECT DATEFROMPARTS(2018, 2, 1);
                    -- Result: 2018-02-01
                  

DATENAME(datepart , date)

Returns the character string that represents the specified date part of the specified date.

  • datepart: The part of the date to return. The valid values and abbreviations are year (yy, yyyy), quarter (qq, q), month (mm, m), dayofyear (dy, y), day (dd, d), week (wk, ww), weekday (dw), hour (hh), minute (mi, n), second (ss, s), millisecond (ms), microsecond (mcs), and nanosecond (ns).
  • date: The datetime expression.

                     SELECT DATENAME('yy', '2018-02-01');
                     -- Result: '2018'

                     SELECT DATENAME('dw', '2018-02-01');
                     -- Result: 'Thursday'
                   

DATEPART(datepart, date [,integer_datefirst])

Returns a character string that represents the specified date part of the specified date.

  • datepart: The part of the date to return. The valid values and abbreviations are year (yy, yyyy), quarter (qq, q), month (mm, m), dayofyear (dy, y), day (dd, d), week (wk, ww), weekday (dw), hour (hh), minute (mi, n), second (ss, s), millisecond (ms), microsecond (mcs), nanosecond (ns), ISODOW, ISO_WEEK (isoweek, isowk,isoww), and ISOYEAR.
  • date: The datetime string.
  • datefirst: The optional integer representing the first day of the week. The default is 7, Sunday.

                    SELECT DATEPART('yy', '2018-02-01');
                    -- Result: 2018

                    SELECT DATEPART('dw', '2018-02-01');
                    -- Result: 5
                  

DATETIMEFROMPARTS(integer_year, integer_month, integer_day, integer_hour, integer_minute, integer_seconds, integer_milliseconds)

Returns the datetime value for the specified date parts.

  • year: The integer expression specifying the year.
  • month: The integer expression specifying the month.
  • day: The integer expression specifying the day.
  • hour: The integer expression specifying the hour.
  • minute: The integer expression specifying the minute.
  • seconds: The integer expression specifying the seconds.
  • milliseconds: The integer expression specifying the milliseconds.

                    SELECT DATETIMEFROMPARTS(2018, 2, 1, 1, 2, 3, 456);
                    -- Result: 2018-02-01 01:02:03.456
                  

DATETIME2FROMPARTS(integer_year, integer_month, integer_day, integer_hour, integer_minute, integer_seconds, integer_fractions, integer_precision)

Returns the datetime value for the specified date parts.

  • year: The integer expression specifying the year.
  • month: The integer expression specifying the month.
  • day: The integer expression specifying the day.
  • hour: The integer expression specifying the hour.
  • minute: The integer expression specifying the minute.
  • seconds: The integer expression specifying the seconds.
  • fractions: The integer expression specifying the fractions of the second.
  • precision: The integer expression specifying the precision of the fraction.

				    SELECT DATETIME2FROMPARTS(2018, 2, 1, 1, 2, 3, 456, 3);
                    -- Result: 2018-02-01 01:02:03.456
                  

DATE_TRUNC(date, datepart)

Truncates the date to the precision of the given date part. Modeled after the Oracle TRUNC function.

  • date: The datetime string that specifies the date.
  • datepart: Refer to the Oracle documentation for valid datepart syntax.

				    SELECT DATE_TRUNC('05-04-2005', 'YY');
                    -- Result: '1/1/2005'
					
                    SELECT DATE_TRUNC('05-04-2005', 'MM');
                    -- Result: '5/1/2005'                    
                  

DATE_TRUNC2(datepart, date, [weekday])

Truncates the date to the precision of the given date part. Modeled after the PostgreSQL date_trunc function.

  • datepart: One of 'millennium', 'century', 'decade', 'year', 'quarter', 'month', 'week', 'day', 'hour', 'minute' or 'second'.
  • date: The datetime string that specifies the date.
  • weekday: The optional day of the week to use as the first day for 'week'. One of 'sunday', 'monday', etc.

                    SELECT DATE_TRUNC2('year', '2020-02-04');
                    -- Result: '2020-01-01'

                    SELECT DATE_TRUNC2('week', '2020-02-04', 'monday');
                    -- Result: '2020-02-02', which is the previous Monday
                  

DAY(date)

Returns the integer that specifies the day component of the specified date.

  • date: The datetime string that specifies the date.

                    SELECT DAY('2018-02-01');
                    -- Result: 1
                  

DAYNAME(date)

Returns the name of the day of the week of the specified date.

  • date: The datetime string that specifies the date.

                    SELECT DAYNAME('8/18/2021');
                    -- Result: Wednesday
                  

DAYOFMONTH(date)

Returns the day of the month of the given date part.
  • date: The datetime string that specifies the date.

				  SELECT DAYOFMONTH('04/15/2000');
				  -- Result: 15
				  

DAYOFWEEK(date)

Returns the day of the week of the given date part.
  • date: The datetime string that specifies the date.

				  SELECT DAYOFWEEK('04/15/2000');
				  -- Result: 7
				  

DAYOFYEAR(date)

Returns the day of the year of the given date part.
  • date: The datetime string that specifies the date.

				  SELECT DAYOFYEAR('04/15/2000');
				  -- Result: 106
				  

EOMONTH(date [, integer_month_to_add ]) or LAST_DAY(date)

Returns the last day of the month that contains the specified date with an optional offset.

  • date: The datetime expression specifying the date for which to return the last day of the month.
  • integer_month_to_add: The optional integer expression specifying the number of months to add to the date before calculating the end of the month.

                  SELECT EOMONTH('2018-02-01');
                  -- Result: 2018-02-28
                  
                  SELECT LAST_DAY('2018-02-01');
                  -- Result: 2018-02-28

                  SELECT EOMONTH('2018-02-01', 2);
                  -- Result: 2018-04-30
                

EXTRACT(date_part FROM date_column_name)

Returns the last day of the month that contains the specified date with an optional offset.

  • date_part: One of the following date components: YEAR, MONTH, DAY, HOUR, MINUTE, SECOND.
  • date_column_name: The name of a date column in a table.

                  SELECT EXTRACT(YEAR FROM DateColumn)
                  -- Result: 2021
                

FDWEEK(date)

Returns the first day of the week of the given date part.
  • date: The datetime string that specifies the date.
  • weeks to add: An optional integer expression specifying the number of months to add to the date before calculating the first day of the week.

				  SELECT FDWEEK('02-08-2018');
				  -- Result: 2/4/2018

          SELECT FDWEEK('02-08-2018', 1)
          --Result: 02/11/2018
				  

FDMONTH(date)

Returns the first day of the month of the given date part.
  • date: The datetime string that specifies the date.
  • month to add: An optional integer expression specifying the number of months to add to the date before calculating the first day of the month.

				  SELECT FDMONTH('02-08-2018');
				  -- Result: 2/1/2018

          SELECT FDMONTH('02-08-2018', 1) 
          --Result: 03/01/2018
				  

FDQUARTER(date)

Returns the first day of the quarter of the given date part.
  • date: The datetime string that specifies the date.
  • quarters to add: An optional integer expression specifying the number of months to add to the date before calculating the first day of the quarter.

				  SELECT FDQUARTER('05-08-2018');
				  -- Result: 4/1/2018

          SELECT FDQUARTER('05-08-2018',1)
          --Result: 07/01/2018
				  

FILEMODIFIEDTIME(uri)

Returns the time stamp associated with the Date Modified of the relevant file.

  • uri: An absolute path pointing to a file on the local file system.

				 SELECT FILEMODIFIEDTIME('C:/Documents/myfile.txt');
				 -- Result: 6/25/2019 10:06:58 AM
				 

FROM_DAYS(datevalue)

Returns a date derived from the number of days after 1582-10-15 (based upon the Gregorian calendar). This will be equivalent to the MYSQL FROM_DAYS function.

  • datevalue: A integer value representing the number of days since 1582-10-15.

				SELECT FROM_DAYS(736000);
				-- Result: 2/6/2015
				

FROM_UNIXTIME(time, issecond)

Returns a representation of the unix_timestamp argument as a value in YYYY-MM-DD HH:MM:SS expressed in the current time zone.

  • time: The time stamp value from epoch time. Milliseconds are accepted.
  • issecond: Indicates the time stamp value is milliseconds to epoch time.

                      SELECT FROM_UNIXTIME(1540495231, 1);
                      -- Result: 2018-10-25 19:20:31

                      SELECT FROM_UNIXTIME(1540495357385, 0);
                      -- Result: 2018-10-25 19:22:37
                    

GETDATE()

Returns the current time stamp of the database system as a datetime value. This value is equal to CURRENT_TIMESTAMP and SYSDATETIME, and is always in the local timezone.

                  SELECT GETDATE();
                  -- Result: 2018-02-01 03:04:05
                

GETUTCDATE()

Returns the current time stamp of the database system formatted as a UTC datetime value. This value is equal to SYSUTCDATETIME.

In addition, GETUTCDATE can take an optional second parameter, a date and time that are converted to UTC.

                  SELECT GETUTCDATE();
                  -- For example, if the local timezone is Eastern European Time (GMT+2)
                  -- Result: 2018-02-01 05:04:05

                  SELECT GETUTCDATE('2020/08/31 13:56:00')
                  --Result: '2020-08-31 17:56:00'
                

HOUR(date)

Returns the hour component from the provided datetime.

  • date: The datetime string that specifies the date.

				SELECT HOUR('02-02-2020 11:30:00');
				-- Result: 11
				

ISDATE(date, [date_format])

Returns 1 if the value is a valid date, time, or datetime value; otherwise, 0.

  • date: The datetime string.
  • date_format: The optional datetime format.

                      SELECT ISDATE('2018-02-01', 'yyyy-MM-dd');
                      -- Result: 1

                      SELECT ISDATE('Not a date');
                      -- Result: 0
                    

LAST_WEEK()

Returns a time stamp equivalent to exactly one week before the current date.

				SELECT LAST_WEEK();	//Assume the date is 3/17/2020	
			 -- Result: 3/10/2020 00:00:00
				

LAST_MONTH()

Returns a time stamp equivalent to exactly one month before the current date.

	
				SELECT LAST_MONTH(); //Assume the date is 3/17/2020
				-- Result: 2/17/2020 00:00:00
				

LAST_YEAR()

Returns a time stamp equivalent to exactly one year before the current date.

				SELECT LAST_YEAR();	//Assume the date is 3/17/2020	
				-- Result: 3/10/2019 00:00:00
				

LDWEEK(date)

Returns the last day of the provided week.

  • date: The datetime string.
  • weeks to add: An optional integer expression specifying the number of months to add to the date before calculating the last day of the week.

				SELECT LDWEEK('02-02-2020');
				-- Result: 2/8/2020
				

LDMONTH(date)

Returns the last day of the provided month.

  • date: The datetime string.
  • months to add: An optional integer expression specifying the number of months to add to the date before calculating the last day of the month.

				SELECT LDMONTH('02-02-2020');
				-- Result: 2/29/2020

        SELECT LDMONTH('02-08-2020', 1)
        --Result: 03/31/2020
				

LDQUARTER(date)

Returns the last day of the provided quarter.

  • date: The datetime string.
  • quarters to add: An optional integer expression specifying the number of months to add to the date before calculating the last day of the quarter.

				SELECT LDQUARTER('02-02-2020');
				-- Result: 3/31/2020

        SELECT LDQUARTER('02-02-2020',1)
        --Result: 06/30/2020
				

MAKEDATE(year, days)

Returns a date value from a year and a number of days.

  • year: The year
  • days: The number of days into the year. Value must be greater than 0.

          SELECT MAKEDATE(2020, 1);
          -- Result: 2020-01-01
        

MINUTE(date)

Returns the minute component from the provided datetime.

  • date: The datetime string that specifies the date.

				SELECT MINUTE('02-02-2020 11:15:00');
				-- Result: 15
				

MONTH(date)

Returns the month component from the provided datetime.

  • date: The datetime string that specifies the date.

				SELECT MONTH('02-02-2020');
				-- Result: 2
				

QUARTER(date)

Returns the quarter associated with the provided datetime.

  • date: The datetime string that specifies the date.

				SELECT QUARTER('02-02-2020');
				-- Result: 1
				

SECOND(date)

Returns the second component from the provided datetime.

  • date: The datetime string that specifies the date.

				SELECT SECOND('02-02-2020 11:15:23');
				-- Result: 23
				

SMALLDATETIMEFROMPARTS(integer_year, integer_month, integer_day, integer_hour, integer_minute)

Returns the datetime value for the specified date and time.

  • year: The integer expression specifying the year.
  • month: The integer expression specifying the month.
  • day: The integer expression specifying the day.
  • hour: The integer expression specifying the hour.
  • minute: The integer expression specifying the minute.

                      SELECT SMALLDATETIMEFROMPARTS(2018, 2, 1, 1, 2);
                      -- Result: 2018-02-01 01:02:00
                    

STRTODATE(string,format)

Parses the provided string value and returns the corresponding datetime.

  • string: The string value to be converted to datetime format.
  • format: A format string which describes how to interpret the first string input. A few special formats are available as well, including UNIX, UNIXMILIS, TICKS, and FILETICKS.

				SELECT STRTODATE('03*04*2020','dd*MM*yyyy');
				-- Result: 4/3/2020
				

SYSDATETIME()

Returns the current time stamp as a datetime value of the database system. It is equal to GETDATE and CURRENT_TIMESTAMP, and is always in the local timezone.

                  SELECT SYSDATETIME();
                  -- Result: 2018-02-01 03:04:05
                

SYSUTCDATETIME()

Returns the current system date and time as a UTC datetime value. It is equal to GETUTCDATE.

                  SELECT SYSUTCDATETIME();
                  -- For example, if the local timezone is Eastern European Time (GMT+2)
                  -- Result: 2018-02-01 05:04:05
                

TIMEFROMPARTS(integer_hour, integer_minute, integer_seconds, integer_fractions, integer_precision)

Returns the time value for the specified time and with the specified precision.

  • hour: The integer expression specifying the hour.
  • minute: The integer expression specifying the minute.
  • seconds: The integer expression specifying the seconds.
  • fractions: The integer expression specifying the fractions of the second.
  • precision : The integer expression specifying the precision of the fraction.

                      SELECT TIMEFROMPARTS(1, 2, 3, 456, 3);
                      -- Result: 01:02:03.456
                    

TO_DAYS(date)

Returns the number of days since 0000-00-01. This will only return a value for dates on or after 1582-10-15 (based upon the Gregorian calendar). This will be equivalent to the MYSQL TO_DAYS function.

  • date: The datetime string that specifies the date.

				SELECT TO_DAYS('02-06-2015');
				-- Result: 736000
				

WEEK(date)

Returns the week (of the year) associated with the provided datetime.

  • date: The datetime string that specifies the date.

				SELECT WEEK('02-17-2020 11:15:23');
				-- Result: 8
				

YEAR(date)

Returns the integer that specifies the year of the specified date.

  • date: The datetime string.

                      SELECT YEAR('2018-02-01');
                      -- Result: 2018
                    

CData Python Connector for Google Ads

Date Literal Functions

The following date literal functions can be used to filter date fields using relative intervals. Note that while the <, >, and = operators are supported for these functions, <= and >= are not.

L_TODAY()

The current day.

  SELECT * FROM MyTable WHERE MyDateField = L_TODAY()

L_YESTERDAY()

The previous day.

  SELECT * FROM MyTable WHERE MyDateField = L_YESTERDAY()

L_TOMORROW()

The following day.

  SELECT * FROM MyTable WHERE MyDateField = L_TOMORROW()

L_LAST_WEEK()

Every day in the preceding week.

  SELECT * FROM MyTable WHERE MyDateField = L_LAST_WEEK()

L_THIS_WEEK()

Every day in the current week.

  SELECT * FROM MyTable WHERE MyDateField = L_THIS_WEEK()

L_NEXT_WEEK()

Every day in the following week.

  SELECT * FROM MyTable WHERE MyDateField = L_NEXT_WEEK()
Also available:
  • L_LAST/L_THIS/L_NEXT MONTH
  • L_LAST/L_THIS/L_NEXT QUARTER
  • L_LAST/L_THIS/L_NEXT YEAR

L_LAST_N_DAYS(n)

The previous n days, excluding the current day.

  SELECT * FROM MyTable WHERE MyDateField = L_LAST_N_DAYS(3)

L_NEXT_N_DAYS(n)

The following n days, including the current day.

  SELECT * FROM MyTable WHERE MyDateField = L_NEXT_N_DAYS(3)
Also available:
  • L_LAST/L_NEXT_90_DAYS

L_LAST_N_WEEKS(n)

Every day in every week, starting n weeks before current week, and ending in the previous week.

  SELECT * FROM MyTable WHERE MyDateField = L_LAST_N_WEEKS(3)

L_NEXT_N_WEEKS(n)

Every day in every week, starting the following week, and ending n weeks in the future.

  SELECT * FROM MyTable WHERE MyDateField = L_NEXT_N_WEEKS(3)
Also available:
  • L_LAST/L_NEXT_N_MONTHS(n)
  • L_LAST/L_NEXT_N_QUARTERS(n)
  • L_LAST/L_NEXT_N_YEARS(n)

CData Python Connector for Google Ads

SELECT Statements

A SELECT statement can consist of the following basic clauses.

  • SELECT
  • INTO
  • FROM
  • JOIN
  • WHERE
  • GROUP BY
  • HAVING
  • UNION
  • ORDER BY
  • LIMIT

SELECT Syntax

The following syntax diagram outlines the syntax supported by the SQL engine of the connector:

SELECT {
  [ TOP <numeric_literal> | DISTINCT ]
  { 
    * 
    | { 
        <expression> [ [ AS ] <column_reference> ] 
        | { <table_name> | <correlation_name> } .* 
      } [ , ... ] 
  }
  { 
    FROM <table_reference> [ [ AS ] <identifier> ] 
  } [ , ... ]
  [ [  
      INNER | { { LEFT | RIGHT | FULL } [ OUTER ] } 
    ] JOIN <table_reference> [ ON <search_condition> ] [ [ AS ] <identifier> ] 
  ] [ ... ] 
  [ WHERE <search_condition> ]
  [ GROUP BY <column_reference> [ , ... ]
  [ HAVING <search_condition> ]
  [ UNION [ ALL ] <select_statement> ]
  [ 
    ORDER BY 
    <column_reference> [ ASC | DESC ] [ NULLS FIRST | NULLS LAST ]
  ]
  [ 
    LIMIT <expression>
    [ 
      { OFFSET | , }
      <expression> 
    ]
  ] 
}

<expression> ::=
  | <column_reference>
  | @ <parameter> 
  | ?
  | COUNT( * | { [ DISTINCT ] <expression> } )
  | { AVG | MAX | MIN | SUM | COUNT } ( <expression> ) 
  | NULLIF ( <expression> , <expression> ) 
  | COALESCE ( <expression> , ... ) 
  | CASE <expression>
      WHEN { <expression> | <search_condition> } THEN { <expression> | NULL } [ ... ]
    [ ELSE { <expression> | NULL } ]
    END 
  | {RANK() | DENSE_RANK()} OVER ([PARTITION BY <column_reference>] {ORDER BY <column_reference>})
  | <literal>
  | <sql_function> 

<search_condition> ::= 
  {
    <expression> { = | > | < | >= | <= | <> | != | LIKE | NOT LIKE | IN | NOT IN | IS NULL | IS NOT NULL | AND | OR | CONTAINS | BETWEEN | IS DISTINCT FROM | IS NOT DISTINCT FROM } [ <expression> ]
  } [ { AND | OR } ... ] 

Examples

  1. Return all columns:
    SELECT * FROM CampaignPerformance
  2. Rename a column:
    SELECT [Device] AS MY_Device FROM CampaignPerformance
  3. Cast a column's data as a different data type:
    SELECT CAST(AnnualRevenue AS VARCHAR) AS Str_AnnualRevenue FROM CampaignPerformance
  4. Search data:
    SELECT * FROM CampaignPerformance WHERE Device = 'Mobile devices with full browsers'
  5. Return the number of items matching the query criteria:
    SELECT COUNT(*) AS MyCount FROM CampaignPerformance 
  6. Return the number of unique items matching the query criteria:
    SELECT COUNT(DISTINCT Device) FROM CampaignPerformance 
  7. Return the unique items matching the query criteria:
    SELECT DISTINCT Device FROM CampaignPerformance 
  8. Sort a result set in ascending order:
    SELECT Clicks, Device FROM CampaignPerformance  ORDER BY Device ASC
  9. Restrict a result set to the specified number of rows:
    SELECT Clicks, Device FROM CampaignPerformance LIMIT 10 
  10. Parameterize a query to pass in inputs at execution time. This enables you to create prepared statements and mitigate SQL injection attacks.
    SELECT * FROM CampaignPerformance WHERE Device = @param
See Explicitly Caching Data for information on using the SELECT statement in offline mode.

Pseudo Columns

Some input-only fields are available in SELECT statements. These fields, called pseudo columns, do not appear as regular columns in the results, yet may be specified as part of the WHERE clause. You can use pseudo columns to access additional features from Google Ads.

    SELECT * FROM CampaignPerformance WHERE PseudoColumn = '@PseudoColumn'
    

Aggregate Functions

For SELECT examples using aggregate functions, see Aggregate Functions.

JOIN Queries

See JOIN Queries for SELECT query examples using JOINs.

Date Literal Functions

Date Literal Functions contains SELECT examples with date literal functions.

CData Python Connector for Google Ads

Aggregate Functions

COUNT

Returns the number of rows matching the query criteria.

SELECT COUNT(*) FROM CampaignPerformance WHERE Device = 'Mobile devices with full browsers'

COUNT(DISTINCT)

Returns the number of distinct, non-null field values matching the query criteria.

SELECT COUNT(DISTINCT Clicks) AS DistinctValues FROM CampaignPerformance WHERE Device = 'Mobile devices with full browsers'

AVG

Returns the average of the column values.

SELECT Device, AVG(AnnualRevenue) FROM CampaignPerformance WHERE Device = 'Mobile devices with full browsers'  GROUP BY Device

MIN

Returns the minimum column value.

SELECT MIN(AnnualRevenue), Device FROM CampaignPerformance WHERE Device = 'Mobile devices with full browsers' GROUP BY Device

MAX

Returns the maximum column value.

SELECT Device, MAX(AnnualRevenue) FROM CampaignPerformance WHERE Device = 'Mobile devices with full browsers' GROUP BY Device

SUM

Returns the total sum of the column values.

SELECT SUM(AnnualRevenue) FROM CampaignPerformance WHERE Device = 'Mobile devices with full browsers'

CData Python Connector for Google Ads

JOIN Queries

The CData Python Connector for Google Ads supports standard SQL joins like the following examples.

Inner Join

An inner join selects only rows from both tables that match the join condition:

SELECT CampaignPerformance.CampaignName, CampaignPerformance.Amount, ClickPerformance.Page FROM CampaignPerformance, ClickPerformance WHERE CampaignPerformance.CampaignId=ClickPerformance.CampaignId

Left Join

A left join selects all rows in the FROM table and only matching rows in the JOIN table:

SELECT CampaignPerformance.CampaignName, CampaignPerformance.Amount, ClickPerformance.Page FROM CampaignPerformance LEFT OUTER JOIN ClickPerformance ON CampaignPerformance.CampaignId=ClickPerformance.CampaignId

CData Python Connector for Google Ads

CACHE Statements

When caching is enabled, CACHE statements provide complete control over the data that is cached and the table to which it is cached. The CACHE statement executes the SELECT statement specified and caches its results to a table with the same name in the cache database or to table specified in <cached_table_name>. The connector updates or inserts rows to the cache depending on whether or not they already exist in the cache, so the primary key, which is used to identify existing rows, must be included in the selected columns.

See Caching Data for more information on different caching strategies.

CACHE Statement Syntax

The cache statement may include the following options that alter its behavior:

CACHE [ <cached_table_name> ] [ WITH TRUNCATE | AUTOCOMMIT | SCHEMA ONLY | DROP EXISTING | ALTER SCHEMA ] <select_statement> 

WITH TRUNCATE

If this option is set, the connector removes existing rows in the cache table before adding the selected rows. Use this option if you want to refresh the entire cache table but keep its existing schema.

AUTOCOMMIT

If this option is set, the connector commits each row individually. Use this option if you want to ignore the rows that could not be cached due to some reason. By default, the entire result set is cached as a single transaction.

DROP EXISTING

If this option is set, the connector drops the existing cache table before caching the new results. Use this option if you want to refresh the entire cache table, including its schema.

SCHEMA ONLY

If this option is set, the connector creates the cache table based on the SELECT statement without executing the query.

ALTER SCHEMA

If this option is set, the connector alters the schema of the existing table in the cache if it does not match the schema of the SELECT statement. This option results in new columns or dropped columns, if the schema of the SELECT statement does not match the cached table.

Common Queries

Use the following cache statement to cache all rows of a table:

CACHE SELECT * FROM CampaignPerformance

Use the following cache statement to cache all rows of a table into the cache table CachedCampaignPerformance:

CACHE CachedCampaignPerformance SELECT * FROM CampaignPerformance

Use the following cache statement for incremental caching. The DateModified column may not exist in all tables. The cache statement shows how incremental caching would work if there were such a column. Also, notice that, in this case, the WITH TRUNCATE and DROP EXISTING options are specifically omitted, which would have deleted all existing rows.

CACHE CachedCampaignPerformance SELECT * FROM CampaignPerformance WHERE DateModified > '2013-04-04'

Use the following cache statements to create a table with all available columns that will then cache only a few of them. The sequence of statements cache only Clicks and Device even though the cache table CachedCampaignPerformance has all the columns in CampaignPerformance.

CACHE CachedCampaignPerformance SCHEMA ONLY SELECT * FROM CampaignPerformance
CACHE CachedCampaignPerformance SELECT Clicks, Device FROM CampaignPerformance

CData Python Connector for Google Ads

EXECUTE Statements

To execute stored procedures, you can use EXECUTE or EXEC statements.

EXEC and EXECUTE assign stored procedure inputs, referenced by name, to values or parameter names.

Stored Procedure Syntax

To execute a stored procedure as an SQL statement, use the following syntax:

 
{ EXECUTE | EXEC } <stored_proc_name> 
{
  [ @ ] <input_name> = <expression>
} [ , ... ]

<expression> ::=
  | @ <parameter> 
  | ?
  | <literal>

Example Statements

Reference stored procedure inputs by name:

EXECUTE my_proc @second = 2, @first = 1, @third = 3;

Execute a parameterized stored procedure statement:

EXECUTE my_proc second = @p1, first = @p2, third = @p3; 

CData Python Connector for Google Ads

PIVOT and UNPIVOT

PIVOT and UNPIVOT can be used to change a table-valued expression into another table.

PIVOT

PIVOT rotates a table-value expression by turning unique values from one column into multiple columns in the output. PIVOT can run aggregations where required on any column value.
PIVOT Synax

 
"SELECT 'AverageCost' AS Cost_Sorted_By_Production_Days, [0], [1], [2], [3], [4]
FROM
(
SELECT DaysToManufacture, StandardCost
FROM Production.Product
) AS SourceTable
PIVOT
(
AVG(StandardCost)
FOR DaysToManufacture IN ([0], [1], [2], [3], [4])
) AS PivotTable;"

UNPIVOT

UNPIVOT carries out nearly the opposite to PIVOT by rotating columns of a table-valued expressions into column values.
UNPIVOT Sytax

 
"SELECT VendorID, Employee, Orders
FROM
(SELECT VendorID, Emp1, Emp2, Emp3, Emp4, Emp5
FROM pvt) p
UNPIVOT
(Orders FOR Employee IN
(Emp1, Emp2, Emp3, Emp4, Emp5)
)AS unpvt;"

For further information on PIVOT and UNPIVOT, see FROM clause plus JOIN, APPLY, PIVOT (Transact-SQL)

CData Python Connector for Google Ads

Data Model

Overview

The CData Python Connector for Google Ads models Google Ads entities in relational views and stored procedures. The provided views will give you access to your Google Ads data using the Google Ads API. The CData CData Python Connector for Google Ads for Google Ads models Google Ads entities in relational views and stored procedures. The provided views give you access to your Google Ads data using the Google Ads API.

Key Features

  • The connector models Google Ads entities like documents, folders, and groups as relational views, allowing you to write SQL to query Google Ads data.
  • Stored procedures allow you to execute operations to Google Ads.
  • Predefined Report views to make access to data easier.
  • Live connectivity to these objects means any changes to your Google Ads account are immediately reflected when using the connector.

Views

Views describes the available views. Two types of views are made available:

  • Base Views are statically defined to model Campaigns, AdGroups, Customers, and more. They are used to create your custom reports instead of being used standalone. By default. these views return data from all time aggregated into a single row.
  • Predefined Report Views are a set of standard reports that mimic exactly what you see in the Google Ads UI. All Predefined Report Views have "report" appended to their name. By default, these views return data from all time with a daily breakdown.

The Resources view shows the names of the resources, attribute resources and segmenting resources, which you need for the CreateReportSchema stored procedure.

Stored Procedures

Stored Procedures are function-like interfaces to Google Ads. They allow you to execute operations to Google Ads, the most important being CreateReportSchema, which is used to create views from resources (like 'distance_view') with attribute resources (like 'customer' in this case) and segmenting resources (like 'campaign' in this case).

Date Ranges and Aggregation

All tables and views support date ranges and aggregation.

Date Ranges

Date ranges can be defined in the WHERE clause using the Date field using =, <,>, between delimiters.

Additional predefined date fields are available, specifically:

  • week
  • month
  • quarter

When filtering on these, you can use the = operator with the date set to the first day of the time period. If you specify a different date, an error is returned.

For example, to specify the month of May in the year 2022, use the following condition, specifying the first day of that month:

month = '2022-05-01'

Aggregation

Aggregation can be applied at multiple levels:

“Date” returns daily data in the query results. For example,

SELECT CampaignBaseCampaign, CampaignName, CampaignStartDate, CampaignEndDate , Impressions, Clicks, "Date" FROM CData.GoogleAds.Campaign WHERE "Date" BETWEEN '2022-01-01' and '2023-01-31' and CampaignId = '17999934124'
“Hour” returns data aggregated by hour across the date range selected. For example, querying two years of data and selecting “Hour” returns 24 rows of data (one for each hour) with two years of data aggregated for each hour.

“DayofWeek” returns data aggregated by week across the date range selected. For example, querying two years of data and selecting “DayOfWeek” returns seven rows of data (one for each day) with two years of data aggregated for each day.

“Week” returns data aggregated by week across the date range selected. For example, querying two years of data and selecting “Week” returns 104 rows of data (one for each week) with data aggregated for each week.

“Month” returns data aggregated by month across the date range selected. For example, querying two years of data and selecting “Month” returns 24 rows of data (one for each month) with data aggregated for each month.

“MonthofYear” returns data aggregated by month across the date range selected. For example, querying two years of data and selecting “MonthofYear” returns 12 rows of data (one for each month) with two years of data aggregated for each month.

“Quarter” returns data aggregated by quarter across the date range selected. For example. querying two years of data and selecting “Quarter” return eight rows of data (one for each quarter). Note that a Quarter is defined as starting on the 1st of the month of January, April, July, and October.

“Year” returns data aggregated by year across the date range selected. For example, querying two years of data and selecting “Year” returns two rows of data (one for each year) with data aggregated by year.

NOTE: Selecting "Date" overrides any other date metric. It always returns daily data only.

CData Python Connector for Google Ads

Views

Views are similar to tables in the way that data is represented; however, views are read-only.

Queries can be executed against a view as if it were a normal table.

CData Python Connector for Google Ads Views

Name Description
AccessibleBiddingStrategy Represents a view of BiddingStrategies owned by and shared with the customer.
AccountBudget An account-level budget. It contains information about the budget itself,
AccountBudgetProposal An account-level budget proposal.
AccountHourlyStatsReport Account-level performance stats by Ad Network and Device. Hourly data is returned with a default date range of the last 7 days not including today.
AccountLink Represents the data sharing connection between a Google Ads account and
AccountStatsReport Account-level performance stats by Ad Network and Device. Daily data is returned with a default date range of the last 7 days not including today.
Ad An ad.
AdGroup An ad group.
AdGroupAd An ad group ad.
AdGroupAdAssetCombinationView A view on the usage of ad group ad asset combination.
AdGroupAdAssetView Represents a link between an AdGroupAd and an Asset.
AdGroupAdLabel A relationship between an ad group ad and a label.
AdGroupAsset A link between an ad group and an asset.
AdGroupAssetSet AdGroupAssetSet is the linkage between an ad group and an asset set.
AdGroupAudienceView An ad group audience view.
AdGroupBidModifier Represents an ad group bid modifier.
AdGroupCriterion An ad group criterion.
AdGroupCriterionCustomizer A customizer value for the associated CustomizerAttribute at the
AdGroupCriterionLabel A relationship between an ad group criterion and a label.
AdGroupCriterionSimulation An ad group criterion simulation. Supported combinations of advertising
AdGroupCustomizer A customizer value for the associated CustomizerAttribute at the AdGroup
AdGroupHourlyStatsReport Ad Group-level performance stats by Ad Network and Device. Hourly data is returned with a default date range of the last 7 days not including today.
AdGroupLabel A relationship between an ad group and a label.
AdGroupSimulation An ad group simulation. Supported combinations of advertising
AdGroupStatsReport Ad Group-level performance stats by Ad Network and Device. Daily data is returned with a default date range of the last 7 days not including today.
AdParameter An ad parameter that is used to update numeric values (such as prices or
AdScheduleView An ad schedule view summarizes the performance of campaigns by
AdStatsReport Ad-level performance stats by Ad Network and Device. Daily data is returned with a default date range of the last 7 days not including today.
AgeRangeView An age range view.
AiMaxSearchTermAdCombinationView AiMaxSearchTermAdCombinationView Resource.
AndroidPrivacySharedKeyGoogleAdGroup An Android privacy shared key view for Google ad group key.
AndroidPrivacySharedKeyGoogleCampaign An Android privacy shared key view for Google campaign key.
AndroidPrivacySharedKeyGoogleNetworkType An Android privacy shared key view for Google network type key.
AppliedIncentive Represents an applied incentive.
AppTopCombinationView A view resource in the App Top Combination Report.
Asset Asset is a part of an ad which can be shared across multiple ads.
AssetFieldTypeView An asset field type view.
AssetGroup An asset group.
AssetGroupAsset AssetGroupAsset is the link between an asset and an asset group.
AssetGroupListingGroupFilter AssetGroupListingGroupFilter represents a listing group filter tree node in
AssetGroupProductGroupView An asset group product group view.
AssetGroupSignal AssetGroupSignal represents a signal in an asset group. The existence of a
AssetGroupTopCombinationView A view on the usage of asset group asset top combinations.
AssetSet An asset set representing a collection of assets.
AssetSetAsset AssetSetAsset is the link between an asset and an asset set.
AssetSetTypeView An asset set type view.
Audience Audience is an effective targeting option that lets you
AudienceStatsReport Audience-level performance stats by Ad Network and Device. Daily data is returned with a default date range of the last 7 days not including today.
BatchJob A list of mutates being processed asynchronously. The mutates are uploaded
BiddingDataExclusion Represents a bidding data exclusion. Bidding data exclusions can be set in
BiddingSeasonalityAdjustment Represents a bidding seasonality adjustment. Cannot be used in manager
BiddingStrategy A bidding strategy.
BiddingStrategySimulation A bidding strategy simulation. Supported combinations of simulation type
BillingSetup A billing setup, which associates a payments account and an advertiser. A
CallView A call view that includes data for call tracking of call-only ads or call
Campaign A campaign.
CampaignAggregateAssetView A campaign-level aggregate asset view that shows where the asset is linked,
CampaignAsset A link between a Campaign and an Asset.
CampaignAssetSet CampaignAssetSet is the linkage between a campaign and an asset set.
CampaignAudienceView A campaign audience view.
CampaignBidModifier Represents a bid-modifiable only criterion at the campaign level.
CampaignBudget A campaign budget.
CampaignConversionGoal The biddability setting for the specified campaign only for all
CampaignCriterion A campaign criterion.
CampaignCustomizer A customizer value for the associated CustomizerAttribute at the Campaign
CampaignDraft A campaign draft.
CampaignGoalConfig A link between a campaign and a goal enabling campaign-specific optimization.
CampaignGroup A campaign group.
CampaignHourlyStatsReport Campaign-level performance stats by Ad Network and Device. Hourly data is returned with a default date range of the last 7 days not including today.
CampaignLabel Represents a relationship between a campaign and a label.
CampaignLifecycleGoal Campaign level customer lifecycle goal settings.
CampaignSearchTermInsight This report provides a high-level view of search demand at the campaign
CampaignSearchTermView This report provides granular performance data, including cost metrics, for
CampaignSharedSet CampaignSharedSets are used for managing the shared sets associated with a
CampaignSimulation A campaign simulation. Supported combinations of advertising
CampaignStatsReport Campaign-level performance stats by Ad Network and Device. Daily data is returned with a default date range of the last 7 days not including today.
CarrierConstant A carrier criterion that can be used in campaign targeting.
ChangeEvent Describes the granular change of returned resources of certain resource
ChangeStatus Describes the status of returned resource. ChangeStatus could have up to 3
ChannelAggregateAssetView A channel-level aggregate asset view that shows where the asset is linked,
ClickView A click view with metrics aggregated at each click level, including both
ClickViewFilteredReport A click view with metrics aggregated at each click level, including both valid and invalid clicks. For non-Search campaigns, metrics.clicks represents the number of valid and invalid interactions. Queries including ClickView must have a filter limiting the results to one day and can be requested for dates back to 90 days before the time of the request.
CombinedAudience Describe a resource for combined audiences which includes different
ContentCriterionView A content criterion view.
ConversionAction A conversion action.
ConversionCustomVariable A conversion custom variable
ConversionGoalCampaignConfig Conversion goal settings for a Campaign.
ConversionValueRule A conversion value rule
ConversionValueRuleSet A conversion value rule set is a collection of conversion value rules that
CurrencyConstant A currency constant.
CustomAudience A custom audience. This is a list of users by interest.
CustomConversionGoal Custom conversion goal that can make arbitrary conversion actions biddable.
Customer A customer.
CustomerAsset A link between a customer and an asset.
CustomerAssetSet CustomerAssetSet is the linkage between a customer and an asset set.
CustomerClient A link between the given customer and a client customer. CustomerClients only
CustomerClientLink Represents customer client link relationship.
CustomerConversionGoal Biddability control for conversion actions with a matching category and
CustomerCustomizer A customizer value for the associated CustomizerAttribute at the Customer
CustomerLabel Represents a relationship between a customer and a label. This customer may
CustomerLifecycleGoal Account level customer lifecycle goal settings.
CustomerManagerLink Represents customer-manager link relationship.
CustomerNegativeCriterion A negative criterion for exclusions at the customer level.
CustomerSearchTermInsight This report provides a high-level view of search demand at the customer
CustomerUserAccess Represents the permission of a single user onto a single customer.
CustomerUserAccessInvitation Represent an invitation to a new user on this customer account.
CustomInterest A custom interest. This is a list of users by interest.
CustomizerAttribute A customizer attribute.
DataLink Represents the data sharing connection between a Google
DetailContentSuitabilityPlacementView A detail content suitability placement view.
DetailedDemographic A detailed demographic: a particular interest-based vertical to be targeted
DetailPlacementView A view with metrics aggregated by ad group and URL or YouTube video.
DisplayKeywordView A display keyword view.
DistanceView A distance view with metrics aggregated by the user's distance from an
DomainCategory A category generated automatically by crawling a domain. If a campaign uses
DynamicSearchAdsSearchTermView A dynamic search ads search term view.
ExpandedLandingPageView A landing page view with metrics aggregated at the expanded final URL
Experiment A Google ads experiment for users to experiment changes on multiple
ExperimentArm A Google ads experiment for users to experiment changes on multiple
FinalUrlExpansionAssetView FinalUrlExpansionAssetView Resource.
GenderView A gender view.
GeographicView A geographic view.
GeoTargetConstant A geo target constant.
Goal Representation of goals.
GroupContentSuitabilityPlacementView A group content suitability placement view.
GroupPlacementView A group placement view.
HotelGroupView A hotel group view.
HotelPerformanceView A hotel performance view.
HotelReconciliation A hotel reconciliation. It contains conversion information from Hotel
IncomeRangeView An income range view.
KeywordPlan A Keyword Planner plan.
KeywordPlanAdGroup A Keyword Planner ad group.
KeywordPlanAdGroupKeyword A Keyword Plan ad group keyword.
KeywordPlanCampaign A Keyword Plan campaign.
KeywordPlanCampaignKeyword A Keyword Plan Campaign keyword.
KeywordStatsReport Keyword-level performance stats by Ad Network and Device. Daily data is returned with a default date range of the last 7 days not including today.
KeywordThemeConstant A Smart Campaign keyword theme constant.
KeywordView A keyword view.
Label A label.
LandingPageView A landing page view with metrics aggregated at the unexpanded final URL
LanguageConstant A language.
LeadFormSubmissionData Data from lead form submissions.
LifeEvent A life event: a particular interest-based vertical to be targeted to reach
LocalServicesEmployee A local services employee resource.
LocalServicesLead Data from Local Services Lead.
LocalServicesLeadConversation Data from Local Services Lead Conversation.
LocalServicesVerificationArtifact A local services verification resource.
LocationInterestView A location interest view summarizes the performance of adgroup location
LocationView A location view summarizes the performance of campaigns by a Location
ManagedPlacementView A managed placement view.
MatchedLocationInterestView A view that reports metrics for locations where users showed interest, and
MediaFile A media file.
MobileAppCategoryConstant A mobile application category constant.
MobileDeviceConstant A mobile device constant.
OfflineConversionUploadClientSummary Offline conversion upload summary at customer level.
OfflineConversionUploadConversionActionSummary Offline conversion upload summary at conversion action level.
OfflineUserDataJob A job containing offline user data of store visitors, or user list members
OperatingSystemVersionConstant A mobile operating system version or a range of versions, depending on
PaidOrganicSearchTermView A paid organic search term view providing a view of search stats across
ParentalStatusView A parental status view.
PerformanceMaxPlacementView A view with impression metrics for Performance Max campaign placements.
PerStoreView A per store view.
ProductCategoryConstant A Product Category.
ProductGroupView A product group view.
ProductLink Represents the data sharing connection between a Google
ProductLinkInvitation Represents an invitation for data sharing connection between a Google Ads
QualifyingQuestion Qualifying Questions for Lead Form.
Recommendation A recommendation.
RecommendationSubscription Recommendation Subscription resource
RemarketingAction A remarketing action. A snippet of JavaScript code that will collect the
Resources List of resources that can be used in order to generate new Reports or re-generate the old one.
SearchTermView A search term view with metrics aggregated by search term at the ad group
SharedCriterion A criterion belonging to a shared set.
SharedSet SharedSets are used for sharing criterion exclusions across multiple
ShoppingPerformanceView Shopping performance view.
ShoppingProduct A shopping product from Google Merchant Center that can be advertised by
SmartCampaignSearchTermView A Smart campaign search term view.
SmartCampaignSetting Settings for configuring Smart campaigns.
TargetingExpansionView A targeting expansion view with metrics.
ThirdPartyAppAnalyticsLink A data sharing connection, allowing the import of third party app analytics
TopicConstant Use topics to target or exclude placements in the Google Display Network
TopicView A topic view.
TravelActivityGroupView A travel activity group view.
TravelActivityPerformanceView A travel activity performance view.
UserInterest A user interest: a particular interest-based vertical to be targeted.
UserList A user list. This is a list of users a customer may target.
UserListCustomerType A user list customer type
UserLocationView A user location view.
Video A video.
VideoEnhancement Represents a video that can include both advertiser uploaded videos or
WebpageView A webpage view.
YouTubeVideoUpload Represents a video upload to YouTube using the Google Ads API.

CData Python Connector for Google Ads

AccessibleBiddingStrategy

Represents a view of BiddingStrategies owned by and shared with the customer.

Columns

Name Type Behavior Description
AccessibleBiddingStrategyId Long ATTRIBUTE Output only. The ID of the bidding strategy.
AccessibleBiddingStrategyMaximizeConversionValueTargetRoas Double ATTRIBUTE Output only. The target return on ad spend (ROAS) option. If set, the bid strategy will maximize revenue while averaging the target return on ad spend. If the target ROAS is high, the bid strategy may not be able to spend the full budget. If the target ROAS is not set, the bid strategy will aim to achieve the highest possible ROAS for the budget.
AccessibleBiddingStrategyMaximizeConversionsTargetCpaMicros Long ATTRIBUTE Output only. The target cost per acquisition (CPA) option. This is the average amount that you would like to spend per acquisition.
AccessibleBiddingStrategyName String ATTRIBUTE Output only. The name of the bidding strategy.
AccessibleBiddingStrategyOwnerCustomerId Long ATTRIBUTE Output only. The ID of the Customer which owns the bidding strategy.
AccessibleBiddingStrategyOwnerDescriptiveName String ATTRIBUTE Output only. descriptive_name of the Customer which owns the bidding
AccessibleBiddingStrategyResourceName String ATTRIBUTE Output only. The resource name of the accessible bidding strategy.
AccessibleBiddingStrategyTargetCpaTargetCpaMicros Long ATTRIBUTE Output only. Average CPA target. This target should be greater than or equal to minimum billable unit based on the currency for the account.
AccessibleBiddingStrategyTargetImpressionShareCpcBidCeilingMicros Long ATTRIBUTE Output only. The highest CPC bid the automated bidding system is permitted to specify. This is a required field entered by the advertiser that sets the ceiling and specified in local micros.
AccessibleBiddingStrategyTargetImpressionShareLocation String ATTRIBUTE Output only. The targeted location on the search results page.

The allowed values are ABSOLUTE_TOP_OF_PAGE, ANYWHERE_ON_PAGE, TOP_OF_PAGE, UNKNOWN.

AccessibleBiddingStrategyTargetImpressionShareLocationFractionMicros Long ATTRIBUTE The chosen fraction of ads to be shown in the targeted location in micros. For example, 1% equals 10,000.
AccessibleBiddingStrategyTargetRoasTargetRoas Double ATTRIBUTE Output only. The chosen revenue (based on conversion data) per unit of spend.
AccessibleBiddingStrategyTargetSpendCpcBidCeilingMicros Long ATTRIBUTE Output only. Maximum bid limit that can be set by the bid strategy. The limit applies to all keywords managed by the strategy.
AccessibleBiddingStrategyTargetSpendTargetSpendMicros Long ATTRIBUTE Output only. The spend target under which to maximize clicks. A TargetSpend bidder will attempt to spend the smaller of this value or the natural throttling spend amount. If not specified, the budget is used as the spend target. This field is deprecated and should no longer be used. See https://ads-developers.googleblog.com/2020/05/reminder-about-sunset-creation-of.html for details.
AccessibleBiddingStrategyType String ATTRIBUTE Output only. The type of the bidding strategy.

The allowed values are COMMISSION, ENHANCED_CPC, FIXED_CPM, FIXED_SHARE_OF_VOICE, INVALID, MANUAL_CPA, MANUAL_CPC, MANUAL_CPM, MANUAL_CPV, MAXIMIZE_CONVERSIONS, MAXIMIZE_CONVERSION_VALUE, PAGE_ONE_PROMOTED, PERCENT_CPC, TARGET_CPA, TARGET_CPC, TARGET_CPM, TARGET_CPV, TARGET_IMPRESSION_SHARE, TARGET_OUTRANK_SHARE, TARGET_ROAS, TARGET_SPEND, UNKNOWN.

CustomerId Long ATTRIBUTE Output only. The ID of the customer.

Pseudo-Columns

Pseudo column fields are used in the WHERE clause of SELECT statements and offer more granular control over the data returned from the data source.

Name Type Description
ManagerId Long Id of the manager account on behalf of which you are requesting customer data.

CData Python Connector for Google Ads

AccountBudget

An account-level budget. It contains information about the budget itself,

Columns

Name Type Behavior Description
AccountBudgetAdjustedSpendingLimitMicros Long ATTRIBUTE Output only. The adjusted spending limit in micros. One million is
AccountBudgetAdjustedSpendingLimitType String ATTRIBUTE Output only. The adjusted spending limit as a well-defined type, for

The allowed values are INFINITE, UNKNOWN.

AccountBudgetAmountServedMicros Long ATTRIBUTE Output only. The value of Ads that have been served, in micros.
AccountBudgetApprovedEndDateTime Datetime ATTRIBUTE Output only. The approved end time in yyyy-MM-dd HH:mm:ss format.
AccountBudgetApprovedEndTimeType String ATTRIBUTE Output only. The approved end time as a well-defined type, for example,

The allowed values are FOREVER, NOW, UNKNOWN.

AccountBudgetApprovedSpendingLimitMicros Long ATTRIBUTE Output only. The approved spending limit in micros. One million is
AccountBudgetApprovedSpendingLimitType String ATTRIBUTE Output only. The approved spending limit as a well-defined type, for

The allowed values are INFINITE, UNKNOWN.

AccountBudgetApprovedStartDateTime Datetime ATTRIBUTE Output only. The approved start time of the account-level budget in
AccountBudgetBillingSetup String ATTRIBUTE Output only. The resource name of the billing setup associated with this
AccountBudgetId Long ATTRIBUTE Output only. The ID of the account-level budget.
AccountBudgetName String ATTRIBUTE Output only. The name of the account-level budget.
AccountBudgetNotes String ATTRIBUTE Output only. Notes associated with the budget.
AccountBudgetPendingProposalAccountBudgetProposal String ATTRIBUTE Output only. The resource name of the proposal. AccountBudgetProposal resource names have the form: customers/{customer_id}/accountBudgetProposals/{account_budget_proposal_id}
AccountBudgetPendingProposalCreationDateTime Datetime ATTRIBUTE Output only. The time when this account-level budget proposal was created. Formatted as yyyy-MM-dd HH:mm:ss.
AccountBudgetPendingProposalEndDateTime Datetime ATTRIBUTE Output only. The end time in yyyy-MM-dd HH:mm:ss format.
AccountBudgetPendingProposalEndTimeType String ATTRIBUTE Output only. The end time as a well-defined type, for example, FOREVER.

The allowed values are FOREVER, NOW, UNKNOWN.

AccountBudgetPendingProposalName String ATTRIBUTE Output only. The name to assign to the account-level budget.
AccountBudgetPendingProposalNotes String ATTRIBUTE Output only. Notes associated with this budget.
AccountBudgetPendingProposalProposalType String ATTRIBUTE Output only. The type of this proposal, for example, END to end the budget associated with this proposal.

The allowed values are CREATE, END, REMOVE, UNKNOWN, UPDATE.

AccountBudgetPendingProposalPurchaseOrderNumber String ATTRIBUTE Output only. A purchase order number is a value that helps users reference this budget in their monthly invoices.
AccountBudgetPendingProposalSpendingLimitMicros Long ATTRIBUTE Output only. The spending limit in micros. One million is equivalent to one unit.
AccountBudgetPendingProposalSpendingLimitType String ATTRIBUTE Output only. The spending limit as a well-defined type, for example, INFINITE.

The allowed values are INFINITE, UNKNOWN.

AccountBudgetPendingProposalStartDateTime Datetime ATTRIBUTE Output only. The start time in yyyy-MM-dd HH:mm:ss format.
AccountBudgetProposedEndDateTime Datetime ATTRIBUTE Output only. The proposed end time in yyyy-MM-dd HH:mm:ss format.
AccountBudgetProposedEndTimeType String ATTRIBUTE Output only. The proposed end time as a well-defined type, for example,

The allowed values are FOREVER, NOW, UNKNOWN.

AccountBudgetProposedSpendingLimitMicros Long ATTRIBUTE Output only. The proposed spending limit in micros. One million is
AccountBudgetProposedSpendingLimitType String ATTRIBUTE Output only. The proposed spending limit as a well-defined type, for

The allowed values are INFINITE, UNKNOWN.

AccountBudgetProposedStartDateTime Datetime ATTRIBUTE Output only. The proposed start time of the account-level budget in
AccountBudgetPurchaseOrderNumber String ATTRIBUTE Output only. A purchase order number is a value that helps users reference
AccountBudgetResourceName String ATTRIBUTE Output only. The resource name of the account-level budget.
AccountBudgetStatus String ATTRIBUTE Output only. The status of this account-level budget.

The allowed values are APPROVED, CANCELLED, PENDING, UNKNOWN.

AccountBudgetTotalAdjustmentsMicros Long ATTRIBUTE Output only. The total adjustments amount.
CustomerId Long ATTRIBUTE Output only. The ID of the customer.

Pseudo-Columns

Pseudo column fields are used in the WHERE clause of SELECT statements and offer more granular control over the data returned from the data source.

Name Type Description
ManagerId Long Id of the manager account on behalf of which you are requesting customer data.

CData Python Connector for Google Ads

AccountBudgetProposal

An account-level budget proposal.

Columns

Name Type Behavior Description
AccountBudgetProposalAccountBudget String ATTRIBUTE Immutable. The resource name of the account-level budget associated with
AccountBudgetProposalApprovalDateTime Datetime ATTRIBUTE Output only. The date time when this account-level budget was approved, if
AccountBudgetProposalApprovedEndDateTime Datetime ATTRIBUTE Output only. The approved end date time in yyyy-mm-dd hh:mm:ss format.
AccountBudgetProposalApprovedEndTimeType String ATTRIBUTE Output only. The approved end date time as a well-defined type, for

The allowed values are FOREVER, NOW, UNKNOWN.

AccountBudgetProposalApprovedSpendingLimitMicros Long ATTRIBUTE Output only. The approved spending limit in micros. One million is
AccountBudgetProposalApprovedSpendingLimitType String ATTRIBUTE Output only. The approved spending limit as a well-defined type, for

The allowed values are INFINITE, UNKNOWN.

AccountBudgetProposalApprovedStartDateTime Datetime ATTRIBUTE Output only. The approved start date time in yyyy-mm-dd hh:mm:ss format.
AccountBudgetProposalBillingSetup String ATTRIBUTE Immutable. The resource name of the billing setup associated with this
AccountBudgetProposalCreationDateTime Datetime ATTRIBUTE Output only. The date time when this account-level budget proposal was
AccountBudgetProposalId Long ATTRIBUTE Output only. The ID of the proposal.
AccountBudgetProposalProposalType String ATTRIBUTE Immutable. The type of this proposal, for example, END to end the budget

The allowed values are CREATE, END, REMOVE, UNKNOWN, UPDATE.

AccountBudgetProposalProposedEndDateTime Datetime ATTRIBUTE Immutable. The proposed end date time in yyyy-mm-dd hh:mm:ss format.
AccountBudgetProposalProposedEndTimeType String ATTRIBUTE Immutable. The proposed end date time as a well-defined type, for

The allowed values are FOREVER, NOW, UNKNOWN.

AccountBudgetProposalProposedName String ATTRIBUTE Immutable. The name to assign to the account-level budget.
AccountBudgetProposalProposedNotes String ATTRIBUTE Immutable. Notes associated with this budget.
AccountBudgetProposalProposedPurchaseOrderNumber String ATTRIBUTE Immutable. A purchase order number is a value that enables the user to help
AccountBudgetProposalProposedSpendingLimitMicros Long ATTRIBUTE Immutable. The proposed spending limit in micros. One million is
AccountBudgetProposalProposedSpendingLimitType String ATTRIBUTE Immutable. The proposed spending limit as a well-defined type, for

The allowed values are INFINITE, UNKNOWN.

AccountBudgetProposalProposedStartDateTime Datetime ATTRIBUTE Immutable. The proposed start date time in yyyy-mm-dd hh:mm:ss format.
AccountBudgetProposalResourceName String ATTRIBUTE Immutable. The resource name of the proposal.
AccountBudgetProposalStatus String ATTRIBUTE Output only. The status of this proposal.

The allowed values are APPROVED, APPROVED_HELD, CANCELLED, PENDING, REJECTED, UNKNOWN.

CustomerId Long ATTRIBUTE Output only. The ID of the customer.

Pseudo-Columns

Pseudo column fields are used in the WHERE clause of SELECT statements and offer more granular control over the data returned from the data source.

Name Type Description
ManagerId Long Id of the manager account on behalf of which you are requesting customer data.

CData Python Connector for Google Ads

AccountHourlyStatsReport

Account-level performance stats by Ad Network and Device. Hourly data is returned with a default date range of the last 7 days not including today.

Columns

Name Type Behavior Description
CustomerId Long ATTRIBUTE Output only. The ID of the customer.
Date Date SEGMENT Date to which metrics apply. yyyy-MM-dd format, for example, 2018-04-17.
ActiveViewCpm Double METRIC Average cost of viewable impressions (active_view_impressions).
ActiveViewCtr Double METRIC Active view measurable clicks divided by active view viewable impressions. This metric is reported only for display network.
ActiveViewImpressions Long METRIC A measurement of how often your ad has become viewable on a Display Network site.
ActiveViewMeasurability Double METRIC The ratio of impressions that could be measured by Active View over the number of served impressions.
ActiveViewMeasurableCostMicros Long METRIC The cost of the impressions you received that were measurable by Active View.
ActiveViewMeasurableImpressions Long METRIC The number of times your ads are appearing on placements in positions where they can be seen.
ActiveViewViewability Double METRIC The percentage of time when your ad appeared on an Active View enabled site (measurable impressions) and was viewable (viewable impressions).
AdNetworkType String SEGMENT Ad network type.

The allowed values are CONTENT, GOOGLE_OWNED_CHANNELS, GOOGLE_TV, MIXED, SEARCH, SEARCH_PARTNERS, UNKNOWN, YOUTUBE.

AverageCost Double METRIC The average amount you pay per interaction. This amount is the total cost of your ads divided by the total number of interactions.
AverageCpc Double METRIC The total cost of all clicks divided by the total number of clicks received.
AverageCpm Double METRIC Average cost-per-thousand impressions (CPM).
ClickType String SEGMENT Click type.

The allowed values are AD_IMAGE, APP_DEEPLINK, BREADCRUMBS, BROADBAND_PLAN, CALLS, CALL_TRACKING, CLICK_ON_ENGAGEMENT_AD, CROSS_NETWORK, GET_DIRECTIONS, HOTEL_BOOK_ON_GOOGLE_ROOM_SELECTION, HOTEL_PRICE, LOCATION_EXPANSION, LOCATION_FORMAT_CALL, LOCATION_FORMAT_DIRECTIONS, LOCATION_FORMAT_IMAGE, LOCATION_FORMAT_LANDING_PAGE, LOCATION_FORMAT_MAP, LOCATION_FORMAT_STORE_INFO, LOCATION_FORMAT_TEXT, MOBILE_CALL_TRACKING, OFFER_PRINTS, OTHER, PRICE_EXTENSION, PRODUCT_AD_APP_DEEPLINK, PRODUCT_EXTENSION_CLICKS, PRODUCT_LISTING_ADS_COUPON, PRODUCT_LISTING_AD_CLICKS, PRODUCT_LISTING_AD_LOCAL, PRODUCT_LISTING_AD_MULTICHANNEL_LOCAL, PRODUCT_LISTING_AD_MULTICHANNEL_ONLINE, PRODUCT_LISTING_AD_TRANSACTABLE, PROMOTION_EXTENSION, SHOPPING_COMPARISON_LISTING, SHOWCASE_AD_CATEGORY_LINK, SHOWCASE_AD_LOCAL_PRODUCT_LINK, SHOWCASE_AD_LOCAL_STOREFRONT_LINK, SHOWCASE_AD_ONLINE_PRODUCT_LINK, SITELINKS, STORE_LOCATOR, SWIPEABLE_GALLERY_AD_HEADLINE, SWIPEABLE_GALLERY_AD_SEE_MORE, SWIPEABLE_GALLERY_AD_SITELINK_FIVE, SWIPEABLE_GALLERY_AD_SITELINK_FOUR, SWIPEABLE_GALLERY_AD_SITELINK_ONE, SWIPEABLE_GALLERY_AD_SITELINK_THREE, SWIPEABLE_GALLERY_AD_SITELINK_TWO, SWIPEABLE_GALLERY_AD_SWIPES, TRAVEL_ASSETS, UNKNOWN, URL_CLICKS, VIDEO_APP_STORE_CLICKS, VIDEO_CALL_TO_ACTION_CLICKS, VIDEO_CARD_ACTION_HEADLINE_CLICKS, VIDEO_END_CAP_CLICKS, VIDEO_WEBSITE_CLICKS, VISUAL_SITELINKS, WIRELESS_PLAN.

Clicks Long METRIC The number of clicks.
Conversions Double METRIC The number of conversions. This only includes conversion actions which include_in_conversions_metric attribute is set to true. If you use conversion-based bidding, your bid strategies will optimize for these conversions.
ConversionsFromInteractionsRate Double METRIC Conversions from interactions divided by the number of ad interactions (such as clicks for text ads or views for video ads). This only includes conversion actions which include_in_conversions_metric attribute is set to true. If you use conversion-based bidding, your bid strategies will optimize for these conversions.
ConversionsValue Double METRIC The value of conversions. This only includes conversion actions which include_in_conversions_metric attribute is set to true. If you use conversion-based bidding, your bid strategies will optimize for these conversions.
CostMicros Long METRIC The sum of your cost-per-click (CPC) and cost-per-thousand impressions (CPM) costs during this period.
CostPerConversion Double METRIC The cost of ad interactions divided by conversions. This only includes conversion actions which include_in_conversions_metric attribute is set to true. If you use conversion-based bidding, your bid strategies will optimize for these conversions.
Ctr Double METRIC The number of clicks your ad receives (Clicks) divided by the number of times your ad is shown (Impressions).
DayOfWeek String SEGMENT Day of the week, for example, MONDAY.

The allowed values are FRIDAY, MONDAY, SATURDAY, SUNDAY, THURSDAY, TUESDAY, UNKNOWN, WEDNESDAY.

Device String SEGMENT Device to which metrics apply.

The allowed values are CONNECTED_TV, DESKTOP, MOBILE, OTHER, TABLET, UNKNOWN.

Hour Int SEGMENT Hour of day as a number between 0 and 23, inclusive.
Impressions Long METRIC Count of how often your ad has appeared on a search results page or website on the Google Network.
InteractionEventTypes String METRIC The types of payable and free interactions.

The allowed values are UNKNOWN, CLICK, ENGAGEMENT, VIDEO_VIEW, NONE.

InteractionRate Double METRIC How often people interact with your ad after it is shown to them. This is the number of interactions divided by the number of times your ad is shown.
Interactions Long METRIC The number of interactions. An interaction is the main user action associated with an ad format-clicks for text and shopping ads, views for video ads, and so on.
Month Date SEGMENT Month as represented by the date of the first day of a month. Formatted as yyyy-MM-dd.
MonthOfYear String SEGMENT Month of the year, for example, January.

The allowed values are APRIL, AUGUST, DECEMBER, FEBRUARY, JANUARY, JULY, JUNE, MARCH, MAY, NOVEMBER, OCTOBER, SEPTEMBER, UNKNOWN.

Quarter Date SEGMENT Quarter as represented by the date of the first day of a quarter. Uses the calendar year for quarters, for example, the second quarter of 2018 starts on 2018-04-01. Formatted as yyyy-MM-dd.
ValuePerConversion Double METRIC The value of conversions divided by the number of conversions. This only includes conversion actions which include_in_conversions_metric attribute is set to true. If you use conversion-based bidding, your bid strategies will optimize for these conversions.
Week Date SEGMENT Week as defined as Monday through Sunday, and represented by the date of Monday. Formatted as yyyy-MM-dd.
Year Int SEGMENT Year, formatted as yyyy.

CData Python Connector for Google Ads

AccountLink

CData Python Connector for Google Ads

AccountStatsReport

Account-level performance stats by Ad Network and Device. Daily data is returned with a default date range of the last 7 days not including today.

Columns

Name Type Behavior Description
CustomerId Long ATTRIBUTE Output only. The ID of the customer.
Date Date SEGMENT Date to which metrics apply. yyyy-MM-dd format, for example, 2018-04-17.
ActiveViewImpressions Long METRIC A measurement of how often your ad has become viewable on a Display Network site.
ActiveViewMeasurability Double METRIC The ratio of impressions that could be measured by Active View over the number of served impressions.
ActiveViewMeasurableCostMicros Long METRIC The cost of the impressions you received that were measurable by Active View.
ActiveViewMeasurableImpressions Long METRIC The number of times your ads are appearing on placements in positions where they can be seen.
ActiveViewViewability Double METRIC The percentage of time when your ad appeared on an Active View enabled site (measurable impressions) and was viewable (viewable impressions).
AdNetworkType String SEGMENT Ad network type.

The allowed values are CONTENT, GOOGLE_OWNED_CHANNELS, GOOGLE_TV, MIXED, SEARCH, SEARCH_PARTNERS, UNKNOWN, YOUTUBE.

Clicks Long METRIC The number of clicks.
Conversions Double METRIC The number of conversions. This only includes conversion actions which include_in_conversions_metric attribute is set to true. If you use conversion-based bidding, your bid strategies will optimize for these conversions.
ConversionsValue Double METRIC The value of conversions. This only includes conversion actions which include_in_conversions_metric attribute is set to true. If you use conversion-based bidding, your bid strategies will optimize for these conversions.
CostMicros Long METRIC The sum of your cost-per-click (CPC) and cost-per-thousand impressions (CPM) costs during this period.
Device String SEGMENT Device to which metrics apply.

The allowed values are CONNECTED_TV, DESKTOP, MOBILE, OTHER, TABLET, UNKNOWN.

Impressions Long METRIC Count of how often your ad has appeared on a search results page or website on the Google Network.
InteractionEventTypes String METRIC The types of payable and free interactions.

The allowed values are UNKNOWN, CLICK, ENGAGEMENT, VIDEO_VIEW, NONE.

Interactions Long METRIC The number of interactions. An interaction is the main user action associated with an ad format-clicks for text and shopping ads, views for video ads, and so on.
ViewThroughConversions Long METRIC The total number of view-through conversions. These happen when a customer sees an image or rich media ad, then later completes a conversion on your site without interacting with (for example, clicking on) another ad.

CData Python Connector for Google Ads

Ad

An ad.

Columns

Name Type Behavior Description
AdAddedByGoogleAds Bool ATTRIBUTE Output only. Indicates if this ad was automatically added by Google Ads and
AdAppAdAppDeepLink String ATTRIBUTE An app deep link asset that may be used with the ad.
AdAppAdDescriptions String ATTRIBUTE List of text assets for descriptions. When the ad serves the descriptions will be selected from this list.
AdAppAdHeadlines String ATTRIBUTE List of text assets for headlines. When the ad serves the headlines will be selected from this list.
AdAppAdHtml5MediaBundles String ATTRIBUTE List of media bundle assets that may be used with the ad.
AdAppAdImages String ATTRIBUTE List of image assets that may be displayed with the ad.
AdAppAdMandatoryAdText String ATTRIBUTE Mandatory ad text.
AdAppAdYoutubeVideos String ATTRIBUTE List of YouTube video assets that may be displayed with the ad.
AdAppEngagementAdDescriptions String ATTRIBUTE List of text assets for descriptions. When the ad serves the descriptions will be selected from this list.
AdAppEngagementAdHeadlines String ATTRIBUTE List of text assets for headlines. When the ad serves the headlines will be selected from this list.
AdAppEngagementAdImages String ATTRIBUTE List of image assets that may be displayed with the ad.
AdAppEngagementAdVideos String ATTRIBUTE List of video assets that may be displayed with the ad.
AdAppPreRegistrationAdDescriptions String ATTRIBUTE List of text assets for descriptions. When the ad serves the descriptions will be selected from this list.
AdAppPreRegistrationAdHeadlines String ATTRIBUTE List of text assets for headlines. When the ad serves the headlines will be selected from this list.
AdAppPreRegistrationAdImages String ATTRIBUTE List of image asset IDs whose images may be displayed with the ad.
AdAppPreRegistrationAdYoutubeVideos String ATTRIBUTE List of YouTube video asset IDs whose videos may be displayed with the ad.
AdDemandGenCarouselAdBusinessName String ATTRIBUTE Required. The Advertiser/brand name.
AdDemandGenCarouselAdCallToActionText String ATTRIBUTE Call to action text.
AdDemandGenCarouselAdCarouselCards String ATTRIBUTE Required. Carousel cards that will display with the ad. Min 2 max 10.
AdDemandGenCarouselAdDescription String ATTRIBUTE Required. The descriptive text of the ad.
AdDemandGenCarouselAdHeadline String ATTRIBUTE Required. Headline of the ad.
AdDemandGenCarouselAdLogoImage String ATTRIBUTE Required. Logo image to be used in the ad. The minimum size is 128x128 and the aspect ratio must be 1:1 (+-1%).
AdDemandGenMultiAssetAdBusinessName String ATTRIBUTE The Advertiser/brand name. Maximum display width is 25. Required.
AdDemandGenMultiAssetAdCallToActionText String ATTRIBUTE Call to action text.
AdDemandGenMultiAssetAdDescriptions String ATTRIBUTE The descriptive text of the ad. Maximum display width is 90. At least 1 and max 5 descriptions can be specified.
AdDemandGenMultiAssetAdHeadlines String ATTRIBUTE Headline text asset of the ad. Maximum display width is 30. At least 1 and max 5 headlines can be specified.
AdDemandGenMultiAssetAdLogoImages String ATTRIBUTE Logo image assets to be used in the ad. Valid image types are GIF, JPEG, and PNG. The minimum size is 128x128 and the aspect ratio must be 1:1 (+-1%). At least 1 and max 5 logo images can be specified.
AdDemandGenMultiAssetAdMarketingImages String ATTRIBUTE Marketing image assets to be used in the ad. Valid image types are GIF, JPEG, and PNG. The minimum size is 600x314 and the aspect ratio must be 1.91:1 (+-1%). Required if square_marketing_images is not present. Combined with square_marketing_images, portrait_marketing_images, and tall_portrait_marketing_images the maximum is 20.
AdDemandGenMultiAssetAdPortraitMarketingImages String ATTRIBUTE Portrait marketing image assets to be used in the ad. Valid image types are GIF, JPEG, and PNG. The minimum size is 480x600 and the aspect ratio must be 4:5 (+-1%). Combined with marketing_images, square_marketing_images, and tall_portrait_marketing_images the maximum is 20.
AdDemandGenMultiAssetAdSquareMarketingImages String ATTRIBUTE Square marketing image assets to be used in the ad. Valid image types are GIF, JPEG, and PNG. The minimum size is 300x300 and the aspect ratio must be 1:1 (+-1%). Required if marketing_images is not present. Combined with marketing_images, portrait_marketing_images, and tall_portrait_marketing_images the maximum is 20.
AdDemandGenMultiAssetAdTallPortraitMarketingImages String ATTRIBUTE Tall portrait marketing image assets to be used in the ad. Valid image types are GIF, JPEG, and PNG. The minimum size is 600x1067 and the aspect ratio must be 9:16 (+-1%). Combined with marketing_images, square_marketing_images, and portrait_marketing_images, the maximum is 20.
AdDemandGenProductAdBreadcrumb1 String ATTRIBUTE First part of text that appears in the ad with the displayed URL.
AdDemandGenProductAdBreadcrumb2 String ATTRIBUTE Second part of text that appears in the ad with the displayed URL.
AdDemandGenProductAdBusinessName String ATTRIBUTE Required. The advertiser/brand name.
AdDemandGenProductAdCallToAction String ATTRIBUTE Asset of type CallToActionAsset used for the 'Call To Action' button.
AdDemandGenProductAdDescription String ATTRIBUTE Required. Text asset used for the description.
AdDemandGenProductAdHeadline String ATTRIBUTE Required. Text asset used for the short headline.
AdDemandGenProductAdLogoImage String ATTRIBUTE Required. Logo image to be used in the ad. Valid image types are GIF, JPEG, and PNG. The minimum size is 128x128 and the aspect ratio must be 1:1 (+-1%).
AdDemandGenVideoResponsiveAdBreadcrumb1 String ATTRIBUTE First part of text that appears in the ad with the displayed URL.
AdDemandGenVideoResponsiveAdBreadcrumb2 String ATTRIBUTE Second part of text that appears in the ad with the displayed URL.
AdDemandGenVideoResponsiveAdBusinessName String ATTRIBUTE Required. The advertiser/brand name.
AdDemandGenVideoResponsiveAdCallToActions String ATTRIBUTE Assets of type CallToActionAsset used for the 'Call To Action' button.
AdDemandGenVideoResponsiveAdCompanionBanners String ATTRIBUTE List of image assets used for the companion banner. Currently, only a single value for the companion banner asset is supported.
AdDemandGenVideoResponsiveAdDescriptions String ATTRIBUTE List of text assets used for the description.
AdDemandGenVideoResponsiveAdHeadlines String ATTRIBUTE List of text assets used for the short headline.
AdDemandGenVideoResponsiveAdLogoImages String ATTRIBUTE Logo image to be used in the ad. Valid image types are GIF, JPEG, and PNG. The minimum size is 128x128 and the aspect ratio must be 1:1 (+-1%).
AdDemandGenVideoResponsiveAdLongHeadlines String ATTRIBUTE List of text assets used for the long headline.
AdDemandGenVideoResponsiveAdVideos String ATTRIBUTE List of YouTube video assets used for the ad.
AdDevicePreference String ATTRIBUTE The device preference for the ad. You can only specify a preference for

The allowed values are CONNECTED_TV, DESKTOP, MOBILE, OTHER, TABLET, UNKNOWN.

AdDisplayUploadAdDisplayUploadProductType String ATTRIBUTE The product type of this ad. See comments on the enum for details.

The allowed values are DYNAMIC_HTML5_CUSTOM_AD, DYNAMIC_HTML5_EDUCATION_AD, DYNAMIC_HTML5_FLIGHT_AD, DYNAMIC_HTML5_HOTEL_AD, DYNAMIC_HTML5_HOTEL_RENTAL_AD, DYNAMIC_HTML5_JOB_AD, DYNAMIC_HTML5_LOCAL_AD, DYNAMIC_HTML5_REAL_ESTATE_AD, DYNAMIC_HTML5_TRAVEL_AD, HTML5_UPLOAD_AD, UNKNOWN.

AdDisplayUploadAdMediaBundle String ATTRIBUTE A media bundle asset to be used in the ad. For information about the media bundle for HTML5_UPLOAD_AD, see https://support.google.com/google-ads/answer/1722096 Media bundles that are part of dynamic product types use a special format that needs to be created through the Google Web Designer. See https://support.google.com/webdesigner/answer/7543898 for more information.
AdDisplayUrl String ATTRIBUTE The URL that appears in the ad description for some ad formats.
AdExpandedDynamicSearchAdDescription String ATTRIBUTE The description of the ad.
AdExpandedDynamicSearchAdDescription2 String ATTRIBUTE The second description of the ad.
AdExpandedTextAdDescription String ATTRIBUTE The description of the ad.
AdExpandedTextAdDescription2 String ATTRIBUTE The second description of the ad.
AdExpandedTextAdHeadlinePart1 String ATTRIBUTE The first part of the ad's headline.
AdExpandedTextAdHeadlinePart2 String ATTRIBUTE The second part of the ad's headline.
AdExpandedTextAdHeadlinePart3 String ATTRIBUTE The third part of the ad's headline.
AdExpandedTextAdPath1 String ATTRIBUTE The text that can appear alongside the ad's displayed URL.
AdExpandedTextAdPath2 String ATTRIBUTE Additional text that can appear alongside the ad's displayed URL.
AdFinalAppUrls String ATTRIBUTE A list of final app URLs that will be used on mobile if the user has the
AdFinalMobileUrls String ATTRIBUTE The list of possible final mobile URLs after all cross-domain redirects
AdFinalUrlSuffix String ATTRIBUTE The suffix to use when constructing a final URL.
AdFinalUrls String ATTRIBUTE The list of possible final URLs after all cross-domain redirects for the
AdHotelAd String ATTRIBUTE Details pertaining to a hotel ad.
AdId Long ATTRIBUTE Output only. The ID of the ad.
AdImageAdImageAssetAsset String ATTRIBUTE The Asset resource name of this image.
AdImageAdImageUrl String ATTRIBUTE URL of the full size image.
AdImageAdMimeType String ATTRIBUTE The mime type of the image.

The allowed values are AUDIO_MP3, AUDIO_WAV, FLASH, HTML5_AD_ZIP, IMAGE_GIF, IMAGE_JPEG, IMAGE_PNG, MSEXCEL, MSWORD, PDF, RTF, TEXT_HTML, UNKNOWN.

AdImageAdName String ATTRIBUTE The name of the image. If the image was created from a MediaFile, this is the MediaFile's name. If the image was created from bytes, this is empty.
AdImageAdPixelHeight Long ATTRIBUTE Height in pixels of the full size image.
AdImageAdPixelWidth Long ATTRIBUTE Width in pixels of the full size image.
AdImageAdPreviewImageUrl String ATTRIBUTE URL of the preview size image.
AdImageAdPreviewPixelHeight Long ATTRIBUTE Height in pixels of the preview size image.
AdImageAdPreviewPixelWidth Long ATTRIBUTE Width in pixels of the preview size image.
AdLegacyAppInstallAd String ATTRIBUTE Immutable. Details pertaining to a legacy app install ad.
AdLegacyResponsiveDisplayAdAccentColor String ATTRIBUTE The accent color of the ad in hexadecimal, for example, #ffffff for white. If one of main_color and accent_color is set, the other is required as well.
AdLegacyResponsiveDisplayAdAllowFlexibleColor Bool ATTRIBUTE Advertiser's consent to allow flexible color. When true, the ad may be served with different color if necessary. When false, the ad will be served with the specified colors or a neutral color. The default value is true. Must be true if main_color and accent_color are not set.
AdLegacyResponsiveDisplayAdBusinessName String ATTRIBUTE The business name in the ad.
AdLegacyResponsiveDisplayAdCallToActionText String ATTRIBUTE The call-to-action text for the ad.
AdLegacyResponsiveDisplayAdDescription String ATTRIBUTE The description of the ad.
AdLegacyResponsiveDisplayAdFormatSetting String ATTRIBUTE Specifies which format the ad will be served in. Default is ALL_FORMATS.

The allowed values are ALL_FORMATS, NATIVE, NON_NATIVE, UNKNOWN.

AdLegacyResponsiveDisplayAdLogoImage String ATTRIBUTE The MediaFile resource name of the logo image used in the ad.
AdLegacyResponsiveDisplayAdLongHeadline String ATTRIBUTE The long version of the ad's headline.
AdLegacyResponsiveDisplayAdMainColor String ATTRIBUTE The main color of the ad in hexadecimal, for example, #ffffff for white. If one of main_color and accent_color is set, the other is required as well.
AdLegacyResponsiveDisplayAdMarketingImage String ATTRIBUTE The MediaFile resource name of the marketing image used in the ad.
AdLegacyResponsiveDisplayAdPricePrefix String ATTRIBUTE Prefix before price. For example, 'as low as'.
AdLegacyResponsiveDisplayAdPromoText String ATTRIBUTE Promotion text used for dynamic formats of responsive ads. For example 'Free two-day shipping'.
AdLegacyResponsiveDisplayAdShortHeadline String ATTRIBUTE The short version of the ad's headline.
AdLegacyResponsiveDisplayAdSquareLogoImage String ATTRIBUTE The MediaFile resource name of the square logo image used in the ad.
AdLegacyResponsiveDisplayAdSquareMarketingImage String ATTRIBUTE The MediaFile resource name of the square marketing image used in the ad.
AdLocalAdCallToActions String ATTRIBUTE List of text assets for call-to-actions. When the ad serves the call-to-actions will be selected from this list. At least 1 and at most 5 call-to-actions must be specified.
AdLocalAdDescriptions String ATTRIBUTE List of text assets for descriptions. When the ad serves the descriptions will be selected from this list. At least 1 and at most 5 descriptions must be specified.
AdLocalAdHeadlines String ATTRIBUTE List of text assets for headlines. When the ad serves the headlines will be selected from this list. At least 1 and at most 5 headlines must be specified.
AdLocalAdLogoImages String ATTRIBUTE List of logo image assets that may be displayed with the ad. The images must be 128x128 pixels and not larger than 120KB. At least 1 and at most 5 image assets must be specified.
AdLocalAdMarketingImages String ATTRIBUTE List of marketing image assets that may be displayed with the ad. The images must be 314x600 pixels or 320x320 pixels. At least 1 and at most 20 image assets must be specified.
AdLocalAdPath1 String ATTRIBUTE First part of optional text that can be appended to the URL in the ad.
AdLocalAdPath2 String ATTRIBUTE Second part of optional text that can be appended to the URL in the ad. This field can only be set when path1 is also set.
AdLocalAdVideos String ATTRIBUTE List of YouTube video assets that may be displayed with the ad. At least 1 and at most 20 video assets must be specified.
AdName String ATTRIBUTE Immutable. The name of the ad. This is only used to be able to identify the
AdResourceName String ATTRIBUTE Immutable. The resource name of the ad.
AdResponsiveDisplayAdAccentColor String ATTRIBUTE The accent color of the ad in hexadecimal, for example, #ffffff for white. If one of main_color and accent_color is set, the other is required as well.
AdResponsiveDisplayAdAllowFlexibleColor Bool ATTRIBUTE Advertiser's consent to allow flexible color. When true, the ad may be served with different color if necessary. When false, the ad will be served with the specified colors or a neutral color. The default value is true. Must be true if main_color and accent_color are not set.
AdResponsiveDisplayAdBusinessName String ATTRIBUTE The advertiser/brand name. Maximum display width is 25.
AdResponsiveDisplayAdCallToActionText String ATTRIBUTE The call-to-action text for the ad. Maximum display width is 30.
AdResponsiveDisplayAdControlSpecEnableAssetEnhancements Bool ATTRIBUTE Whether the advertiser has opted into the asset enhancements feature.
AdResponsiveDisplayAdControlSpecEnableAutogenVideo Bool ATTRIBUTE Whether the advertiser has opted into auto-gen video feature.
AdResponsiveDisplayAdDescriptions String ATTRIBUTE Descriptive texts for the ad. The maximum length is 90 characters. At least 1 and max 5 headlines can be specified.
AdResponsiveDisplayAdFormatSetting String ATTRIBUTE Specifies which format the ad will be served in. Default is ALL_FORMATS.

The allowed values are ALL_FORMATS, NATIVE, NON_NATIVE, UNKNOWN.

AdResponsiveDisplayAdHeadlines String ATTRIBUTE Short format headlines for the ad. The maximum length is 30 characters. At least 1 and max 5 headlines can be specified.
AdResponsiveDisplayAdLogoImages String ATTRIBUTE Logo images to be used in the ad. Valid image types are GIF, JPEG, and PNG. The minimum size is 512x128 and the aspect ratio must be 4:1 (+-1%). Combined with square_logo_images, the maximum is 5.
AdResponsiveDisplayAdLongHeadline String ATTRIBUTE A required long format headline. The maximum length is 90 characters.
AdResponsiveDisplayAdMainColor String ATTRIBUTE The main color of the ad in hexadecimal, for example, #ffffff for white. If one of main_color and accent_color is set, the other is required as well.
AdResponsiveDisplayAdMarketingImages String ATTRIBUTE Marketing images to be used in the ad. Valid image types are GIF, JPEG, and PNG. The minimum size is 600x314 and the aspect ratio must be 1.91:1 (+-1%). At least one marketing_image is required. Combined with square_marketing_images, the maximum is 15.
AdResponsiveDisplayAdPricePrefix String ATTRIBUTE Prefix before price. For example, 'as low as'.
AdResponsiveDisplayAdPromoText String ATTRIBUTE Promotion text used for dynamic formats of responsive ads. For example 'Free two-day shipping'.
AdResponsiveDisplayAdSquareLogoImages String ATTRIBUTE Square logo images to be used in the ad. Valid image types are GIF, JPEG, and PNG. The minimum size is 128x128 and the aspect ratio must be 1:1 (+-1%). Combined with logo_images, the maximum is 5.
AdResponsiveDisplayAdSquareMarketingImages String ATTRIBUTE Square marketing images to be used in the ad. Valid image types are GIF, JPEG, and PNG. The minimum size is 300x300 and the aspect ratio must be 1:1 (+-1%). At least one square marketing_image is required. Combined with marketing_images, the maximum is 15.
AdResponsiveDisplayAdYoutubeVideos String ATTRIBUTE Optional YouTube videos for the ad. A maximum of 5 videos can be specified.
AdResponsiveSearchAdDescriptions String ATTRIBUTE List of text assets for descriptions. When the ad serves the descriptions will be selected from this list.
AdResponsiveSearchAdHeadlines String ATTRIBUTE List of text assets for headlines. When the ad serves the headlines will be selected from this list.
AdResponsiveSearchAdPath1 String ATTRIBUTE First part of text that can be appended to the URL in the ad.
AdResponsiveSearchAdPath2 String ATTRIBUTE Second part of text that can be appended to the URL in the ad. This field can only be set when path1 is also set.
AdShoppingComparisonListingAdHeadline String ATTRIBUTE Headline of the ad. This field is required. Allowed length is between 25 and 45 characters.
AdShoppingProductAd String ATTRIBUTE Details pertaining to a Shopping product ad.
AdShoppingSmartAd String ATTRIBUTE Details pertaining to a Smart Shopping ad.
AdSmartCampaignAdDescriptions String ATTRIBUTE List of text assets, each of which corresponds to a description when the ad serves. This list consists of a minimum of 2 and up to 4 text assets.
AdSmartCampaignAdHeadlines String ATTRIBUTE List of text assets, each of which corresponds to a headline when the ad serves. This list consists of a minimum of 3 and up to 15 text assets.
AdSystemManagedResourceSource String ATTRIBUTE Output only. If this ad is system managed, then this field will indicate

The allowed values are AD_VARIATIONS, UNKNOWN.

AdTrackingUrlTemplate String ATTRIBUTE The URL template for constructing a tracking URL.
AdTravelAd String ATTRIBUTE Details pertaining to a travel ad.
AdType String ATTRIBUTE Output only. The type of ad.

The allowed values are APP_AD, APP_ENGAGEMENT_AD, APP_PRE_REGISTRATION_AD, CALL_AD, DEMAND_GEN_CAROUSEL_AD, DEMAND_GEN_MULTI_ASSET_AD, DEMAND_GEN_PRODUCT_AD, DEMAND_GEN_VIDEO_RESPONSIVE_AD, DYNAMIC_HTML5_AD, EXPANDED_DYNAMIC_SEARCH_AD, EXPANDED_TEXT_AD, HOTEL_AD, HTML5_UPLOAD_AD, IMAGE_AD, IN_FEED_VIDEO_AD, LEGACY_APP_INSTALL_AD, LEGACY_RESPONSIVE_DISPLAY_AD, LOCAL_AD, RESPONSIVE_DISPLAY_AD, RESPONSIVE_SEARCH_AD, SHOPPING_COMPARISON_LISTING_AD, SHOPPING_PRODUCT_AD, SHOPPING_SMART_AD, SMART_CAMPAIGN_AD, TEXT_AD, TRAVEL_AD, UNKNOWN, VIDEO_AD, VIDEO_BUMPER_AD, VIDEO_NON_SKIPPABLE_IN_STREAM_AD, VIDEO_RESPONSIVE_AD, VIDEO_TRUEVIEW_IN_STREAM_AD, YOUTUBE_AUDIO_AD.

AdUrlCollections String ATTRIBUTE Additional URLs for the ad that are tagged with a unique identifier that
AdUrlCustomParameters String ATTRIBUTE The list of mappings that can be used to substitute custom parameter tags
AdVideoAdAudio String ATTRIBUTE YouTube Audio ad format.
AdVideoAdBumperActionButtonLabel String ATTRIBUTE Label on the 'Call To Action' button taking the user to the video ad's final URL.
AdVideoAdBumperActionHeadline String ATTRIBUTE Additional text displayed with the CTA (call-to-action) button to give context and encourage clicking on the button.
AdVideoAdBumperCompanionBannerAsset String ATTRIBUTE The Asset resource name of this image.
AdVideoAdInFeedDescription1 String ATTRIBUTE First text line for the ad.
AdVideoAdInFeedDescription2 String ATTRIBUTE Second text line for the ad.
AdVideoAdInFeedHeadline String ATTRIBUTE The headline of the ad.
AdVideoAdInFeedThumbnail String ATTRIBUTE Video thumbnail image to use.

The allowed values are DEFAULT_THUMBNAIL, THUMBNAIL_1, THUMBNAIL_2, THUMBNAIL_3, UNKNOWN.

AdVideoAdInStreamActionButtonLabel String ATTRIBUTE Label on the CTA (call-to-action) button taking the user to the video ad's final URL. Required for TrueView for action campaigns, optional otherwise.
AdVideoAdInStreamActionHeadline String ATTRIBUTE Additional text displayed with the CTA (call-to-action) button to give context and encourage clicking on the button.
AdVideoAdInStreamCompanionBannerAsset String ATTRIBUTE The Asset resource name of this image.
AdVideoAdNonSkippableActionButtonLabel String ATTRIBUTE Label on the 'Call To Action' button taking the user to the video ad's final URL.
AdVideoAdNonSkippableActionHeadline String ATTRIBUTE Additional text displayed with the 'Call To Action' button to give context and encourage clicking on the button.
AdVideoAdNonSkippableCompanionBannerAsset String ATTRIBUTE The Asset resource name of this image.
AdVideoAdOutStreamDescription String ATTRIBUTE The description line.
AdVideoAdOutStreamHeadline String ATTRIBUTE The headline of the ad.
AdVideoAdVideoAsset String ATTRIBUTE The Asset resource name of this video.
AdVideoResponsiveAdBreadcrumb1 String ATTRIBUTE First part of text that appears in the ad with the displayed URL.
AdVideoResponsiveAdBreadcrumb2 String ATTRIBUTE Second part of text that appears in the ad with the displayed URL.
AdVideoResponsiveAdBusinessName String ATTRIBUTE Optional advertiser/brand name. Maximum display width is 25 characters.
AdVideoResponsiveAdCallToActions String ATTRIBUTE List of text assets used for the button, for example, the 'Call To Action' button. Currently, only a single value for the button is supported.
AdVideoResponsiveAdCompanionBanners String ATTRIBUTE List of image assets used for the companion banner. Currently, only a single value for the companion banner asset is supported.
AdVideoResponsiveAdDescriptions String ATTRIBUTE List of text assets used for the description. Currently, only a single value for the description is supported.
AdVideoResponsiveAdHeadlines String ATTRIBUTE List of text assets used for the short headline. Currently, only a single value for the short headline is supported.
AdVideoResponsiveAdLogoImages String ATTRIBUTE Optional logo image to be used in the ad. The minimum size is 128x128 and the aspect ratio must be 1:1(+-1%).
AdVideoResponsiveAdLongHeadlines String ATTRIBUTE List of text assets used for the long headline. Currently, only a single value for the long headline is supported.
AdVideoResponsiveAdVideos String ATTRIBUTE List of YouTube video assets used for the ad. Currently, only a single value for the YouTube video asset is supported.
CustomerId Long ATTRIBUTE Output only. The ID of the customer.

Pseudo-Columns

Pseudo column fields are used in the WHERE clause of SELECT statements and offer more granular control over the data returned from the data source.

Name Type Description
ManagerId Long Id of the manager account on behalf of which you are requesting customer data.

CData Python Connector for Google Ads

AdGroup

An ad group.

View-Specific Information

Select

Google Ads does not allow every column to be selected in a single query, as some data conflicts if selected together. Therefore, when issuing a query that selects all columns, only the default metrics, segments, and attributes are returned. In general, these defaults are the same fields that are exposed through the Ads console. To use the nondefault fields, explicitly select them in your query.

Filters can also be used in the WHERE clause using the following supported operators: =, !=, >, >=, <, <=, LIKE, NOT LIKE, IN, NOT IN . Note that all filters must be joined by AND, as OR is not supported by the Ads API.

Columns

Name Type Behavior Description
AdGroupAdRotationMode String ATTRIBUTE The ad rotation mode of the ad group.

The allowed values are OPTIMIZE, ROTATE_FOREVER, UNKNOWN.

AdGroupAiMaxAdGroupSettingDisableSearchTermMatching Bool ATTRIBUTE Disable search term matching for this adgroup when AI Max is enabled. Search term matching uses broad match, asset-based, and landing page-based technology to improve reach.
AdGroupAudienceSettingUseAudienceGrouped Bool ATTRIBUTE Immutable. If true, this ad group uses an Audience resource for audience targeting. If false, this ad group may use audience segment criteria instead.
AdGroupBaseAdGroup String ATTRIBUTE Output only. For draft or experiment ad groups, this field is the resource
AdGroupCampaign String ATTRIBUTE Immutable. The campaign to which the ad group belongs.
AdGroupCpcBidMicros Long ATTRIBUTE The maximum CPC (cost-per-click) bid. This field is used when the
AdGroupCpmBidMicros Long ATTRIBUTE The maximum CPM (cost-per-thousand viewable impressions) bid.
AdGroupCpvBidMicros Long ATTRIBUTE The CPV (cost-per-view) bid.
AdGroupDemandGenAdGroupSettingsChannelControlsChannelConfig String ATTRIBUTE Output only. Channel configuration reflecting which field in the oneof is populated.

The allowed values are CHANNEL_STRATEGY, SELECTED_CHANNELS, UNKNOWN.

AdGroupDemandGenAdGroupSettingsChannelControlsChannelStrategy String ATTRIBUTE High level channel strategy.

The allowed values are ALL_CHANNELS, ALL_OWNED_AND_OPERATED_CHANNELS, UNKNOWN.

AdGroupDemandGenAdGroupSettingsChannelControlsSelectedChannelsDiscover Bool ATTRIBUTE Whether to enable ads on the Discover channel.
AdGroupDemandGenAdGroupSettingsChannelControlsSelectedChannelsDisplay Bool ATTRIBUTE Whether to enable ads on the Display channel.
AdGroupDemandGenAdGroupSettingsChannelControlsSelectedChannelsGmail Bool ATTRIBUTE Whether to enable ads on the Gmail channel.
AdGroupDemandGenAdGroupSettingsChannelControlsSelectedChannelsYoutubeInFeed Bool ATTRIBUTE Whether to enable ads on the YouTube In-Feed channel.
AdGroupDemandGenAdGroupSettingsChannelControlsSelectedChannelsYoutubeInStream Bool ATTRIBUTE Whether to enable ads on the YouTube In-Stream channel.
AdGroupDemandGenAdGroupSettingsChannelControlsSelectedChannelsYoutubeShorts Bool ATTRIBUTE Whether to enable ads on the YouTube Shorts channel.
AdGroupDisplayCustomBidDimension String ATTRIBUTE Lets advertisers specify a targeting dimension on which to place

The allowed values are AGE_RANGE, AUDIENCE, GENDER, INCOME_RANGE, KEYWORD, PARENTAL_STATUS, PLACEMENT, TOPIC, UNKNOWN.

AdGroupEffectiveCpcBidMicros Long ATTRIBUTE Output only. Value will be same as that of the CPC (cost-per-click) bid
AdGroupEffectiveTargetCpaMicros Long ATTRIBUTE Output only. The effective target CPA (cost-per-acquisition).
AdGroupEffectiveTargetCpaSource String ATTRIBUTE Output only. Source of the effective target CPA.

The allowed values are AD_GROUP, AD_GROUP_CRITERION, CAMPAIGN_BIDDING_STRATEGY, UNKNOWN.

AdGroupEffectiveTargetCpc Long ATTRIBUTE Output only. The effective target CPC (cost-per-click).
AdGroupEffectiveTargetCpcSource String ATTRIBUTE Output only. Source of the effective target CPC.

The allowed values are AD_GROUP, AD_GROUP_CRITERION, CAMPAIGN_BIDDING_STRATEGY, UNKNOWN.

AdGroupEffectiveTargetRoas Double ATTRIBUTE Output only. The effective target ROAS (return-on-ad-spend).
AdGroupEffectiveTargetRoasSource String ATTRIBUTE Output only. Source of the effective target ROAS.

The allowed values are AD_GROUP, AD_GROUP_CRITERION, CAMPAIGN_BIDDING_STRATEGY, UNKNOWN.

AdGroupExcludeDemographicExpansion Bool ATTRIBUTE When this value is true, demographics will be excluded from the types of
AdGroupExcludedParentAssetFieldTypes String ATTRIBUTE The asset field types that should be excluded from this ad group. Asset

The allowed values are AD_IMAGE, BOOK_ON_GOOGLE, BUSINESS_LOGO, BUSINESS_MESSAGE, BUSINESS_NAME, CALL, CALLOUT, CALL_TO_ACTION, CALL_TO_ACTION_SELECTION, DEMAND_GEN_CAROUSEL_CARD, DESCRIPTION, HEADLINE, HOTEL_CALLOUT, HOTEL_PROPERTY, LANDING_PAGE_PREVIEW, LANDSCAPE_LOGO, LEAD_FORM, LOGO, LONG_DESCRIPTION, LONG_HEADLINE, MANDATORY_AD_TEXT, MARKETING_IMAGE, MEDIA_BUNDLE, MOBILE_APP, PORTRAIT_MARKETING_IMAGE, PRICE, PROMOTION, RELATED_YOUTUBE_VIDEOS, SITELINK, SQUARE_MARKETING_IMAGE, STRUCTURED_SNIPPET, TALL_PORTRAIT_MARKETING_IMAGE, UNKNOWN, VIDEO, YOUTUBE_VIDEO.

AdGroupExcludedParentAssetSetTypes String ATTRIBUTE The asset set types that should be excluded from this ad group. Asset set

The allowed values are BUSINESS_PROFILE_DYNAMIC_LOCATION_GROUP, CHAIN_DYNAMIC_LOCATION_GROUP, DYNAMIC_CUSTOM, DYNAMIC_EDUCATION, DYNAMIC_FLIGHTS, DYNAMIC_HOTELS_AND_RENTALS, DYNAMIC_JOBS, DYNAMIC_LOCAL, DYNAMIC_REAL_ESTATE, DYNAMIC_TRAVEL, HOTEL_PROPERTY, LOCATION_SYNC, MERCHANT_CENTER_FEED, PAGE_FEED, STATIC_LOCATION_GROUP, TRAVEL_FEED, UNKNOWN.

AdGroupFinalUrlSuffix String ATTRIBUTE URL template for appending params to Final URL.
AdGroupFixedCpmMicros Long ATTRIBUTE The fixed amount in micros that the advertiser pays for every thousand
AdGroupId Long ATTRIBUTE Output only. The ID of the ad group.
AdGroupLabels String ATTRIBUTE Output only. The resource names of labels attached to this ad group.
AdGroupName String ATTRIBUTE The name of the ad group.
AdGroupOptimizedTargetingEnabled Bool ATTRIBUTE True if optimized targeting is enabled. Optimized Targeting is the
AdGroupPercentCpcBidMicros Long ATTRIBUTE The percent cpc bid amount, expressed as a fraction of the advertised price
AdGroupPrimaryStatus String ATTRIBUTE Output only. Provides aggregated view into why an ad group is not serving

The allowed values are ELIGIBLE, LIMITED, NOT_ELIGIBLE, PAUSED, PENDING, REMOVED, UNKNOWN.

AdGroupPrimaryStatusReasons String ATTRIBUTE Output only. Provides reasons for why an ad group is not serving or not

The allowed values are AD_GROUP_ADS_PAUSED, AD_GROUP_INCOMPLETE, AD_GROUP_PAUSED, AD_GROUP_PAUSED_DUE_TO_LOW_ACTIVITY, AD_GROUP_REMOVED, CAMPAIGN_DRAFT, CAMPAIGN_ENDED, CAMPAIGN_PAUSED, CAMPAIGN_PENDING, CAMPAIGN_REMOVED, HAS_ADS_DISAPPROVED, HAS_ADS_LIMITED_BY_POLICY, KEYWORDS_PAUSED, MOST_ADS_UNDER_REVIEW, NO_AD_GROUP_ADS, NO_KEYWORDS, UNKNOWN.

AdGroupResourceName String ATTRIBUTE Immutable. The resource name of the ad group.
AdGroupStatus String ATTRIBUTE The status of the ad group.

The allowed values are ENABLED, PAUSED, REMOVED, UNKNOWN.

AdGroupTargetCpaMicros Long ATTRIBUTE The target CPA (cost-per-acquisition). If the ad group's campaign
AdGroupTargetCpcMicros Long ATTRIBUTE Average amount in micros that the advertiser is willing to pay for every ad
AdGroupTargetCpmMicros Long ATTRIBUTE Average amount in micros that the advertiser is willing to pay for every
AdGroupTargetCpvMicros Long ATTRIBUTE Average amount in micros that the advertiser is willing to pay for every ad
AdGroupTargetRoas Double ATTRIBUTE The target ROAS (return-on-ad-spend) for this ad group.
AdGroupTargetingSettingTargetRestrictions String ATTRIBUTE The per-targeting-dimension setting to restrict the reach of your campaign or ad group.
AdGroupTrackingUrlTemplate String ATTRIBUTE The URL template for constructing a tracking URL.
AdGroupType String ATTRIBUTE Immutable. The type of the ad group.

The allowed values are DISPLAY_STANDARD, HOTEL_ADS, PROMOTED_HOTEL_ADS, SEARCH_DYNAMIC_ADS, SEARCH_STANDARD, SHOPPING_COMPARISON_LISTING_ADS, SHOPPING_PRODUCT_ADS, SHOPPING_SMART_ADS, SMART_CAMPAIGN_ADS, TRAVEL_ADS, UNKNOWN, VIDEO_BUMPER, VIDEO_EFFICIENT_REACH, VIDEO_NON_SKIPPABLE_IN_STREAM, VIDEO_RESPONSIVE, VIDEO_TRUE_VIEW_IN_DISPLAY, VIDEO_TRUE_VIEW_IN_STREAM, YOUTUBE_AUDIO.

AdGroupUrlCustomParameters String ATTRIBUTE The list of mappings used to substitute custom parameter tags in a
AdGroupVerticalAdsFormatSettingDisableTextAds Bool ATTRIBUTE If true, text ads will be disabled for this ad group.
AdGroupVerticalAdsFormatSettingEnableBookingLinks Bool ATTRIBUTE If true, booking links will be enabled for this ad group.
AdGroupVerticalAdsFormatSettingEnableVerticalPromotionAds Bool ATTRIBUTE If true, vertical promotion ads will be enabled for this ad group.
AdGroupVideoAdGroupSettingsVideoAdSequenceStepId Long ATTRIBUTE The ID of this sequence step from an existing campaign.video_campaign_settings.video_ad_sequence definition. Only one Ad Group can point to a given step_id.
CustomerId Long ATTRIBUTE Output only. The ID of the customer.
AbsoluteTopImpressionPercentage Double METRIC Search absolute top impression share is the percentage of your Search ad
ActiveViewAudibilityInvalidGivtMeasurableImpressionsRate Double METRIC The number of impressions for which Active View could measure audibility,
ActiveViewAudibilityInvalidMeasurableImpressionsRate Double METRIC The number of impressions for which Active View could measure audibility,
ActiveViewAudibilityMeasurableImpressions Long METRIC The number of impressions for which Active View could measure if the ad was
ActiveViewAudibilityMeasurableImpressionsRate Double METRIC The number of impressions for which Active View could measure if the ad was
ActiveViewAudibleImpressions Long METRIC The number of impressions that were audible (volume > 0%) at any point
ActiveViewAudibleImpressionsRate Double METRIC The number of impressions that were audible (volume > 0%) at any point
ActiveViewAudibleQuartileP100Rate Double METRIC The number of impressions that were audible at the fourth quartile of the
ActiveViewAudibleQuartileP25Rate Double METRIC The number of impressions that were audible at the first quartile of the
ActiveViewAudibleQuartileP50Rate Double METRIC The number of impressions that were audible at the second quartile of the
ActiveViewAudibleQuartileP75Rate Double METRIC The number of impressions that were audible at the third quartile of the
ActiveViewAudibleThirtySecondsImpressions Long METRIC The number of impressions that were audible for at least 30 seconds
ActiveViewAudibleThirtySecondsImpressionsRate Double METRIC The number of impressions that were audible for at least 30 seconds
ActiveViewAudibleTwoSecondsImpressions Long METRIC The number of impressions that were audible for at least 2 seconds
ActiveViewAudibleTwoSecondsImpressionsRate Double METRIC The number of impressions that were audible for at least 2 seconds
ActiveViewCpm Double METRIC Average cost of viewable impressions (active_view_impressions).
ActiveViewCtr Double METRIC Active view measurable clicks divided by active view viewable impressions.
ActiveViewImpressions Long METRIC A measurement of how often your ad has become viewable on a Display
ActiveViewMeasurability Double METRIC The ratio of impressions that could be measured by Active View over the
ActiveViewMeasurableCostMicros Long METRIC The cost of the impressions you received that were measurable by Active
ActiveViewMeasurableImpressions Long METRIC The number of times your ads are appearing on placements in positions
ActiveViewViewability Double METRIC The percentage of time when your ad appeared on an Active View enabled site
AllConversions Double METRIC The total number of conversions. This includes all conversions regardless
AllConversionsByConversionDate Double METRIC The total number of conversions. This includes all conversions regardless
AllConversionsFromInteractionsRate Double METRIC All conversions from interactions (as oppose to view through conversions)
AllConversionsValue Double METRIC The value of all conversions.
AllConversionsValueByConversionDate Double METRIC The value of all conversions. When this column is selected with date, the
AllNewCustomerLifetimeValue Double METRIC All of new customers' lifetime conversion value. If you have set up
AverageCartSize Double METRIC Average cart size is the average number of products in each order
AverageCost Double METRIC The average amount you pay per interaction. This amount is the total cost
AverageCpc Double METRIC The total cost of all clicks divided by the total number of clicks
AverageCpe Double METRIC The average amount that you've been charged for an ad engagement. This
AverageCpm Double METRIC Average cost-per-thousand impressions (CPM).
AverageOrderValueMicros Long METRIC Average order value is the average revenue you made per order attributed to
AveragePageViews Double METRIC Average number of pages viewed per session.
AverageTimeOnSite Double METRIC Total duration of all sessions (in seconds) / number of sessions. Imported
AverageVideoWatchTimeDurationMillis Long METRIC Average video watch time duration in milliseconds for video impressions
BiddableCohortAppPostInstallConversions Double METRIC Participated in-app actions. The number of in app actions that come
BiddableIndirectInstallFirstInAppConversionMicros Long METRIC The number of biddable first in app conversions where the app install was
BounceRate Double METRIC Percentage of clicks where the user only visited a single page on your
Clicks Long METRIC The number of clicks.
ContentImpressionShare Double METRIC The impressions you've received on the Display Network divided
ContentRankLostImpressionShare Double METRIC The estimated percentage of impressions on the Display Network
Conversions Double METRIC The number of conversions. This only includes conversion actions which
ConversionsByConversionDate Double METRIC The number of conversions. This only includes conversion actions which
ConversionsFromInteractionsRate Double METRIC Conversions from interactions divided by the number of ad interactions
ConversionsValue Double METRIC The value of conversions. This only includes conversion actions which
ConversionsValueByConversionDate Double METRIC The value of conversions. This only includes conversion actions which
CostConvertedCurrencyPerPlatformComparableConversion Double METRIC The cost of the platform comparable conversion in the currency of the
CostMicros Long METRIC The sum of your cost-per-click (CPC) and cost-per-thousand impressions
CostOfGoodsSoldMicros Long METRIC Cost of goods sold (COGS) is the total cost of the products you sold in
CostPerAllConversions Double METRIC The cost of ad interactions divided by all conversions.
CostPerConversion Double METRIC The cost of ad interactions divided by conversions. This only includes
CostPerCurrentModelAttributedConversion Double METRIC The cost of ad interactions divided by current model attributed
CostPerPlatformComparableConversion Double METRIC The cost of ad interactions divided by the number of platform comparable
CrossDeviceConversions Double METRIC Conversions from when a customer clicks on a Google Ads ad on one device,
CrossDeviceConversionsByConversionDate Double METRIC The number of cross-device conversions by conversion date.
CrossDeviceConversionsValueByConversionDate Double METRIC The sum of cross-device conversions value by conversion date.
CrossDeviceConversionsValueMicros Long METRIC The sum of the value of cross-device conversions, in micros.
CrossSellCostOfGoodsSoldMicros Long METRIC Cross-sell cost of goods sold (COGS) is the total cost of products sold as
CrossSellGrossProfitMicros Long METRIC Cross-sell gross profit is the profit you made from products sold as a
CrossSellRevenueMicros Long METRIC Cross-sell revenue is the total amount you made from products sold as a
CrossSellUnitsSold Double METRIC Cross-sell units sold is the total number of products sold as a result of
Ctr Double METRIC The number of clicks your ad receives (Clicks) divided by the number
CurrentModelAttributedConversions Double METRIC Shows how your historic conversions data would look under the attribution
CurrentModelAttributedConversionsValue Double METRIC The value of current model attributed conversions. This only includes
EngagementRate Double METRIC How often people engage with your ad after it's shown to them. This is the
Engagements Long METRIC The number of engagements.
GmailForwards Long METRIC The number of times the ad was forwarded to someone else as a message.
GmailSaves Long METRIC The number of times someone has saved your Gmail ad to their inbox as a
GmailSecondaryClicks Long METRIC The number of clicks to the landing page on the expanded state of Gmail
GrossProfitMargin Double METRIC Gross profit margin is the percentage gross profit you made from orders
GrossProfitMicros Long METRIC Gross profit is the profit you made from orders attributed to your ads
Impressions Long METRIC Count of how often your ad has appeared on a search results page or
InteractionEventTypes String METRIC The types of payable and free interactions.

The allowed values are CLICK, ENGAGEMENT, NONE, UNKNOWN, VIDEO_VIEW.

InteractionRate Double METRIC How often people interact with your ad after it is shown to them.
Interactions Long METRIC The number of interactions.
LeadCostOfGoodsSoldMicros Long METRIC Lead cost of goods sold (COGS) is the total cost of products sold as a
LeadGrossProfitMicros Long METRIC Lead gross profit is the profit you made from products sold as a result of
LeadRevenueMicros Long METRIC Lead revenue is the total amount you made from products sold as a result of
LeadUnitsSold Double METRIC Lead units sold is the total number of products sold as a result of
NewCustomerLifetimeValue Double METRIC New customers' lifetime conversion value. If you have set up
Orders Double METRIC Orders is the total number of purchase conversions you received attributed
PercentNewVisitors Double METRIC Percentage of first-time sessions (from people who had never visited your
PhoneCalls Long METRIC Number of offline phone calls.
PhoneImpressions Long METRIC Number of offline phone impressions.
PhoneThroughRate Double METRIC Number of phone calls received (phone_calls) divided by the number of
PlatformComparableConversions Double METRIC The number of platform comparable conversions. This only includes
PlatformComparableConversionsByConversionDate Double METRIC The number of platform comparable conversions. When this metric is
PlatformComparableConversionsFromInteractionsRate Double METRIC Platform comparable conversions from interactions divided by the number of
PlatformComparableConversionsFromInteractionsValuePerInteraction Double METRIC The value of platform comparable conversions from interactions divided by
PlatformComparableConversionsValue Double METRIC The value of platform comparable conversions. This only includes conversion
PlatformComparableConversionsValueByConversionDate Double METRIC The value of platform comparable conversions. When this metric is segmented
PlatformComparableConversionsValuePerCost Double METRIC The value of conversions divided by the cost of ad interactions. This only
RelativeCtr Double METRIC Your clickthrough rate (Ctr) divided by the average clickthrough rate of
RevenueMicros Long METRIC Revenue is the total amount you made from orders attributed to your ads.
SearchAbsoluteTopImpressionShare Double METRIC The percentage of the customer's Shopping or Search ad impressions that are
SearchBudgetLostAbsoluteTopImpressionShare Double METRIC The number estimating how often your ad wasn't the very first ad among the
SearchBudgetLostTopImpressionShare Double METRIC The number estimating how often your ad didn't show adjacent to the top
SearchExactMatchImpressionShare Double METRIC The impressions you've received divided by the estimated number of
SearchImpressionShare Double METRIC The impressions you've received on the Search Network divided
SearchRankLostAbsoluteTopImpressionShare Double METRIC The number estimating how often your ad wasn't the very first ad among the
SearchRankLostImpressionShare Double METRIC The estimated percentage of impressions on the Search Network
SearchRankLostTopImpressionShare Double METRIC The number estimating how often your ad didn't show adjacent to the top
SearchTopImpressionShare Double METRIC The impressions you've received among the top ads compared to the estimated
TopImpressionPercentage Double METRIC The percent of your ad impressions that are shown adjacent to the top
TrueviewAverageCpv Double METRIC The average amount you pay each time someone views your ad.
UnitsSold Double METRIC Units sold is the total number of products sold from orders attributed to
ValuePerAllConversions Double METRIC The value of all conversions divided by the number of all conversions.
ValuePerAllConversionsByConversionDate Double METRIC The value of all conversions divided by the number of all conversions. When
ValuePerConversion Double METRIC The value of conversions divided by the number of conversions. This only
ValuePerConversionsByConversionDate Double METRIC The value of conversions divided by the number of conversions. This only
ValuePerCurrentModelAttributedConversion Double METRIC The value of current model attributed conversions divided by the number of
ValuePerPlatformComparableConversion Double METRIC The value of platform comparable conversions divided by the number of
ValuePerPlatformComparableConversionsByConversionDate Double METRIC The value of platform comparable conversions divided by the number of
VideoQuartileP100Rate Double METRIC Percentage of impressions where the viewer watched all of your video.
VideoQuartileP25Rate Double METRIC Percentage of impressions where the viewer watched 25% of your video.
VideoQuartileP50Rate Double METRIC Percentage of impressions where the viewer watched 50% of your video.
VideoQuartileP75Rate Double METRIC Percentage of impressions where the viewer watched 75% of your video.
VideoTrueviewViewRate Double METRIC The number of TrueView views your video ad receives divided by its number
VideoTrueviewViewRateInFeed Double METRIC The number of TrueView views divided by number of impressions that can
VideoTrueviewViewRateInStream Double METRIC The number of TrueView views divided by number of impressions that can
VideoTrueviewViewRateShorts Double METRIC The number of TrueView views divided by number of impressions that can
VideoTrueviewViews Long METRIC The number of TrueView views your video ads received.
VideoWatchTimeDurationMillis Long METRIC Total watch time duration in milliseconds for video impressions that
ViewThroughConversions Long METRIC The total number of view-through conversions.
AdDestinationType String SEGMENT Ad Destination type.

The allowed values are APP_DEEP_LINK, APP_STORE, LEAD_FORM, LOCATION_LISTING, MAP_DIRECTIONS, MESSAGE, NOT_APPLICABLE, PHONE_CALL, UNKNOWN, UNMODELED_FOR_CONVERSIONS, WEBSITE, YOUTUBE.

AdFormatType String SEGMENT Ad Format type.

The allowed values are AUDIO, BUMPER, INFEED, INSTREAM_NON_SKIPPABLE, INSTREAM_SKIPPABLE, MASTHEAD, OTHER, OUTSTREAM, PAUSE, SHORTS, TEXT, UNKNOWN, UNSEGMENTED, VERTICAL_ADS_BOOKING_LINK, VERTICAL_ADS_PROMOTION.

AdNetworkType String SEGMENT Ad network type.

The allowed values are CONTENT, DISCOVER, GMAIL, GOOGLE_OWNED_CHANNELS, GOOGLE_TV, MAPS, MIXED, SEARCH, SEARCH_PARTNERS, UNKNOWN, YOUTUBE.

AdSubNetworkType String SEGMENT Ad sub network type. Currently only available for ads running as part of

The allowed values are UNKNOWN, UNSEGMENTED, YOUTUBE_INFEED, YOUTUBE_INSTREAM, YOUTUBE_SHORTS.

AssetInteractionTargetAsset String SEGMENT The asset resource name.
AssetInteractionTargetInteractionOnThisAsset Bool SEGMENT Only used with CustomerAsset, CampaignAsset and AdGroupAsset metrics. Indicates whether the interaction metrics occurred on the asset itself or a different asset or ad unit.
AuctionInsightDomain String SEGMENT Domain (visible URL) of a participant in the Auction Insights report.
ClickType String SEGMENT Click type.

The allowed values are AD_IMAGE, APP_DEEPLINK, BREADCRUMBS, BROADBAND_PLAN, CALLS, CALL_TRACKING, CLICK_ON_ENGAGEMENT_AD, CLICK_TO_MESSAGE_LANDING_PAGE_CLICK, CLICK_TO_MESSAGE_THIRD_PARTY_CLICK, CROSS_NETWORK, GET_DIRECTIONS, HOTEL_BOOK_ON_GOOGLE_ROOM_SELECTION, HOTEL_PRICE, LOCATION_EXPANSION, LOCATION_FORMAT_CALL, LOCATION_FORMAT_DIRECTIONS, LOCATION_FORMAT_IMAGE, LOCATION_FORMAT_LANDING_PAGE, LOCATION_FORMAT_MAP, LOCATION_FORMAT_STORE_INFO, LOCATION_FORMAT_TEXT, MOBILE_CALL_TRACKING, OFFER_PRINTS, OTHER, PRICE_EXTENSION, PRODUCT_AD_APP_DEEPLINK, PRODUCT_ASSETS, PRODUCT_EXTENSION_CLICKS, PRODUCT_LISTING_ADS_COUPON, PRODUCT_LISTING_AD_CLICKS, PRODUCT_LISTING_AD_LOCAL, PRODUCT_LISTING_AD_MULTICHANNEL_LOCAL, PRODUCT_LISTING_AD_MULTICHANNEL_ONLINE, PRODUCT_LISTING_AD_TRANSACTABLE, PROMOTION_EXTENSION, SHOPPING_COMPARISON_LISTING, SHOWCASE_AD_CATEGORY_LINK, SHOWCASE_AD_LOCAL_PRODUCT_LINK, SHOWCASE_AD_LOCAL_STOREFRONT_LINK, SHOWCASE_AD_ONLINE_PRODUCT_LINK, SITELINKS, STORE_LOCATOR, SWIPEABLE_GALLERY_AD_HEADLINE, SWIPEABLE_GALLERY_AD_SEE_MORE, SWIPEABLE_GALLERY_AD_SITELINK_FIVE, SWIPEABLE_GALLERY_AD_SITELINK_FOUR, SWIPEABLE_GALLERY_AD_SITELINK_ONE, SWIPEABLE_GALLERY_AD_SITELINK_THREE, SWIPEABLE_GALLERY_AD_SITELINK_TWO, SWIPEABLE_GALLERY_AD_SWIPES, TRAVEL_ASSETS, UNKNOWN, URL_CLICKS, VEHICLE_ASSETS, VIDEO_APP_STORE_CLICKS, VIDEO_CALL_TO_ACTION_CLICKS, VIDEO_CARD_ACTION_HEADLINE_CLICKS, VIDEO_CHANNEL_CLICK, VIDEO_END_CAP_CLICKS, VIDEO_RELATED_VIDEOS_CLICK, VIDEO_WEBSITE_CLICKS, VISUAL_SITELINKS, WIRELESS_PLAN.

ConversionAction String SEGMENT Resource name of the conversion action.
ConversionActionCategory String SEGMENT Conversion action category.

The allowed values are ADD_TO_CART, BEGIN_CHECKOUT, BOOK_APPOINTMENT, CONTACT, CONVERTED_LEAD, DEFAULT, DOWNLOAD, ENGAGEMENT, GET_DIRECTIONS, IMPORTED_LEAD, OUTBOUND_CLICK, PAGE_VIEW, PHONE_CALL_LEAD, PURCHASE, QUALIFIED_LEAD, REQUEST_QUOTE, SIGNUP, STORE_SALE, STORE_VISIT, SUBMIT_LEAD_FORM, SUBSCRIBE_PAID, UNKNOWN, YOUTUBE_FOLLOW_ON_VIEWS.

ConversionActionName String SEGMENT Conversion action name.
ConversionAdjustment Bool SEGMENT This segments your conversion columns by the original conversion and
ConversionLagBucket String SEGMENT An enum value representing the number of days between the impression and

The allowed values are EIGHT_TO_NINE_DAYS, ELEVEN_TO_TWELVE_DAYS, FIVE_TO_SIX_DAYS, FORTY_FIVE_TO_SIXTY_DAYS, FOURTEEN_TO_TWENTY_ONE_DAYS, FOUR_TO_FIVE_DAYS, LESS_THAN_ONE_DAY, NINE_TO_TEN_DAYS, ONE_TO_TWO_DAYS, SEVEN_TO_EIGHT_DAYS, SIXTY_TO_NINETY_DAYS, SIX_TO_SEVEN_DAYS, TEN_TO_ELEVEN_DAYS, THIRTEEN_TO_FOURTEEN_DAYS, THIRTY_TO_FORTY_FIVE_DAYS, THREE_TO_FOUR_DAYS, TWELVE_TO_THIRTEEN_DAYS, TWENTY_ONE_TO_THIRTY_DAYS, TWO_TO_THREE_DAYS, UNKNOWN.

ConversionOrAdjustmentLagBucket String SEGMENT An enum value representing the number of days between the impression and

The allowed values are ADJUSTMENT_EIGHT_TO_NINE_DAYS, ADJUSTMENT_ELEVEN_TO_TWELVE_DAYS, ADJUSTMENT_FIVE_TO_SIX_DAYS, ADJUSTMENT_FORTY_FIVE_TO_SIXTY_DAYS, ADJUSTMENT_FOURTEEN_TO_TWENTY_ONE_DAYS, ADJUSTMENT_FOUR_TO_FIVE_DAYS, ADJUSTMENT_LESS_THAN_ONE_DAY, ADJUSTMENT_NINETY_TO_ONE_HUNDRED_AND_FORTY_FIVE_DAYS, ADJUSTMENT_NINE_TO_TEN_DAYS, ADJUSTMENT_ONE_TO_TWO_DAYS, ADJUSTMENT_SEVEN_TO_EIGHT_DAYS, ADJUSTMENT_SIXTY_TO_NINETY_DAYS, ADJUSTMENT_SIX_TO_SEVEN_DAYS, ADJUSTMENT_TEN_TO_ELEVEN_DAYS, ADJUSTMENT_THIRTEEN_TO_FOURTEEN_DAYS, ADJUSTMENT_THIRTY_TO_FORTY_FIVE_DAYS, ADJUSTMENT_THREE_TO_FOUR_DAYS, ADJUSTMENT_TWELVE_TO_THIRTEEN_DAYS, ADJUSTMENT_TWENTY_ONE_TO_THIRTY_DAYS, ADJUSTMENT_TWO_TO_THREE_DAYS, ADJUSTMENT_UNKNOWN, CONVERSION_EIGHT_TO_NINE_DAYS, CONVERSION_ELEVEN_TO_TWELVE_DAYS, CONVERSION_FIVE_TO_SIX_DAYS, CONVERSION_FORTY_FIVE_TO_SIXTY_DAYS, CONVERSION_FOURTEEN_TO_TWENTY_ONE_DAYS, CONVERSION_FOUR_TO_FIVE_DAYS, CONVERSION_LESS_THAN_ONE_DAY, CONVERSION_NINE_TO_TEN_DAYS, CONVERSION_ONE_TO_TWO_DAYS, CONVERSION_SEVEN_TO_EIGHT_DAYS, CONVERSION_SIXTY_TO_NINETY_DAYS, CONVERSION_SIX_TO_SEVEN_DAYS, CONVERSION_TEN_TO_ELEVEN_DAYS, CONVERSION_THIRTEEN_TO_FOURTEEN_DAYS, CONVERSION_THIRTY_TO_FORTY_FIVE_DAYS, CONVERSION_THREE_TO_FOUR_DAYS, CONVERSION_TWELVE_TO_THIRTEEN_DAYS, CONVERSION_TWENTY_ONE_TO_THIRTY_DAYS, CONVERSION_TWO_TO_THREE_DAYS, CONVERSION_UNKNOWN, UNKNOWN.

Date Date SEGMENT Date to which metrics apply.
DayOfWeek String SEGMENT Day of the week, for example, MONDAY.

The allowed values are FRIDAY, MONDAY, SATURDAY, SUNDAY, THURSDAY, TUESDAY, UNKNOWN, WEDNESDAY.

Device String SEGMENT Device to which metrics apply.

The allowed values are CONNECTED_TV, DESKTOP, MOBILE, OTHER, TABLET, UNKNOWN.

ExternalConversionSource String SEGMENT External conversion source.

The allowed values are AD_CALL_METRICS, ANALYTICS, ANALYTICS_SEARCH_ADS_360, ANDROID_FIRST_OPEN, ANDROID_IN_APP, APP_UNSPECIFIED, CLICK_TO_CALL, DISPLAY_AND_VIDEO_360_FLOODLIGHT, FIREBASE, FIREBASE_SEARCH_ADS_360, FLOODLIGHT, GOOGLE_ATTRIBUTION, GOOGLE_HOSTED, GOOGLE_PLAY, IOS_FIRST_OPEN, IOS_IN_APP, SALESFORCE, SEARCH_ADS_360, STORE_SALES, STORE_SALES_CRM, STORE_SALES_DIRECT_UPLOAD, STORE_SALES_PAYMENT_NETWORK, STORE_VISITS, THIRD_PARTY_APP_ANALYTICS, UNKNOWN, UPLOAD, UPLOAD_CALLS, WEBPAGE, WEBSITE_CALL_METRICS.

Hour Int SEGMENT Hour of day as a number between 0 and 23, inclusive.
Month Date SEGMENT Month as represented by the date of the first day of a month. Formatted as
MonthOfYear String SEGMENT Month of the year, for example, January.

The allowed values are APRIL, AUGUST, DECEMBER, FEBRUARY, JANUARY, JULY, JUNE, MARCH, MAY, NOVEMBER, OCTOBER, SEPTEMBER, UNKNOWN.

NewVersusReturningCustomers String SEGMENT This is for segmenting conversions by whether the user is a new customer

The allowed values are NEW, NEW_AND_HIGH_LTV, RETURNING, UNKNOWN.

Period String SEGMENT Predefined date range.

The allowed values are TODAY, YESTERDAY, LAST_7_DAYS, LAST_BUSINESS_WEEK, THIS_MONTH, LAST_MONTH, LAST_14_DAYS, LAST_30_DAYS, THIS_WEEK_SUN_TODAY, THIS_WEEK_MON_TODAY, LAST_WEEK_SUN_SAT, LAST_WEEK_MON_SUN.

Quarter Date SEGMENT Quarter as represented by the date of the first day of a quarter.
Slot String SEGMENT Position of the ad.

The allowed values are CONTENT, MIXED, SEARCH_OTHER, SEARCH_PARTNER_OTHER, SEARCH_PARTNER_TOP, SEARCH_SIDE, SEARCH_TOP, UNKNOWN.

TravelDestinationCity String SEGMENT The city the user is searching for at query time.
TravelDestinationCountry String SEGMENT The country the user is searching for at query time.
TravelDestinationRegion String SEGMENT The region the user is searching for at query time.
VerticalAdsEventParticipantDisplayNames String SEGMENT The display names of participants in an event listing, like performers,
VerticalAdsHotelClass Long SEGMENT The class of the hotel. Generally in the range of 1 to 5 stars, but fully
VerticalAdsListing String SEGMENT The listing associated with a listing impression, click or conversion.
VerticalAdsListingBrand String SEGMENT The brand associated with a specific listing within a Vertical Ads
VerticalAdsListingCity String SEGMENT The city where the vertical ads listing is located.
VerticalAdsListingCountry String SEGMENT The country where the vertical ads listing is located.
VerticalAdsListingRegion String SEGMENT The region where the vertical ads listing is located.
VerticalAdsPartnerAccount Long SEGMENT A specific partner account within a Partner Center (for example, Hotel
VerticalAdsVertical String SEGMENT Type of vertical ad, such as Vacation Rentals, Car Rentals, or

The allowed values are EVENTS, FLIGHTS, HOTELS, RENTAL_CARS, THINGS_TO_DO, UNKNOWN, VACATION_RENTALS.

Week Date SEGMENT Week as defined as Monday through Sunday, and represented by the date of
Year Int SEGMENT Year, formatted as yyyy.

Pseudo-Columns

Pseudo column fields are used in the WHERE clause of SELECT statements and offer more granular control over the data returned from the data source.

Name Type Description
ManagerId Long Id of the manager account on behalf of which you are requesting customer data.

CData Python Connector for Google Ads

AdGroupAd

An ad group ad.

View-Specific Information

Select

Google Ads does not allow every column to be selected in a single query, as some data conflicts if selected together. Therefore, when issuing a query that selects all columns, only the default metrics, segments, and attributes are returned. In general, these defaults are the same fields that are exposed through the Ads console. To use the nondefault fields, explicitly select them in your query.

Filters can also be used in the WHERE clause using the following supported operators: =, !=, >, >=, <, <=, LIKE, NOT LIKE, IN, NOT IN . Note that all filters must be joined by AND, as OR is not supported by the Ads API.

Columns

Name Type Behavior Description
AdGroupAdActionItems String ATTRIBUTE Output only. A list of recommendations to improve the ad strength. For
AdGroupAdAdAddedByGoogleAds Bool ATTRIBUTE Output only. Indicates if this ad was automatically added by Google Ads and not by a user. For example, this could happen when ads are automatically created as suggestions for new ads based on knowledge of how existing ads are performing.
AdGroupAdAdAppAdAppDeepLink String ATTRIBUTE An app deep link asset that may be used with the ad.
AdGroupAdAdAppAdDescriptions String ATTRIBUTE List of text assets for descriptions. When the ad serves the descriptions will be selected from this list.
AdGroupAdAdAppAdHeadlines String ATTRIBUTE List of text assets for headlines. When the ad serves the headlines will be selected from this list.
AdGroupAdAdAppAdHtml5MediaBundles String ATTRIBUTE List of media bundle assets that may be used with the ad.
AdGroupAdAdAppAdImages String ATTRIBUTE List of image assets that may be displayed with the ad.
AdGroupAdAdAppAdMandatoryAdText String ATTRIBUTE Mandatory ad text.
AdGroupAdAdAppAdYoutubeVideos String ATTRIBUTE List of YouTube video assets that may be displayed with the ad.
AdGroupAdAdAppEngagementAdDescriptions String ATTRIBUTE List of text assets for descriptions. When the ad serves the descriptions will be selected from this list.
AdGroupAdAdAppEngagementAdHeadlines String ATTRIBUTE List of text assets for headlines. When the ad serves the headlines will be selected from this list.
AdGroupAdAdAppEngagementAdImages String ATTRIBUTE List of image assets that may be displayed with the ad.
AdGroupAdAdAppEngagementAdVideos String ATTRIBUTE List of video assets that may be displayed with the ad.
AdGroupAdAdAppPreRegistrationAdDescriptions String ATTRIBUTE List of text assets for descriptions. When the ad serves the descriptions will be selected from this list.
AdGroupAdAdAppPreRegistrationAdHeadlines String ATTRIBUTE List of text assets for headlines. When the ad serves the headlines will be selected from this list.
AdGroupAdAdAppPreRegistrationAdImages String ATTRIBUTE List of image asset IDs whose images may be displayed with the ad.
AdGroupAdAdAppPreRegistrationAdYoutubeVideos String ATTRIBUTE List of YouTube video asset IDs whose videos may be displayed with the ad.
AdGroupAdAdDemandGenCarouselAdBusinessName String ATTRIBUTE Required. The Advertiser/brand name.
AdGroupAdAdDemandGenCarouselAdCallToActionText String ATTRIBUTE Call to action text.
AdGroupAdAdDemandGenCarouselAdCarouselCards String ATTRIBUTE Required. Carousel cards that will display with the ad. Min 2 max 10.
AdGroupAdAdDemandGenCarouselAdDescription String ATTRIBUTE Required. The descriptive text of the ad.
AdGroupAdAdDemandGenCarouselAdHeadline String ATTRIBUTE Required. Headline of the ad.
AdGroupAdAdDemandGenCarouselAdLogoImage String ATTRIBUTE Required. Logo image to be used in the ad. The minimum size is 128x128 and the aspect ratio must be 1:1 (+-1%).
AdGroupAdAdDemandGenMultiAssetAdBusinessName String ATTRIBUTE The Advertiser/brand name. Maximum display width is 25. Required.
AdGroupAdAdDemandGenMultiAssetAdCallToActionText String ATTRIBUTE Call to action text.
AdGroupAdAdDemandGenMultiAssetAdDescriptions String ATTRIBUTE The descriptive text of the ad. Maximum display width is 90. At least 1 and max 5 descriptions can be specified.
AdGroupAdAdDemandGenMultiAssetAdHeadlines String ATTRIBUTE Headline text asset of the ad. Maximum display width is 30. At least 1 and max 5 headlines can be specified.
AdGroupAdAdDemandGenMultiAssetAdLogoImages String ATTRIBUTE Logo image assets to be used in the ad. Valid image types are GIF, JPEG, and PNG. The minimum size is 128x128 and the aspect ratio must be 1:1 (+-1%). At least 1 and max 5 logo images can be specified.
AdGroupAdAdDemandGenMultiAssetAdMarketingImages String ATTRIBUTE Marketing image assets to be used in the ad. Valid image types are GIF, JPEG, and PNG. The minimum size is 600x314 and the aspect ratio must be 1.91:1 (+-1%). Required if square_marketing_images is not present. Combined with square_marketing_images, portrait_marketing_images, and tall_portrait_marketing_images the maximum is 20.
AdGroupAdAdDemandGenMultiAssetAdPortraitMarketingImages String ATTRIBUTE Portrait marketing image assets to be used in the ad. Valid image types are GIF, JPEG, and PNG. The minimum size is 480x600 and the aspect ratio must be 4:5 (+-1%). Combined with marketing_images, square_marketing_images, and tall_portrait_marketing_images the maximum is 20.
AdGroupAdAdDemandGenMultiAssetAdSquareMarketingImages String ATTRIBUTE Square marketing image assets to be used in the ad. Valid image types are GIF, JPEG, and PNG. The minimum size is 300x300 and the aspect ratio must be 1:1 (+-1%). Required if marketing_images is not present. Combined with marketing_images, portrait_marketing_images, and tall_portrait_marketing_images the maximum is 20.
AdGroupAdAdDemandGenMultiAssetAdTallPortraitMarketingImages String ATTRIBUTE Tall portrait marketing image assets to be used in the ad. Valid image types are GIF, JPEG, and PNG. The minimum size is 600x1067 and the aspect ratio must be 9:16 (+-1%). Combined with marketing_images, square_marketing_images, and portrait_marketing_images, the maximum is 20.
AdGroupAdAdDemandGenProductAdBreadcrumb1 String ATTRIBUTE First part of text that appears in the ad with the displayed URL.
AdGroupAdAdDemandGenProductAdBreadcrumb2 String ATTRIBUTE Second part of text that appears in the ad with the displayed URL.
AdGroupAdAdDemandGenProductAdBusinessName String ATTRIBUTE Required. The advertiser/brand name.
AdGroupAdAdDemandGenProductAdCallToAction String ATTRIBUTE Asset of type CallToActionAsset used for the 'Call To Action' button.
AdGroupAdAdDemandGenProductAdDescription String ATTRIBUTE Required. Text asset used for the description.
AdGroupAdAdDemandGenProductAdHeadline String ATTRIBUTE Required. Text asset used for the short headline.
AdGroupAdAdDemandGenProductAdLogoImage String ATTRIBUTE Required. Logo image to be used in the ad. Valid image types are GIF, JPEG, and PNG. The minimum size is 128x128 and the aspect ratio must be 1:1 (+-1%).
AdGroupAdAdDemandGenVideoResponsiveAdBreadcrumb1 String ATTRIBUTE First part of text that appears in the ad with the displayed URL.
AdGroupAdAdDemandGenVideoResponsiveAdBreadcrumb2 String ATTRIBUTE Second part of text that appears in the ad with the displayed URL.
AdGroupAdAdDemandGenVideoResponsiveAdBusinessName String ATTRIBUTE Required. The advertiser/brand name.
AdGroupAdAdDemandGenVideoResponsiveAdCallToActions String ATTRIBUTE Assets of type CallToActionAsset used for the 'Call To Action' button.
AdGroupAdAdDemandGenVideoResponsiveAdCompanionBanners String ATTRIBUTE List of image assets used for the companion banner. Currently, only a single value for the companion banner asset is supported.
AdGroupAdAdDemandGenVideoResponsiveAdDescriptions String ATTRIBUTE List of text assets used for the description.
AdGroupAdAdDemandGenVideoResponsiveAdHeadlines String ATTRIBUTE List of text assets used for the short headline.
AdGroupAdAdDemandGenVideoResponsiveAdLogoImages String ATTRIBUTE Logo image to be used in the ad. Valid image types are GIF, JPEG, and PNG. The minimum size is 128x128 and the aspect ratio must be 1:1 (+-1%).
AdGroupAdAdDemandGenVideoResponsiveAdLongHeadlines String ATTRIBUTE List of text assets used for the long headline.
AdGroupAdAdDemandGenVideoResponsiveAdVideos String ATTRIBUTE List of YouTube video assets used for the ad.
AdGroupAdAdDevicePreference String ATTRIBUTE The device preference for the ad. You can only specify a preference for mobile devices. When this preference is set the ad will be preferred over other ads when being displayed on a mobile device. The ad can still be displayed on other device types, for example, if no other ads are available. If unspecified (no device preference), all devices are targeted. This is only supported by some ad types.

The allowed values are CONNECTED_TV, DESKTOP, MOBILE, OTHER, TABLET, UNKNOWN.

AdGroupAdAdDisplayUploadAdDisplayUploadProductType String ATTRIBUTE The product type of this ad. See comments on the enum for details.

The allowed values are DYNAMIC_HTML5_CUSTOM_AD, DYNAMIC_HTML5_EDUCATION_AD, DYNAMIC_HTML5_FLIGHT_AD, DYNAMIC_HTML5_HOTEL_AD, DYNAMIC_HTML5_HOTEL_RENTAL_AD, DYNAMIC_HTML5_JOB_AD, DYNAMIC_HTML5_LOCAL_AD, DYNAMIC_HTML5_REAL_ESTATE_AD, DYNAMIC_HTML5_TRAVEL_AD, HTML5_UPLOAD_AD, UNKNOWN.

AdGroupAdAdDisplayUploadAdMediaBundle String ATTRIBUTE A media bundle asset to be used in the ad. For information about the media bundle for HTML5_UPLOAD_AD, see https://support.google.com/google-ads/answer/1722096 Media bundles that are part of dynamic product types use a special format that needs to be created through the Google Web Designer. See https://support.google.com/webdesigner/answer/7543898 for more information.
AdGroupAdAdDisplayUrl String ATTRIBUTE The URL that appears in the ad description for some ad formats.
AdGroupAdAdExpandedDynamicSearchAdDescription String ATTRIBUTE The description of the ad.
AdGroupAdAdExpandedDynamicSearchAdDescription2 String ATTRIBUTE The second description of the ad.
AdGroupAdAdExpandedTextAdDescription String ATTRIBUTE The description of the ad.
AdGroupAdAdExpandedTextAdDescription2 String ATTRIBUTE The second description of the ad.
AdGroupAdAdExpandedTextAdHeadlinePart1 String ATTRIBUTE The first part of the ad's headline.
AdGroupAdAdExpandedTextAdHeadlinePart2 String ATTRIBUTE The second part of the ad's headline.
AdGroupAdAdExpandedTextAdHeadlinePart3 String ATTRIBUTE The third part of the ad's headline.
AdGroupAdAdExpandedTextAdPath1 String ATTRIBUTE The text that can appear alongside the ad's displayed URL.
AdGroupAdAdExpandedTextAdPath2 String ATTRIBUTE Additional text that can appear alongside the ad's displayed URL.
AdGroupAdAdFinalAppUrls String ATTRIBUTE A list of final app URLs that will be used on mobile if the user has the specific app installed.
AdGroupAdAdFinalMobileUrls String ATTRIBUTE The list of possible final mobile URLs after all cross-domain redirects for the ad.
AdGroupAdAdFinalUrlSuffix String ATTRIBUTE The suffix to use when constructing a final URL.
AdGroupAdAdFinalUrls String ATTRIBUTE The list of possible final URLs after all cross-domain redirects for the ad.
AdGroupAdAdHotelAd String ATTRIBUTE Details pertaining to a hotel ad.
AdGroupAdAdId Long ATTRIBUTE Output only. The ID of the ad.
AdGroupAdAdImageAdImageAssetAsset String ATTRIBUTE The Asset resource name of this image.
AdGroupAdAdImageAdImageUrl String ATTRIBUTE URL of the full size image.
AdGroupAdAdImageAdMimeType String ATTRIBUTE The mime type of the image.

The allowed values are AUDIO_MP3, AUDIO_WAV, FLASH, HTML5_AD_ZIP, IMAGE_GIF, IMAGE_JPEG, IMAGE_PNG, MSEXCEL, MSWORD, PDF, RTF, TEXT_HTML, UNKNOWN.

AdGroupAdAdImageAdName String ATTRIBUTE The name of the image. If the image was created from a MediaFile, this is the MediaFile's name. If the image was created from bytes, this is empty.
AdGroupAdAdImageAdPixelHeight Long ATTRIBUTE Height in pixels of the full size image.
AdGroupAdAdImageAdPixelWidth Long ATTRIBUTE Width in pixels of the full size image.
AdGroupAdAdImageAdPreviewImageUrl String ATTRIBUTE URL of the preview size image.
AdGroupAdAdImageAdPreviewPixelHeight Long ATTRIBUTE Height in pixels of the preview size image.
AdGroupAdAdImageAdPreviewPixelWidth Long ATTRIBUTE Width in pixels of the preview size image.
AdGroupAdAdLegacyAppInstallAd String ATTRIBUTE Immutable. Details pertaining to a legacy app install ad.
AdGroupAdAdLegacyResponsiveDisplayAdAccentColor String ATTRIBUTE The accent color of the ad in hexadecimal, for example, #ffffff for white. If one of main_color and accent_color is set, the other is required as well.
AdGroupAdAdLegacyResponsiveDisplayAdAllowFlexibleColor Bool ATTRIBUTE Advertiser's consent to allow flexible color. When true, the ad may be served with different color if necessary. When false, the ad will be served with the specified colors or a neutral color. The default value is true. Must be true if main_color and accent_color are not set.
AdGroupAdAdLegacyResponsiveDisplayAdBusinessName String ATTRIBUTE The business name in the ad.
AdGroupAdAdLegacyResponsiveDisplayAdCallToActionText String ATTRIBUTE The call-to-action text for the ad.
AdGroupAdAdLegacyResponsiveDisplayAdDescription String ATTRIBUTE The description of the ad.
AdGroupAdAdLegacyResponsiveDisplayAdFormatSetting String ATTRIBUTE Specifies which format the ad will be served in. Default is ALL_FORMATS.

The allowed values are ALL_FORMATS, NATIVE, NON_NATIVE, UNKNOWN.

AdGroupAdAdLegacyResponsiveDisplayAdLogoImage String ATTRIBUTE The MediaFile resource name of the logo image used in the ad.
AdGroupAdAdLegacyResponsiveDisplayAdLongHeadline String ATTRIBUTE The long version of the ad's headline.
AdGroupAdAdLegacyResponsiveDisplayAdMainColor String ATTRIBUTE The main color of the ad in hexadecimal, for example, #ffffff for white. If one of main_color and accent_color is set, the other is required as well.
AdGroupAdAdLegacyResponsiveDisplayAdMarketingImage String ATTRIBUTE The MediaFile resource name of the marketing image used in the ad.
AdGroupAdAdLegacyResponsiveDisplayAdPricePrefix String ATTRIBUTE Prefix before price. For example, 'as low as'.
AdGroupAdAdLegacyResponsiveDisplayAdPromoText String ATTRIBUTE Promotion text used for dynamic formats of responsive ads. For example 'Free two-day shipping'.
AdGroupAdAdLegacyResponsiveDisplayAdShortHeadline String ATTRIBUTE The short version of the ad's headline.
AdGroupAdAdLegacyResponsiveDisplayAdSquareLogoImage String ATTRIBUTE The MediaFile resource name of the square logo image used in the ad.
AdGroupAdAdLegacyResponsiveDisplayAdSquareMarketingImage String ATTRIBUTE The MediaFile resource name of the square marketing image used in the ad.
AdGroupAdAdLocalAdCallToActions String ATTRIBUTE List of text assets for call-to-actions. When the ad serves the call-to-actions will be selected from this list. At least 1 and at most 5 call-to-actions must be specified.
AdGroupAdAdLocalAdDescriptions String ATTRIBUTE List of text assets for descriptions. When the ad serves the descriptions will be selected from this list. At least 1 and at most 5 descriptions must be specified.
AdGroupAdAdLocalAdHeadlines String ATTRIBUTE List of text assets for headlines. When the ad serves the headlines will be selected from this list. At least 1 and at most 5 headlines must be specified.
AdGroupAdAdLocalAdLogoImages String ATTRIBUTE List of logo image assets that may be displayed with the ad. The images must be 128x128 pixels and not larger than 120KB. At least 1 and at most 5 image assets must be specified.
AdGroupAdAdLocalAdMarketingImages String ATTRIBUTE List of marketing image assets that may be displayed with the ad. The images must be 314x600 pixels or 320x320 pixels. At least 1 and at most 20 image assets must be specified.
AdGroupAdAdLocalAdPath1 String ATTRIBUTE First part of optional text that can be appended to the URL in the ad.
AdGroupAdAdLocalAdPath2 String ATTRIBUTE Second part of optional text that can be appended to the URL in the ad. This field can only be set when path1 is also set.
AdGroupAdAdLocalAdVideos String ATTRIBUTE List of YouTube video assets that may be displayed with the ad. At least 1 and at most 20 video assets must be specified.
AdGroupAdAdName String ATTRIBUTE Immutable. The name of the ad. This is only used to be able to identify the ad. It does not need to be unique and does not affect the served ad. The name field is currently only supported for DisplayUploadAd, ImageAd, LegacyAppInstallAd, ShoppingComparisonListingAd, VideoAd, VideoResponsiveAd and DemandGen ads.
AdGroupAdAdResourceName String ATTRIBUTE Immutable. The resource name of the ad. Ad resource names have the form: customers/{customer_id}/ads/{ad_id}
AdGroupAdAdResponsiveDisplayAdAccentColor String ATTRIBUTE The accent color of the ad in hexadecimal, for example, #ffffff for white. If one of main_color and accent_color is set, the other is required as well.
AdGroupAdAdResponsiveDisplayAdAllowFlexibleColor Bool ATTRIBUTE Advertiser's consent to allow flexible color. When true, the ad may be served with different color if necessary. When false, the ad will be served with the specified colors or a neutral color. The default value is true. Must be true if main_color and accent_color are not set.
AdGroupAdAdResponsiveDisplayAdBusinessName String ATTRIBUTE The advertiser/brand name. Maximum display width is 25.
AdGroupAdAdResponsiveDisplayAdCallToActionText String ATTRIBUTE The call-to-action text for the ad. Maximum display width is 30.
AdGroupAdAdResponsiveDisplayAdControlSpecEnableAssetEnhancements Bool ATTRIBUTE Whether the advertiser has opted into the asset enhancements feature.
AdGroupAdAdResponsiveDisplayAdControlSpecEnableAutogenVideo Bool ATTRIBUTE Whether the advertiser has opted into auto-gen video feature.
AdGroupAdAdResponsiveDisplayAdDescriptions String ATTRIBUTE Descriptive texts for the ad. The maximum length is 90 characters. At least 1 and max 5 headlines can be specified.
AdGroupAdAdResponsiveDisplayAdFormatSetting String ATTRIBUTE Specifies which format the ad will be served in. Default is ALL_FORMATS.

The allowed values are ALL_FORMATS, NATIVE, NON_NATIVE, UNKNOWN.

AdGroupAdAdResponsiveDisplayAdHeadlines String ATTRIBUTE Short format headlines for the ad. The maximum length is 30 characters. At least 1 and max 5 headlines can be specified.
AdGroupAdAdResponsiveDisplayAdLogoImages String ATTRIBUTE Logo images to be used in the ad. Valid image types are GIF, JPEG, and PNG. The minimum size is 512x128 and the aspect ratio must be 4:1 (+-1%). Combined with square_logo_images, the maximum is 5.
AdGroupAdAdResponsiveDisplayAdLongHeadline String ATTRIBUTE A required long format headline. The maximum length is 90 characters.
AdGroupAdAdResponsiveDisplayAdMainColor String ATTRIBUTE The main color of the ad in hexadecimal, for example, #ffffff for white. If one of main_color and accent_color is set, the other is required as well.
AdGroupAdAdResponsiveDisplayAdMarketingImages String ATTRIBUTE Marketing images to be used in the ad. Valid image types are GIF, JPEG, and PNG. The minimum size is 600x314 and the aspect ratio must be 1.91:1 (+-1%). At least one marketing_image is required. Combined with square_marketing_images, the maximum is 15.
AdGroupAdAdResponsiveDisplayAdPricePrefix String ATTRIBUTE Prefix before price. For example, 'as low as'.
AdGroupAdAdResponsiveDisplayAdPromoText String ATTRIBUTE Promotion text used for dynamic formats of responsive ads. For example 'Free two-day shipping'.
AdGroupAdAdResponsiveDisplayAdSquareLogoImages String ATTRIBUTE Square logo images to be used in the ad. Valid image types are GIF, JPEG, and PNG. The minimum size is 128x128 and the aspect ratio must be 1:1 (+-1%). Combined with logo_images, the maximum is 5.
AdGroupAdAdResponsiveDisplayAdSquareMarketingImages String ATTRIBUTE Square marketing images to be used in the ad. Valid image types are GIF, JPEG, and PNG. The minimum size is 300x300 and the aspect ratio must be 1:1 (+-1%). At least one square marketing_image is required. Combined with marketing_images, the maximum is 15.
AdGroupAdAdResponsiveDisplayAdYoutubeVideos String ATTRIBUTE Optional YouTube videos for the ad. A maximum of 5 videos can be specified.
AdGroupAdAdResponsiveSearchAdDescriptions String ATTRIBUTE List of text assets for descriptions. When the ad serves the descriptions will be selected from this list.
AdGroupAdAdResponsiveSearchAdHeadlines String ATTRIBUTE List of text assets for headlines. When the ad serves the headlines will be selected from this list.
AdGroupAdAdResponsiveSearchAdPath1 String ATTRIBUTE First part of text that can be appended to the URL in the ad.
AdGroupAdAdResponsiveSearchAdPath2 String ATTRIBUTE Second part of text that can be appended to the URL in the ad. This field can only be set when path1 is also set.
AdGroupAdAdShoppingComparisonListingAdHeadline String ATTRIBUTE Headline of the ad. This field is required. Allowed length is between 25 and 45 characters.
AdGroupAdAdShoppingProductAd String ATTRIBUTE Details pertaining to a Shopping product ad.
AdGroupAdAdShoppingSmartAd String ATTRIBUTE Details pertaining to a Smart Shopping ad.
AdGroupAdAdSmartCampaignAdDescriptions String ATTRIBUTE List of text assets, each of which corresponds to a description when the ad serves. This list consists of a minimum of 2 and up to 4 text assets.
AdGroupAdAdSmartCampaignAdHeadlines String ATTRIBUTE List of text assets, each of which corresponds to a headline when the ad serves. This list consists of a minimum of 3 and up to 15 text assets.
AdGroupAdAdSystemManagedResourceSource String ATTRIBUTE Output only. If this ad is system managed, then this field will indicate the source. This field is read-only.

The allowed values are AD_VARIATIONS, UNKNOWN.

AdGroupAdAdTextAdDescription1 String ATTRIBUTE The first line of the ad's description.
AdGroupAdAdTextAdDescription2 String ATTRIBUTE The second line of the ad's description.
AdGroupAdAdTextAdHeadline String ATTRIBUTE The headline of the ad.
AdGroupAdAdTrackingUrlTemplate String ATTRIBUTE The URL template for constructing a tracking URL.
AdGroupAdAdTravelAd String ATTRIBUTE Details pertaining to a travel ad.
AdGroupAdAdType String ATTRIBUTE Output only. The type of ad.

The allowed values are APP_AD, APP_ENGAGEMENT_AD, APP_PRE_REGISTRATION_AD, CALL_AD, DEMAND_GEN_CAROUSEL_AD, DEMAND_GEN_MULTI_ASSET_AD, DEMAND_GEN_PRODUCT_AD, DEMAND_GEN_VIDEO_RESPONSIVE_AD, DYNAMIC_HTML5_AD, EXPANDED_DYNAMIC_SEARCH_AD, EXPANDED_TEXT_AD, HOTEL_AD, HTML5_UPLOAD_AD, IMAGE_AD, IN_FEED_VIDEO_AD, LEGACY_APP_INSTALL_AD, LEGACY_RESPONSIVE_DISPLAY_AD, LOCAL_AD, RESPONSIVE_DISPLAY_AD, RESPONSIVE_SEARCH_AD, SHOPPING_COMPARISON_LISTING_AD, SHOPPING_PRODUCT_AD, SHOPPING_SMART_AD, SMART_CAMPAIGN_AD, TEXT_AD, TRAVEL_AD, UNKNOWN, VIDEO_AD, VIDEO_BUMPER_AD, VIDEO_NON_SKIPPABLE_IN_STREAM_AD, VIDEO_RESPONSIVE_AD, VIDEO_TRUEVIEW_IN_STREAM_AD, YOUTUBE_AUDIO_AD.

AdGroupAdAdUrlCollections String ATTRIBUTE Additional URLs for the ad that are tagged with a unique identifier that can be referenced from other fields in the ad.
AdGroupAdAdUrlCustomParameters String ATTRIBUTE The list of mappings that can be used to substitute custom parameter tags in a tracking_url_template, final_urls, or mobile_final_urls. For mutates, use url custom parameter operations.
AdGroupAdAdVideoAdAudio String ATTRIBUTE YouTube Audio ad format.
AdGroupAdAdVideoAdBumperActionButtonLabel String ATTRIBUTE Label on the 'Call To Action' button taking the user to the video ad's final URL.
AdGroupAdAdVideoAdBumperActionHeadline String ATTRIBUTE Additional text displayed with the CTA (call-to-action) button to give context and encourage clicking on the button.
AdGroupAdAdVideoAdBumperCompanionBannerAsset String ATTRIBUTE The Asset resource name of this image.
AdGroupAdAdVideoAdInFeedDescription1 String ATTRIBUTE First text line for the ad.
AdGroupAdAdVideoAdInFeedDescription2 String ATTRIBUTE Second text line for the ad.
AdGroupAdAdVideoAdInFeedHeadline String ATTRIBUTE The headline of the ad.
AdGroupAdAdVideoAdInFeedThumbnail String ATTRIBUTE Video thumbnail image to use.

The allowed values are DEFAULT_THUMBNAIL, THUMBNAIL_1, THUMBNAIL_2, THUMBNAIL_3, UNKNOWN.

AdGroupAdAdVideoAdInStreamActionButtonLabel String ATTRIBUTE Label on the CTA (call-to-action) button taking the user to the video ad's final URL. Required for TrueView for action campaigns, optional otherwise.
AdGroupAdAdVideoAdInStreamActionHeadline String ATTRIBUTE Additional text displayed with the CTA (call-to-action) button to give context and encourage clicking on the button.
AdGroupAdAdVideoAdInStreamCompanionBannerAsset String ATTRIBUTE The Asset resource name of this image.
AdGroupAdAdVideoAdNonSkippableActionButtonLabel String ATTRIBUTE Label on the 'Call To Action' button taking the user to the video ad's final URL.
AdGroupAdAdVideoAdNonSkippableActionHeadline String ATTRIBUTE Additional text displayed with the 'Call To Action' button to give context and encourage clicking on the button.
AdGroupAdAdVideoAdNonSkippableCompanionBannerAsset String ATTRIBUTE The Asset resource name of this image.
AdGroupAdAdVideoAdOutStreamDescription String ATTRIBUTE The description line.
AdGroupAdAdVideoAdOutStreamHeadline String ATTRIBUTE The headline of the ad.
AdGroupAdAdVideoAdVideoAsset String ATTRIBUTE The Asset resource name of this video.
AdGroupAdAdVideoResponsiveAdBreadcrumb1 String ATTRIBUTE First part of text that appears in the ad with the displayed URL.
AdGroupAdAdVideoResponsiveAdBreadcrumb2 String ATTRIBUTE Second part of text that appears in the ad with the displayed URL.
AdGroupAdAdVideoResponsiveAdBusinessName String ATTRIBUTE Optional advertiser/brand name. Maximum display width is 25 characters.
AdGroupAdAdVideoResponsiveAdCallToActions String ATTRIBUTE List of text assets used for the button, for example, the 'Call To Action' button. Currently, only a single value for the button is supported.
AdGroupAdAdVideoResponsiveAdCompanionBanners String ATTRIBUTE List of image assets used for the companion banner. Currently, only a single value for the companion banner asset is supported.
AdGroupAdAdVideoResponsiveAdDescriptions String ATTRIBUTE List of text assets used for the description. Currently, only a single value for the description is supported.
AdGroupAdAdVideoResponsiveAdHeadlines String ATTRIBUTE List of text assets used for the short headline. Currently, only a single value for the short headline is supported.
AdGroupAdAdVideoResponsiveAdLogoImages String ATTRIBUTE Optional logo image to be used in the ad. The minimum size is 128x128 and the aspect ratio must be 1:1(+-1%).
AdGroupAdAdVideoResponsiveAdLongHeadlines String ATTRIBUTE List of text assets used for the long headline. Currently, only a single value for the long headline is supported.
AdGroupAdAdVideoResponsiveAdVideos String ATTRIBUTE List of YouTube video assets used for the ad. Currently, only a single value for the YouTube video asset is supported.
AdGroupAdAdGroup String ATTRIBUTE Immutable. The ad group to which the ad belongs.
AdGroupAdAdGroupAdAssetAutomationSettings String ATTRIBUTE Settings that control the types of asset automation. See the
AdGroupAdAdStrength String ATTRIBUTE Output only. Overall ad strength for this ad group ad.

The allowed values are AVERAGE, EXCELLENT, GOOD, NO_ADS, PENDING, POOR, UNKNOWN.

AdGroupAdEndDateTime Datetime ATTRIBUTE The last day and time when ad group ad serves. This is added on top of
AdGroupAdLabels String ATTRIBUTE Output only. The resource names of labels attached to this ad group ad.
AdGroupAdPolicySummaryApprovalStatus String ATTRIBUTE Output only. The overall approval status of this ad, calculated based on the status of its individual policy topic entries.

The allowed values are APPROVED, APPROVED_LIMITED, AREA_OF_INTEREST_ONLY, DISAPPROVED, UNKNOWN.

AdGroupAdPolicySummaryPolicyTopicEntries String ATTRIBUTE Output only. The list of policy findings for this ad.
AdGroupAdPolicySummaryReviewStatus String ATTRIBUTE Output only. Where in the review process this ad is.

The allowed values are ELIGIBLE_MAY_SERVE, REVIEWED, REVIEW_IN_PROGRESS, UNDER_APPEAL, UNKNOWN.

AdGroupAdPrimaryStatus String ATTRIBUTE Output only. Provides aggregated view into why an ad group ad is not

The allowed values are ELIGIBLE, LIMITED, NOT_ELIGIBLE, PAUSED, PENDING, REMOVED, UNKNOWN.

AdGroupAdPrimaryStatusReasons String ATTRIBUTE Output only. Provides reasons for why an ad group ad is not serving or not

The allowed values are AD_GROUP_AD_APPROVED_LABELED, AD_GROUP_AD_AREA_OF_INTEREST_ONLY, AD_GROUP_AD_DISAPPROVED, AD_GROUP_AD_NO_ADS, AD_GROUP_AD_PAUSED, AD_GROUP_AD_POOR_QUALITY, AD_GROUP_AD_REMOVED, AD_GROUP_AD_UNDER_APPEAL, AD_GROUP_AD_UNDER_REVIEW, AD_GROUP_PAUSED, AD_GROUP_REMOVED, CAMPAIGN_ENDED, CAMPAIGN_PAUSED, CAMPAIGN_PENDING, CAMPAIGN_REMOVED, UNKNOWN.

AdGroupAdResourceName String ATTRIBUTE Immutable. The resource name of the ad.
AdGroupAdStartDateTime Datetime ATTRIBUTE The date and time when ad group ad starts serving. This is added on top of
AdGroupAdStatus String ATTRIBUTE The status of the ad.

The allowed values are ENABLED, PAUSED, REMOVED, UNKNOWN.

CustomerId Long ATTRIBUTE Output only. The ID of the customer.
AbsoluteTopImpressionPercentage Double METRIC Search absolute top impression share is the percentage of your Search ad
ActiveViewAudibilityInvalidGivtMeasurableImpressionsRate Double METRIC The number of impressions for which Active View could measure audibility,
ActiveViewAudibilityInvalidMeasurableImpressionsRate Double METRIC The number of impressions for which Active View could measure audibility,
ActiveViewAudibilityMeasurableImpressions Long METRIC The number of impressions for which Active View could measure if the ad was
ActiveViewAudibilityMeasurableImpressionsRate Double METRIC The number of impressions for which Active View could measure if the ad was
ActiveViewAudibleImpressions Long METRIC The number of impressions that were audible (volume > 0%) at any point
ActiveViewAudibleImpressionsRate Double METRIC The number of impressions that were audible (volume > 0%) at any point
ActiveViewAudibleQuartileP100Rate Double METRIC The number of impressions that were audible at the fourth quartile of the
ActiveViewAudibleQuartileP25Rate Double METRIC The number of impressions that were audible at the first quartile of the
ActiveViewAudibleQuartileP50Rate Double METRIC The number of impressions that were audible at the second quartile of the
ActiveViewAudibleQuartileP75Rate Double METRIC The number of impressions that were audible at the third quartile of the
ActiveViewAudibleThirtySecondsImpressions Long METRIC The number of impressions that were audible for at least 30 seconds
ActiveViewAudibleThirtySecondsImpressionsRate Double METRIC The number of impressions that were audible for at least 30 seconds
ActiveViewAudibleTwoSecondsImpressions Long METRIC The number of impressions that were audible for at least 2 seconds
ActiveViewAudibleTwoSecondsImpressionsRate Double METRIC The number of impressions that were audible for at least 2 seconds
ActiveViewCpm Double METRIC Average cost of viewable impressions (active_view_impressions).
ActiveViewCtr Double METRIC Active view measurable clicks divided by active view viewable impressions.
ActiveViewImpressions Long METRIC A measurement of how often your ad has become viewable on a Display
ActiveViewMeasurability Double METRIC The ratio of impressions that could be measured by Active View over the
ActiveViewMeasurableCostMicros Long METRIC The cost of the impressions you received that were measurable by Active
ActiveViewMeasurableImpressions Long METRIC The number of times your ads are appearing on placements in positions
ActiveViewViewability Double METRIC The percentage of time when your ad appeared on an Active View enabled site
AllConversions Double METRIC The total number of conversions. This includes all conversions regardless
AllConversionsByConversionDate Double METRIC The total number of conversions. This includes all conversions regardless
AllConversionsFromInteractionsRate Double METRIC All conversions from interactions (as oppose to view through conversions)
AllConversionsValue Double METRIC The value of all conversions.
AllConversionsValueByConversionDate Double METRIC The value of all conversions. When this column is selected with date, the
AllNewCustomerLifetimeValue Double METRIC All of new customers' lifetime conversion value. If you have set up
AverageCartSize Double METRIC Average cart size is the average number of products in each order
AverageCost Double METRIC The average amount you pay per interaction. This amount is the total cost
AverageCpc Double METRIC The total cost of all clicks divided by the total number of clicks
AverageCpe Double METRIC The average amount that you've been charged for an ad engagement. This
AverageCpm Double METRIC Average cost-per-thousand impressions (CPM).
AverageOrderValueMicros Long METRIC Average order value is the average revenue you made per order attributed to
AveragePageViews Double METRIC Average number of pages viewed per session.
AverageTimeOnSite Double METRIC Total duration of all sessions (in seconds) / number of sessions. Imported
AverageVideoWatchTimeDurationMillis Long METRIC Average video watch time duration in milliseconds for video impressions
BounceRate Double METRIC Percentage of clicks where the user only visited a single page on your
Clicks Long METRIC The number of clicks.
Conversions Double METRIC The number of conversions. This only includes conversion actions which
ConversionsByConversionDate Double METRIC The number of conversions. This only includes conversion actions which
ConversionsFromInteractionsRate Double METRIC Conversions from interactions divided by the number of ad interactions
ConversionsValue Double METRIC The value of conversions. This only includes conversion actions which
ConversionsValueByConversionDate Double METRIC The value of conversions. This only includes conversion actions which
CostConvertedCurrencyPerPlatformComparableConversion Double METRIC The cost of the platform comparable conversion in the currency of the
CostMicros Long METRIC The sum of your cost-per-click (CPC) and cost-per-thousand impressions
CostOfGoodsSoldMicros Long METRIC Cost of goods sold (COGS) is the total cost of the products you sold in
CostPerAllConversions Double METRIC The cost of ad interactions divided by all conversions.
CostPerConversion Double METRIC The cost of ad interactions divided by conversions. This only includes
CostPerCurrentModelAttributedConversion Double METRIC The cost of ad interactions divided by current model attributed
CostPerPlatformComparableConversion Double METRIC The cost of ad interactions divided by the number of platform comparable
CrossDeviceConversions Double METRIC Conversions from when a customer clicks on a Google Ads ad on one device,
CrossDeviceConversionsValueMicros Long METRIC The sum of the value of cross-device conversions, in micros.
CrossSellCostOfGoodsSoldMicros Long METRIC Cross-sell cost of goods sold (COGS) is the total cost of products sold as
CrossSellGrossProfitMicros Long METRIC Cross-sell gross profit is the profit you made from products sold as a
CrossSellRevenueMicros Long METRIC Cross-sell revenue is the total amount you made from products sold as a
CrossSellUnitsSold Double METRIC Cross-sell units sold is the total number of products sold as a result of
Ctr Double METRIC The number of clicks your ad receives (Clicks) divided by the number
CurrentModelAttributedConversions Double METRIC Shows how your historic conversions data would look under the attribution
CurrentModelAttributedConversionsValue Double METRIC The value of current model attributed conversions. This only includes
EngagementRate Double METRIC How often people engage with your ad after it's shown to them. This is the
Engagements Long METRIC The number of engagements.
GmailForwards Long METRIC The number of times the ad was forwarded to someone else as a message.
GmailSaves Long METRIC The number of times someone has saved your Gmail ad to their inbox as a
GmailSecondaryClicks Long METRIC The number of clicks to the landing page on the expanded state of Gmail
GrossProfitMargin Double METRIC Gross profit margin is the percentage gross profit you made from orders
GrossProfitMicros Long METRIC Gross profit is the profit you made from orders attributed to your ads
Impressions Long METRIC Count of how often your ad has appeared on a search results page or
InteractionEventTypes String METRIC The types of payable and free interactions.

The allowed values are CLICK, ENGAGEMENT, NONE, UNKNOWN, VIDEO_VIEW.

InteractionRate Double METRIC How often people interact with your ad after it is shown to them.
Interactions Long METRIC The number of interactions.
LeadCostOfGoodsSoldMicros Long METRIC Lead cost of goods sold (COGS) is the total cost of products sold as a
LeadGrossProfitMicros Long METRIC Lead gross profit is the profit you made from products sold as a result of
LeadRevenueMicros Long METRIC Lead revenue is the total amount you made from products sold as a result of
LeadUnitsSold Double METRIC Lead units sold is the total number of products sold as a result of
NewCustomerLifetimeValue Double METRIC New customers' lifetime conversion value. If you have set up
Orders Double METRIC Orders is the total number of purchase conversions you received attributed
PercentNewVisitors Double METRIC Percentage of first-time sessions (from people who had never visited your
PlatformComparableConversions Double METRIC The number of platform comparable conversions. This only includes
PlatformComparableConversionsByConversionDate Double METRIC The number of platform comparable conversions. When this metric is
PlatformComparableConversionsFromInteractionsRate Double METRIC Platform comparable conversions from interactions divided by the number of
PlatformComparableConversionsFromInteractionsValuePerInteraction Double METRIC The value of platform comparable conversions from interactions divided by
PlatformComparableConversionsValue Double METRIC The value of platform comparable conversions. This only includes conversion
PlatformComparableConversionsValueByConversionDate Double METRIC The value of platform comparable conversions. When this metric is segmented
PlatformComparableConversionsValuePerCost Double METRIC The value of conversions divided by the cost of ad interactions. This only
RevenueMicros Long METRIC Revenue is the total amount you made from orders attributed to your ads.
TopImpressionPercentage Double METRIC The percent of your ad impressions that are shown adjacent to the top
TrueviewAverageCpv Double METRIC The average amount you pay each time someone views your ad.
UnitsSold Double METRIC Units sold is the total number of products sold from orders attributed to
ValuePerAllConversions Double METRIC The value of all conversions divided by the number of all conversions.
ValuePerAllConversionsByConversionDate Double METRIC The value of all conversions divided by the number of all conversions. When
ValuePerConversion Double METRIC The value of conversions divided by the number of conversions. This only
ValuePerConversionsByConversionDate Double METRIC The value of conversions divided by the number of conversions. This only
ValuePerCurrentModelAttributedConversion Double METRIC The value of current model attributed conversions divided by the number of
ValuePerPlatformComparableConversion Double METRIC The value of platform comparable conversions divided by the number of
ValuePerPlatformComparableConversionsByConversionDate Double METRIC The value of platform comparable conversions divided by the number of
VideoQuartileP100Rate Double METRIC Percentage of impressions where the viewer watched all of your video.
VideoQuartileP25Rate Double METRIC Percentage of impressions where the viewer watched 25% of your video.
VideoQuartileP50Rate Double METRIC Percentage of impressions where the viewer watched 50% of your video.
VideoQuartileP75Rate Double METRIC Percentage of impressions where the viewer watched 75% of your video.
VideoTrueviewViewRate Double METRIC The number of TrueView views your video ad receives divided by its number
VideoTrueviewViewRateInFeed Double METRIC The number of TrueView views divided by number of impressions that can
VideoTrueviewViewRateInStream Double METRIC The number of TrueView views divided by number of impressions that can
VideoTrueviewViewRateShorts Double METRIC The number of TrueView views divided by number of impressions that can
VideoTrueviewViews Long METRIC The number of TrueView views your video ads received.
VideoWatchTimeDurationMillis Long METRIC Total watch time duration in milliseconds for video impressions that
ViewThroughConversions Long METRIC The total number of view-through conversions.
AdDestinationType String SEGMENT Ad Destination type.

The allowed values are APP_DEEP_LINK, APP_STORE, LEAD_FORM, LOCATION_LISTING, MAP_DIRECTIONS, MESSAGE, NOT_APPLICABLE, PHONE_CALL, UNKNOWN, UNMODELED_FOR_CONVERSIONS, WEBSITE, YOUTUBE.

AdFormatType String SEGMENT Ad Format type.

The allowed values are AUDIO, BUMPER, INFEED, INSTREAM_NON_SKIPPABLE, INSTREAM_SKIPPABLE, MASTHEAD, OTHER, OUTSTREAM, PAUSE, SHORTS, TEXT, UNKNOWN, UNSEGMENTED, VERTICAL_ADS_BOOKING_LINK, VERTICAL_ADS_PROMOTION.

AdNetworkType String SEGMENT Ad network type.

The allowed values are CONTENT, DISCOVER, GMAIL, GOOGLE_OWNED_CHANNELS, GOOGLE_TV, MAPS, MIXED, SEARCH, SEARCH_PARTNERS, UNKNOWN, YOUTUBE.

AdSubNetworkType String SEGMENT Ad sub network type. Currently only available for ads running as part of

The allowed values are UNKNOWN, UNSEGMENTED, YOUTUBE_INFEED, YOUTUBE_INSTREAM, YOUTUBE_SHORTS.

ClickType String SEGMENT Click type.

The allowed values are AD_IMAGE, APP_DEEPLINK, BREADCRUMBS, BROADBAND_PLAN, CALLS, CALL_TRACKING, CLICK_ON_ENGAGEMENT_AD, CLICK_TO_MESSAGE_LANDING_PAGE_CLICK, CLICK_TO_MESSAGE_THIRD_PARTY_CLICK, CROSS_NETWORK, GET_DIRECTIONS, HOTEL_BOOK_ON_GOOGLE_ROOM_SELECTION, HOTEL_PRICE, LOCATION_EXPANSION, LOCATION_FORMAT_CALL, LOCATION_FORMAT_DIRECTIONS, LOCATION_FORMAT_IMAGE, LOCATION_FORMAT_LANDING_PAGE, LOCATION_FORMAT_MAP, LOCATION_FORMAT_STORE_INFO, LOCATION_FORMAT_TEXT, MOBILE_CALL_TRACKING, OFFER_PRINTS, OTHER, PRICE_EXTENSION, PRODUCT_AD_APP_DEEPLINK, PRODUCT_ASSETS, PRODUCT_EXTENSION_CLICKS, PRODUCT_LISTING_ADS_COUPON, PRODUCT_LISTING_AD_CLICKS, PRODUCT_LISTING_AD_LOCAL, PRODUCT_LISTING_AD_MULTICHANNEL_LOCAL, PRODUCT_LISTING_AD_MULTICHANNEL_ONLINE, PRODUCT_LISTING_AD_TRANSACTABLE, PROMOTION_EXTENSION, SHOPPING_COMPARISON_LISTING, SHOWCASE_AD_CATEGORY_LINK, SHOWCASE_AD_LOCAL_PRODUCT_LINK, SHOWCASE_AD_LOCAL_STOREFRONT_LINK, SHOWCASE_AD_ONLINE_PRODUCT_LINK, SITELINKS, STORE_LOCATOR, SWIPEABLE_GALLERY_AD_HEADLINE, SWIPEABLE_GALLERY_AD_SEE_MORE, SWIPEABLE_GALLERY_AD_SITELINK_FIVE, SWIPEABLE_GALLERY_AD_SITELINK_FOUR, SWIPEABLE_GALLERY_AD_SITELINK_ONE, SWIPEABLE_GALLERY_AD_SITELINK_THREE, SWIPEABLE_GALLERY_AD_SITELINK_TWO, SWIPEABLE_GALLERY_AD_SWIPES, TRAVEL_ASSETS, UNKNOWN, URL_CLICKS, VEHICLE_ASSETS, VIDEO_APP_STORE_CLICKS, VIDEO_CALL_TO_ACTION_CLICKS, VIDEO_CARD_ACTION_HEADLINE_CLICKS, VIDEO_CHANNEL_CLICK, VIDEO_END_CAP_CLICKS, VIDEO_RELATED_VIDEOS_CLICK, VIDEO_WEBSITE_CLICKS, VISUAL_SITELINKS, WIRELESS_PLAN.

ConversionAction String SEGMENT Resource name of the conversion action.
ConversionActionCategory String SEGMENT Conversion action category.

The allowed values are ADD_TO_CART, BEGIN_CHECKOUT, BOOK_APPOINTMENT, CONTACT, CONVERTED_LEAD, DEFAULT, DOWNLOAD, ENGAGEMENT, GET_DIRECTIONS, IMPORTED_LEAD, OUTBOUND_CLICK, PAGE_VIEW, PHONE_CALL_LEAD, PURCHASE, QUALIFIED_LEAD, REQUEST_QUOTE, SIGNUP, STORE_SALE, STORE_VISIT, SUBMIT_LEAD_FORM, SUBSCRIBE_PAID, UNKNOWN, YOUTUBE_FOLLOW_ON_VIEWS.

ConversionActionName String SEGMENT Conversion action name.
ConversionAdjustment Bool SEGMENT This segments your conversion columns by the original conversion and
ConversionLagBucket String SEGMENT An enum value representing the number of days between the impression and

The allowed values are EIGHT_TO_NINE_DAYS, ELEVEN_TO_TWELVE_DAYS, FIVE_TO_SIX_DAYS, FORTY_FIVE_TO_SIXTY_DAYS, FOURTEEN_TO_TWENTY_ONE_DAYS, FOUR_TO_FIVE_DAYS, LESS_THAN_ONE_DAY, NINE_TO_TEN_DAYS, ONE_TO_TWO_DAYS, SEVEN_TO_EIGHT_DAYS, SIXTY_TO_NINETY_DAYS, SIX_TO_SEVEN_DAYS, TEN_TO_ELEVEN_DAYS, THIRTEEN_TO_FOURTEEN_DAYS, THIRTY_TO_FORTY_FIVE_DAYS, THREE_TO_FOUR_DAYS, TWELVE_TO_THIRTEEN_DAYS, TWENTY_ONE_TO_THIRTY_DAYS, TWO_TO_THREE_DAYS, UNKNOWN.

ConversionOrAdjustmentLagBucket String SEGMENT An enum value representing the number of days between the impression and

The allowed values are ADJUSTMENT_EIGHT_TO_NINE_DAYS, ADJUSTMENT_ELEVEN_TO_TWELVE_DAYS, ADJUSTMENT_FIVE_TO_SIX_DAYS, ADJUSTMENT_FORTY_FIVE_TO_SIXTY_DAYS, ADJUSTMENT_FOURTEEN_TO_TWENTY_ONE_DAYS, ADJUSTMENT_FOUR_TO_FIVE_DAYS, ADJUSTMENT_LESS_THAN_ONE_DAY, ADJUSTMENT_NINETY_TO_ONE_HUNDRED_AND_FORTY_FIVE_DAYS, ADJUSTMENT_NINE_TO_TEN_DAYS, ADJUSTMENT_ONE_TO_TWO_DAYS, ADJUSTMENT_SEVEN_TO_EIGHT_DAYS, ADJUSTMENT_SIXTY_TO_NINETY_DAYS, ADJUSTMENT_SIX_TO_SEVEN_DAYS, ADJUSTMENT_TEN_TO_ELEVEN_DAYS, ADJUSTMENT_THIRTEEN_TO_FOURTEEN_DAYS, ADJUSTMENT_THIRTY_TO_FORTY_FIVE_DAYS, ADJUSTMENT_THREE_TO_FOUR_DAYS, ADJUSTMENT_TWELVE_TO_THIRTEEN_DAYS, ADJUSTMENT_TWENTY_ONE_TO_THIRTY_DAYS, ADJUSTMENT_TWO_TO_THREE_DAYS, ADJUSTMENT_UNKNOWN, CONVERSION_EIGHT_TO_NINE_DAYS, CONVERSION_ELEVEN_TO_TWELVE_DAYS, CONVERSION_FIVE_TO_SIX_DAYS, CONVERSION_FORTY_FIVE_TO_SIXTY_DAYS, CONVERSION_FOURTEEN_TO_TWENTY_ONE_DAYS, CONVERSION_FOUR_TO_FIVE_DAYS, CONVERSION_LESS_THAN_ONE_DAY, CONVERSION_NINE_TO_TEN_DAYS, CONVERSION_ONE_TO_TWO_DAYS, CONVERSION_SEVEN_TO_EIGHT_DAYS, CONVERSION_SIXTY_TO_NINETY_DAYS, CONVERSION_SIX_TO_SEVEN_DAYS, CONVERSION_TEN_TO_ELEVEN_DAYS, CONVERSION_THIRTEEN_TO_FOURTEEN_DAYS, CONVERSION_THIRTY_TO_FORTY_FIVE_DAYS, CONVERSION_THREE_TO_FOUR_DAYS, CONVERSION_TWELVE_TO_THIRTEEN_DAYS, CONVERSION_TWENTY_ONE_TO_THIRTY_DAYS, CONVERSION_TWO_TO_THREE_DAYS, CONVERSION_UNKNOWN, UNKNOWN.

Date Date SEGMENT Date to which metrics apply.
DayOfWeek String SEGMENT Day of the week, for example, MONDAY.

The allowed values are FRIDAY, MONDAY, SATURDAY, SUNDAY, THURSDAY, TUESDAY, UNKNOWN, WEDNESDAY.

Device String SEGMENT Device to which metrics apply.

The allowed values are CONNECTED_TV, DESKTOP, MOBILE, OTHER, TABLET, UNKNOWN.

ExternalConversionSource String SEGMENT External conversion source.

The allowed values are AD_CALL_METRICS, ANALYTICS, ANALYTICS_SEARCH_ADS_360, ANDROID_FIRST_OPEN, ANDROID_IN_APP, APP_UNSPECIFIED, CLICK_TO_CALL, DISPLAY_AND_VIDEO_360_FLOODLIGHT, FIREBASE, FIREBASE_SEARCH_ADS_360, FLOODLIGHT, GOOGLE_ATTRIBUTION, GOOGLE_HOSTED, GOOGLE_PLAY, IOS_FIRST_OPEN, IOS_IN_APP, SALESFORCE, SEARCH_ADS_360, STORE_SALES, STORE_SALES_CRM, STORE_SALES_DIRECT_UPLOAD, STORE_SALES_PAYMENT_NETWORK, STORE_VISITS, THIRD_PARTY_APP_ANALYTICS, UNKNOWN, UPLOAD, UPLOAD_CALLS, WEBPAGE, WEBSITE_CALL_METRICS.

KeywordAdGroupCriterion String SEGMENT The AdGroupCriterion resource name.
KeywordInfoMatchType String SEGMENT The match type of the keyword.

The allowed values are BROAD, EXACT, PHRASE, UNKNOWN.

KeywordInfoText String SEGMENT The text of the keyword (at most 80 characters and 10 words).
Month Date SEGMENT Month as represented by the date of the first day of a month. Formatted as
MonthOfYear String SEGMENT Month of the year, for example, January.

The allowed values are APRIL, AUGUST, DECEMBER, FEBRUARY, JANUARY, JULY, JUNE, MARCH, MAY, NOVEMBER, OCTOBER, SEPTEMBER, UNKNOWN.

NewVersusReturningCustomers String SEGMENT This is for segmenting conversions by whether the user is a new customer

The allowed values are NEW, NEW_AND_HIGH_LTV, RETURNING, UNKNOWN.

Period String SEGMENT Predefined date range.

The allowed values are TODAY, YESTERDAY, LAST_7_DAYS, LAST_BUSINESS_WEEK, THIS_MONTH, LAST_MONTH, LAST_14_DAYS, LAST_30_DAYS, THIS_WEEK_SUN_TODAY, THIS_WEEK_MON_TODAY, LAST_WEEK_SUN_SAT, LAST_WEEK_MON_SUN.

Quarter Date SEGMENT Quarter as represented by the date of the first day of a quarter.
Slot String SEGMENT Position of the ad.

The allowed values are CONTENT, MIXED, SEARCH_OTHER, SEARCH_PARTNER_OTHER, SEARCH_PARTNER_TOP, SEARCH_SIDE, SEARCH_TOP, UNKNOWN.

Week Date SEGMENT Week as defined as Monday through Sunday, and represented by the date of
Year Int SEGMENT Year, formatted as yyyy.

Pseudo-Columns

Pseudo column fields are used in the WHERE clause of SELECT statements and offer more granular control over the data returned from the data source.

Name Type Description
ManagerId Long Id of the manager account on behalf of which you are requesting customer data.

CData Python Connector for Google Ads

AdGroupAdAssetCombinationView

A view on the usage of ad group ad asset combination.

Columns

Name Type Behavior Description
AdGroupAdAssetCombinationViewEnabled Bool ATTRIBUTE Output only. The status between the asset combination and the latest
AdGroupAdAssetCombinationViewResourceName String ATTRIBUTE Output only. The resource name of the ad group ad asset combination view.
AdGroupAdAssetCombinationViewServedAssets String ATTRIBUTE Output only. Served assets.
CustomerId Long ATTRIBUTE Output only. The ID of the customer.
Impressions Long METRIC Count of how often your ad has appeared on a search results page or
AdNetworkType String SEGMENT Ad network type.

The allowed values are CONTENT, DISCOVER, GMAIL, GOOGLE_OWNED_CHANNELS, GOOGLE_TV, MAPS, MIXED, SEARCH, SEARCH_PARTNERS, UNKNOWN, YOUTUBE.

AdSubNetworkType String SEGMENT Ad sub network type. Currently only available for ads running as part of

The allowed values are UNKNOWN, UNSEGMENTED, YOUTUBE_INFEED, YOUTUBE_INSTREAM, YOUTUBE_SHORTS.

Date Date SEGMENT Date to which metrics apply.
DayOfWeek String SEGMENT Day of the week, for example, MONDAY.

The allowed values are FRIDAY, MONDAY, SATURDAY, SUNDAY, THURSDAY, TUESDAY, UNKNOWN, WEDNESDAY.

Month Date SEGMENT Month as represented by the date of the first day of a month. Formatted as
Period String SEGMENT Predefined date range.

The allowed values are TODAY, YESTERDAY, LAST_7_DAYS, LAST_BUSINESS_WEEK, THIS_MONTH, LAST_MONTH, LAST_14_DAYS, LAST_30_DAYS, THIS_WEEK_SUN_TODAY, THIS_WEEK_MON_TODAY, LAST_WEEK_SUN_SAT, LAST_WEEK_MON_SUN.

Quarter Date SEGMENT Quarter as represented by the date of the first day of a quarter.
Slot String SEGMENT Position of the ad.

The allowed values are CONTENT, MIXED, SEARCH_OTHER, SEARCH_PARTNER_OTHER, SEARCH_PARTNER_TOP, SEARCH_SIDE, SEARCH_TOP, UNKNOWN.

Week Date SEGMENT Week as defined as Monday through Sunday, and represented by the date of
Year Int SEGMENT Year, formatted as yyyy.

Pseudo-Columns

Pseudo column fields are used in the WHERE clause of SELECT statements and offer more granular control over the data returned from the data source.

Name Type Description
ManagerId Long Id of the manager account on behalf of which you are requesting customer data.

CData Python Connector for Google Ads

AdGroupAdAssetView

Represents a link between an AdGroupAd and an Asset.

View-Specific Information

Select

Google Ads does not allow every column to be selected in a single query, as some data conflicts if selected together. Therefore, when issuing a query that selects all columns, only the default metrics, segments, and attributes are returned. In general, these defaults are the same fields that are exposed through the Ads console. To use the nondefault fields, explicitly select them in your query.

Filters can also be used in the WHERE clause using the following supported operators: =, !=, >, >=, <, <=, LIKE, NOT LIKE, IN, NOT IN . Note that all filters must be joined by AND, as OR is not supported by the Ads API.

Columns

Name Type Behavior Description
AdGroupAdAssetViewAdGroupAd String ATTRIBUTE Output only. The ad group ad to which the asset is linked.
AdGroupAdAssetViewAsset String ATTRIBUTE Output only. The asset which is linked to the ad group ad.
AdGroupAdAssetViewEnabled Bool ATTRIBUTE Output only. The status between the asset and the latest version of the ad.
AdGroupAdAssetViewFieldType String ATTRIBUTE Output only. Role that the asset takes in the ad.

The allowed values are AD_IMAGE, BOOK_ON_GOOGLE, BUSINESS_LOGO, BUSINESS_MESSAGE, BUSINESS_NAME, CALL, CALLOUT, CALL_TO_ACTION, CALL_TO_ACTION_SELECTION, DEMAND_GEN_CAROUSEL_CARD, DESCRIPTION, HEADLINE, HOTEL_CALLOUT, HOTEL_PROPERTY, LANDING_PAGE_PREVIEW, LANDSCAPE_LOGO, LEAD_FORM, LOGO, LONG_DESCRIPTION, LONG_HEADLINE, MANDATORY_AD_TEXT, MARKETING_IMAGE, MEDIA_BUNDLE, MOBILE_APP, PORTRAIT_MARKETING_IMAGE, PRICE, PROMOTION, RELATED_YOUTUBE_VIDEOS, SITELINK, SQUARE_MARKETING_IMAGE, STRUCTURED_SNIPPET, TALL_PORTRAIT_MARKETING_IMAGE, UNKNOWN, VIDEO, YOUTUBE_VIDEO.

AdGroupAdAssetViewPerformanceLabel String ATTRIBUTE Output only. Performance of an asset linkage.

The allowed values are BEST, GOOD, LEARNING, LOW, NOT_APPLICABLE, PENDING, UNKNOWN.

AdGroupAdAssetViewPinnedField String ATTRIBUTE Output only. Pinned field.

The allowed values are AD_IMAGE, BUSINESS_LOGO, BUSINESS_NAME, BUSINESS_NAME_IN_PORTRAIT, CALL, CALLOUT, CALL_TO_ACTION, DESCRIPTION, DESCRIPTION_1, DESCRIPTION_2, DESCRIPTION_IN_PORTRAIT, DESCRIPTION_LINE_HEADLINE_AS_SITELINK_POSITION_ONE, DESCRIPTION_LINE_HEADLINE_AS_SITELINK_POSITION_TWO, DESCRIPTION_PREFIX, HEADLINE, HEADLINE_1, HEADLINE_2, HEADLINE_3, HEADLINE_AS_SITELINK_POSITION_ONE, HEADLINE_AS_SITELINK_POSITION_TWO, HEADLINE_IN_PORTRAIT, LANDSCAPE_LOGO, LEAD_FORM, LOGO, LONG_HEADLINE, MARKETING_IMAGE, MARKETING_IMAGE_IN_PORTRAIT, MOBILE_APP, PORTRAIT_MARKETING_IMAGE, PRICE, PROMOTION, SITELINK, SQUARE_MARKETING_IMAGE, STRUCTURED_SNIPPET, UNKNOWN, YOU_TUBE_VIDEO.

AdGroupAdAssetViewPolicySummary String ATTRIBUTE Output only. Policy information for the ad group ad asset.
AdGroupAdAssetViewResourceName String ATTRIBUTE Output only. The resource name of the ad group ad asset view.
AdGroupAdAssetViewSource String ATTRIBUTE Output only. Source of the ad group ad asset.

The allowed values are ADVERTISER, AUTOMATICALLY_CREATED, UNKNOWN.

CustomerId Long ATTRIBUTE Output only. The ID of the customer.
AllConversions Double METRIC The total number of conversions. This includes all conversions regardless
AllConversionsFromInteractionsRate Double METRIC All conversions from interactions (as oppose to view through conversions)
AllConversionsValue Double METRIC The value of all conversions.
AllConversionsValuePerCost Double METRIC The value of all conversions divided by the total cost of ad interactions
AverageCost Double METRIC The average amount you pay per interaction. This amount is the total cost
AverageCpc Double METRIC The total cost of all clicks divided by the total number of clicks
AverageCpe Double METRIC The average amount that you've been charged for an ad engagement. This
AverageCpm Double METRIC Average cost-per-thousand impressions (CPM).
BiddableAppInstallConversions Double METRIC Number of app installs.
BiddableAppPostInstallConversions Double METRIC Number of in-app actions.
Clicks Long METRIC The number of clicks.
Conversions Double METRIC The number of conversions. This only includes conversion actions which
ConversionsFromInteractionsRate Double METRIC Conversions from interactions divided by the number of ad interactions
ConversionsValue Double METRIC The value of conversions. This only includes conversion actions which
ConversionsValuePerCost Double METRIC The value of conversions divided by the cost of ad interactions. This only
CostMicros Long METRIC The sum of your cost-per-click (CPC) and cost-per-thousand impressions
CostPerAllConversions Double METRIC The cost of ad interactions divided by all conversions.
CostPerConversion Double METRIC The cost of ad interactions divided by conversions. This only includes
CrossDeviceConversions Double METRIC Conversions from when a customer clicks on a Google Ads ad on one device,
Ctr Double METRIC The number of clicks your ad receives (Clicks) divided by the number
EngagementRate Double METRIC How often people engage with your ad after it's shown to them. This is the
Engagements Long METRIC The number of engagements.
Impressions Long METRIC Count of how often your ad has appeared on a search results page or
InteractionEventTypes String METRIC The types of payable and free interactions.

The allowed values are CLICK, ENGAGEMENT, NONE, UNKNOWN, VIDEO_VIEW.

InteractionRate Double METRIC How often people interact with your ad after it is shown to them.
Interactions Long METRIC The number of interactions.
TrueviewAverageCpv Double METRIC The average amount you pay each time someone views your ad.
ValuePerAllConversions Double METRIC The value of all conversions divided by the number of all conversions.
ValuePerConversion Double METRIC The value of conversions divided by the number of conversions. This only
VideoTrueviewViewRate Double METRIC The number of TrueView views your video ad receives divided by its number
VideoTrueviewViews Long METRIC The number of TrueView views your video ads received.
ViewThroughConversions Long METRIC The total number of view-through conversions.
AdFormatType String SEGMENT Ad Format type.

The allowed values are AUDIO, BUMPER, INFEED, INSTREAM_NON_SKIPPABLE, INSTREAM_SKIPPABLE, MASTHEAD, OTHER, OUTSTREAM, PAUSE, SHORTS, TEXT, UNKNOWN, UNSEGMENTED, VERTICAL_ADS_BOOKING_LINK, VERTICAL_ADS_PROMOTION.

AdNetworkType String SEGMENT Ad network type.

The allowed values are CONTENT, DISCOVER, GMAIL, GOOGLE_OWNED_CHANNELS, GOOGLE_TV, MAPS, MIXED, SEARCH, SEARCH_PARTNERS, UNKNOWN, YOUTUBE.

AdSubNetworkType String SEGMENT Ad sub network type. Currently only available for ads running as part of

The allowed values are UNKNOWN, UNSEGMENTED, YOUTUBE_INFEED, YOUTUBE_INSTREAM, YOUTUBE_SHORTS.

ConversionAction String SEGMENT Resource name of the conversion action.
ConversionActionName String SEGMENT Conversion action name.
Date Date SEGMENT Date to which metrics apply.
DayOfWeek String SEGMENT Day of the week, for example, MONDAY.

The allowed values are FRIDAY, MONDAY, SATURDAY, SUNDAY, THURSDAY, TUESDAY, UNKNOWN, WEDNESDAY.

Device String SEGMENT Device to which metrics apply.

The allowed values are CONNECTED_TV, DESKTOP, MOBILE, OTHER, TABLET, UNKNOWN.

Month Date SEGMENT Month as represented by the date of the first day of a month. Formatted as
Period String SEGMENT Predefined date range.

The allowed values are TODAY, YESTERDAY, LAST_7_DAYS, LAST_BUSINESS_WEEK, THIS_MONTH, LAST_MONTH, LAST_14_DAYS, LAST_30_DAYS, THIS_WEEK_SUN_TODAY, THIS_WEEK_MON_TODAY, LAST_WEEK_SUN_SAT, LAST_WEEK_MON_SUN.

Quarter Date SEGMENT Quarter as represented by the date of the first day of a quarter.
Slot String SEGMENT Position of the ad.

The allowed values are CONTENT, MIXED, SEARCH_OTHER, SEARCH_PARTNER_OTHER, SEARCH_PARTNER_TOP, SEARCH_SIDE, SEARCH_TOP, UNKNOWN.

Week Date SEGMENT Week as defined as Monday through Sunday, and represented by the date of
Year Int SEGMENT Year, formatted as yyyy.

Pseudo-Columns

Pseudo column fields are used in the WHERE clause of SELECT statements and offer more granular control over the data returned from the data source.

Name Type Description
ManagerId Long Id of the manager account on behalf of which you are requesting customer data.

CData Python Connector for Google Ads

AdGroupAdLabel

A relationship between an ad group ad and a label.

Columns

Name Type Behavior Description
AdGroupAdLabelAdGroupAd String ATTRIBUTE Immutable. The ad group ad to which the label is attached.
AdGroupAdLabelLabel String ATTRIBUTE Immutable. The label assigned to the ad group ad.
AdGroupAdLabelResourceName String ATTRIBUTE Immutable. The resource name of the ad group ad label.
CustomerId Long ATTRIBUTE Output only. The ID of the customer.

Pseudo-Columns

Pseudo column fields are used in the WHERE clause of SELECT statements and offer more granular control over the data returned from the data source.

Name Type Description
ManagerId Long Id of the manager account on behalf of which you are requesting customer data.

CData Python Connector for Google Ads

AdGroupAsset

A link between an ad group and an asset.

Columns

Name Type Behavior Description
AdGroupId Long SEGMENT Output only. The ID of the ad group.
AdGroupAssetAdGroup String ATTRIBUTE Required. Immutable. The ad group to which the asset is linked.
AdGroupAssetAsset String ATTRIBUTE Required. Immutable. The asset which is linked to the ad group.
AdGroupAssetFieldType String ATTRIBUTE Required. Immutable. Role that the asset takes under the linked ad group.

The allowed values are AD_IMAGE, BOOK_ON_GOOGLE, BUSINESS_LOGO, BUSINESS_MESSAGE, BUSINESS_NAME, CALL, CALLOUT, CALL_TO_ACTION, CALL_TO_ACTION_SELECTION, DEMAND_GEN_CAROUSEL_CARD, DESCRIPTION, HEADLINE, HOTEL_CALLOUT, HOTEL_PROPERTY, LANDING_PAGE_PREVIEW, LANDSCAPE_LOGO, LEAD_FORM, LOGO, LONG_DESCRIPTION, LONG_HEADLINE, MANDATORY_AD_TEXT, MARKETING_IMAGE, MEDIA_BUNDLE, MOBILE_APP, PORTRAIT_MARKETING_IMAGE, PRICE, PROMOTION, RELATED_YOUTUBE_VIDEOS, SITELINK, SQUARE_MARKETING_IMAGE, STRUCTURED_SNIPPET, TALL_PORTRAIT_MARKETING_IMAGE, UNKNOWN, VIDEO, YOUTUBE_VIDEO.

AdGroupAssetPrimaryStatus String ATTRIBUTE Output only. Provides the PrimaryStatus of this asset link.

The allowed values are ELIGIBLE, LIMITED, NOT_ELIGIBLE, PAUSED, PENDING, REMOVED, UNKNOWN.

AdGroupAssetPrimaryStatusDetails String ATTRIBUTE Output only. Provides the details of the primary status and its associated
AdGroupAssetPrimaryStatusReasons String ATTRIBUTE Output only. Provides a list of reasons for why an asset is not serving or

The allowed values are ASSET_APPROVED_LABELED, ASSET_DISAPPROVED, ASSET_LINK_PAUSED, ASSET_LINK_REMOVED, ASSET_UNDER_REVIEW, UNKNOWN.

AdGroupAssetResourceName String ATTRIBUTE Immutable. The resource name of the ad group asset.
AdGroupAssetSource String ATTRIBUTE Output only. Source of the adgroup asset link.

The allowed values are ADVERTISER, AUTOMATICALLY_CREATED, UNKNOWN.

AdGroupAssetStatus String ATTRIBUTE Status of the ad group asset.

The allowed values are ENABLED, PAUSED, REMOVED, UNKNOWN.

CampaignId Long SEGMENT Output only. The ID of the campaign.
CustomerId Long ATTRIBUTE Output only. The ID of the customer.
AbsoluteTopImpressionPercentage Double METRIC Search absolute top impression share is the percentage of your Search ad
AllConversions Double METRIC The total number of conversions. This includes all conversions regardless
AllConversionsFromInteractionsRate Double METRIC All conversions from interactions (as oppose to view through conversions)
AllConversionsValue Double METRIC The value of all conversions.
AverageCost Double METRIC The average amount you pay per interaction. This amount is the total cost
AverageCpc Double METRIC The total cost of all clicks divided by the total number of clicks
AverageCpe Double METRIC The average amount that you've been charged for an ad engagement. This
AverageCpm Double METRIC Average cost-per-thousand impressions (CPM).
Clicks Long METRIC The number of clicks.
Conversions Double METRIC The number of conversions. This only includes conversion actions which
ConversionsFromInteractionsRate Double METRIC Conversions from interactions divided by the number of ad interactions
ConversionsValue Double METRIC The value of conversions. This only includes conversion actions which
CostMicros Long METRIC The sum of your cost-per-click (CPC) and cost-per-thousand impressions
CostPerAllConversions Double METRIC The cost of ad interactions divided by all conversions.
CostPerConversion Double METRIC The cost of ad interactions divided by conversions. This only includes
CrossDeviceConversions Double METRIC Conversions from when a customer clicks on a Google Ads ad on one device,
Ctr Double METRIC The number of clicks your ad receives (Clicks) divided by the number
EngagementRate Double METRIC How often people engage with your ad after it's shown to them. This is the
Engagements Long METRIC The number of engagements.
Impressions Long METRIC Count of how often your ad has appeared on a search results page or
InteractionEventTypes String METRIC The types of payable and free interactions.

The allowed values are CLICK, ENGAGEMENT, NONE, UNKNOWN, VIDEO_VIEW.

InteractionRate Double METRIC How often people interact with your ad after it is shown to them.
Interactions Long METRIC The number of interactions.
PhoneCalls Long METRIC Number of offline phone calls.
PhoneImpressions Long METRIC Number of offline phone impressions.
PhoneThroughRate Double METRIC Number of phone calls received (phone_calls) divided by the number of
TopImpressionPercentage Double METRIC The percent of your ad impressions that are shown adjacent to the top
TrueviewAverageCpv Double METRIC The average amount you pay each time someone views your ad.
ValuePerAllConversions Double METRIC The value of all conversions divided by the number of all conversions.
ValuePerConversion Double METRIC The value of conversions divided by the number of conversions. This only
VideoTrueviewViewRate Double METRIC The number of TrueView views your video ad receives divided by its number
VideoTrueviewViews Long METRIC The number of TrueView views your video ads received.
AdNetworkType String SEGMENT Ad network type.

The allowed values are CONTENT, DISCOVER, GMAIL, GOOGLE_OWNED_CHANNELS, GOOGLE_TV, MAPS, MIXED, SEARCH, SEARCH_PARTNERS, UNKNOWN, YOUTUBE.

AdSubNetworkType String SEGMENT Ad sub network type. Currently only available for ads running as part of

The allowed values are UNKNOWN, UNSEGMENTED, YOUTUBE_INFEED, YOUTUBE_INSTREAM, YOUTUBE_SHORTS.

AssetInteractionTargetAsset String SEGMENT The asset resource name.
AssetInteractionTargetInteractionOnThisAsset Bool SEGMENT Only used with CustomerAsset, CampaignAsset and AdGroupAsset metrics. Indicates whether the interaction metrics occurred on the asset itself or a different asset or ad unit.
ClickType String SEGMENT Click type.

The allowed values are AD_IMAGE, APP_DEEPLINK, BREADCRUMBS, BROADBAND_PLAN, CALLS, CALL_TRACKING, CLICK_ON_ENGAGEMENT_AD, CLICK_TO_MESSAGE_LANDING_PAGE_CLICK, CLICK_TO_MESSAGE_THIRD_PARTY_CLICK, CROSS_NETWORK, GET_DIRECTIONS, HOTEL_BOOK_ON_GOOGLE_ROOM_SELECTION, HOTEL_PRICE, LOCATION_EXPANSION, LOCATION_FORMAT_CALL, LOCATION_FORMAT_DIRECTIONS, LOCATION_FORMAT_IMAGE, LOCATION_FORMAT_LANDING_PAGE, LOCATION_FORMAT_MAP, LOCATION_FORMAT_STORE_INFO, LOCATION_FORMAT_TEXT, MOBILE_CALL_TRACKING, OFFER_PRINTS, OTHER, PRICE_EXTENSION, PRODUCT_AD_APP_DEEPLINK, PRODUCT_ASSETS, PRODUCT_EXTENSION_CLICKS, PRODUCT_LISTING_ADS_COUPON, PRODUCT_LISTING_AD_CLICKS, PRODUCT_LISTING_AD_LOCAL, PRODUCT_LISTING_AD_MULTICHANNEL_LOCAL, PRODUCT_LISTING_AD_MULTICHANNEL_ONLINE, PRODUCT_LISTING_AD_TRANSACTABLE, PROMOTION_EXTENSION, SHOPPING_COMPARISON_LISTING, SHOWCASE_AD_CATEGORY_LINK, SHOWCASE_AD_LOCAL_PRODUCT_LINK, SHOWCASE_AD_LOCAL_STOREFRONT_LINK, SHOWCASE_AD_ONLINE_PRODUCT_LINK, SITELINKS, STORE_LOCATOR, SWIPEABLE_GALLERY_AD_HEADLINE, SWIPEABLE_GALLERY_AD_SEE_MORE, SWIPEABLE_GALLERY_AD_SITELINK_FIVE, SWIPEABLE_GALLERY_AD_SITELINK_FOUR, SWIPEABLE_GALLERY_AD_SITELINK_ONE, SWIPEABLE_GALLERY_AD_SITELINK_THREE, SWIPEABLE_GALLERY_AD_SITELINK_TWO, SWIPEABLE_GALLERY_AD_SWIPES, TRAVEL_ASSETS, UNKNOWN, URL_CLICKS, VEHICLE_ASSETS, VIDEO_APP_STORE_CLICKS, VIDEO_CALL_TO_ACTION_CLICKS, VIDEO_CARD_ACTION_HEADLINE_CLICKS, VIDEO_CHANNEL_CLICK, VIDEO_END_CAP_CLICKS, VIDEO_RELATED_VIDEOS_CLICK, VIDEO_WEBSITE_CLICKS, VISUAL_SITELINKS, WIRELESS_PLAN.

ConversionAction String SEGMENT Resource name of the conversion action.
ConversionActionCategory String SEGMENT Conversion action category.

The allowed values are ADD_TO_CART, BEGIN_CHECKOUT, BOOK_APPOINTMENT, CONTACT, CONVERTED_LEAD, DEFAULT, DOWNLOAD, ENGAGEMENT, GET_DIRECTIONS, IMPORTED_LEAD, OUTBOUND_CLICK, PAGE_VIEW, PHONE_CALL_LEAD, PURCHASE, QUALIFIED_LEAD, REQUEST_QUOTE, SIGNUP, STORE_SALE, STORE_VISIT, SUBMIT_LEAD_FORM, SUBSCRIBE_PAID, UNKNOWN, YOUTUBE_FOLLOW_ON_VIEWS.

ConversionActionName String SEGMENT Conversion action name.
Date Date SEGMENT Date to which metrics apply.
DayOfWeek String SEGMENT Day of the week, for example, MONDAY.

The allowed values are FRIDAY, MONDAY, SATURDAY, SUNDAY, THURSDAY, TUESDAY, UNKNOWN, WEDNESDAY.

Device String SEGMENT Device to which metrics apply.

The allowed values are CONNECTED_TV, DESKTOP, MOBILE, OTHER, TABLET, UNKNOWN.

ExternalConversionSource String SEGMENT External conversion source.

The allowed values are AD_CALL_METRICS, ANALYTICS, ANALYTICS_SEARCH_ADS_360, ANDROID_FIRST_OPEN, ANDROID_IN_APP, APP_UNSPECIFIED, CLICK_TO_CALL, DISPLAY_AND_VIDEO_360_FLOODLIGHT, FIREBASE, FIREBASE_SEARCH_ADS_360, FLOODLIGHT, GOOGLE_ATTRIBUTION, GOOGLE_HOSTED, GOOGLE_PLAY, IOS_FIRST_OPEN, IOS_IN_APP, SALESFORCE, SEARCH_ADS_360, STORE_SALES, STORE_SALES_CRM, STORE_SALES_DIRECT_UPLOAD, STORE_SALES_PAYMENT_NETWORK, STORE_VISITS, THIRD_PARTY_APP_ANALYTICS, UNKNOWN, UPLOAD, UPLOAD_CALLS, WEBPAGE, WEBSITE_CALL_METRICS.

Month Date SEGMENT Month as represented by the date of the first day of a month. Formatted as
MonthOfYear String SEGMENT Month of the year, for example, January.

The allowed values are APRIL, AUGUST, DECEMBER, FEBRUARY, JANUARY, JULY, JUNE, MARCH, MAY, NOVEMBER, OCTOBER, SEPTEMBER, UNKNOWN.

Period String SEGMENT Predefined date range.

The allowed values are TODAY, YESTERDAY, LAST_7_DAYS, LAST_BUSINESS_WEEK, THIS_MONTH, LAST_MONTH, LAST_14_DAYS, LAST_30_DAYS, THIS_WEEK_SUN_TODAY, THIS_WEEK_MON_TODAY, LAST_WEEK_SUN_SAT, LAST_WEEK_MON_SUN.

Quarter Date SEGMENT Quarter as represented by the date of the first day of a quarter.
Slot String SEGMENT Position of the ad.

The allowed values are CONTENT, MIXED, SEARCH_OTHER, SEARCH_PARTNER_OTHER, SEARCH_PARTNER_TOP, SEARCH_SIDE, SEARCH_TOP, UNKNOWN.

Week Date SEGMENT Week as defined as Monday through Sunday, and represented by the date of
Year Int SEGMENT Year, formatted as yyyy.

Pseudo-Columns

Pseudo column fields are used in the WHERE clause of SELECT statements and offer more granular control over the data returned from the data source.

Name Type Description
ManagerId Long Id of the manager account on behalf of which you are requesting customer data.

CData Python Connector for Google Ads

AdGroupAssetSet

AdGroupAssetSet is the linkage between an ad group and an asset set.

Columns

Name Type Behavior Description
AdGroupAssetSetAdGroup String ATTRIBUTE Immutable. The ad group to which this asset set is linked.
AdGroupAssetSetAssetSet String ATTRIBUTE Immutable. The asset set which is linked to the ad group.
AdGroupAssetSetResourceName String ATTRIBUTE Immutable. The resource name of the ad group asset set.
AdGroupAssetSetStatus String ATTRIBUTE Output only. The status of the ad group asset set. Read-only.

The allowed values are ENABLED, REMOVED, UNKNOWN.

CustomerId Long ATTRIBUTE Output only. The ID of the customer.

Pseudo-Columns

Pseudo column fields are used in the WHERE clause of SELECT statements and offer more granular control over the data returned from the data source.

Name Type Description
ManagerId Long Id of the manager account on behalf of which you are requesting customer data.

CData Python Connector for Google Ads

AdGroupAudienceView

An ad group audience view.

View-Specific Information

Select

Google Ads does not allow every column to be selected in a single query, as some data conflicts if selected together. Therefore, when issuing a query that selects all columns, only the default metrics, segments, and attributes are returned. In general, these defaults are the same fields that are exposed through the Ads console. To use the nondefault fields, explicitly select them in your query.

Filters can also be used in the WHERE clause using the following supported operators: =, !=, >, >=, <, <=, LIKE, NOT LIKE, IN, NOT IN . Note that all filters must be joined by AND, as OR is not supported by the Ads API.

Columns

Name Type Behavior Description
AdGroupAudienceViewResourceName String ATTRIBUTE Output only. The resource name of the ad group audience view.
BiddingStrategyId Long SEGMENT Output only. The ID of the bidding strategy.
CustomerId Long ATTRIBUTE Output only. The ID of the customer.
UserListId Long SEGMENT Output only. Id of the user list.
AbsoluteTopImpressionPercentage Double METRIC Search absolute top impression share is the percentage of your Search ad
ActiveViewCpm Double METRIC Average cost of viewable impressions (active_view_impressions).
ActiveViewCtr Double METRIC Active view measurable clicks divided by active view viewable impressions.
ActiveViewImpressions Long METRIC A measurement of how often your ad has become viewable on a Display
ActiveViewMeasurability Double METRIC The ratio of impressions that could be measured by Active View over the
ActiveViewMeasurableCostMicros Long METRIC The cost of the impressions you received that were measurable by Active
ActiveViewMeasurableImpressions Long METRIC The number of times your ads are appearing on placements in positions
ActiveViewViewability Double METRIC The percentage of time when your ad appeared on an Active View enabled site
AllConversions Double METRIC The total number of conversions. This includes all conversions regardless
AllConversionsByConversionDate Double METRIC The total number of conversions. This includes all conversions regardless
AllConversionsFromInteractionsRate Double METRIC All conversions from interactions (as oppose to view through conversions)
AllConversionsFromInteractionsValuePerInteraction Double METRIC The value of all conversions from interactions divided by the total number
AllConversionsValue Double METRIC The value of all conversions.
AllConversionsValueByConversionDate Double METRIC The value of all conversions. When this column is selected with date, the
AllConversionsValuePerCost Double METRIC The value of all conversions divided by the total cost of ad interactions
AverageCost Double METRIC The average amount you pay per interaction. This amount is the total cost
AverageCpc Double METRIC The total cost of all clicks divided by the total number of clicks
AverageCpe Double METRIC The average amount that you've been charged for an ad engagement. This
AverageCpm Double METRIC Average cost-per-thousand impressions (CPM).
Clicks Long METRIC The number of clicks.
Conversions Double METRIC The number of conversions. This only includes conversion actions which
ConversionsByConversionDate Double METRIC The number of conversions. This only includes conversion actions which
ConversionsFromInteractionsRate Double METRIC Conversions from interactions divided by the number of ad interactions
ConversionsValue Double METRIC The value of conversions. This only includes conversion actions which
ConversionsValueByConversionDate Double METRIC The value of conversions. This only includes conversion actions which
CostMicros Long METRIC The sum of your cost-per-click (CPC) and cost-per-thousand impressions
CostPerAllConversions Double METRIC The cost of ad interactions divided by all conversions.
CostPerConversion Double METRIC The cost of ad interactions divided by conversions. This only includes
CrossDeviceConversions Double METRIC Conversions from when a customer clicks on a Google Ads ad on one device,
Ctr Double METRIC The number of clicks your ad receives (Clicks) divided by the number
EngagementRate Double METRIC How often people engage with your ad after it's shown to them. This is the
Engagements Long METRIC The number of engagements.
GmailForwards Long METRIC The number of times the ad was forwarded to someone else as a message.
GmailSaves Long METRIC The number of times someone has saved your Gmail ad to their inbox as a
GmailSecondaryClicks Long METRIC The number of clicks to the landing page on the expanded state of Gmail
Impressions Long METRIC Count of how often your ad has appeared on a search results page or
InteractionEventTypes String METRIC The types of payable and free interactions.

The allowed values are CLICK, ENGAGEMENT, NONE, UNKNOWN, VIDEO_VIEW.

InteractionRate Double METRIC How often people interact with your ad after it is shown to them.
Interactions Long METRIC The number of interactions.
TopImpressionPercentage Double METRIC The percent of your ad impressions that are shown adjacent to the top
TrueviewAverageCpv Double METRIC The average amount you pay each time someone views your ad.
ValuePerAllConversions Double METRIC The value of all conversions divided by the number of all conversions.
ValuePerAllConversionsByConversionDate Double METRIC The value of all conversions divided by the number of all conversions. When
ValuePerConversion Double METRIC The value of conversions divided by the number of conversions. This only
ValuePerConversionsByConversionDate Double METRIC The value of conversions divided by the number of conversions. This only
VideoQuartileP100Rate Double METRIC Percentage of impressions where the viewer watched all of your video.
VideoQuartileP25Rate Double METRIC Percentage of impressions where the viewer watched 25% of your video.
VideoQuartileP50Rate Double METRIC Percentage of impressions where the viewer watched 50% of your video.
VideoQuartileP75Rate Double METRIC Percentage of impressions where the viewer watched 75% of your video.
VideoTrueviewViewRate Double METRIC The number of TrueView views your video ad receives divided by its number
VideoTrueviewViews Long METRIC The number of TrueView views your video ads received.
ViewThroughConversions Long METRIC The total number of view-through conversions.
AdNetworkType String SEGMENT Ad network type.

The allowed values are CONTENT, DISCOVER, GMAIL, GOOGLE_OWNED_CHANNELS, GOOGLE_TV, MAPS, MIXED, SEARCH, SEARCH_PARTNERS, UNKNOWN, YOUTUBE.

AdSubNetworkType String SEGMENT Ad sub network type. Currently only available for ads running as part of

The allowed values are UNKNOWN, UNSEGMENTED, YOUTUBE_INFEED, YOUTUBE_INSTREAM, YOUTUBE_SHORTS.

ClickType String SEGMENT Click type.

The allowed values are AD_IMAGE, APP_DEEPLINK, BREADCRUMBS, BROADBAND_PLAN, CALLS, CALL_TRACKING, CLICK_ON_ENGAGEMENT_AD, CLICK_TO_MESSAGE_LANDING_PAGE_CLICK, CLICK_TO_MESSAGE_THIRD_PARTY_CLICK, CROSS_NETWORK, GET_DIRECTIONS, HOTEL_BOOK_ON_GOOGLE_ROOM_SELECTION, HOTEL_PRICE, LOCATION_EXPANSION, LOCATION_FORMAT_CALL, LOCATION_FORMAT_DIRECTIONS, LOCATION_FORMAT_IMAGE, LOCATION_FORMAT_LANDING_PAGE, LOCATION_FORMAT_MAP, LOCATION_FORMAT_STORE_INFO, LOCATION_FORMAT_TEXT, MOBILE_CALL_TRACKING, OFFER_PRINTS, OTHER, PRICE_EXTENSION, PRODUCT_AD_APP_DEEPLINK, PRODUCT_ASSETS, PRODUCT_EXTENSION_CLICKS, PRODUCT_LISTING_ADS_COUPON, PRODUCT_LISTING_AD_CLICKS, PRODUCT_LISTING_AD_LOCAL, PRODUCT_LISTING_AD_MULTICHANNEL_LOCAL, PRODUCT_LISTING_AD_MULTICHANNEL_ONLINE, PRODUCT_LISTING_AD_TRANSACTABLE, PROMOTION_EXTENSION, SHOPPING_COMPARISON_LISTING, SHOWCASE_AD_CATEGORY_LINK, SHOWCASE_AD_LOCAL_PRODUCT_LINK, SHOWCASE_AD_LOCAL_STOREFRONT_LINK, SHOWCASE_AD_ONLINE_PRODUCT_LINK, SITELINKS, STORE_LOCATOR, SWIPEABLE_GALLERY_AD_HEADLINE, SWIPEABLE_GALLERY_AD_SEE_MORE, SWIPEABLE_GALLERY_AD_SITELINK_FIVE, SWIPEABLE_GALLERY_AD_SITELINK_FOUR, SWIPEABLE_GALLERY_AD_SITELINK_ONE, SWIPEABLE_GALLERY_AD_SITELINK_THREE, SWIPEABLE_GALLERY_AD_SITELINK_TWO, SWIPEABLE_GALLERY_AD_SWIPES, TRAVEL_ASSETS, UNKNOWN, URL_CLICKS, VEHICLE_ASSETS, VIDEO_APP_STORE_CLICKS, VIDEO_CALL_TO_ACTION_CLICKS, VIDEO_CARD_ACTION_HEADLINE_CLICKS, VIDEO_CHANNEL_CLICK, VIDEO_END_CAP_CLICKS, VIDEO_RELATED_VIDEOS_CLICK, VIDEO_WEBSITE_CLICKS, VISUAL_SITELINKS, WIRELESS_PLAN.

ConversionAction String SEGMENT Resource name of the conversion action.
ConversionActionCategory String SEGMENT Conversion action category.

The allowed values are ADD_TO_CART, BEGIN_CHECKOUT, BOOK_APPOINTMENT, CONTACT, CONVERTED_LEAD, DEFAULT, DOWNLOAD, ENGAGEMENT, GET_DIRECTIONS, IMPORTED_LEAD, OUTBOUND_CLICK, PAGE_VIEW, PHONE_CALL_LEAD, PURCHASE, QUALIFIED_LEAD, REQUEST_QUOTE, SIGNUP, STORE_SALE, STORE_VISIT, SUBMIT_LEAD_FORM, SUBSCRIBE_PAID, UNKNOWN, YOUTUBE_FOLLOW_ON_VIEWS.

ConversionActionName String SEGMENT Conversion action name.
Date Date SEGMENT Date to which metrics apply.
DayOfWeek String SEGMENT Day of the week, for example, MONDAY.

The allowed values are FRIDAY, MONDAY, SATURDAY, SUNDAY, THURSDAY, TUESDAY, UNKNOWN, WEDNESDAY.

Device String SEGMENT Device to which metrics apply.

The allowed values are CONNECTED_TV, DESKTOP, MOBILE, OTHER, TABLET, UNKNOWN.

ExternalConversionSource String SEGMENT External conversion source.

The allowed values are AD_CALL_METRICS, ANALYTICS, ANALYTICS_SEARCH_ADS_360, ANDROID_FIRST_OPEN, ANDROID_IN_APP, APP_UNSPECIFIED, CLICK_TO_CALL, DISPLAY_AND_VIDEO_360_FLOODLIGHT, FIREBASE, FIREBASE_SEARCH_ADS_360, FLOODLIGHT, GOOGLE_ATTRIBUTION, GOOGLE_HOSTED, GOOGLE_PLAY, IOS_FIRST_OPEN, IOS_IN_APP, SALESFORCE, SEARCH_ADS_360, STORE_SALES, STORE_SALES_CRM, STORE_SALES_DIRECT_UPLOAD, STORE_SALES_PAYMENT_NETWORK, STORE_VISITS, THIRD_PARTY_APP_ANALYTICS, UNKNOWN, UPLOAD, UPLOAD_CALLS, WEBPAGE, WEBSITE_CALL_METRICS.

HotelDateSelectionType String SEGMENT Hotel date selection type.

The allowed values are DEFAULT_SELECTION, UNKNOWN, USER_SELECTED.

Month Date SEGMENT Month as represented by the date of the first day of a month. Formatted as
MonthOfYear String SEGMENT Month of the year, for example, January.

The allowed values are APRIL, AUGUST, DECEMBER, FEBRUARY, JANUARY, JULY, JUNE, MARCH, MAY, NOVEMBER, OCTOBER, SEPTEMBER, UNKNOWN.

Period String SEGMENT Predefined date range.

The allowed values are TODAY, YESTERDAY, LAST_7_DAYS, LAST_BUSINESS_WEEK, THIS_MONTH, LAST_MONTH, LAST_14_DAYS, LAST_30_DAYS, THIS_WEEK_SUN_TODAY, THIS_WEEK_MON_TODAY, LAST_WEEK_SUN_SAT, LAST_WEEK_MON_SUN.

Quarter Date SEGMENT Quarter as represented by the date of the first day of a quarter.
Slot String SEGMENT Position of the ad.

The allowed values are CONTENT, MIXED, SEARCH_OTHER, SEARCH_PARTNER_OTHER, SEARCH_PARTNER_TOP, SEARCH_SIDE, SEARCH_TOP, UNKNOWN.

Week Date SEGMENT Week as defined as Monday through Sunday, and represented by the date of
Year Int SEGMENT Year, formatted as yyyy.

Pseudo-Columns

Pseudo column fields are used in the WHERE clause of SELECT statements and offer more granular control over the data returned from the data source.

Name Type Description
ManagerId Long Id of the manager account on behalf of which you are requesting customer data.

CData Python Connector for Google Ads

AdGroupBidModifier

Represents an ad group bid modifier.

Columns

Name Type Behavior Description
AdGroupBidModifierAdGroup String ATTRIBUTE Immutable. The ad group to which this criterion belongs.
AdGroupBidModifierBaseAdGroup String ATTRIBUTE Output only. The base ad group from which this draft/trial adgroup bid
AdGroupBidModifierBidModifier Double ATTRIBUTE The modifier for the bid when the criterion matches. The modifier must be
AdGroupBidModifierBidModifierSource String ATTRIBUTE Output only. Bid modifier source.

The allowed values are AD_GROUP, CAMPAIGN, UNKNOWN.

AdGroupBidModifierCriterionId Long ATTRIBUTE Output only. The ID of the criterion to bid modify.
AdGroupBidModifierDeviceType String ATTRIBUTE Type of the device.

The allowed values are CONNECTED_TV, DESKTOP, MOBILE, OTHER, TABLET, UNKNOWN.

AdGroupBidModifierHotelAdvanceBookingWindowMaxDays Long ATTRIBUTE High end of the number of days prior to the stay.
AdGroupBidModifierHotelAdvanceBookingWindowMinDays Long ATTRIBUTE Low end of the number of days prior to the stay.
AdGroupBidModifierHotelCheckInDateRangeEndDate String ATTRIBUTE End date in the YYYY-MM-DD format.
AdGroupBidModifierHotelCheckInDateRangeStartDate String ATTRIBUTE Start date in the YYYY-MM-DD format.
AdGroupBidModifierHotelCheckInDayDayOfWeek String ATTRIBUTE The day of the week.

The allowed values are FRIDAY, MONDAY, SATURDAY, SUNDAY, THURSDAY, TUESDAY, UNKNOWN, WEDNESDAY.

AdGroupBidModifierHotelDateSelectionTypeType String ATTRIBUTE Type of the hotel date selection

The allowed values are DEFAULT_SELECTION, UNKNOWN, USER_SELECTED.

AdGroupBidModifierHotelLengthOfStayMaxNights Long ATTRIBUTE High end of the number of nights in the stay.
AdGroupBidModifierHotelLengthOfStayMinNights Long ATTRIBUTE Low end of the number of nights in the stay.
AdGroupBidModifierResourceName String ATTRIBUTE Immutable. The resource name of the ad group bid modifier.
CustomerId Long ATTRIBUTE Output only. The ID of the customer.

Pseudo-Columns

Pseudo column fields are used in the WHERE clause of SELECT statements and offer more granular control over the data returned from the data source.

Name Type Description
ManagerId Long Id of the manager account on behalf of which you are requesting customer data.

CData Python Connector for Google Ads

AdGroupCriterion

An ad group criterion.

View-Specific Information

Select

Google Ads does not allow every column to be selected in a single query, as some data conflicts if selected together. Therefore, when issuing a query that selects all columns, only the default metrics, segments, and attributes are returned. In general, these defaults are the same fields that are exposed through the Ads console. To use the nondefault fields, explicitly select them in your query.

Filters can also be used in the WHERE clause using the following supported operators: =, !=, >, >=, <, <=, LIKE, NOT LIKE, IN, NOT IN . Note that all filters must be joined by AND, as OR is not supported by the Ads API.

Columns

Name Type Behavior Description
AdGroupCriterionAdGroup String ATTRIBUTE Immutable. The ad group to which the criterion belongs.
AdGroupCriterionAgeRangeType String ATTRIBUTE Type of the age range.

The allowed values are AGE_RANGE_18_24, AGE_RANGE_25_34, AGE_RANGE_35_44, AGE_RANGE_45_54, AGE_RANGE_55_64, AGE_RANGE_65_UP, AGE_RANGE_UNDETERMINED, UNKNOWN.

AdGroupCriterionAppPaymentModelType String ATTRIBUTE Type of the app payment model.

The allowed values are PAID, UNKNOWN.

AdGroupCriterionApprovalStatus String ATTRIBUTE Output only. Approval status of the criterion.

The allowed values are APPROVED, DISAPPROVED, PENDING_REVIEW, UNDER_REVIEW, UNKNOWN.

AdGroupCriterionAudienceAudience String ATTRIBUTE The Audience resource name.
AdGroupCriterionBidModifier Double ATTRIBUTE The modifier for the bid when the criterion matches. The modifier must be
AdGroupCriterionBrandListSharedSet String ATTRIBUTE Shared set resource name of the brand list.
AdGroupCriterionCombinedAudienceCombinedAudience String ATTRIBUTE The CombinedAudience resource name.
AdGroupCriterionCpcBidMicros Long ATTRIBUTE The CPC (cost-per-click) bid.
AdGroupCriterionCpmBidMicros Long ATTRIBUTE The CPM (cost-per-thousand viewable impressions) bid.
AdGroupCriterionCpvBidMicros Long ATTRIBUTE The CPV (cost-per-view) bid.
AdGroupCriterionCriterionId Long ATTRIBUTE Output only. The ID of the criterion.
AdGroupCriterionCustomAffinityCustomAffinity String ATTRIBUTE The CustomInterest resource name.
AdGroupCriterionCustomAudienceCustomAudience String ATTRIBUTE The CustomAudience resource name.
AdGroupCriterionCustomIntentCustomIntent String ATTRIBUTE The CustomInterest resource name.
AdGroupCriterionDisapprovalReasons String ATTRIBUTE Output only. List of disapproval reasons of the criterion.
AdGroupCriterionDisplayName String ATTRIBUTE Output only. The display name of the criterion.
AdGroupCriterionEffectiveCpcBidMicros Long ATTRIBUTE Output only. The effective CPC (cost-per-click) bid.
AdGroupCriterionEffectiveCpcBidSource String ATTRIBUTE Output only. Source of the effective CPC bid.

The allowed values are AD_GROUP, AD_GROUP_CRITERION, CAMPAIGN_BIDDING_STRATEGY, UNKNOWN.

AdGroupCriterionEffectiveCpmBidMicros Long ATTRIBUTE Output only. The effective CPM (cost-per-thousand viewable impressions)
AdGroupCriterionEffectiveCpmBidSource String ATTRIBUTE Output only. Source of the effective CPM bid.

The allowed values are AD_GROUP, AD_GROUP_CRITERION, CAMPAIGN_BIDDING_STRATEGY, UNKNOWN.

AdGroupCriterionEffectiveCpvBidMicros Long ATTRIBUTE Output only. The effective CPV (cost-per-view) bid.
AdGroupCriterionEffectiveCpvBidSource String ATTRIBUTE Output only. Source of the effective CPV bid.

The allowed values are AD_GROUP, AD_GROUP_CRITERION, CAMPAIGN_BIDDING_STRATEGY, UNKNOWN.

AdGroupCriterionEffectivePercentCpcBidMicros Long ATTRIBUTE Output only. The effective Percent CPC bid amount.
AdGroupCriterionEffectivePercentCpcBidSource String ATTRIBUTE Output only. Source of the effective Percent CPC bid.

The allowed values are AD_GROUP, AD_GROUP_CRITERION, CAMPAIGN_BIDDING_STRATEGY, UNKNOWN.

AdGroupCriterionExtendedDemographicExtendedDemographicId Long ATTRIBUTE Taxonomy id of the extended demographic group.
AdGroupCriterionFinalMobileUrls String ATTRIBUTE The list of possible final mobile URLs after all cross-domain redirects.
AdGroupCriterionFinalUrlSuffix String ATTRIBUTE URL template for appending params to final URL.
AdGroupCriterionFinalUrls String ATTRIBUTE The list of possible final URLs after all cross-domain redirects for the
AdGroupCriterionGenderType String ATTRIBUTE Type of the gender.

The allowed values are FEMALE, MALE, UNDETERMINED, UNKNOWN.

AdGroupCriterionIncomeRangeType String ATTRIBUTE Type of the income range.

The allowed values are INCOME_RANGE_0_50, INCOME_RANGE_50_60, INCOME_RANGE_60_70, INCOME_RANGE_70_80, INCOME_RANGE_80_90, INCOME_RANGE_90_UP, INCOME_RANGE_UNDETERMINED, UNKNOWN.

AdGroupCriterionKeywordMatchType String ATTRIBUTE The match type of the keyword.

The allowed values are BROAD, EXACT, PHRASE, UNKNOWN.

AdGroupCriterionKeywordText String ATTRIBUTE The text of the keyword (at most 80 characters and 10 words).
AdGroupCriterionLabels String ATTRIBUTE Output only. The resource names of labels attached to this ad group
AdGroupCriterionLanguageLanguageConstant String ATTRIBUTE The language constant resource name.
AdGroupCriterionLifeEventLifeEventId Long ATTRIBUTE Taxonomy id of the life event.
AdGroupCriterionListingGroupCaseValueActivityCityValue String ATTRIBUTE String value of the activity city. The Geo Target Constant resource name.
AdGroupCriterionListingGroupCaseValueActivityCountryValue String ATTRIBUTE String value of the activity country. The Geo Target Constant resource name.
AdGroupCriterionListingGroupCaseValueActivityIdValue String ATTRIBUTE String value of the activity ID.
AdGroupCriterionListingGroupCaseValueActivityRatingValue Long ATTRIBUTE Long value of the activity rating.
AdGroupCriterionListingGroupCaseValueActivityStateValue String ATTRIBUTE String value of the activity state. The Geo Target Constant resource name.
AdGroupCriterionListingGroupCaseValueHotelCityCityCriterion String ATTRIBUTE The Geo Target Constant resource name.
AdGroupCriterionListingGroupCaseValueHotelClassValue Long ATTRIBUTE Long value of the hotel class.
AdGroupCriterionListingGroupCaseValueHotelCountryRegionCountryRegionCriterion String ATTRIBUTE The Geo Target Constant resource name.
AdGroupCriterionListingGroupCaseValueHotelIdValue String ATTRIBUTE String value of the hotel ID.
AdGroupCriterionListingGroupCaseValueHotelStateStateCriterion String ATTRIBUTE The Geo Target Constant resource name.
AdGroupCriterionListingGroupCaseValueProductBrandValue String ATTRIBUTE String value of the product brand.
AdGroupCriterionListingGroupCaseValueProductCategoryCategoryId Long ATTRIBUTE ID of the product category. This ID is equivalent to the google_product_category ID as described in this article: https://support.google.com/merchants/answer/6324436
AdGroupCriterionListingGroupCaseValueProductCategoryLevel String ATTRIBUTE Level of the product category.

The allowed values are LEVEL1, LEVEL2, LEVEL3, LEVEL4, LEVEL5, UNKNOWN.

AdGroupCriterionListingGroupCaseValueProductChannelChannel String ATTRIBUTE Value of the locality.

The allowed values are LOCAL, ONLINE, UNKNOWN.

AdGroupCriterionListingGroupCaseValueProductChannelExclusivityChannelExclusivity String ATTRIBUTE Value of the availability.

The allowed values are MULTI_CHANNEL, SINGLE_CHANNEL, UNKNOWN.

AdGroupCriterionListingGroupCaseValueProductConditionCondition String ATTRIBUTE Value of the condition.

The allowed values are NEW, REFURBISHED, UNKNOWN, USED.

AdGroupCriterionListingGroupCaseValueProductCustomAttributeIndex String ATTRIBUTE Indicates the index of the custom attribute.

The allowed values are INDEX0, INDEX1, INDEX2, INDEX3, INDEX4, UNKNOWN.

AdGroupCriterionListingGroupCaseValueProductCustomAttributeValue String ATTRIBUTE String value of the product custom attribute.
AdGroupCriterionListingGroupCaseValueProductItemIdValue String ATTRIBUTE Value of the id.
AdGroupCriterionListingGroupCaseValueProductTypeLevel String ATTRIBUTE Level of the type.

The allowed values are LEVEL1, LEVEL2, LEVEL3, LEVEL4, LEVEL5, UNKNOWN.

AdGroupCriterionListingGroupCaseValueProductTypeValue String ATTRIBUTE Value of the type.
AdGroupCriterionListingGroupParentAdGroupCriterion String ATTRIBUTE Resource name of ad group criterion which is the parent listing group subdivision. Null for the root group.
AdGroupCriterionListingGroupPath String ATTRIBUTE The path of dimensions defining this listing group.
AdGroupCriterionListingGroupType String ATTRIBUTE Type of the listing group.

The allowed values are SUBDIVISION, UNIT, UNKNOWN.

AdGroupCriterionLocationGeoTargetConstant String ATTRIBUTE The geo target constant resource name.
AdGroupCriterionMobileAppCategoryMobileAppCategoryConstant String ATTRIBUTE The mobile app category constant resource name.
AdGroupCriterionMobileApplicationAppId String ATTRIBUTE A string that uniquely identifies a mobile application to Google Ads API. The format of this string is '{platform}-{platform_native_id}', where platform is '1' for iOS apps and '2' for Android apps, and where platform_native_id is the mobile application identifier native to the corresponding platform. For iOS, this native identifier is the 9 digit string that appears at the end of an App Store URL (for example, '476943146' for 'Flood-It! 2' whose App Store link is 'http://itunes.apple.com/us/app/flood-it!-2/id476943146'). For Android, this native identifier is the application's package name (for example, 'com.labpixies.colordrips' for 'Color Drips' given Google Play link 'https://play.google.com/store/apps/details?id=com.labpixies.colordrips'). A well formed app id for Google Ads API would thus be '1-476943146' for iOS and '2-com.labpixies.colordrips' for Android. This field is required and must be set in CREATE operations.
AdGroupCriterionMobileApplicationName String ATTRIBUTE Name of this mobile application.
AdGroupCriterionNegative Bool ATTRIBUTE Immutable. Whether to target (false) or exclude (true) the criterion.
AdGroupCriterionParentalStatusType String ATTRIBUTE Type of the parental status.

The allowed values are NOT_A_PARENT, PARENT, UNDETERMINED, UNKNOWN.

AdGroupCriterionPercentCpcBidMicros Long ATTRIBUTE The CPC bid amount, expressed as a fraction of the advertised price
AdGroupCriterionPlacementUrl String ATTRIBUTE URL of the placement. For example, 'http://www.domain.com'.
AdGroupCriterionPositionEstimatesEstimatedAddClicksAtFirstPositionCpc Long ATTRIBUTE Output only. Estimate of how many clicks per week you might get by changing your keyword bid to the value in first_position_cpc_micros.
AdGroupCriterionPositionEstimatesEstimatedAddCostAtFirstPositionCpc Long ATTRIBUTE Output only. Estimate of how your cost per week might change when changing your keyword bid to the value in first_position_cpc_micros.
AdGroupCriterionPositionEstimatesFirstPageCpcMicros Long ATTRIBUTE Output only. The estimate of the CPC bid required for ad to be shown on first page of search results.
AdGroupCriterionPositionEstimatesFirstPositionCpcMicros Long ATTRIBUTE Output only. The estimate of the CPC bid required for ad to be displayed in first position, at the top of the first page of search results.
AdGroupCriterionPositionEstimatesTopOfPageCpcMicros Long ATTRIBUTE Output only. The estimate of the CPC bid required for ad to be displayed at the top of the first page of search results.
AdGroupCriterionPrimaryStatus String ATTRIBUTE Output only. The primary status for the ad group criterion.

The allowed values are ELIGIBLE, NOT_ELIGIBLE, PAUSED, PENDING, REMOVED, UNKNOWN.

AdGroupCriterionPrimaryStatusReasons String ATTRIBUTE Output only. The primary status reasons for the ad group criterion.

The allowed values are AD_GROUP_CRITERION_BELOW_FIRST_PAGE_BID, AD_GROUP_CRITERION_DISAPPROVED, AD_GROUP_CRITERION_LOW_QUALITY, AD_GROUP_CRITERION_NEGATIVE, AD_GROUP_CRITERION_PAUSED, AD_GROUP_CRITERION_PAUSED_DUE_TO_LOW_ACTIVITY, AD_GROUP_CRITERION_PENDING_REVIEW, AD_GROUP_CRITERION_RARELY_SERVED, AD_GROUP_CRITERION_REMOVED, AD_GROUP_CRITERION_RESTRICTED, AD_GROUP_CRITERION_UNDER_REVIEW, AD_GROUP_PAUSED, AD_GROUP_REMOVED, CAMPAIGN_CRITERION_NEGATIVE, CAMPAIGN_ENDED, CAMPAIGN_PAUSED, CAMPAIGN_PENDING, CAMPAIGN_REMOVED, UNKNOWN.

AdGroupCriterionQualityInfoCreativeQualityScore String ATTRIBUTE Output only. The performance of the ad compared to other advertisers.

The allowed values are ABOVE_AVERAGE, AVERAGE, BELOW_AVERAGE, UNKNOWN.

AdGroupCriterionQualityInfoPostClickQualityScore String ATTRIBUTE Output only. The quality score of the landing page.

The allowed values are ABOVE_AVERAGE, AVERAGE, BELOW_AVERAGE, UNKNOWN.

AdGroupCriterionQualityInfoQualityScore Int ATTRIBUTE Output only. The quality score. This field may not be populated if Google does not have enough information to determine a value.
AdGroupCriterionQualityInfoSearchPredictedCtr String ATTRIBUTE Output only. The click-through rate compared to that of other advertisers.

The allowed values are ABOVE_AVERAGE, AVERAGE, BELOW_AVERAGE, UNKNOWN.

AdGroupCriterionResourceName String ATTRIBUTE Immutable. The resource name of the ad group criterion.
AdGroupCriterionStatus String ATTRIBUTE The status of the criterion.

The allowed values are ENABLED, PAUSED, REMOVED, UNKNOWN.

AdGroupCriterionSystemServingStatus String ATTRIBUTE Output only. Serving status of the criterion.

The allowed values are ELIGIBLE, RARELY_SERVED, UNKNOWN.

AdGroupCriterionTopicPath String ATTRIBUTE The category to target or exclude. Each subsequent element in the array describes a more specific sub-category. For example, 'Pets & Animals', 'Pets', 'Dogs' represents the 'Pets & Animals/Pets/Dogs' category.
AdGroupCriterionTopicTopicConstant String ATTRIBUTE The Topic Constant resource name.
AdGroupCriterionTrackingUrlTemplate String ATTRIBUTE The URL template for constructing a tracking URL.
AdGroupCriterionType String ATTRIBUTE Output only. The type of the criterion.

The allowed values are AD_SCHEDULE, AGE_RANGE, APP_PAYMENT_MODEL, AUDIENCE, BRAND, BRAND_LIST, CARRIER, COMBINED_AUDIENCE, CONTENT_LABEL, CUSTOM_AFFINITY, CUSTOM_AUDIENCE, CUSTOM_INTENT, DEVICE, GENDER, INCOME_RANGE, IP_BLOCK, KEYWORD, KEYWORD_THEME, LANGUAGE, LIFE_EVENT, LISTING_GROUP, LISTING_SCOPE, LOCAL_SERVICE_ID, LOCATION, LOCATION_GROUP, MOBILE_APPLICATION, MOBILE_APP_CATEGORY, MOBILE_DEVICE, NEGATIVE_KEYWORD_LIST, OPERATING_SYSTEM_VERSION, PARENTAL_STATUS, PLACEMENT, PLACEMENT_LIST, PROXIMITY, SEARCH_THEME, TOPIC, UNKNOWN, USER_INTEREST, USER_LIST, VERTICAL_ADS_ITEM_GROUP_RULE, VERTICAL_ADS_ITEM_GROUP_RULE_LIST, VIDEO_LINEUP, WEBPAGE, WEBPAGE_LIST, YOUTUBE_CHANNEL, YOUTUBE_VIDEO.

AdGroupCriterionUrlCustomParameters String ATTRIBUTE The list of mappings used to substitute custom parameter tags in a
AdGroupCriterionUserInterestUserInterestCategory String ATTRIBUTE The UserInterest resource name.
AdGroupCriterionUserListUserList String ATTRIBUTE The User List resource name.
AdGroupCriterionVerticalAdsItemGroupRuleListSharedSet String ATTRIBUTE The shared set resource name of the vertical ads item group rule list.
AdGroupCriterionVideoLineupVideoLineupId Long ATTRIBUTE ID for a Video lineup. Contact your Google business development representative for details.
AdGroupCriterionWebpageConditions String ATTRIBUTE Conditions, or logical expressions, for webpage targeting. The list of webpage targeting conditions are and-ed together when evaluated for targeting. An empty list of conditions indicates all pages of the campaign's website are targeted. This field is required for CREATE operations and is prohibited on UPDATE operations.
AdGroupCriterionWebpageCoveragePercentage Double ATTRIBUTE Website criteria coverage percentage. This is the computed percentage of website coverage based on the website target, negative website target and negative keywords in the ad group and campaign. For instance, when coverage returns as 1, it indicates it has 100% coverage. This field is read-only.
AdGroupCriterionWebpageCriterionName String ATTRIBUTE The name of the criterion that is defined by this parameter. The name value will be used for identifying, sorting and filtering criteria with this type of parameters. This field is required for CREATE operations and is prohibited on UPDATE operations.
AdGroupCriterionWebpageSampleSampleUrls String ATTRIBUTE Webpage sample urls
AdGroupCriterionYoutubeChannelChannelId String ATTRIBUTE The YouTube uploader channel id or the channel code of a YouTube channel.
AdGroupCriterionYoutubeVideoVideoId String ATTRIBUTE YouTube video id as it appears on the YouTube watch page.
CustomerId Long ATTRIBUTE Output only. The ID of the customer.

Pseudo-Columns

Pseudo column fields are used in the WHERE clause of SELECT statements and offer more granular control over the data returned from the data source.

Name Type Description
ManagerId Long Id of the manager account on behalf of which you are requesting customer data.

CData Python Connector for Google Ads

AdGroupCriterionCustomizer

A customizer value for the associated CustomizerAttribute at the

Columns

Name Type Behavior Description
AdGroupCriterionCustomizerAdGroupCriterion String ATTRIBUTE Immutable. The ad group criterion to which the customizer attribute is
AdGroupCriterionCustomizerCustomizerAttribute String ATTRIBUTE Required. Immutable. The customizer attribute which is linked to the ad
AdGroupCriterionCustomizerResourceName String ATTRIBUTE Immutable. The resource name of the ad group criterion customizer.
AdGroupCriterionCustomizerStatus String ATTRIBUTE Output only. The status of the ad group criterion customizer.

The allowed values are ENABLED, REMOVED, UNKNOWN.

AdGroupCriterionCustomizerValueStringValue String ATTRIBUTE Required. Value to insert in creative text. Customizer values of all types are stored as string to make formatting unambiguous.
AdGroupCriterionCustomizerValueType String ATTRIBUTE Required. The data type for the customizer value. It must match the attribute type. The string_value content must match the constraints associated with the type.

The allowed values are NUMBER, PERCENT, PRICE, TEXT, UNKNOWN.

CustomerId Long ATTRIBUTE Output only. The ID of the customer.

Pseudo-Columns

Pseudo column fields are used in the WHERE clause of SELECT statements and offer more granular control over the data returned from the data source.

Name Type Description
ManagerId Long Id of the manager account on behalf of which you are requesting customer data.

CData Python Connector for Google Ads

AdGroupCriterionLabel

A relationship between an ad group criterion and a label.

Columns

Name Type Behavior Description
AdGroupCriterionLabelAdGroupCriterion String ATTRIBUTE Immutable. The ad group criterion to which the label is attached.
AdGroupCriterionLabelLabel String ATTRIBUTE Immutable. The label assigned to the ad group criterion.
AdGroupCriterionLabelResourceName String ATTRIBUTE Immutable. The resource name of the ad group criterion label.
CustomerId Long ATTRIBUTE Output only. The ID of the customer.

Pseudo-Columns

Pseudo column fields are used in the WHERE clause of SELECT statements and offer more granular control over the data returned from the data source.

Name Type Description
ManagerId Long Id of the manager account on behalf of which you are requesting customer data.

CData Python Connector for Google Ads

AdGroupCriterionSimulation

An ad group criterion simulation. Supported combinations of advertising

Columns

Name Type Behavior Description
AdGroupCriterionSimulationAdGroupId Long ATTRIBUTE Output only. AdGroup ID of the simulation.
AdGroupCriterionSimulationCpcBidPointListPoints String ATTRIBUTE Projected metrics for a series of CPC bid amounts.
AdGroupCriterionSimulationCriterionId Long ATTRIBUTE Output only. Criterion ID of the simulation.
AdGroupCriterionSimulationEndDate Date ATTRIBUTE Output only. Last day on which the simulation is based, in YYYY-MM-DD
AdGroupCriterionSimulationModificationMethod String ATTRIBUTE Output only. How the simulation modifies the field.

The allowed values are DEFAULT, SCALING, UNIFORM, UNKNOWN.

AdGroupCriterionSimulationPercentCpcBidPointListPoints String ATTRIBUTE Projected metrics for a series of percent CPC bid amounts.
AdGroupCriterionSimulationResourceName String ATTRIBUTE Output only. The resource name of the ad group criterion simulation.
AdGroupCriterionSimulationStartDate Date ATTRIBUTE Output only. First day on which the simulation is based, in YYYY-MM-DD
AdGroupCriterionSimulationType String ATTRIBUTE Output only. The field that the simulation modifies.

The allowed values are BID_MODIFIER, BUDGET, CPC_BID, CPV_BID, PERCENT_CPC_BID, TARGET_CPA, TARGET_IMPRESSION_SHARE, TARGET_ROAS, UNKNOWN.

CustomerId Long ATTRIBUTE Output only. The ID of the customer.

Pseudo-Columns

Pseudo column fields are used in the WHERE clause of SELECT statements and offer more granular control over the data returned from the data source.

Name Type Description
ManagerId Long Id of the manager account on behalf of which you are requesting customer data.

CData Python Connector for Google Ads

AdGroupCustomizer

A customizer value for the associated CustomizerAttribute at the AdGroup

Columns

Name Type Behavior Description
AdGroupCustomizerAdGroup String ATTRIBUTE Immutable. The ad group to which the customizer attribute is linked.
AdGroupCustomizerCustomizerAttribute String ATTRIBUTE Required. Immutable. The customizer attribute which is linked to the ad
AdGroupCustomizerResourceName String ATTRIBUTE Immutable. The resource name of the ad group customizer.
AdGroupCustomizerStatus String ATTRIBUTE Output only. The status of the ad group customizer.

The allowed values are ENABLED, REMOVED, UNKNOWN.

AdGroupCustomizerValueStringValue String ATTRIBUTE Required. Value to insert in creative text. Customizer values of all types are stored as string to make formatting unambiguous.
AdGroupCustomizerValueType String ATTRIBUTE Required. The data type for the customizer value. It must match the attribute type. The string_value content must match the constraints associated with the type.

The allowed values are NUMBER, PERCENT, PRICE, TEXT, UNKNOWN.

CustomerId Long ATTRIBUTE Output only. The ID of the customer.

Pseudo-Columns

Pseudo column fields are used in the WHERE clause of SELECT statements and offer more granular control over the data returned from the data source.

Name Type Description
ManagerId Long Id of the manager account on behalf of which you are requesting customer data.

CData Python Connector for Google Ads

AdGroupHourlyStatsReport

Ad Group-level performance stats by Ad Network and Device. Hourly data is returned with a default date range of the last 7 days not including today.

Columns

Name Type Behavior Description
CustomerId Long ATTRIBUTE Output only. The ID of the customer.
Date Date SEGMENT Date to which metrics apply. yyyy-MM-dd format, for example, 2018-04-17.
ActiveViewCpm Double METRIC Average cost of viewable impressions (active_view_impressions).
ActiveViewCtr Double METRIC Active view measurable clicks divided by active view viewable impressions. This metric is reported only for display network.
ActiveViewImpressions Long METRIC A measurement of how often your ad has become viewable on a Display Network site.
ActiveViewMeasurability Double METRIC The ratio of impressions that could be measured by Active View over the number of served impressions.
ActiveViewMeasurableCostMicros Long METRIC The cost of the impressions you received that were measurable by Active View.
ActiveViewMeasurableImpressions Long METRIC The number of times your ads are appearing on placements in positions where they can be seen.
ActiveViewViewability Double METRIC The percentage of time when your ad appeared on an Active View enabled site (measurable impressions) and was viewable (viewable impressions).
AdNetworkType String SEGMENT Ad network type.

The allowed values are CONTENT, GOOGLE_OWNED_CHANNELS, GOOGLE_TV, MIXED, SEARCH, SEARCH_PARTNERS, UNKNOWN, YOUTUBE.

AverageCost Double METRIC The average amount you pay per interaction. This amount is the total cost of your ads divided by the total number of interactions.
AverageCpc Double METRIC The total cost of all clicks divided by the total number of clicks received.
AverageCpm Double METRIC Average cost-per-thousand impressions (CPM).
AdGroupBaseAdGroup String ATTRIBUTE Output only. For draft or experiment ad groups, this field is the resource name of the base ad group from which this ad group was created. If a draft or experiment ad group does not have a base ad group, then this field is null. For base ad groups, this field equals the ad group resource name. This field is read-only.
CampaignBaseCampaign String ATTRIBUTE Output only. The resource name of the base campaign of a draft or experiment campaign. For base campaigns, this is equal to resource_name. This field is read-only.
CampaignId Long ATTRIBUTE Output only. The ID of the campaign.
ClickType String SEGMENT Click type.

The allowed values are AD_IMAGE, APP_DEEPLINK, BREADCRUMBS, BROADBAND_PLAN, CALLS, CALL_TRACKING, CLICK_ON_ENGAGEMENT_AD, CROSS_NETWORK, GET_DIRECTIONS, HOTEL_BOOK_ON_GOOGLE_ROOM_SELECTION, HOTEL_PRICE, LOCATION_EXPANSION, LOCATION_FORMAT_CALL, LOCATION_FORMAT_DIRECTIONS, LOCATION_FORMAT_IMAGE, LOCATION_FORMAT_LANDING_PAGE, LOCATION_FORMAT_MAP, LOCATION_FORMAT_STORE_INFO, LOCATION_FORMAT_TEXT, MOBILE_CALL_TRACKING, OFFER_PRINTS, OTHER, PRICE_EXTENSION, PRODUCT_AD_APP_DEEPLINK, PRODUCT_EXTENSION_CLICKS, PRODUCT_LISTING_ADS_COUPON, PRODUCT_LISTING_AD_CLICKS, PRODUCT_LISTING_AD_LOCAL, PRODUCT_LISTING_AD_MULTICHANNEL_LOCAL, PRODUCT_LISTING_AD_MULTICHANNEL_ONLINE, PRODUCT_LISTING_AD_TRANSACTABLE, PROMOTION_EXTENSION, SHOPPING_COMPARISON_LISTING, SHOWCASE_AD_CATEGORY_LINK, SHOWCASE_AD_LOCAL_PRODUCT_LINK, SHOWCASE_AD_LOCAL_STOREFRONT_LINK, SHOWCASE_AD_ONLINE_PRODUCT_LINK, SITELINKS, STORE_LOCATOR, SWIPEABLE_GALLERY_AD_HEADLINE, SWIPEABLE_GALLERY_AD_SEE_MORE, SWIPEABLE_GALLERY_AD_SITELINK_FIVE, SWIPEABLE_GALLERY_AD_SITELINK_FOUR, SWIPEABLE_GALLERY_AD_SITELINK_ONE, SWIPEABLE_GALLERY_AD_SITELINK_THREE, SWIPEABLE_GALLERY_AD_SITELINK_TWO, SWIPEABLE_GALLERY_AD_SWIPES, TRAVEL_ASSETS, UNKNOWN, URL_CLICKS, VIDEO_APP_STORE_CLICKS, VIDEO_CALL_TO_ACTION_CLICKS, VIDEO_CARD_ACTION_HEADLINE_CLICKS, VIDEO_END_CAP_CLICKS, VIDEO_WEBSITE_CLICKS, VISUAL_SITELINKS, WIRELESS_PLAN.

Clicks Long METRIC The number of clicks.
Conversions Double METRIC The number of conversions. This only includes conversion actions which include_in_conversions_metric attribute is set to true. If you use conversion-based bidding, your bid strategies will optimize for these conversions.
ConversionsFromInteractionsRate Double METRIC Conversions from interactions divided by the number of ad interactions (such as clicks for text ads or views for video ads). This only includes conversion actions which include_in_conversions_metric attribute is set to true. If you use conversion-based bidding, your bid strategies will optimize for these conversions.
ConversionsValue Double METRIC The value of conversions. This only includes conversion actions which include_in_conversions_metric attribute is set to true. If you use conversion-based bidding, your bid strategies will optimize for these conversions.
CostMicros Long METRIC The sum of your cost-per-click (CPC) and cost-per-thousand impressions (CPM) costs during this period.
CostPerConversion Double METRIC The cost of ad interactions divided by conversions. This only includes conversion actions which include_in_conversions_metric attribute is set to true. If you use conversion-based bidding, your bid strategies will optimize for these conversions.
Ctr Double METRIC The number of clicks your ad receives (Clicks) divided by the number of times your ad is shown (Impressions).
DayOfWeek String SEGMENT Day of the week, for example, MONDAY.

The allowed values are FRIDAY, MONDAY, SATURDAY, SUNDAY, THURSDAY, TUESDAY, UNKNOWN, WEDNESDAY.

Device String SEGMENT Device to which metrics apply.

The allowed values are CONNECTED_TV, DESKTOP, MOBILE, OTHER, TABLET, UNKNOWN.

Hour Int SEGMENT Hour of day as a number between 0 and 23, inclusive.
AdGroupId Long ATTRIBUTE Output only. The ID of the ad group.
Impressions Long METRIC Count of how often your ad has appeared on a search results page or website on the Google Network.
InteractionEventTypes String METRIC The types of payable and free interactions.

The allowed values are UNKNOWN, CLICK, ENGAGEMENT, VIDEO_VIEW, NONE.

InteractionRate Double METRIC How often people interact with your ad after it is shown to them. This is the number of interactions divided by the number of times your ad is shown.
Interactions Long METRIC The number of interactions. An interaction is the main user action associated with an ad format-clicks for text and shopping ads, views for video ads, and so on.
Month Date SEGMENT Month as represented by the date of the first day of a month. Formatted as yyyy-MM-dd.
MonthOfYear String SEGMENT Month of the year, for example, January.

The allowed values are APRIL, AUGUST, DECEMBER, FEBRUARY, JANUARY, JULY, JUNE, MARCH, MAY, NOVEMBER, OCTOBER, SEPTEMBER, UNKNOWN.

Quarter Date SEGMENT Quarter as represented by the date of the first day of a quarter. Uses the calendar year for quarters, for example, the second quarter of 2018 starts on 2018-04-01. Formatted as yyyy-MM-dd.
ValuePerConversion Double METRIC The value of conversions divided by the number of conversions. This only includes conversion actions which include_in_conversions_metric attribute is set to true. If you use conversion-based bidding, your bid strategies will optimize for these conversions.
Week Date SEGMENT Week as defined as Monday through Sunday, and represented by the date of Monday. Formatted as yyyy-MM-dd.
Year Int SEGMENT Year, formatted as yyyy.

CData Python Connector for Google Ads

AdGroupLabel

A relationship between an ad group and a label.

Columns

Name Type Behavior Description
AdGroupLabelAdGroup String ATTRIBUTE Immutable. The ad group to which the label is attached.
AdGroupLabelLabel String ATTRIBUTE Immutable. The label assigned to the ad group.
AdGroupLabelResourceName String ATTRIBUTE Immutable. The resource name of the ad group label.
CustomerId Long ATTRIBUTE Output only. The ID of the customer.

Pseudo-Columns

Pseudo column fields are used in the WHERE clause of SELECT statements and offer more granular control over the data returned from the data source.

Name Type Description
ManagerId Long Id of the manager account on behalf of which you are requesting customer data.

CData Python Connector for Google Ads

AdGroupSimulation

An ad group simulation. Supported combinations of advertising

Columns

Name Type Behavior Description
AdGroupSimulationAdGroupId Long ATTRIBUTE Output only. Ad group id of the simulation.
AdGroupSimulationCpcBidPointListPoints String ATTRIBUTE Projected metrics for a series of CPC bid amounts.
AdGroupSimulationCpvBidPointListPoints String ATTRIBUTE Projected metrics for a series of CPV bid amounts.
AdGroupSimulationEndDate Date ATTRIBUTE Output only. Last day on which the simulation is based, in YYYY-MM-DD
AdGroupSimulationModificationMethod String ATTRIBUTE Output only. How the simulation modifies the field.

The allowed values are DEFAULT, SCALING, UNIFORM, UNKNOWN.

AdGroupSimulationResourceName String ATTRIBUTE Output only. The resource name of the ad group simulation.
AdGroupSimulationStartDate Date ATTRIBUTE Output only. First day on which the simulation is based, in YYYY-MM-DD
AdGroupSimulationTargetCpaPointListPoints String ATTRIBUTE Projected metrics for a series of target CPA amounts.
AdGroupSimulationTargetRoasPointListPoints String ATTRIBUTE Projected metrics for a series of target ROAS amounts.
AdGroupSimulationType String ATTRIBUTE Output only. The field that the simulation modifies.

The allowed values are BID_MODIFIER, BUDGET, CPC_BID, CPV_BID, PERCENT_CPC_BID, TARGET_CPA, TARGET_IMPRESSION_SHARE, TARGET_ROAS, UNKNOWN.

CustomerId Long ATTRIBUTE Output only. The ID of the customer.

Pseudo-Columns

Pseudo column fields are used in the WHERE clause of SELECT statements and offer more granular control over the data returned from the data source.

Name Type Description
ManagerId Long Id of the manager account on behalf of which you are requesting customer data.

CData Python Connector for Google Ads

AdGroupStatsReport

Ad Group-level performance stats by Ad Network and Device. Daily data is returned with a default date range of the last 7 days not including today.

Columns

Name Type Behavior Description
CustomerId Long ATTRIBUTE Output only. The ID of the customer.
Date Date SEGMENT Date to which metrics apply. yyyy-MM-dd format, for example, 2018-04-17.
ActiveViewImpressions Long METRIC A measurement of how often your ad has become viewable on a Display Network site.
ActiveViewMeasurability Double METRIC The ratio of impressions that could be measured by Active View over the number of served impressions.
ActiveViewMeasurableCostMicros Long METRIC The cost of the impressions you received that were measurable by Active View.
ActiveViewMeasurableImpressions Long METRIC The number of times your ads are appearing on placements in positions where they can be seen.
ActiveViewViewability Double METRIC The percentage of time when your ad appeared on an Active View enabled site (measurable impressions) and was viewable (viewable impressions).
AdNetworkType String SEGMENT Ad network type.

The allowed values are CONTENT, GOOGLE_OWNED_CHANNELS, GOOGLE_TV, MIXED, SEARCH, SEARCH_PARTNERS, UNKNOWN, YOUTUBE.

AdGroupBaseAdGroup String ATTRIBUTE Output only. For draft or experiment ad groups, this field is the resource name of the base ad group from which this ad group was created. If a draft or experiment ad group does not have a base ad group, then this field is null. For base ad groups, this field equals the ad group resource name. This field is read-only.
CampaignBaseCampaign String ATTRIBUTE Output only. The resource name of the base campaign of a draft or experiment campaign. For base campaigns, this is equal to resource_name. This field is read-only.
CampaignId Long ATTRIBUTE Output only. The ID of the campaign.
Clicks Long METRIC The number of clicks.
Conversions Double METRIC The number of conversions. This only includes conversion actions which include_in_conversions_metric attribute is set to true. If you use conversion-based bidding, your bid strategies will optimize for these conversions.
ConversionsValue Double METRIC The value of conversions. This only includes conversion actions which include_in_conversions_metric attribute is set to true. If you use conversion-based bidding, your bid strategies will optimize for these conversions.
CostMicros Long METRIC The sum of your cost-per-click (CPC) and cost-per-thousand impressions (CPM) costs during this period.
Device String SEGMENT Device to which metrics apply.

The allowed values are CONNECTED_TV, DESKTOP, MOBILE, OTHER, TABLET, UNKNOWN.

AdGroupId Long ATTRIBUTE Output only. The ID of the ad group.
Impressions Long METRIC Count of how often your ad has appeared on a search results page or website on the Google Network.
InteractionEventTypes String METRIC The types of payable and free interactions.

The allowed values are UNKNOWN, CLICK, ENGAGEMENT, VIDEO_VIEW, NONE.

Interactions Long METRIC The number of interactions. An interaction is the main user action associated with an ad format-clicks for text and shopping ads, views for video ads, and so on.
ViewThroughConversions Long METRIC The total number of view-through conversions. These happen when a customer sees an image or rich media ad, then later completes a conversion on your site without interacting with (for example, clicking on) another ad.

CData Python Connector for Google Ads

AdParameter

An ad parameter that is used to update numeric values (such as prices or

Columns

Name Type Behavior Description
AdParameterAdGroupCriterion String ATTRIBUTE Immutable. The ad group criterion that this ad parameter belongs to.
AdParameterInsertionText String ATTRIBUTE Numeric value to insert into the ad text. The following restrictions
AdParameterParameterIndex Long ATTRIBUTE Immutable. The unique index of this ad parameter. Must be either 1 or 2.
AdParameterResourceName String ATTRIBUTE Immutable. The resource name of the ad parameter.
CustomerId Long ATTRIBUTE Output only. The ID of the customer.

Pseudo-Columns

Pseudo column fields are used in the WHERE clause of SELECT statements and offer more granular control over the data returned from the data source.

Name Type Description
ManagerId Long Id of the manager account on behalf of which you are requesting customer data.

CData Python Connector for Google Ads

AdScheduleView

An ad schedule view summarizes the performance of campaigns by

View-Specific Information

Select

Google Ads does not allow every column to be selected in a single query, as some data conflicts if selected together. Therefore, when issuing a query that selects all columns, only the default metrics, segments, and attributes are returned. In general, these defaults are the same fields that are exposed through the Ads console. To use the nondefault fields, explicitly select them in your query.

Filters can also be used in the WHERE clause using the following supported operators: =, !=, >, >=, <, <=, LIKE, NOT LIKE, IN, NOT IN . Note that all filters must be joined by AND, as OR is not supported by the Ads API.

Columns

Name Type Behavior Description
AdScheduleViewResourceName String ATTRIBUTE Output only. The resource name of the ad schedule view.
CustomerId Long ATTRIBUTE Output only. The ID of the customer.
AllConversions Double METRIC The total number of conversions. This includes all conversions regardless
AllConversionsFromInteractionsRate Double METRIC All conversions from interactions (as oppose to view through conversions)
AllConversionsValue Double METRIC The value of all conversions.
AverageCost Double METRIC The average amount you pay per interaction. This amount is the total cost
AverageCpc Double METRIC The total cost of all clicks divided by the total number of clicks
AverageCpe Double METRIC The average amount that you've been charged for an ad engagement. This
AverageCpm Double METRIC Average cost-per-thousand impressions (CPM).
Clicks Long METRIC The number of clicks.
Conversions Double METRIC The number of conversions. This only includes conversion actions which
ConversionsFromInteractionsRate Double METRIC Conversions from interactions divided by the number of ad interactions
ConversionsValue Double METRIC The value of conversions. This only includes conversion actions which
CostMicros Long METRIC The sum of your cost-per-click (CPC) and cost-per-thousand impressions
CostPerAllConversions Double METRIC The cost of ad interactions divided by all conversions.
CostPerConversion Double METRIC The cost of ad interactions divided by conversions. This only includes
CrossDeviceConversions Double METRIC Conversions from when a customer clicks on a Google Ads ad on one device,
Ctr Double METRIC The number of clicks your ad receives (Clicks) divided by the number
EngagementRate Double METRIC How often people engage with your ad after it's shown to them. This is the
Engagements Long METRIC The number of engagements.
Impressions Long METRIC Count of how often your ad has appeared on a search results page or
InteractionEventTypes String METRIC The types of payable and free interactions.

The allowed values are CLICK, ENGAGEMENT, NONE, UNKNOWN, VIDEO_VIEW.

InteractionRate Double METRIC How often people interact with your ad after it is shown to them.
Interactions Long METRIC The number of interactions.
TrueviewAverageCpv Double METRIC The average amount you pay each time someone views your ad.
ValuePerAllConversions Double METRIC The value of all conversions divided by the number of all conversions.
ValuePerConversion Double METRIC The value of conversions divided by the number of conversions. This only
VideoQuartileP100Rate Double METRIC Percentage of impressions where the viewer watched all of your video.
VideoQuartileP25Rate Double METRIC Percentage of impressions where the viewer watched 25% of your video.
VideoQuartileP50Rate Double METRIC Percentage of impressions where the viewer watched 50% of your video.
VideoQuartileP75Rate Double METRIC Percentage of impressions where the viewer watched 75% of your video.
VideoTrueviewViewRate Double METRIC The number of TrueView views your video ad receives divided by its number
VideoTrueviewViews Long METRIC The number of TrueView views your video ads received.
ViewThroughConversions Long METRIC The total number of view-through conversions.
ConversionAction String SEGMENT Resource name of the conversion action.
ConversionActionCategory String SEGMENT Conversion action category.

The allowed values are ADD_TO_CART, BEGIN_CHECKOUT, BOOK_APPOINTMENT, CONTACT, CONVERTED_LEAD, DEFAULT, DOWNLOAD, ENGAGEMENT, GET_DIRECTIONS, IMPORTED_LEAD, OUTBOUND_CLICK, PAGE_VIEW, PHONE_CALL_LEAD, PURCHASE, QUALIFIED_LEAD, REQUEST_QUOTE, SIGNUP, STORE_SALE, STORE_VISIT, SUBMIT_LEAD_FORM, SUBSCRIBE_PAID, UNKNOWN, YOUTUBE_FOLLOW_ON_VIEWS.

ConversionActionName String SEGMENT Conversion action name.
Date Date SEGMENT Date to which metrics apply.
ExternalConversionSource String SEGMENT External conversion source.

The allowed values are AD_CALL_METRICS, ANALYTICS, ANALYTICS_SEARCH_ADS_360, ANDROID_FIRST_OPEN, ANDROID_IN_APP, APP_UNSPECIFIED, CLICK_TO_CALL, DISPLAY_AND_VIDEO_360_FLOODLIGHT, FIREBASE, FIREBASE_SEARCH_ADS_360, FLOODLIGHT, GOOGLE_ATTRIBUTION, GOOGLE_HOSTED, GOOGLE_PLAY, IOS_FIRST_OPEN, IOS_IN_APP, SALESFORCE, SEARCH_ADS_360, STORE_SALES, STORE_SALES_CRM, STORE_SALES_DIRECT_UPLOAD, STORE_SALES_PAYMENT_NETWORK, STORE_VISITS, THIRD_PARTY_APP_ANALYTICS, UNKNOWN, UPLOAD, UPLOAD_CALLS, WEBPAGE, WEBSITE_CALL_METRICS.

Month Date SEGMENT Month as represented by the date of the first day of a month. Formatted as
MonthOfYear String SEGMENT Month of the year, for example, January.

The allowed values are APRIL, AUGUST, DECEMBER, FEBRUARY, JANUARY, JULY, JUNE, MARCH, MAY, NOVEMBER, OCTOBER, SEPTEMBER, UNKNOWN.

Period String SEGMENT Predefined date range.

The allowed values are TODAY, YESTERDAY, LAST_7_DAYS, LAST_BUSINESS_WEEK, THIS_MONTH, LAST_MONTH, LAST_14_DAYS, LAST_30_DAYS, THIS_WEEK_SUN_TODAY, THIS_WEEK_MON_TODAY, LAST_WEEK_SUN_SAT, LAST_WEEK_MON_SUN.

Quarter Date SEGMENT Quarter as represented by the date of the first day of a quarter.
Week Date SEGMENT Week as defined as Monday through Sunday, and represented by the date of
Year Int SEGMENT Year, formatted as yyyy.

Pseudo-Columns

Pseudo column fields are used in the WHERE clause of SELECT statements and offer more granular control over the data returned from the data source.

Name Type Description
ManagerId Long Id of the manager account on behalf of which you are requesting customer data.

CData Python Connector for Google Ads

AdStatsReport

Ad-level performance stats by Ad Network and Device. Daily data is returned with a default date range of the last 7 days not including today.

Columns

Name Type Behavior Description
CustomerId Long ATTRIBUTE Output only. The ID of the customer.
Date Date SEGMENT Date to which metrics apply. yyyy-MM-dd format, for example, 2018-04-17.
ActiveViewImpressions Long METRIC A measurement of how often your ad has become viewable on a Display Network site.
ActiveViewMeasurability Double METRIC The ratio of impressions that could be measured by Active View over the number of served impressions.
ActiveViewMeasurableCostMicros Long METRIC The cost of the impressions you received that were measurable by Active View.
ActiveViewMeasurableImpressions Long METRIC The number of times your ads are appearing on placements in positions where they can be seen.
ActiveViewViewability Double METRIC The percentage of time when your ad appeared on an Active View enabled site (measurable impressions) and was viewable (viewable impressions).
AdGroupBaseAdGroup String ATTRIBUTE Output only. For draft or experiment ad groups, this field is the resource name of the base ad group from which this ad group was created. If a draft or experiment ad group does not have a base ad group, then this field is null. For base ad groups, this field equals the ad group resource name. This field is read-only.
AdGroupId Long ATTRIBUTE Output only. The ID of the ad group.
AdGroupAdAdId Long ATTRIBUTE Output only. The ID of the ad.
AdNetworkType String SEGMENT Ad network type.

The allowed values are CONTENT, GOOGLE_OWNED_CHANNELS, GOOGLE_TV, MIXED, SEARCH, SEARCH_PARTNERS, UNKNOWN, YOUTUBE.

CampaignBaseCampaign String ATTRIBUTE Output only. The resource name of the base campaign of a draft or experiment campaign. For base campaigns, this is equal to resource_name. This field is read-only.
CampaignId Long ATTRIBUTE Output only. The ID of the campaign.
Clicks Long METRIC The number of clicks.
Conversions Double METRIC The number of conversions. This only includes conversion actions which include_in_conversions_metric attribute is set to true. If you use conversion-based bidding, your bid strategies will optimize for these conversions.
ConversionsValue Double METRIC The value of conversions. This only includes conversion actions which include_in_conversions_metric attribute is set to true. If you use conversion-based bidding, your bid strategies will optimize for these conversions.
CostMicros Long METRIC The sum of your cost-per-click (CPC) and cost-per-thousand impressions (CPM) costs during this period.
Device String SEGMENT Device to which metrics apply.

The allowed values are CONNECTED_TV, DESKTOP, MOBILE, OTHER, TABLET, UNKNOWN.

Impressions Long METRIC Count of how often your ad has appeared on a search results page or website on the Google Network.
InteractionEventTypes String METRIC The types of payable and free interactions.

The allowed values are UNKNOWN, CLICK, ENGAGEMENT, VIDEO_VIEW, NONE.

Interactions Long METRIC The number of interactions. An interaction is the main user action associated with an ad format-clicks for text and shopping ads, views for video ads, and so on.
VideoViews Long METRIC The number of times your video ads were viewed.
ViewThroughConversions Long METRIC The total number of view-through conversions. These happen when a customer sees an image or rich media ad, then later completes a conversion on your site without interacting with (for example, clicking on) another ad.

CData Python Connector for Google Ads

AgeRangeView

An age range view.

View-Specific Information

Select

Google Ads does not allow every column to be selected in a single query, as some data conflicts if selected together. Therefore, when issuing a query that selects all columns, only the default metrics, segments, and attributes are returned. In general, these defaults are the same fields that are exposed through the Ads console. To use the nondefault fields, explicitly select them in your query.

Filters can also be used in the WHERE clause using the following supported operators: =, !=, >, >=, <, <=, LIKE, NOT LIKE, IN, NOT IN . Note that all filters must be joined by AND, as OR is not supported by the Ads API.

Columns

Name Type Behavior Description
AgeRangeViewResourceName String ATTRIBUTE Output only. The resource name of the age range view.
CustomerId Long ATTRIBUTE Output only. The ID of the customer.
ActiveViewCpm Double METRIC Average cost of viewable impressions (active_view_impressions).
ActiveViewCtr Double METRIC Active view measurable clicks divided by active view viewable impressions.
ActiveViewImpressions Long METRIC A measurement of how often your ad has become viewable on a Display
ActiveViewMeasurability Double METRIC The ratio of impressions that could be measured by Active View over the
ActiveViewMeasurableCostMicros Long METRIC The cost of the impressions you received that were measurable by Active
ActiveViewMeasurableImpressions Long METRIC The number of times your ads are appearing on placements in positions
ActiveViewViewability Double METRIC The percentage of time when your ad appeared on an Active View enabled site
AllConversions Double METRIC The total number of conversions. This includes all conversions regardless
AllConversionsFromInteractionsRate Double METRIC All conversions from interactions (as oppose to view through conversions)
AllConversionsFromInteractionsValuePerInteraction Double METRIC The value of all conversions from interactions divided by the total number
AllConversionsValue Double METRIC The value of all conversions.
AllConversionsValuePerCost Double METRIC The value of all conversions divided by the total cost of ad interactions
AverageCost Double METRIC The average amount you pay per interaction. This amount is the total cost
AverageCpc Double METRIC The total cost of all clicks divided by the total number of clicks
AverageCpe Double METRIC The average amount that you've been charged for an ad engagement. This
AverageCpm Double METRIC Average cost-per-thousand impressions (CPM).
Clicks Long METRIC The number of clicks.
Conversions Double METRIC The number of conversions. This only includes conversion actions which
ConversionsFromInteractionsRate Double METRIC Conversions from interactions divided by the number of ad interactions
ConversionsValue Double METRIC The value of conversions. This only includes conversion actions which
CostMicros Long METRIC The sum of your cost-per-click (CPC) and cost-per-thousand impressions
CostPerAllConversions Double METRIC The cost of ad interactions divided by all conversions.
CostPerConversion Double METRIC The cost of ad interactions divided by conversions. This only includes
CrossDeviceConversions Double METRIC Conversions from when a customer clicks on a Google Ads ad on one device,
Ctr Double METRIC The number of clicks your ad receives (Clicks) divided by the number
EngagementRate Double METRIC How often people engage with your ad after it's shown to them. This is the
Engagements Long METRIC The number of engagements.
GmailForwards Long METRIC The number of times the ad was forwarded to someone else as a message.
GmailSaves Long METRIC The number of times someone has saved your Gmail ad to their inbox as a
GmailSecondaryClicks Long METRIC The number of clicks to the landing page on the expanded state of Gmail
Impressions Long METRIC Count of how often your ad has appeared on a search results page or
InteractionEventTypes String METRIC The types of payable and free interactions.

The allowed values are CLICK, ENGAGEMENT, NONE, UNKNOWN, VIDEO_VIEW.

InteractionRate Double METRIC How often people interact with your ad after it is shown to them.
Interactions Long METRIC The number of interactions.
TrueviewAverageCpv Double METRIC The average amount you pay each time someone views your ad.
ValuePerAllConversions Double METRIC The value of all conversions divided by the number of all conversions.
ValuePerConversion Double METRIC The value of conversions divided by the number of conversions. This only
VideoQuartileP100Rate Double METRIC Percentage of impressions where the viewer watched all of your video.
VideoQuartileP25Rate Double METRIC Percentage of impressions where the viewer watched 25% of your video.
VideoQuartileP50Rate Double METRIC Percentage of impressions where the viewer watched 50% of your video.
VideoQuartileP75Rate Double METRIC Percentage of impressions where the viewer watched 75% of your video.
VideoTrueviewViewRate Double METRIC The number of TrueView views your video ad receives divided by its number
VideoTrueviewViews Long METRIC The number of TrueView views your video ads received.
ViewThroughConversions Long METRIC The total number of view-through conversions.
AdNetworkType String SEGMENT Ad network type.

The allowed values are CONTENT, DISCOVER, GMAIL, GOOGLE_OWNED_CHANNELS, GOOGLE_TV, MAPS, MIXED, SEARCH, SEARCH_PARTNERS, UNKNOWN, YOUTUBE.

AdSubNetworkType String SEGMENT Ad sub network type. Currently only available for ads running as part of

The allowed values are UNKNOWN, UNSEGMENTED, YOUTUBE_INFEED, YOUTUBE_INSTREAM, YOUTUBE_SHORTS.

ClickType String SEGMENT Click type.

The allowed values are AD_IMAGE, APP_DEEPLINK, BREADCRUMBS, BROADBAND_PLAN, CALLS, CALL_TRACKING, CLICK_ON_ENGAGEMENT_AD, CLICK_TO_MESSAGE_LANDING_PAGE_CLICK, CLICK_TO_MESSAGE_THIRD_PARTY_CLICK, CROSS_NETWORK, GET_DIRECTIONS, HOTEL_BOOK_ON_GOOGLE_ROOM_SELECTION, HOTEL_PRICE, LOCATION_EXPANSION, LOCATION_FORMAT_CALL, LOCATION_FORMAT_DIRECTIONS, LOCATION_FORMAT_IMAGE, LOCATION_FORMAT_LANDING_PAGE, LOCATION_FORMAT_MAP, LOCATION_FORMAT_STORE_INFO, LOCATION_FORMAT_TEXT, MOBILE_CALL_TRACKING, OFFER_PRINTS, OTHER, PRICE_EXTENSION, PRODUCT_AD_APP_DEEPLINK, PRODUCT_ASSETS, PRODUCT_EXTENSION_CLICKS, PRODUCT_LISTING_ADS_COUPON, PRODUCT_LISTING_AD_CLICKS, PRODUCT_LISTING_AD_LOCAL, PRODUCT_LISTING_AD_MULTICHANNEL_LOCAL, PRODUCT_LISTING_AD_MULTICHANNEL_ONLINE, PRODUCT_LISTING_AD_TRANSACTABLE, PROMOTION_EXTENSION, SHOPPING_COMPARISON_LISTING, SHOWCASE_AD_CATEGORY_LINK, SHOWCASE_AD_LOCAL_PRODUCT_LINK, SHOWCASE_AD_LOCAL_STOREFRONT_LINK, SHOWCASE_AD_ONLINE_PRODUCT_LINK, SITELINKS, STORE_LOCATOR, SWIPEABLE_GALLERY_AD_HEADLINE, SWIPEABLE_GALLERY_AD_SEE_MORE, SWIPEABLE_GALLERY_AD_SITELINK_FIVE, SWIPEABLE_GALLERY_AD_SITELINK_FOUR, SWIPEABLE_GALLERY_AD_SITELINK_ONE, SWIPEABLE_GALLERY_AD_SITELINK_THREE, SWIPEABLE_GALLERY_AD_SITELINK_TWO, SWIPEABLE_GALLERY_AD_SWIPES, TRAVEL_ASSETS, UNKNOWN, URL_CLICKS, VEHICLE_ASSETS, VIDEO_APP_STORE_CLICKS, VIDEO_CALL_TO_ACTION_CLICKS, VIDEO_CARD_ACTION_HEADLINE_CLICKS, VIDEO_CHANNEL_CLICK, VIDEO_END_CAP_CLICKS, VIDEO_RELATED_VIDEOS_CLICK, VIDEO_WEBSITE_CLICKS, VISUAL_SITELINKS, WIRELESS_PLAN.

ConversionAction String SEGMENT Resource name of the conversion action.
ConversionActionCategory String SEGMENT Conversion action category.

The allowed values are ADD_TO_CART, BEGIN_CHECKOUT, BOOK_APPOINTMENT, CONTACT, CONVERTED_LEAD, DEFAULT, DOWNLOAD, ENGAGEMENT, GET_DIRECTIONS, IMPORTED_LEAD, OUTBOUND_CLICK, PAGE_VIEW, PHONE_CALL_LEAD, PURCHASE, QUALIFIED_LEAD, REQUEST_QUOTE, SIGNUP, STORE_SALE, STORE_VISIT, SUBMIT_LEAD_FORM, SUBSCRIBE_PAID, UNKNOWN, YOUTUBE_FOLLOW_ON_VIEWS.

ConversionActionName String SEGMENT Conversion action name.
Date Date SEGMENT Date to which metrics apply.
DayOfWeek String SEGMENT Day of the week, for example, MONDAY.

The allowed values are FRIDAY, MONDAY, SATURDAY, SUNDAY, THURSDAY, TUESDAY, UNKNOWN, WEDNESDAY.

Device String SEGMENT Device to which metrics apply.

The allowed values are CONNECTED_TV, DESKTOP, MOBILE, OTHER, TABLET, UNKNOWN.

ExternalConversionSource String SEGMENT External conversion source.

The allowed values are AD_CALL_METRICS, ANALYTICS, ANALYTICS_SEARCH_ADS_360, ANDROID_FIRST_OPEN, ANDROID_IN_APP, APP_UNSPECIFIED, CLICK_TO_CALL, DISPLAY_AND_VIDEO_360_FLOODLIGHT, FIREBASE, FIREBASE_SEARCH_ADS_360, FLOODLIGHT, GOOGLE_ATTRIBUTION, GOOGLE_HOSTED, GOOGLE_PLAY, IOS_FIRST_OPEN, IOS_IN_APP, SALESFORCE, SEARCH_ADS_360, STORE_SALES, STORE_SALES_CRM, STORE_SALES_DIRECT_UPLOAD, STORE_SALES_PAYMENT_NETWORK, STORE_VISITS, THIRD_PARTY_APP_ANALYTICS, UNKNOWN, UPLOAD, UPLOAD_CALLS, WEBPAGE, WEBSITE_CALL_METRICS.

Month Date SEGMENT Month as represented by the date of the first day of a month. Formatted as
MonthOfYear String SEGMENT Month of the year, for example, January.

The allowed values are APRIL, AUGUST, DECEMBER, FEBRUARY, JANUARY, JULY, JUNE, MARCH, MAY, NOVEMBER, OCTOBER, SEPTEMBER, UNKNOWN.

Period String SEGMENT Predefined date range.

The allowed values are TODAY, YESTERDAY, LAST_7_DAYS, LAST_BUSINESS_WEEK, THIS_MONTH, LAST_MONTH, LAST_14_DAYS, LAST_30_DAYS, THIS_WEEK_SUN_TODAY, THIS_WEEK_MON_TODAY, LAST_WEEK_SUN_SAT, LAST_WEEK_MON_SUN.

Quarter Date SEGMENT Quarter as represented by the date of the first day of a quarter.
Week Date SEGMENT Week as defined as Monday through Sunday, and represented by the date of
Year Int SEGMENT Year, formatted as yyyy.

Pseudo-Columns

Pseudo column fields are used in the WHERE clause of SELECT statements and offer more granular control over the data returned from the data source.

Name Type Description
ManagerId Long Id of the manager account on behalf of which you are requesting customer data.

CData Python Connector for Google Ads

AiMaxSearchTermAdCombinationView

AiMaxSearchTermAdCombinationView Resource.

Columns

Name Type Behavior Description
AiMaxSearchTermAdCombinationViewAdGroup String ATTRIBUTE Output only. Ad group where the search term served.
AiMaxSearchTermAdCombinationViewHeadline String ATTRIBUTE Output only. The concatenated string containing headline assets for the ad.
AiMaxSearchTermAdCombinationViewLandingPage String ATTRIBUTE Output only. The destination URL, which was dynamically generated. This
AiMaxSearchTermAdCombinationViewResourceName String ATTRIBUTE Output only. The resource name of the AI Max Search Term Ad Combination
AiMaxSearchTermAdCombinationViewSearchTerm String ATTRIBUTE Output only. The search term that triggered the ad. This field is
CustomerId Long ATTRIBUTE Output only. The ID of the customer.
AllConversions Double METRIC The total number of conversions. This includes all conversions regardless
AllConversionsValue Double METRIC The value of all conversions.
AllConversionsValuePerCost Double METRIC The value of all conversions divided by the total cost of ad interactions
AverageCpm Double METRIC Average cost-per-thousand impressions (CPM).
Clicks Long METRIC The number of clicks.
Conversions Double METRIC The number of conversions. This only includes conversion actions which
ConversionsValue Double METRIC The value of conversions. This only includes conversion actions which
ConversionsValuePerCost Double METRIC The value of conversions divided by the cost of ad interactions. This only
CostMicros Long METRIC The sum of your cost-per-click (CPC) and cost-per-thousand impressions
CostPerAllConversions Double METRIC The cost of ad interactions divided by all conversions.
CostPerConversion Double METRIC The cost of ad interactions divided by conversions. This only includes
CrossDeviceConversions Double METRIC Conversions from when a customer clicks on a Google Ads ad on one device,
Impressions Long METRIC Count of how often your ad has appeared on a search results page or
ValuePerAllConversions Double METRIC The value of all conversions divided by the number of all conversions.
ValuePerConversion Double METRIC The value of conversions divided by the number of conversions. This only
Date Date SEGMENT Date to which metrics apply.
Period String SEGMENT Predefined date range.

The allowed values are TODAY, YESTERDAY, LAST_7_DAYS, LAST_BUSINESS_WEEK, THIS_MONTH, LAST_MONTH, LAST_14_DAYS, LAST_30_DAYS, THIS_WEEK_SUN_TODAY, THIS_WEEK_MON_TODAY, LAST_WEEK_SUN_SAT, LAST_WEEK_MON_SUN.

Pseudo-Columns

Pseudo column fields are used in the WHERE clause of SELECT statements and offer more granular control over the data returned from the data source.

Name Type Description
ManagerId Long Id of the manager account on behalf of which you are requesting customer data.

CData Python Connector for Google Ads

AndroidPrivacySharedKeyGoogleAdGroup

An Android privacy shared key view for Google ad group key.

Columns

Name Type Behavior Description
AndroidPrivacySharedKeyGoogleAdGroupAdGroupId Long ATTRIBUTE Output only. The ad group ID used in the share key encoding.
AndroidPrivacySharedKeyGoogleAdGroupAndroidPrivacyInteractionDate Date ATTRIBUTE Output only. The interaction date used in the shared key encoding in the
AndroidPrivacySharedKeyGoogleAdGroupAndroidPrivacyInteractionType String ATTRIBUTE Output only. The interaction type enum used in the share key encoding.

The allowed values are CLICK, ENGAGED_VIEW, UNKNOWN, VIEW.

AndroidPrivacySharedKeyGoogleAdGroupAndroidPrivacyNetworkType String ATTRIBUTE Output only. The network type enum used in the share key encoding.

The allowed values are DISPLAY, SEARCH, UNKNOWN, YOUTUBE.

AndroidPrivacySharedKeyGoogleAdGroupCampaignId Long ATTRIBUTE Output only. The campaign ID used in the share key encoding.
AndroidPrivacySharedKeyGoogleAdGroupResourceName String ATTRIBUTE Output only. The resource name of the Android privacy shared key.
AndroidPrivacySharedKeyGoogleAdGroupSharedAdGroupKey String ATTRIBUTE Output only. 128 bit hex string of the encoded shared ad group key,
CustomerId Long ATTRIBUTE Output only. The ID of the customer.
Date Date SEGMENT Date to which metrics apply.
Period String SEGMENT Predefined date range.

The allowed values are TODAY, YESTERDAY, LAST_7_DAYS, LAST_BUSINESS_WEEK, THIS_MONTH, LAST_MONTH, LAST_14_DAYS, LAST_30_DAYS, THIS_WEEK_SUN_TODAY, THIS_WEEK_MON_TODAY, LAST_WEEK_SUN_SAT, LAST_WEEK_MON_SUN.

Pseudo-Columns

Pseudo column fields are used in the WHERE clause of SELECT statements and offer more granular control over the data returned from the data source.

Name Type Description
ManagerId Long Id of the manager account on behalf of which you are requesting customer data.

CData Python Connector for Google Ads

AndroidPrivacySharedKeyGoogleCampaign

An Android privacy shared key view for Google campaign key.

Columns

Name Type Behavior Description
AndroidPrivacySharedKeyGoogleCampaignAndroidPrivacyInteractionDate Date ATTRIBUTE Output only. The interaction date used in the shared key encoding in the
AndroidPrivacySharedKeyGoogleCampaignAndroidPrivacyInteractionType String ATTRIBUTE Output only. The interaction type enum used in the share key encoding.

The allowed values are CLICK, ENGAGED_VIEW, UNKNOWN, VIEW.

AndroidPrivacySharedKeyGoogleCampaignCampaignId Long ATTRIBUTE Output only. The campaign ID used in the share key encoding.
AndroidPrivacySharedKeyGoogleCampaignResourceName String ATTRIBUTE Output only. The resource name of the Android privacy shared key.
AndroidPrivacySharedKeyGoogleCampaignSharedCampaignKey String ATTRIBUTE Output only. 128 bit hex string of the encoded shared campaign key,
CustomerId Long ATTRIBUTE Output only. The ID of the customer.
Date Date SEGMENT Date to which metrics apply.
Period String SEGMENT Predefined date range.

The allowed values are TODAY, YESTERDAY, LAST_7_DAYS, LAST_BUSINESS_WEEK, THIS_MONTH, LAST_MONTH, LAST_14_DAYS, LAST_30_DAYS, THIS_WEEK_SUN_TODAY, THIS_WEEK_MON_TODAY, LAST_WEEK_SUN_SAT, LAST_WEEK_MON_SUN.

Pseudo-Columns

Pseudo column fields are used in the WHERE clause of SELECT statements and offer more granular control over the data returned from the data source.

Name Type Description
ManagerId Long Id of the manager account on behalf of which you are requesting customer data.

CData Python Connector for Google Ads

AndroidPrivacySharedKeyGoogleNetworkType

An Android privacy shared key view for Google network type key.

Columns

Name Type Behavior Description
AndroidPrivacySharedKeyGoogleNetworkTypeAndroidPrivacyInteractionDate Date ATTRIBUTE Output only. The interaction date used in the shared key encoding in the
AndroidPrivacySharedKeyGoogleNetworkTypeAndroidPrivacyInteractionType String ATTRIBUTE Output only. The interaction type enum used in the share key encoding.

The allowed values are CLICK, ENGAGED_VIEW, UNKNOWN, VIEW.

AndroidPrivacySharedKeyGoogleNetworkTypeAndroidPrivacyNetworkType String ATTRIBUTE Output only. The network type enum used in the share key encoding.

The allowed values are DISPLAY, SEARCH, UNKNOWN, YOUTUBE.

AndroidPrivacySharedKeyGoogleNetworkTypeCampaignId Long ATTRIBUTE Output only. The campaign ID used in the share key encoding.
AndroidPrivacySharedKeyGoogleNetworkTypeResourceName String ATTRIBUTE Output only. The resource name of the Android privacy shared key.
AndroidPrivacySharedKeyGoogleNetworkTypeSharedNetworkTypeKey String ATTRIBUTE Output only. 128 bit hex string of the encoded shared network type key,
CustomerId Long ATTRIBUTE Output only. The ID of the customer.
Date Date SEGMENT Date to which metrics apply.
Period String SEGMENT Predefined date range.

The allowed values are TODAY, YESTERDAY, LAST_7_DAYS, LAST_BUSINESS_WEEK, THIS_MONTH, LAST_MONTH, LAST_14_DAYS, LAST_30_DAYS, THIS_WEEK_SUN_TODAY, THIS_WEEK_MON_TODAY, LAST_WEEK_SUN_SAT, LAST_WEEK_MON_SUN.

Pseudo-Columns

Pseudo column fields are used in the WHERE clause of SELECT statements and offer more granular control over the data returned from the data source.

Name Type Description
ManagerId Long Id of the manager account on behalf of which you are requesting customer data.

CData Python Connector for Google Ads

AppliedIncentive

Represents an applied incentive.

Columns

Name Type Behavior Description
AppliedIncentiveCouponCode String ATTRIBUTE Output only. The coupon code of the incentive.
AppliedIncentiveCurrencyCode String ATTRIBUTE Output only. The currency code for all monetary amounts (for example,
AppliedIncentiveCurrentSpendTowardsFulfillmentMicros Long ATTRIBUTE Output only. The current amount spent towards the fulfillment requirements,
AppliedIncentiveFulfillmentExpirationDateTime String ATTRIBUTE Output only. The time by which the incentive's fulfillment requirements
AppliedIncentiveGrantedAmountMicros Long ATTRIBUTE Output only. The amount of the reward granted in micros.
AppliedIncentiveIncentiveState String ATTRIBUTE Output only. The current state of the incentive.

The allowed values are EXPIRED, FULFILLED, INVALIDATED, REDEEMED, REWARD_EXHAUSTED, REWARD_EXPIRED, REWARD_GRANTED, UNKNOWN.

AppliedIncentiveRedemptionDateTime String ATTRIBUTE Output only. The redemption time of the incentive in 'YYYY-MM-DD HH:MM:SS'
AppliedIncentiveRequiredMinSpendMicros Long ATTRIBUTE Output only. The minimum amount that must be spent to fulfill the coupon
AppliedIncentiveResourceName String ATTRIBUTE Output only. The resource name of the incentive.
AppliedIncentiveRewardAmountMicros Long ATTRIBUTE Output only. The maximum potential reward amount in micros for the
AppliedIncentiveRewardBalanceRemainingMicros Long ATTRIBUTE Output only. The remaining balance of the granted reward in micros.
AppliedIncentiveRewardExpirationDateTime String ATTRIBUTE Output only. The time when the granted reward expires in 'YYYY-MM-DD
AppliedIncentiveRewardGrantDateTime String ATTRIBUTE Output only. The time when the reward was granted in 'YYYY-MM-DD HH:MM:SS'
CustomerId Long ATTRIBUTE Output only. The ID of the customer.

Pseudo-Columns

Pseudo column fields are used in the WHERE clause of SELECT statements and offer more granular control over the data returned from the data source.

Name Type Description
ManagerId Long Id of the manager account on behalf of which you are requesting customer data.

CData Python Connector for Google Ads

AppTopCombinationView

A view resource in the App Top Combination Report.

Columns

Name Type Behavior Description
AppTopCombinationViewAdGroupTopCombinations String ATTRIBUTE Output only. The top combinations of assets that served together.
AppTopCombinationViewResourceName String ATTRIBUTE Output only. The resource name of the app top combination view.
CustomerId Long ATTRIBUTE Output only. The ID of the customer.
Date Date SEGMENT Date to which metrics apply.
DayOfWeek String SEGMENT Day of the week, for example, MONDAY.

The allowed values are FRIDAY, MONDAY, SATURDAY, SUNDAY, THURSDAY, TUESDAY, UNKNOWN, WEDNESDAY.

Month Date SEGMENT Month as represented by the date of the first day of a month. Formatted as
Period String SEGMENT Predefined date range.

The allowed values are TODAY, YESTERDAY, LAST_7_DAYS, LAST_BUSINESS_WEEK, THIS_MONTH, LAST_MONTH, LAST_14_DAYS, LAST_30_DAYS, THIS_WEEK_SUN_TODAY, THIS_WEEK_MON_TODAY, LAST_WEEK_SUN_SAT, LAST_WEEK_MON_SUN.

Quarter Date SEGMENT Quarter as represented by the date of the first day of a quarter.
Week Date SEGMENT Week as defined as Monday through Sunday, and represented by the date of
Year Int SEGMENT Year, formatted as yyyy.

Pseudo-Columns

Pseudo column fields are used in the WHERE clause of SELECT statements and offer more granular control over the data returned from the data source.

Name Type Description
ManagerId Long Id of the manager account on behalf of which you are requesting customer data.

CData Python Connector for Google Ads

Asset

Asset is a part of an ad which can be shared across multiple ads.

View-Specific Information

Select

Google Ads does not allow every column to be selected in a single query, as some data conflicts if selected together. Therefore, when issuing a query that selects all columns, only the default metrics, segments, and attributes are returned. In general, these defaults are the same fields that are exposed through the Ads console. To use the nondefault fields, explicitly select them in your query.

Filters can also be used in the WHERE clause using the following supported operators: =, !=, >, >=, <, <=, LIKE, NOT LIKE, IN, NOT IN . Note that all filters must be joined by AND, as OR is not supported by the Ads API.

Columns

Name Type Behavior Description
AssetAppDeepLinkAssetAppDeepLinkUri String ATTRIBUTE The uri for the app deep link, The uri can be either a custom scheme uri (e.g. mystore://shoes) or universal uri (e.g. http://www.mystore.com/shoes).
AssetBookOnGoogleAsset String ATTRIBUTE A book on google asset.
AssetBusinessMessageAssetCallToActionCallToActionDescription String ATTRIBUTE Required. Text providing a clear value proposition of what users expect once they take the action. Examples: 'Message us for a quote', 'Ask our expert team'.
AssetBusinessMessageAssetCallToActionCallToActionSelection String ATTRIBUTE Required. Pre-defined call to action text.

The allowed values are APPLY_NOW, BOOK_NOW, CONTACT_US, GET_INFO, GET_OFFER, GET_QUOTE, GET_STARTED, LEARN_MORE, UNKNOWN.

AssetBusinessMessageAssetFacebookMessengerInfoPageName String ATTRIBUTE Required. Facebook page name used for starting a chat on Facebook Messenger.
AssetBusinessMessageAssetMessageProvider String ATTRIBUTE Required. Message provider of the business message asset.

The allowed values are FACEBOOK_MESSENGER, UNKNOWN, WHATSAPP, ZALO.

AssetBusinessMessageAssetStarterMessage String ATTRIBUTE Required. A welcome message to prompt the user to initiate a conversation.
AssetBusinessMessageAssetWhatsappInfoCountryCode String ATTRIBUTE Required. Two-letter country code of the phone number. Examples: 'US', 'us'.
AssetBusinessMessageAssetWhatsappInfoPhoneNumber String ATTRIBUTE Required. Whatsapp phone number of the business. Examples: '1234567890', '(123)456-7890'.
AssetBusinessMessageAssetZaloInfoCustomName String ATTRIBUTE Custom name generated by the advertiser for their Zalo Account. These names will usually be registered brands or trademarks.
AssetBusinessMessageAssetZaloInfoOaId Long ATTRIBUTE Zalo Official Account ID of the advertiser.
AssetCallAssetAdScheduleTargets String ATTRIBUTE List of non-overlapping schedules specifying all time intervals for which the asset may serve. There can be a maximum of 6 schedules per day, 42 in total.
AssetCallAssetCallConversionAction String ATTRIBUTE The conversion action to attribute a call conversion to. If not set, the default conversion action is used. This field only has effect if call_conversion_reporting_state is set to USE_RESOURCE_LEVEL_CALL_CONVERSION_ACTION.
AssetCallAssetCallConversionReportingState String ATTRIBUTE Indicates whether this CallAsset should use its own call conversion setting, follow the account level setting, or disable call conversion.

The allowed values are DISABLED, UNKNOWN, USE_ACCOUNT_LEVEL_CALL_CONVERSION_ACTION, USE_RESOURCE_LEVEL_CALL_CONVERSION_ACTION.

AssetCallAssetCountryCode String ATTRIBUTE Required. Two-letter country code of the phone number. Examples: 'US', 'us'.
AssetCallAssetPhoneNumber String ATTRIBUTE Required. The advertiser's raw phone number. Examples: '1234567890', '(123)456-7890'
AssetCallToActionAssetCallToAction String ATTRIBUTE Call to action.

The allowed values are APPLY_NOW, BOOK_NOW, BUY_NOW, CONTACT_US, DONATE_NOW, DOWNLOAD, GET_QUOTE, LEARN_MORE, ORDER_NOW, PLAY_NOW, SEE_MORE, SHOP_NOW, SIGN_UP, START_NOW, SUBSCRIBE, UNKNOWN, VISIT_SITE, WATCH_NOW.

AssetCalloutAssetAdScheduleTargets String ATTRIBUTE List of non-overlapping schedules specifying all time intervals for which the asset may serve. There can be a maximum of 6 schedules per day, 42 in total.
AssetCalloutAssetCalloutText String ATTRIBUTE Required. The callout text. The length of this string should be between 1 and 25, inclusive.
AssetCalloutAssetEndDate Date ATTRIBUTE Last date of when this asset is effective and still serving, in yyyy-MM-dd format.
AssetCalloutAssetStartDate Date ATTRIBUTE Start date of when this asset is effective and can begin serving, in yyyy-MM-dd format.
AssetDemandGenCarouselCardAssetCallToActionText String ATTRIBUTE Call to action text.
AssetDemandGenCarouselCardAssetHeadline String ATTRIBUTE Required. Headline of the carousel card.
AssetDemandGenCarouselCardAssetMarketingImageAsset String ATTRIBUTE Asset resource name of the associated 1.91:1 marketing image. This and/or square marketing image asset is required.
AssetDemandGenCarouselCardAssetPortraitMarketingImageAsset String ATTRIBUTE Asset resource name of the associated 4:5 portrait marketing image.
AssetDemandGenCarouselCardAssetSquareMarketingImageAsset String ATTRIBUTE Asset resource name of the associated square marketing image. This and/or a marketing image asset is required.
AssetDynamicCustomAssetAndroidAppLink String ATTRIBUTE Android deep link, for example, android-app://com.example.android/http/example.com/gizmos?1234.
AssetDynamicCustomAssetContextualKeywords String ATTRIBUTE Contextual keywords, for example, Sedans, 4 door sedans.
AssetDynamicCustomAssetFormattedPrice String ATTRIBUTE Formatted price which can be any characters. If set, this attribute will be used instead of 'price', for example, Starting at $20,000.00.
AssetDynamicCustomAssetFormattedSalePrice String ATTRIBUTE Formatted sale price which can be any characters. If set, this attribute will be used instead of 'sale price', for example, On sale for $15,000.00.
AssetDynamicCustomAssetId String ATTRIBUTE Required. ID which can be any sequence of letters and digits, and must be unique and match the values of remarketing tag, for example, sedan. Required.
AssetDynamicCustomAssetId2 String ATTRIBUTE ID2 which can be any sequence of letters and digits, for example, red. ID sequence (ID + ID2) must be unique.
AssetDynamicCustomAssetImageUrl String ATTRIBUTE Image URL, for example, http://www.example.com/image.png. The image will not be uploaded as image asset.
AssetDynamicCustomAssetIosAppLink String ATTRIBUTE iOS deep link, for example, exampleApp://content/page.
AssetDynamicCustomAssetIosAppStoreId Long ATTRIBUTE iOS app store ID. This is used to check if the user has the app installed on their device before deep linking. If this field is set, then the ios_app_link field must also be present.
AssetDynamicCustomAssetItemAddress String ATTRIBUTE Item address which can be specified in one of the following formats. (1) City, state, code, country, for example, Mountain View, CA, USA. (2) Full address, for example, 123 Boulevard St, Mountain View, CA 94043. (3) Latitude-longitude in the DDD format, for example, 41.40338, 2.17403
AssetDynamicCustomAssetItemCategory String ATTRIBUTE Item category, for example, Sedans.
AssetDynamicCustomAssetItemDescription String ATTRIBUTE Item description, for example, Best selling mid-size car.
AssetDynamicCustomAssetItemSubtitle String ATTRIBUTE Item subtitle, for example, At your Mountain View dealership.
AssetDynamicCustomAssetItemTitle String ATTRIBUTE Required. Item title, for example, Mid-size sedan. Required.
AssetDynamicCustomAssetPrice String ATTRIBUTE Price which can be number followed by the alphabetic currency code, ISO 4217 standard. Use '.' as the decimal mark, for example, 20,000.00 USD.
AssetDynamicCustomAssetSalePrice String ATTRIBUTE Sale price which can be number followed by the alphabetic currency code, ISO 4217 standard. Use '.' as the decimal mark, for example, 15,000.00 USD. Must be less than the 'price' field.
AssetDynamicCustomAssetSimilarIds String ATTRIBUTE Similar IDs.
AssetDynamicEducationAssetAddress String ATTRIBUTE School address which can be specified in one of the following formats. (1) City, state, code, country, for example, Mountain View, CA, USA. (2) Full address, for example, 123 Boulevard St, Mountain View, CA 94043. (3) Latitude-longitude in the DDD format, for example, 41.40338, 2.17403
AssetDynamicEducationAssetAndroidAppLink String ATTRIBUTE Android deep link, for example, android-app://com.example.android/http/example.com/gizmos?1234.
AssetDynamicEducationAssetContextualKeywords String ATTRIBUTE Contextual keywords, for example, Nursing certification, Health, Mountain View.
AssetDynamicEducationAssetImageUrl String ATTRIBUTE Image url, for example, http://www.example.com/image.png. The image will not be uploaded as image asset.
AssetDynamicEducationAssetIosAppLink String ATTRIBUTE iOS deep link, for example, exampleApp://content/page.
AssetDynamicEducationAssetIosAppStoreId Long ATTRIBUTE iOS app store ID. This is used to check if the user has the app installed on their device before deep linking. If this field is set, then the ios_app_link field must also be present.
AssetDynamicEducationAssetLocationId String ATTRIBUTE Location ID which can be any sequence of letters and digits and must be unique.
AssetDynamicEducationAssetProgramDescription String ATTRIBUTE Program description, for example, Nursing Certification.
AssetDynamicEducationAssetProgramId String ATTRIBUTE Required. Program ID which can be any sequence of letters and digits, and must be unique and match the values of remarketing tag. Required.
AssetDynamicEducationAssetProgramName String ATTRIBUTE Required. Program name, for example, Nursing. Required.
AssetDynamicEducationAssetSchoolName String ATTRIBUTE School name, for example, Mountain View School of Nursing.
AssetDynamicEducationAssetSimilarProgramIds String ATTRIBUTE Similar program IDs.
AssetDynamicEducationAssetSubject String ATTRIBUTE Subject of study, for example, Health.
AssetDynamicEducationAssetThumbnailImageUrl String ATTRIBUTE Thumbnail image url, for example, http://www.example.com/thumbnail.png. The thumbnail image will not be uploaded as image asset.
AssetDynamicFlightsAssetAndroidAppLink String ATTRIBUTE Android deep link, for example, android-app://com.example.android/http/example.com/gizmos?1234.
AssetDynamicFlightsAssetCustomMapping String ATTRIBUTE A custom field which can be multiple key to values mapping separated by delimiters (',', '|' and ':'), in the forms of ': , , ... , | : , ... , | ... | : , ... ,' for example, wifi: most | aircraft: 320, 77W | flights: 42 | legroom: 32'.
AssetDynamicFlightsAssetDestinationId String ATTRIBUTE Required. Destination ID which can be any sequence of letters and digits, and must be unique and match the values of remarketing tag. Required.
AssetDynamicFlightsAssetDestinationName String ATTRIBUTE Destination name, for example, Paris.
AssetDynamicFlightsAssetFlightDescription String ATTRIBUTE Required. Flight description, for example, Book your ticket. Required.
AssetDynamicFlightsAssetFlightPrice String ATTRIBUTE Flight price which can be number followed by the alphabetic currency code, ISO 4217 standard. Use '.' as the decimal mark, for example, 100.00 USD.
AssetDynamicFlightsAssetFlightSalePrice String ATTRIBUTE Flight sale price which can be number followed by the alphabetic currency code, ISO 4217 standard. Use '.' as the decimal mark, for example, 80.00 USD. Must be less than the 'flight_price' field.
AssetDynamicFlightsAssetFormattedPrice String ATTRIBUTE Formatted price which can be any characters. If set, this attribute will be used instead of 'price', for example, Starting at $100.00.
AssetDynamicFlightsAssetFormattedSalePrice String ATTRIBUTE Formatted sale price which can be any characters. If set, this attribute will be used instead of 'sale price', for example, On sale for $80.00.
AssetDynamicFlightsAssetImageUrl String ATTRIBUTE Image URL, for example, http://www.example.com/image.png. The image will not be uploaded as image asset.
AssetDynamicFlightsAssetIosAppLink String ATTRIBUTE iOS deep link, for example, exampleApp://content/page.
AssetDynamicFlightsAssetIosAppStoreId Long ATTRIBUTE iOS app store ID. This is used to check if the user has the app installed on their device before deep linking. If this field is set, then the ios_app_link field must also be present.
AssetDynamicFlightsAssetOriginId String ATTRIBUTE Origin ID which can be any sequence of letters and digits. The ID sequence (destination ID + origin ID) must be unique.
AssetDynamicFlightsAssetOriginName String ATTRIBUTE Origin name, for example, London.
AssetDynamicFlightsAssetSimilarDestinationIds String ATTRIBUTE Similar destination IDs, for example, PAR,LON.
AssetDynamicHotelsAndRentalsAssetAddress String ATTRIBUTE Address which can be specified in one of the following formats. (1) City, state, code, country, for example, Mountain View, CA, USA. (2) Full address, for example, 123 Boulevard St, Mountain View, CA 94043. (3) Latitude-longitude in the DDD format, for example, 41.40338, 2.17403
AssetDynamicHotelsAndRentalsAssetAndroidAppLink String ATTRIBUTE Android deep link, for example, android-app://com.example.android/http/example.com/gizmos?1234.
AssetDynamicHotelsAndRentalsAssetCategory String ATTRIBUTE Category, for example, Hotel suite.
AssetDynamicHotelsAndRentalsAssetContextualKeywords String ATTRIBUTE Contextual keywords, for example, Mountain View 'Hotels', South Bay hotels.
AssetDynamicHotelsAndRentalsAssetDescription String ATTRIBUTE Description, for example, Close to SJC Airport.
AssetDynamicHotelsAndRentalsAssetDestinationName String ATTRIBUTE Destination name, for example, Downtown Mountain View.
AssetDynamicHotelsAndRentalsAssetFormattedPrice String ATTRIBUTE Formatted price which can be any characters. If set, this attribute will be used instead of 'price', for example, Starting at $100.00.
AssetDynamicHotelsAndRentalsAssetFormattedSalePrice String ATTRIBUTE Formatted sale price which can be any characters. If set, this attribute will be used instead of 'sale price', for example, On sale for $80.00.
AssetDynamicHotelsAndRentalsAssetImageUrl String ATTRIBUTE Image URL, for example, http://www.example.com/image.png. The image will not be uploaded as image asset.
AssetDynamicHotelsAndRentalsAssetIosAppLink String ATTRIBUTE iOS deep link, for example, exampleApp://content/page.
AssetDynamicHotelsAndRentalsAssetIosAppStoreId Long ATTRIBUTE iOS app store ID. This is used to check if the user has the app installed on their device before deep linking. If this field is set, then the ios_app_link field must also be present.
AssetDynamicHotelsAndRentalsAssetPrice String ATTRIBUTE Price which can be number followed by the alphabetic currency code, ISO 4217 standard. Use '.' as the decimal mark, for example, 100.00 USD.
AssetDynamicHotelsAndRentalsAssetPropertyId String ATTRIBUTE Required. Property ID which can be any sequence of letters and digits, and must be unique and match the values of remarketing tag. Required.
AssetDynamicHotelsAndRentalsAssetPropertyName String ATTRIBUTE Required. Property name, for example, Mountain View Hotel. Required.
AssetDynamicHotelsAndRentalsAssetSalePrice String ATTRIBUTE ISO 4217 standard. Use '.' as the decimal mark, for example, 80.00 USD. Must be less than the 'price' field.
AssetDynamicHotelsAndRentalsAssetSimilarPropertyIds String ATTRIBUTE Similar property IDs.
AssetDynamicHotelsAndRentalsAssetStarRating Long ATTRIBUTE Star rating. Must be a number between 1 to 5, inclusive.
AssetDynamicJobsAssetAddress String ATTRIBUTE Address which can be specified in one of the following formats. (1) City, state, code, country, for example, Mountain View, CA, USA. (2) Full address, for example, 123 Boulevard St, Mountain View, CA 94043. (3) Latitude-longitude in the DDD format, for example, 41.40338, 2.17403.
AssetDynamicJobsAssetAndroidAppLink String ATTRIBUTE Android deep link, for example, android-app://com.example.android/http/example.com/gizmos?1234.
AssetDynamicJobsAssetContextualKeywords String ATTRIBUTE Contextual keywords, for example, Software engineering job.
AssetDynamicJobsAssetDescription String ATTRIBUTE Description, for example, Apply your technical skills.
AssetDynamicJobsAssetImageUrl String ATTRIBUTE Image URL, for example, http://www.example.com/image.png. The image will not be uploaded as image asset.
AssetDynamicJobsAssetIosAppLink String ATTRIBUTE iOS deep link, for example, exampleApp://content/page.
AssetDynamicJobsAssetIosAppStoreId Long ATTRIBUTE iOS app store ID. This is used to check if the user has the app installed on their device before deep linking. If this field is set, then the ios_app_link field must also be present.
AssetDynamicJobsAssetJobCategory String ATTRIBUTE Job category, for example, Technical.
AssetDynamicJobsAssetJobId String ATTRIBUTE Required. Job ID which can be any sequence of letters and digits, and must be unique and match the values of remarketing tag. Required.
AssetDynamicJobsAssetJobSubtitle String ATTRIBUTE Job subtitle, for example, Level II.
AssetDynamicJobsAssetJobTitle String ATTRIBUTE Required. Job title, for example, Software engineer. Required.
AssetDynamicJobsAssetLocationId String ATTRIBUTE Location ID which can be any sequence of letters and digits. The ID sequence (job ID + location ID) must be unique.
AssetDynamicJobsAssetSalary String ATTRIBUTE Salary, for example, $100,000.
AssetDynamicJobsAssetSimilarJobIds String ATTRIBUTE Similar job IDs, for example, 1275.
AssetDynamicLocalAssetAddress String ATTRIBUTE Address which can be specified in one of the following formats. (1) City, state, code, country, for example, Mountain View, CA, USA. (2) Full address, for example, 123 Boulevard St, Mountain View, CA 94043. (3) Latitude-longitude in the DDD format, for example, 41.40338, 2.17403.
AssetDynamicLocalAssetAndroidAppLink String ATTRIBUTE Android deep link, for example, android-app://com.example.android/http/example.com/gizmos?1234.
AssetDynamicLocalAssetCategory String ATTRIBUTE Category, for example, Food.
AssetDynamicLocalAssetContextualKeywords String ATTRIBUTE Contextual keywords, for example, Save groceries coupons.
AssetDynamicLocalAssetDealId String ATTRIBUTE Required. Deal ID which can be any sequence of letters and digits, and must be unique and match the values of remarketing tag. Required.
AssetDynamicLocalAssetDealName String ATTRIBUTE Required. Deal name, for example, 50% off at Mountain View Grocers. Required.
AssetDynamicLocalAssetDescription String ATTRIBUTE Description, for example, Save on your weekly bill.
AssetDynamicLocalAssetFormattedPrice String ATTRIBUTE Formatted price which can be any characters. If set, this attribute will be used instead of 'price', for example, Starting at $100.00.
AssetDynamicLocalAssetFormattedSalePrice String ATTRIBUTE Formatted sale price which can be any characters. If set, this attribute will be used instead of 'sale price', for example, On sale for $80.00.
AssetDynamicLocalAssetImageUrl String ATTRIBUTE Image URL, for example, http://www.example.com/image.png. The image will not be uploaded as image asset.
AssetDynamicLocalAssetIosAppLink String ATTRIBUTE iOS deep link, for example, exampleApp://content/page.
AssetDynamicLocalAssetIosAppStoreId Long ATTRIBUTE iOS app store ID. This is used to check if the user has the app installed on their device before deep linking. If this field is set, then the ios_app_link field must also be present.
AssetDynamicLocalAssetPrice String ATTRIBUTE Price which can be a number followed by the alphabetic currency code, ISO 4217 standard. Use '.' as the decimal mark, for example, 100.00 USD.
AssetDynamicLocalAssetSalePrice String ATTRIBUTE Sale price which can be number followed by the alphabetic currency code, ISO 4217 standard. Use '.' as the decimal mark, for example, 80.00 USD. Must be less than the 'price' field.
AssetDynamicLocalAssetSimilarDealIds String ATTRIBUTE Similar deal IDs, for example, 1275.
AssetDynamicLocalAssetSubtitle String ATTRIBUTE Subtitle, for example, Groceries.
AssetDynamicRealEstateAssetAddress String ATTRIBUTE Address which can be specified in one of the following formats. (1) City, state, code, country, for example, Mountain View, CA, USA. (2) Full address, for example, 123 Boulevard St, Mountain View, CA 94043. (3) Latitude-longitude in the DDD format, for example, 41.40338, 2.17403
AssetDynamicRealEstateAssetAndroidAppLink String ATTRIBUTE Android deep link, for example, android-app://com.example.android/http/example.com/gizmos?1234.
AssetDynamicRealEstateAssetCityName String ATTRIBUTE City name, for example, Mountain View, California.
AssetDynamicRealEstateAssetContextualKeywords String ATTRIBUTE Contextual keywords, for example, For sale; Houses for sale.
AssetDynamicRealEstateAssetDescription String ATTRIBUTE Description, for example, 3 beds, 2 baths, 1568 sq. ft.
AssetDynamicRealEstateAssetFormattedPrice String ATTRIBUTE Formatted price which can be any characters. If set, this attribute will be used instead of 'price', for example, Starting at $200,000.00.
AssetDynamicRealEstateAssetImageUrl String ATTRIBUTE Image URL, for example, http://www.example.com/image.png. The image will not be uploaded as image asset.
AssetDynamicRealEstateAssetIosAppLink String ATTRIBUTE iOS deep link, for example, exampleApp://content/page.
AssetDynamicRealEstateAssetIosAppStoreId Long ATTRIBUTE iOS app store ID. This is used to check if the user has the app installed on their device before deep linking. If this field is set, then the ios_app_link field must also be present.
AssetDynamicRealEstateAssetListingId String ATTRIBUTE Required. Listing ID which can be any sequence of letters and digits, and must be unique and match the values of remarketing tag. Required.
AssetDynamicRealEstateAssetListingName String ATTRIBUTE Required. Listing name, for example, Boulevard Bungalow. Required.
AssetDynamicRealEstateAssetListingType String ATTRIBUTE Listing type, for example, For sale.
AssetDynamicRealEstateAssetPrice String ATTRIBUTE Price which can be number followed by the alphabetic currency code, ISO 4217 standard. Use '.' as the decimal mark, for example, 200,000.00 USD.
AssetDynamicRealEstateAssetPropertyType String ATTRIBUTE Property type, for example, House.
AssetDynamicRealEstateAssetSimilarListingIds String ATTRIBUTE Similar listing IDs.
AssetDynamicTravelAssetAndroidAppLink String ATTRIBUTE Android deep link, for example, android-app://com.example.android/http/example.com/gizmos?1234.
AssetDynamicTravelAssetCategory String ATTRIBUTE Category, for example, Express.
AssetDynamicTravelAssetContextualKeywords String ATTRIBUTE Contextual keywords, for example, Paris trains.
AssetDynamicTravelAssetDestinationAddress String ATTRIBUTE Destination address which can be specified in one of the following formats. (1) City, state, code, country, for example, Mountain View, CA, USA. (2) Full address, for example, 123 Boulevard St, Mountain View, CA 94043. (3) Latitude-longitude in the DDD format, for example, 41.40338, 2.17403.
AssetDynamicTravelAssetDestinationId String ATTRIBUTE Required. Destination ID which can be any sequence of letters and digits, and must be unique and match the values of remarketing tag. Required.
AssetDynamicTravelAssetDestinationName String ATTRIBUTE Destination name, for example, Paris.
AssetDynamicTravelAssetFormattedPrice String ATTRIBUTE Formatted price which can be any characters. If set, this attribute will be used instead of 'price', for example, Starting at $100.00.
AssetDynamicTravelAssetFormattedSalePrice String ATTRIBUTE Formatted sale price which can be any characters. If set, this attribute will be used instead of 'sale price', for example, On sale for $80.00.
AssetDynamicTravelAssetImageUrl String ATTRIBUTE Image URL, for example, http://www.example.com/image.png. The image will not be uploaded as image asset.
AssetDynamicTravelAssetIosAppLink String ATTRIBUTE iOS deep link, for example, exampleApp://content/page.
AssetDynamicTravelAssetIosAppStoreId Long ATTRIBUTE iOS app store ID. This is used to check if the user has the app installed on their device before deep linking. If this field is set, then the ios_app_link field must also be present.
AssetDynamicTravelAssetOriginId String ATTRIBUTE Origin ID which can be any sequence of letters and digits. The ID sequence (destination ID + origin ID) must be unique.
AssetDynamicTravelAssetOriginName String ATTRIBUTE Origin name, for example, London.
AssetDynamicTravelAssetPrice String ATTRIBUTE Price which can be a number followed by the alphabetic currency code, ISO 4217 standard. Use '.' as the decimal mark, for example, 100.00 USD.
AssetDynamicTravelAssetSalePrice String ATTRIBUTE Sale price which can be a number followed by the alphabetic currency code, ISO 4217 standard. Use '.' as the decimal mark, for example, 80.00 USD. Must be less than the 'price' field.
AssetDynamicTravelAssetSimilarDestinationIds String ATTRIBUTE Similar destination IDs, for example, NYC.
AssetDynamicTravelAssetTitle String ATTRIBUTE Required. Title, for example, Book your train ticket. Required.
AssetFieldTypePolicySummaries String ATTRIBUTE Output only. Policy information for the asset for each FieldType.
AssetFinalMobileUrls String ATTRIBUTE A list of possible final mobile URLs after all cross domain redirects.
AssetFinalUrlSuffix String ATTRIBUTE URL template for appending params to landing page URLs served with parallel
AssetFinalUrls String ATTRIBUTE A list of possible final URLs after all cross domain redirects.
AssetHotelCalloutAssetLanguageCode String ATTRIBUTE Required. The language of the hotel callout. Represented as BCP 47 language tag.
AssetHotelCalloutAssetText String ATTRIBUTE Required. The text of the hotel callout asset. The length of this string should be between 1 and 25, inclusive.
AssetHotelPropertyAssetHotelAddress String ATTRIBUTE Address of the hotel. Read-only.
AssetHotelPropertyAssetHotelName String ATTRIBUTE Name of the hotel. Read-only.
AssetHotelPropertyAssetPlaceId String ATTRIBUTE Place IDs uniquely identify a place in the Google Places database and on Google Maps. See https://developers.google.com/places/web-service/place-id to learn more.
AssetId Long ATTRIBUTE Output only. The ID of the asset.
AssetImageAssetFileSize Long ATTRIBUTE File size of the image asset in bytes.
AssetImageAssetFullSizeHeightPixels Long ATTRIBUTE Height of the image.
AssetImageAssetFullSizeUrl String ATTRIBUTE A URL that returns the image with this height and width.
AssetImageAssetFullSizeWidthPixels Long ATTRIBUTE Width of the image.
AssetImageAssetMimeType String ATTRIBUTE MIME type of the image asset.

The allowed values are AUDIO_MP3, AUDIO_WAV, FLASH, HTML5_AD_ZIP, IMAGE_GIF, IMAGE_JPEG, IMAGE_PNG, MSEXCEL, MSWORD, PDF, RTF, TEXT_HTML, UNKNOWN.

AssetLeadFormAssetBackgroundImageAsset String ATTRIBUTE Asset resource name of the background image. The image dimensions must be exactly 1200x628.
AssetLeadFormAssetBusinessName String ATTRIBUTE Required. The name of the business being advertised.
AssetLeadFormAssetCallToActionDescription String ATTRIBUTE Required. Text giving a clear value proposition of what users expect once they expand the form.
AssetLeadFormAssetCallToActionType String ATTRIBUTE Required. Pre-defined display text that encourages user to expand the form.

The allowed values are APPLY_NOW, BOOK_NOW, CONTACT_US, DOWNLOAD, GET_INFO, GET_OFFER, GET_QUOTE, GET_STARTED, JOIN_NOW, LEARN_MORE, REGISTER, REQUEST_DEMO, SIGN_UP, SUBSCRIBE, UNKNOWN.

AssetLeadFormAssetCustomDisclosure String ATTRIBUTE Custom disclosure shown along with Google disclaimer on the lead form. Accessible to allowed customers only.
AssetLeadFormAssetCustomQuestionFields String ATTRIBUTE Ordered list of custom question fields. This field is subject to a limit of 5 qualifying questions per form.
AssetLeadFormAssetDeliveryMethods String ATTRIBUTE Configured methods for collected lead data to be delivered to advertiser. Only one method typed as WebhookDelivery can be configured.
AssetLeadFormAssetDescription String ATTRIBUTE Required. Detailed description of the expanded form to describe what the form is asking for or facilitating.
AssetLeadFormAssetDesiredIntent String ATTRIBUTE Chosen intent for the lead form, for example, more volume or more qualified.

The allowed values are HIGH_INTENT, LOW_INTENT, UNKNOWN.

AssetLeadFormAssetFields String ATTRIBUTE Ordered list of input fields. This field can be updated by reordering questions, but not by adding or removing questions.
AssetLeadFormAssetHeadline String ATTRIBUTE Required. Headline of the expanded form to describe what the form is asking for or facilitating.
AssetLeadFormAssetPostSubmitCallToActionType String ATTRIBUTE Pre-defined display text that encourages user action after the form is submitted.

The allowed values are DOWNLOAD, LEARN_MORE, SHOP_NOW, UNKNOWN, VISIT_SITE.

AssetLeadFormAssetPostSubmitDescription String ATTRIBUTE Detailed description shown after form submission that describes how the advertiser will follow up with the user.
AssetLeadFormAssetPostSubmitHeadline String ATTRIBUTE Headline of text shown after form submission that describes how the advertiser will follow up with the user.
AssetLeadFormAssetPrivacyPolicyUrl String ATTRIBUTE Required. Link to a page describing the policy on how the collected data is handled by the advertiser/business.
AssetLocationAssetBusinessProfileLocations String ATTRIBUTE The list of business locations for the customer. This will only be returned if the Location Asset is syncing from the Business Profile account. It is possible to have multiple Business Profile listings under the same account that point to the same Place ID.
AssetLocationAssetLocationOwnershipType String ATTRIBUTE The type of location ownership. If the type is BUSINESS_OWNER, it will be served as a location extension. If the type is AFFILIATE, it will be served as an affiliate location.

The allowed values are AFFILIATE, BUSINESS_OWNER, UNKNOWN.

AssetLocationAssetPlaceId String ATTRIBUTE Place IDs uniquely identify a place in the Google Places database and on Google Maps. This field is unique for a given customer ID and asset type. See https://developers.google.com/places/web-service/place-id to learn more about Place ID.
AssetMobileAppAssetAppId String ATTRIBUTE Required. A string that uniquely identifies a mobile application. It should just contain the platform native id, like 'com.android.ebay' for Android or '12345689' for iOS.
AssetMobileAppAssetAppStore String ATTRIBUTE Required. The application store that distributes this specific app.

The allowed values are APPLE_APP_STORE, GOOGLE_APP_STORE, UNKNOWN.

AssetMobileAppAssetEndDate Date ATTRIBUTE Last date of when this asset is effective and still serving, in yyyy-MM-dd format.
AssetMobileAppAssetLinkText String ATTRIBUTE Required. The visible text displayed when the link is rendered in an ad. The length of this string should be between 1 and 25, inclusive.
AssetMobileAppAssetStartDate Date ATTRIBUTE Start date of when this asset is effective and can begin serving, in yyyy-MM-dd format.
AssetName String ATTRIBUTE Optional name of the asset.
AssetOrientation String ATTRIBUTE Output only. Orientation of the asset. This is only supported for image and

The allowed values are LANDSCAPE, PORTRAIT, SQUARE, UNKNOWN.

AssetPageFeedAssetLabels String ATTRIBUTE Labels used to group the page urls.
AssetPageFeedAssetPageUrl String ATTRIBUTE Required. The webpage that advertisers want to target.
AssetPolicySummaryApprovalStatus String ATTRIBUTE Output only. The overall approval status of this asset, calculated based on the status of its individual policy topic entries.

The allowed values are APPROVED, APPROVED_LIMITED, AREA_OF_INTEREST_ONLY, DISAPPROVED, UNKNOWN.

AssetPolicySummaryPolicyTopicEntries String ATTRIBUTE Output only. The list of policy findings for this asset.
AssetPolicySummaryReviewStatus String ATTRIBUTE Output only. Where in the review process this asset is.

The allowed values are ELIGIBLE_MAY_SERVE, REVIEWED, REVIEW_IN_PROGRESS, UNDER_APPEAL, UNKNOWN.

AssetPriceAssetLanguageCode String ATTRIBUTE Required. The language of the price asset. Represented as BCP 47 language tag.
AssetPriceAssetPriceOfferings String ATTRIBUTE The price offerings of the price asset. The size of this collection should be between 3 and 8, inclusive.
AssetPriceAssetPriceQualifier String ATTRIBUTE The price qualifier of the price asset.

The allowed values are AVERAGE, FROM, UNKNOWN, UP_TO.

AssetPriceAssetType String ATTRIBUTE Required. The type of the price asset.

The allowed values are BRANDS, EVENTS, LOCATIONS, NEIGHBORHOODS, PRODUCT_CATEGORIES, PRODUCT_TIERS, SERVICES, SERVICE_CATEGORIES, SERVICE_TIERS, UNKNOWN.

AssetPromotionAssetAdScheduleTargets String ATTRIBUTE List of non-overlapping schedules specifying all time intervals for which the asset may serve. There can be a maximum of 6 schedules per day, 42 in total.
AssetPromotionAssetDiscountModifier String ATTRIBUTE A modifier for qualification of the discount.

The allowed values are UNKNOWN, UP_TO.

AssetPromotionAssetEndDate Date ATTRIBUTE Last date of when this asset is effective and still serving, in yyyy-MM-dd format.
AssetPromotionAssetLanguageCode String ATTRIBUTE The language of the promotion. Represented as BCP 47 language tag.
AssetPromotionAssetMoneyAmountOffAmountMicros Long ATTRIBUTE Amount in micros. One million is equivalent to one unit.
AssetPromotionAssetMoneyAmountOffCurrencyCode String ATTRIBUTE Three-character ISO 4217 currency code.
AssetPromotionAssetOccasion String ATTRIBUTE The occasion the promotion was intended for. If an occasion is set, the redemption window will need to fall within the date range associated with the occasion.

The allowed values are BACK_TO_SCHOOL, BLACK_FRIDAY, BOXING_DAY, CARNIVAL, CHINESE_NEW_YEAR, CHRISTMAS, CYBER_MONDAY, DIWALI, EASTER, EID_AL_ADHA, EID_AL_FITR, END_OF_SEASON, EPIPHANY, FALL_SALE, FATHERS_DAY, HALLOWEEN, HANUKKAH, HOLI, INDEPENDENCE_DAY, LABOR_DAY, MOTHERS_DAY, NATIONAL_DAY, NAVRATRI, NEW_YEARS, PARENTS_DAY, PASSOVER, RAMADAN, ROSH_HASHANAH, SINGLES_DAY, SONGKRAN, SPRING_SALE, ST_NICHOLAS_DAY, SUMMER_SALE, UNKNOWN, VALENTINES_DAY, WINTER_SALE, WOMENS_DAY, YEAR_END_GIFT.

AssetPromotionAssetOrdersOverAmountAmountMicros Long ATTRIBUTE Amount in micros. One million is equivalent to one unit.
AssetPromotionAssetOrdersOverAmountCurrencyCode String ATTRIBUTE Three-character ISO 4217 currency code.
AssetPromotionAssetPercentOff Long ATTRIBUTE Percentage off discount in the promotion. 1,000,000 = 100%. Either this or money_amount_off is required.
AssetPromotionAssetPromotionBarcodeInfoBarcodeContent String ATTRIBUTE Promotion message to be encoded in the barcode.
AssetPromotionAssetPromotionBarcodeInfoType String ATTRIBUTE Barcode type used to generate barcode with the correct format.

The allowed values are AZTEC, CODABAR, CODE128, CODE39, DATA_MATRIX, EAN13, EAN8, ITF, PDF417, UNKNOWN, UPC_A.

AssetPromotionAssetPromotionCode String ATTRIBUTE A code the user should use in order to be eligible for the promotion.
AssetPromotionAssetPromotionQrCodeInfoQrCodeContent String ATTRIBUTE Promotion message to be encoded in the QR code.
AssetPromotionAssetPromotionTarget String ATTRIBUTE Required. A freeform description of what the promotion is targeting.
AssetPromotionAssetRedemptionEndDate Date ATTRIBUTE Last date of when the promotion is eligible to be redeemed, in yyyy-MM-dd format.
AssetPromotionAssetRedemptionStartDate Date ATTRIBUTE Start date of when the promotion is eligible to be redeemed, in yyyy-MM-dd format.
AssetPromotionAssetStartDate Date ATTRIBUTE Start date of when this asset is effective and can begin serving, in yyyy-MM-dd format.
AssetPromotionAssetTermsAndConditionsText String ATTRIBUTE Terms and conditions of the promotion.
AssetPromotionAssetTermsAndConditionsUri String ATTRIBUTE URI to the terms and conditions of the promotion.
AssetResourceName String ATTRIBUTE Immutable. The resource name of the asset.
AssetSitelinkAssetAdScheduleTargets String ATTRIBUTE List of non-overlapping schedules specifying all time intervals for which the asset may serve. There can be a maximum of 6 schedules per day, 42 in total.
AssetSitelinkAssetDescription1 String ATTRIBUTE First line of the description for the sitelink. If set, the length should be between 1 and 35, inclusive, and description2 must also be set.
AssetSitelinkAssetDescription2 String ATTRIBUTE Second line of the description for the sitelink. If set, the length should be between 1 and 35, inclusive, and description1 must also be set.
AssetSitelinkAssetEndDate Date ATTRIBUTE Last date of when this asset is effective and still serving, in yyyy-MM-dd format.
AssetSitelinkAssetLinkText String ATTRIBUTE Required. URL display text for the sitelink. The length of this string should be between 1 and 25, inclusive.
AssetSitelinkAssetStartDate Date ATTRIBUTE Start date of when this asset is effective and can begin serving, in yyyy-MM-dd format.
AssetSource String ATTRIBUTE Output only. Source of the asset.

The allowed values are ADVERTISER, AUTOMATICALLY_CREATED, UNKNOWN.

AssetStructuredSnippetAssetHeader String ATTRIBUTE Required. The header of the snippet. This string should be one of the predefined values at https://developers.google.com/google-ads/api/reference/data/structured-snippet-headers
AssetStructuredSnippetAssetValues String ATTRIBUTE Required. The values in the snippet. The size of this collection should be between 3 and 10, inclusive. The length of each value should be between 1 and 25 characters, inclusive.
AssetTextAssetText String ATTRIBUTE Text content of the text asset.
AssetTrackingUrlTemplate String ATTRIBUTE URL template for constructing a tracking URL.
AssetType String ATTRIBUTE Output only. Type of the asset.

The allowed values are APP_DEEP_LINK, BOOK_ON_GOOGLE, BUSINESS_MESSAGE, CALL, CALLOUT, CALL_TO_ACTION, DEMAND_GEN_CAROUSEL_CARD, DYNAMIC_CUSTOM, DYNAMIC_EDUCATION, DYNAMIC_FLIGHTS, DYNAMIC_HOTELS_AND_RENTALS, DYNAMIC_JOBS, DYNAMIC_LOCAL, DYNAMIC_REAL_ESTATE, DYNAMIC_TRAVEL, HOTEL_CALLOUT, HOTEL_PROPERTY, IMAGE, LEAD_FORM, LOCATION, MEDIA_BUNDLE, MOBILE_APP, PAGE_FEED, PRICE, PROMOTION, SITELINK, STRUCTURED_SNIPPET, TEXT, UNKNOWN, YOUTUBE_VIDEO, YOUTUBE_VIDEO_LIST.

AssetUrlCustomParameters String ATTRIBUTE A list of mappings to be used for substituting URL custom parameter tags in
AssetYoutubeVideoAssetYoutubeVideoId String ATTRIBUTE YouTube video id. This is the 11 character string value used in the YouTube video URL.
AssetYoutubeVideoAssetYoutubeVideoTitle String ATTRIBUTE YouTube video title.
AssetYoutubeVideoListAssetYoutubeVideos String ATTRIBUTE List of videos. Each is a reference to a YouTube video asset. Minimum of 2 videos required and maximum of 5 allowed.
CustomerId Long ATTRIBUTE Output only. The ID of the customer.
ConversionAction String SEGMENT Resource name of the conversion action.
ConversionActionCategory String SEGMENT Conversion action category.

The allowed values are ADD_TO_CART, BEGIN_CHECKOUT, BOOK_APPOINTMENT, CONTACT, CONVERTED_LEAD, DEFAULT, DOWNLOAD, ENGAGEMENT, GET_DIRECTIONS, IMPORTED_LEAD, OUTBOUND_CLICK, PAGE_VIEW, PHONE_CALL_LEAD, PURCHASE, QUALIFIED_LEAD, REQUEST_QUOTE, SIGNUP, STORE_SALE, STORE_VISIT, SUBMIT_LEAD_FORM, SUBSCRIBE_PAID, UNKNOWN, YOUTUBE_FOLLOW_ON_VIEWS.

ConversionActionName String SEGMENT Conversion action name.
ConversionAdjustment Bool SEGMENT This segments your conversion columns by the original conversion and
ConversionLagBucket String SEGMENT An enum value representing the number of days between the impression and

The allowed values are EIGHT_TO_NINE_DAYS, ELEVEN_TO_TWELVE_DAYS, FIVE_TO_SIX_DAYS, FORTY_FIVE_TO_SIXTY_DAYS, FOURTEEN_TO_TWENTY_ONE_DAYS, FOUR_TO_FIVE_DAYS, LESS_THAN_ONE_DAY, NINE_TO_TEN_DAYS, ONE_TO_TWO_DAYS, SEVEN_TO_EIGHT_DAYS, SIXTY_TO_NINETY_DAYS, SIX_TO_SEVEN_DAYS, TEN_TO_ELEVEN_DAYS, THIRTEEN_TO_FOURTEEN_DAYS, THIRTY_TO_FORTY_FIVE_DAYS, THREE_TO_FOUR_DAYS, TWELVE_TO_THIRTEEN_DAYS, TWENTY_ONE_TO_THIRTY_DAYS, TWO_TO_THREE_DAYS, UNKNOWN.

ConversionOrAdjustmentLagBucket String SEGMENT An enum value representing the number of days between the impression and

The allowed values are ADJUSTMENT_EIGHT_TO_NINE_DAYS, ADJUSTMENT_ELEVEN_TO_TWELVE_DAYS, ADJUSTMENT_FIVE_TO_SIX_DAYS, ADJUSTMENT_FORTY_FIVE_TO_SIXTY_DAYS, ADJUSTMENT_FOURTEEN_TO_TWENTY_ONE_DAYS, ADJUSTMENT_FOUR_TO_FIVE_DAYS, ADJUSTMENT_LESS_THAN_ONE_DAY, ADJUSTMENT_NINETY_TO_ONE_HUNDRED_AND_FORTY_FIVE_DAYS, ADJUSTMENT_NINE_TO_TEN_DAYS, ADJUSTMENT_ONE_TO_TWO_DAYS, ADJUSTMENT_SEVEN_TO_EIGHT_DAYS, ADJUSTMENT_SIXTY_TO_NINETY_DAYS, ADJUSTMENT_SIX_TO_SEVEN_DAYS, ADJUSTMENT_TEN_TO_ELEVEN_DAYS, ADJUSTMENT_THIRTEEN_TO_FOURTEEN_DAYS, ADJUSTMENT_THIRTY_TO_FORTY_FIVE_DAYS, ADJUSTMENT_THREE_TO_FOUR_DAYS, ADJUSTMENT_TWELVE_TO_THIRTEEN_DAYS, ADJUSTMENT_TWENTY_ONE_TO_THIRTY_DAYS, ADJUSTMENT_TWO_TO_THREE_DAYS, ADJUSTMENT_UNKNOWN, CONVERSION_EIGHT_TO_NINE_DAYS, CONVERSION_ELEVEN_TO_TWELVE_DAYS, CONVERSION_FIVE_TO_SIX_DAYS, CONVERSION_FORTY_FIVE_TO_SIXTY_DAYS, CONVERSION_FOURTEEN_TO_TWENTY_ONE_DAYS, CONVERSION_FOUR_TO_FIVE_DAYS, CONVERSION_LESS_THAN_ONE_DAY, CONVERSION_NINE_TO_TEN_DAYS, CONVERSION_ONE_TO_TWO_DAYS, CONVERSION_SEVEN_TO_EIGHT_DAYS, CONVERSION_SIXTY_TO_NINETY_DAYS, CONVERSION_SIX_TO_SEVEN_DAYS, CONVERSION_TEN_TO_ELEVEN_DAYS, CONVERSION_THIRTEEN_TO_FOURTEEN_DAYS, CONVERSION_THIRTY_TO_FORTY_FIVE_DAYS, CONVERSION_THREE_TO_FOUR_DAYS, CONVERSION_TWELVE_TO_THIRTEEN_DAYS, CONVERSION_TWENTY_ONE_TO_THIRTY_DAYS, CONVERSION_TWO_TO_THREE_DAYS, CONVERSION_UNKNOWN, UNKNOWN.

ExternalConversionSource String SEGMENT External conversion source.

The allowed values are AD_CALL_METRICS, ANALYTICS, ANALYTICS_SEARCH_ADS_360, ANDROID_FIRST_OPEN, ANDROID_IN_APP, APP_UNSPECIFIED, CLICK_TO_CALL, DISPLAY_AND_VIDEO_360_FLOODLIGHT, FIREBASE, FIREBASE_SEARCH_ADS_360, FLOODLIGHT, GOOGLE_ATTRIBUTION, GOOGLE_HOSTED, GOOGLE_PLAY, IOS_FIRST_OPEN, IOS_IN_APP, SALESFORCE, SEARCH_ADS_360, STORE_SALES, STORE_SALES_CRM, STORE_SALES_DIRECT_UPLOAD, STORE_SALES_PAYMENT_NETWORK, STORE_VISITS, THIRD_PARTY_APP_ANALYTICS, UNKNOWN, UPLOAD, UPLOAD_CALLS, WEBPAGE, WEBSITE_CALL_METRICS.

Pseudo-Columns

Pseudo column fields are used in the WHERE clause of SELECT statements and offer more granular control over the data returned from the data source.

Name Type Description
ManagerId Long Id of the manager account on behalf of which you are requesting customer data.

CData Python Connector for Google Ads

AssetFieldTypeView

An asset field type view.

Columns

Name Type Behavior Description
AdGroupId Long SEGMENT Output only. The ID of the ad group.
AssetFieldTypeViewFieldType String ATTRIBUTE Output only. The asset field type of the asset field type view.

The allowed values are AD_IMAGE, BOOK_ON_GOOGLE, BUSINESS_LOGO, BUSINESS_MESSAGE, BUSINESS_NAME, CALL, CALLOUT, CALL_TO_ACTION, CALL_TO_ACTION_SELECTION, DEMAND_GEN_CAROUSEL_CARD, DESCRIPTION, HEADLINE, HOTEL_CALLOUT, HOTEL_PROPERTY, LANDING_PAGE_PREVIEW, LANDSCAPE_LOGO, LEAD_FORM, LOGO, LONG_DESCRIPTION, LONG_HEADLINE, MANDATORY_AD_TEXT, MARKETING_IMAGE, MEDIA_BUNDLE, MOBILE_APP, PORTRAIT_MARKETING_IMAGE, PRICE, PROMOTION, RELATED_YOUTUBE_VIDEOS, SITELINK, SQUARE_MARKETING_IMAGE, STRUCTURED_SNIPPET, TALL_PORTRAIT_MARKETING_IMAGE, UNKNOWN, VIDEO, YOUTUBE_VIDEO.

AssetFieldTypeViewResourceName String ATTRIBUTE Output only. The resource name of the asset field type view.
CampaignId Long SEGMENT Output only. The ID of the campaign.
CustomerId Long ATTRIBUTE Output only. The ID of the customer.
AbsoluteTopImpressionPercentage Double METRIC Search absolute top impression share is the percentage of your Search ad
AllConversions Double METRIC The total number of conversions. This includes all conversions regardless
AllConversionsFromInteractionsRate Double METRIC All conversions from interactions (as oppose to view through conversions)
AllConversionsValue Double METRIC The value of all conversions.
AverageCost Double METRIC The average amount you pay per interaction. This amount is the total cost
AverageCpc Double METRIC The total cost of all clicks divided by the total number of clicks
AverageCpe Double METRIC The average amount that you've been charged for an ad engagement. This
AverageCpm Double METRIC Average cost-per-thousand impressions (CPM).
Clicks Long METRIC The number of clicks.
Conversions Double METRIC The number of conversions. This only includes conversion actions which
ConversionsFromInteractionsRate Double METRIC Conversions from interactions divided by the number of ad interactions
ConversionsValue Double METRIC The value of conversions. This only includes conversion actions which
CostMicros Long METRIC The sum of your cost-per-click (CPC) and cost-per-thousand impressions
CostPerAllConversions Double METRIC The cost of ad interactions divided by all conversions.
CostPerConversion Double METRIC The cost of ad interactions divided by conversions. This only includes
CrossDeviceConversions Double METRIC Conversions from when a customer clicks on a Google Ads ad on one device,
Ctr Double METRIC The number of clicks your ad receives (Clicks) divided by the number
EngagementRate Double METRIC How often people engage with your ad after it's shown to them. This is the
Engagements Long METRIC The number of engagements.
Impressions Long METRIC Count of how often your ad has appeared on a search results page or
InteractionEventTypes String METRIC The types of payable and free interactions.

The allowed values are CLICK, ENGAGEMENT, NONE, UNKNOWN, VIDEO_VIEW.

InteractionRate Double METRIC How often people interact with your ad after it is shown to them.
Interactions Long METRIC The number of interactions.
PhoneCalls Long METRIC Number of offline phone calls.
PhoneImpressions Long METRIC Number of offline phone impressions.
PhoneThroughRate Double METRIC Number of phone calls received (phone_calls) divided by the number of
TrueviewAverageCpv Double METRIC The average amount you pay each time someone views your ad.
ValuePerAllConversions Double METRIC The value of all conversions divided by the number of all conversions.
ValuePerConversion Double METRIC The value of conversions divided by the number of conversions. This only
VideoTrueviewViewRate Double METRIC The number of TrueView views your video ad receives divided by its number
VideoTrueviewViews Long METRIC The number of TrueView views your video ads received.
ViewThroughConversions Long METRIC The total number of view-through conversions.
AdNetworkType String SEGMENT Ad network type.

The allowed values are CONTENT, DISCOVER, GMAIL, GOOGLE_OWNED_CHANNELS, GOOGLE_TV, MAPS, MIXED, SEARCH, SEARCH_PARTNERS, UNKNOWN, YOUTUBE.

AdSubNetworkType String SEGMENT Ad sub network type. Currently only available for ads running as part of

The allowed values are UNKNOWN, UNSEGMENTED, YOUTUBE_INFEED, YOUTUBE_INSTREAM, YOUTUBE_SHORTS.

ClickType String SEGMENT Click type.

The allowed values are AD_IMAGE, APP_DEEPLINK, BREADCRUMBS, BROADBAND_PLAN, CALLS, CALL_TRACKING, CLICK_ON_ENGAGEMENT_AD, CLICK_TO_MESSAGE_LANDING_PAGE_CLICK, CLICK_TO_MESSAGE_THIRD_PARTY_CLICK, CROSS_NETWORK, GET_DIRECTIONS, HOTEL_BOOK_ON_GOOGLE_ROOM_SELECTION, HOTEL_PRICE, LOCATION_EXPANSION, LOCATION_FORMAT_CALL, LOCATION_FORMAT_DIRECTIONS, LOCATION_FORMAT_IMAGE, LOCATION_FORMAT_LANDING_PAGE, LOCATION_FORMAT_MAP, LOCATION_FORMAT_STORE_INFO, LOCATION_FORMAT_TEXT, MOBILE_CALL_TRACKING, OFFER_PRINTS, OTHER, PRICE_EXTENSION, PRODUCT_AD_APP_DEEPLINK, PRODUCT_ASSETS, PRODUCT_EXTENSION_CLICKS, PRODUCT_LISTING_ADS_COUPON, PRODUCT_LISTING_AD_CLICKS, PRODUCT_LISTING_AD_LOCAL, PRODUCT_LISTING_AD_MULTICHANNEL_LOCAL, PRODUCT_LISTING_AD_MULTICHANNEL_ONLINE, PRODUCT_LISTING_AD_TRANSACTABLE, PROMOTION_EXTENSION, SHOPPING_COMPARISON_LISTING, SHOWCASE_AD_CATEGORY_LINK, SHOWCASE_AD_LOCAL_PRODUCT_LINK, SHOWCASE_AD_LOCAL_STOREFRONT_LINK, SHOWCASE_AD_ONLINE_PRODUCT_LINK, SITELINKS, STORE_LOCATOR, SWIPEABLE_GALLERY_AD_HEADLINE, SWIPEABLE_GALLERY_AD_SEE_MORE, SWIPEABLE_GALLERY_AD_SITELINK_FIVE, SWIPEABLE_GALLERY_AD_SITELINK_FOUR, SWIPEABLE_GALLERY_AD_SITELINK_ONE, SWIPEABLE_GALLERY_AD_SITELINK_THREE, SWIPEABLE_GALLERY_AD_SITELINK_TWO, SWIPEABLE_GALLERY_AD_SWIPES, TRAVEL_ASSETS, UNKNOWN, URL_CLICKS, VEHICLE_ASSETS, VIDEO_APP_STORE_CLICKS, VIDEO_CALL_TO_ACTION_CLICKS, VIDEO_CARD_ACTION_HEADLINE_CLICKS, VIDEO_CHANNEL_CLICK, VIDEO_END_CAP_CLICKS, VIDEO_RELATED_VIDEOS_CLICK, VIDEO_WEBSITE_CLICKS, VISUAL_SITELINKS, WIRELESS_PLAN.

ConversionAction String SEGMENT Resource name of the conversion action.
ConversionActionCategory String SEGMENT Conversion action category.

The allowed values are ADD_TO_CART, BEGIN_CHECKOUT, BOOK_APPOINTMENT, CONTACT, CONVERTED_LEAD, DEFAULT, DOWNLOAD, ENGAGEMENT, GET_DIRECTIONS, IMPORTED_LEAD, OUTBOUND_CLICK, PAGE_VIEW, PHONE_CALL_LEAD, PURCHASE, QUALIFIED_LEAD, REQUEST_QUOTE, SIGNUP, STORE_SALE, STORE_VISIT, SUBMIT_LEAD_FORM, SUBSCRIBE_PAID, UNKNOWN, YOUTUBE_FOLLOW_ON_VIEWS.

ConversionActionName String SEGMENT Conversion action name.
Date Date SEGMENT Date to which metrics apply.
DayOfWeek String SEGMENT Day of the week, for example, MONDAY.

The allowed values are FRIDAY, MONDAY, SATURDAY, SUNDAY, THURSDAY, TUESDAY, UNKNOWN, WEDNESDAY.

Device String SEGMENT Device to which metrics apply.

The allowed values are CONNECTED_TV, DESKTOP, MOBILE, OTHER, TABLET, UNKNOWN.

ExternalConversionSource String SEGMENT External conversion source.

The allowed values are AD_CALL_METRICS, ANALYTICS, ANALYTICS_SEARCH_ADS_360, ANDROID_FIRST_OPEN, ANDROID_IN_APP, APP_UNSPECIFIED, CLICK_TO_CALL, DISPLAY_AND_VIDEO_360_FLOODLIGHT, FIREBASE, FIREBASE_SEARCH_ADS_360, FLOODLIGHT, GOOGLE_ATTRIBUTION, GOOGLE_HOSTED, GOOGLE_PLAY, IOS_FIRST_OPEN, IOS_IN_APP, SALESFORCE, SEARCH_ADS_360, STORE_SALES, STORE_SALES_CRM, STORE_SALES_DIRECT_UPLOAD, STORE_SALES_PAYMENT_NETWORK, STORE_VISITS, THIRD_PARTY_APP_ANALYTICS, UNKNOWN, UPLOAD, UPLOAD_CALLS, WEBPAGE, WEBSITE_CALL_METRICS.

Month Date SEGMENT Month as represented by the date of the first day of a month. Formatted as
MonthOfYear String SEGMENT Month of the year, for example, January.

The allowed values are APRIL, AUGUST, DECEMBER, FEBRUARY, JANUARY, JULY, JUNE, MARCH, MAY, NOVEMBER, OCTOBER, SEPTEMBER, UNKNOWN.

Period String SEGMENT Predefined date range.

The allowed values are TODAY, YESTERDAY, LAST_7_DAYS, LAST_BUSINESS_WEEK, THIS_MONTH, LAST_MONTH, LAST_14_DAYS, LAST_30_DAYS, THIS_WEEK_SUN_TODAY, THIS_WEEK_MON_TODAY, LAST_WEEK_SUN_SAT, LAST_WEEK_MON_SUN.

Quarter Date SEGMENT Quarter as represented by the date of the first day of a quarter.
Slot String SEGMENT Position of the ad.

The allowed values are CONTENT, MIXED, SEARCH_OTHER, SEARCH_PARTNER_OTHER, SEARCH_PARTNER_TOP, SEARCH_SIDE, SEARCH_TOP, UNKNOWN.

Week Date SEGMENT Week as defined as Monday through Sunday, and represented by the date of
Year Int SEGMENT Year, formatted as yyyy.

Pseudo-Columns

Pseudo column fields are used in the WHERE clause of SELECT statements and offer more granular control over the data returned from the data source.

Name Type Description
ManagerId Long Id of the manager account on behalf of which you are requesting customer data.

CData Python Connector for Google Ads

AssetGroup

An asset group.

Columns

Name Type Behavior Description
AssetGroupAdStrength String ATTRIBUTE Output only. Overall ad strength of this asset group.

The allowed values are AVERAGE, EXCELLENT, GOOD, NO_ADS, PENDING, POOR, UNKNOWN.

AssetGroupAssetCoverageAdStrengthActionItems String ATTRIBUTE Output only. A list of action items to improve the ad strength of an asset group.
AssetGroupCampaign String ATTRIBUTE Immutable. The campaign with which this asset group is associated.
AssetGroupFinalMobileUrls String ATTRIBUTE A list of final mobile URLs after all cross domain redirects. In
AssetGroupFinalUrls String ATTRIBUTE A list of final URLs after all cross domain redirects. In performance max,
AssetGroupId Long ATTRIBUTE Output only. The ID of the asset group.
AssetGroupName String ATTRIBUTE Required. Name of the asset group. Required. It must have a minimum length
AssetGroupPath1 String ATTRIBUTE First part of text that may appear appended to the url displayed in
AssetGroupPath2 String ATTRIBUTE Second part of text that may appear appended to the url displayed in
AssetGroupPrimaryStatus String ATTRIBUTE Output only. The primary status of the asset group. Provides insights into

The allowed values are ELIGIBLE, LIMITED, NOT_ELIGIBLE, PAUSED, PENDING, REMOVED, UNKNOWN.

AssetGroupPrimaryStatusReasons String ATTRIBUTE Output only. Provides reasons into why an asset group is not serving or not

The allowed values are ASSET_GROUP_DISAPPROVED, ASSET_GROUP_LIMITED, ASSET_GROUP_PAUSED, ASSET_GROUP_REMOVED, ASSET_GROUP_UNDER_REVIEW, CAMPAIGN_ENDED, CAMPAIGN_PAUSED, CAMPAIGN_PENDING, CAMPAIGN_REMOVED, UNKNOWN.

AssetGroupResourceName String ATTRIBUTE Immutable. The resource name of the asset group.
AssetGroupStatus String ATTRIBUTE The status of the asset group.

The allowed values are ENABLED, PAUSED, REMOVED, UNKNOWN.

CustomerId Long ATTRIBUTE Output only. The ID of the customer.
AllConversions Double METRIC The total number of conversions. This includes all conversions regardless
AllConversionsByConversionDate Double METRIC The total number of conversions. This includes all conversions regardless
AllConversionsFromInteractionsRate Double METRIC All conversions from interactions (as oppose to view through conversions)
AllConversionsFromInteractionsValuePerInteraction Double METRIC The value of all conversions from interactions divided by the total number
AllConversionsValue Double METRIC The value of all conversions.
AllConversionsValueByConversionDate Double METRIC The value of all conversions. When this column is selected with date, the
AllConversionsValuePerCost Double METRIC The value of all conversions divided by the total cost of ad interactions
AllNewCustomerLifetimeValue Double METRIC All of new customers' lifetime conversion value. If you have set up
AllValueAdjustment Double METRIC The conversion value rule adjustment from all conversions in all conversion
AverageCartSize Double METRIC Average cart size is the average number of products in each order
AverageCost Double METRIC The average amount you pay per interaction. This amount is the total cost
AverageCpc Double METRIC The total cost of all clicks divided by the total number of clicks
AverageCpe Double METRIC The average amount that you've been charged for an ad engagement. This
AverageOrderValueMicros Long METRIC Average order value is the average revenue you made per order attributed to
Clicks Long METRIC The number of clicks.
Conversions Double METRIC The number of conversions. This only includes conversion actions which
ConversionsByConversionDate Double METRIC The number of conversions. This only includes conversion actions which
ConversionsFromInteractionsRate Double METRIC Conversions from interactions divided by the number of ad interactions
ConversionsFromInteractionsValuePerInteraction Double METRIC The value of conversions from interactions divided by the number of ad
ConversionsValue Double METRIC The value of conversions. This only includes conversion actions which
ConversionsValueByConversionDate Double METRIC The value of conversions. This only includes conversion actions which
ConversionsValuePerCost Double METRIC The value of conversions divided by the cost of ad interactions. This only
CostMicros Long METRIC The sum of your cost-per-click (CPC) and cost-per-thousand impressions
CostOfGoodsSoldMicros Long METRIC Cost of goods sold (COGS) is the total cost of the products you sold in
CostPerAllConversions Double METRIC The cost of ad interactions divided by all conversions.
CostPerConversion Double METRIC The cost of ad interactions divided by conversions. This only includes
CrossDeviceConversions Double METRIC Conversions from when a customer clicks on a Google Ads ad on one device,
CrossDeviceConversionsValueMicros Long METRIC The sum of the value of cross-device conversions, in micros.
CrossSellCostOfGoodsSoldMicros Long METRIC Cross-sell cost of goods sold (COGS) is the total cost of products sold as
CrossSellGrossProfitMicros Long METRIC Cross-sell gross profit is the profit you made from products sold as a
CrossSellRevenueMicros Long METRIC Cross-sell revenue is the total amount you made from products sold as a
CrossSellUnitsSold Double METRIC Cross-sell units sold is the total number of products sold as a result of
Ctr Double METRIC The number of clicks your ad receives (Clicks) divided by the number
EngagementRate Double METRIC How often people engage with your ad after it's shown to them. This is the
Engagements Long METRIC The number of engagements.
GrossProfitMargin Double METRIC Gross profit margin is the percentage gross profit you made from orders
GrossProfitMicros Long METRIC Gross profit is the profit you made from orders attributed to your ads
Impressions Long METRIC Count of how often your ad has appeared on a search results page or
InteractionEventTypes String METRIC The types of payable and free interactions.

The allowed values are CLICK, ENGAGEMENT, NONE, UNKNOWN, VIDEO_VIEW.

InteractionRate Double METRIC How often people interact with your ad after it is shown to them.
Interactions Long METRIC The number of interactions.
LeadCostOfGoodsSoldMicros Long METRIC Lead cost of goods sold (COGS) is the total cost of products sold as a
LeadGrossProfitMicros Long METRIC Lead gross profit is the profit you made from products sold as a result of
LeadRevenueMicros Long METRIC Lead revenue is the total amount you made from products sold as a result of
LeadUnitsSold Double METRIC Lead units sold is the total number of products sold as a result of
NewCustomerLifetimeValue Double METRIC New customers' lifetime conversion value. If you have set up
Orders Double METRIC Orders is the total number of purchase conversions you received attributed
RevenueMicros Long METRIC Revenue is the total amount you made from orders attributed to your ads.
ValueAdjustment Double METRIC The conversion value rule adjustment from biddable conversions in all
ValuePerAllConversions Double METRIC The value of all conversions divided by the number of all conversions.
ValuePerAllConversionsByConversionDate Double METRIC The value of all conversions divided by the number of all conversions. When
ValuePerConversion Double METRIC The value of conversions divided by the number of conversions. This only
ValuePerConversionsByConversionDate Double METRIC The value of conversions divided by the number of conversions. This only
ViewThroughConversions Long METRIC The total number of view-through conversions.
AdNetworkType String SEGMENT Ad network type.

The allowed values are CONTENT, DISCOVER, GMAIL, GOOGLE_OWNED_CHANNELS, GOOGLE_TV, MAPS, MIXED, SEARCH, SEARCH_PARTNERS, UNKNOWN, YOUTUBE.

AdSubNetworkType String SEGMENT Ad sub network type. Currently only available for ads running as part of

The allowed values are UNKNOWN, UNSEGMENTED, YOUTUBE_INFEED, YOUTUBE_INSTREAM, YOUTUBE_SHORTS.

ClickType String SEGMENT Click type.

The allowed values are AD_IMAGE, APP_DEEPLINK, BREADCRUMBS, BROADBAND_PLAN, CALLS, CALL_TRACKING, CLICK_ON_ENGAGEMENT_AD, CLICK_TO_MESSAGE_LANDING_PAGE_CLICK, CLICK_TO_MESSAGE_THIRD_PARTY_CLICK, CROSS_NETWORK, GET_DIRECTIONS, HOTEL_BOOK_ON_GOOGLE_ROOM_SELECTION, HOTEL_PRICE, LOCATION_EXPANSION, LOCATION_FORMAT_CALL, LOCATION_FORMAT_DIRECTIONS, LOCATION_FORMAT_IMAGE, LOCATION_FORMAT_LANDING_PAGE, LOCATION_FORMAT_MAP, LOCATION_FORMAT_STORE_INFO, LOCATION_FORMAT_TEXT, MOBILE_CALL_TRACKING, OFFER_PRINTS, OTHER, PRICE_EXTENSION, PRODUCT_AD_APP_DEEPLINK, PRODUCT_ASSETS, PRODUCT_EXTENSION_CLICKS, PRODUCT_LISTING_ADS_COUPON, PRODUCT_LISTING_AD_CLICKS, PRODUCT_LISTING_AD_LOCAL, PRODUCT_LISTING_AD_MULTICHANNEL_LOCAL, PRODUCT_LISTING_AD_MULTICHANNEL_ONLINE, PRODUCT_LISTING_AD_TRANSACTABLE, PROMOTION_EXTENSION, SHOPPING_COMPARISON_LISTING, SHOWCASE_AD_CATEGORY_LINK, SHOWCASE_AD_LOCAL_PRODUCT_LINK, SHOWCASE_AD_LOCAL_STOREFRONT_LINK, SHOWCASE_AD_ONLINE_PRODUCT_LINK, SITELINKS, STORE_LOCATOR, SWIPEABLE_GALLERY_AD_HEADLINE, SWIPEABLE_GALLERY_AD_SEE_MORE, SWIPEABLE_GALLERY_AD_SITELINK_FIVE, SWIPEABLE_GALLERY_AD_SITELINK_FOUR, SWIPEABLE_GALLERY_AD_SITELINK_ONE, SWIPEABLE_GALLERY_AD_SITELINK_THREE, SWIPEABLE_GALLERY_AD_SITELINK_TWO, SWIPEABLE_GALLERY_AD_SWIPES, TRAVEL_ASSETS, UNKNOWN, URL_CLICKS, VEHICLE_ASSETS, VIDEO_APP_STORE_CLICKS, VIDEO_CALL_TO_ACTION_CLICKS, VIDEO_CARD_ACTION_HEADLINE_CLICKS, VIDEO_CHANNEL_CLICK, VIDEO_END_CAP_CLICKS, VIDEO_RELATED_VIDEOS_CLICK, VIDEO_WEBSITE_CLICKS, VISUAL_SITELINKS, WIRELESS_PLAN.

ConversionAction String SEGMENT Resource name of the conversion action.
ConversionActionCategory String SEGMENT Conversion action category.

The allowed values are ADD_TO_CART, BEGIN_CHECKOUT, BOOK_APPOINTMENT, CONTACT, CONVERTED_LEAD, DEFAULT, DOWNLOAD, ENGAGEMENT, GET_DIRECTIONS, IMPORTED_LEAD, OUTBOUND_CLICK, PAGE_VIEW, PHONE_CALL_LEAD, PURCHASE, QUALIFIED_LEAD, REQUEST_QUOTE, SIGNUP, STORE_SALE, STORE_VISIT, SUBMIT_LEAD_FORM, SUBSCRIBE_PAID, UNKNOWN, YOUTUBE_FOLLOW_ON_VIEWS.

ConversionActionName String SEGMENT Conversion action name.
ConversionAdjustment Bool SEGMENT This segments your conversion columns by the original conversion and
ConversionAttributionEventType String SEGMENT Conversion attribution event type.

The allowed values are ENGAGED_VIEW, IMPRESSION, INTERACTION, UNKNOWN.

ConversionLagBucket String SEGMENT An enum value representing the number of days between the impression and

The allowed values are EIGHT_TO_NINE_DAYS, ELEVEN_TO_TWELVE_DAYS, FIVE_TO_SIX_DAYS, FORTY_FIVE_TO_SIXTY_DAYS, FOURTEEN_TO_TWENTY_ONE_DAYS, FOUR_TO_FIVE_DAYS, LESS_THAN_ONE_DAY, NINE_TO_TEN_DAYS, ONE_TO_TWO_DAYS, SEVEN_TO_EIGHT_DAYS, SIXTY_TO_NINETY_DAYS, SIX_TO_SEVEN_DAYS, TEN_TO_ELEVEN_DAYS, THIRTEEN_TO_FOURTEEN_DAYS, THIRTY_TO_FORTY_FIVE_DAYS, THREE_TO_FOUR_DAYS, TWELVE_TO_THIRTEEN_DAYS, TWENTY_ONE_TO_THIRTY_DAYS, TWO_TO_THREE_DAYS, UNKNOWN.

ConversionOrAdjustmentLagBucket String SEGMENT An enum value representing the number of days between the impression and

The allowed values are ADJUSTMENT_EIGHT_TO_NINE_DAYS, ADJUSTMENT_ELEVEN_TO_TWELVE_DAYS, ADJUSTMENT_FIVE_TO_SIX_DAYS, ADJUSTMENT_FORTY_FIVE_TO_SIXTY_DAYS, ADJUSTMENT_FOURTEEN_TO_TWENTY_ONE_DAYS, ADJUSTMENT_FOUR_TO_FIVE_DAYS, ADJUSTMENT_LESS_THAN_ONE_DAY, ADJUSTMENT_NINETY_TO_ONE_HUNDRED_AND_FORTY_FIVE_DAYS, ADJUSTMENT_NINE_TO_TEN_DAYS, ADJUSTMENT_ONE_TO_TWO_DAYS, ADJUSTMENT_SEVEN_TO_EIGHT_DAYS, ADJUSTMENT_SIXTY_TO_NINETY_DAYS, ADJUSTMENT_SIX_TO_SEVEN_DAYS, ADJUSTMENT_TEN_TO_ELEVEN_DAYS, ADJUSTMENT_THIRTEEN_TO_FOURTEEN_DAYS, ADJUSTMENT_THIRTY_TO_FORTY_FIVE_DAYS, ADJUSTMENT_THREE_TO_FOUR_DAYS, ADJUSTMENT_TWELVE_TO_THIRTEEN_DAYS, ADJUSTMENT_TWENTY_ONE_TO_THIRTY_DAYS, ADJUSTMENT_TWO_TO_THREE_DAYS, ADJUSTMENT_UNKNOWN, CONVERSION_EIGHT_TO_NINE_DAYS, CONVERSION_ELEVEN_TO_TWELVE_DAYS, CONVERSION_FIVE_TO_SIX_DAYS, CONVERSION_FORTY_FIVE_TO_SIXTY_DAYS, CONVERSION_FOURTEEN_TO_TWENTY_ONE_DAYS, CONVERSION_FOUR_TO_FIVE_DAYS, CONVERSION_LESS_THAN_ONE_DAY, CONVERSION_NINE_TO_TEN_DAYS, CONVERSION_ONE_TO_TWO_DAYS, CONVERSION_SEVEN_TO_EIGHT_DAYS, CONVERSION_SIXTY_TO_NINETY_DAYS, CONVERSION_SIX_TO_SEVEN_DAYS, CONVERSION_TEN_TO_ELEVEN_DAYS, CONVERSION_THIRTEEN_TO_FOURTEEN_DAYS, CONVERSION_THIRTY_TO_FORTY_FIVE_DAYS, CONVERSION_THREE_TO_FOUR_DAYS, CONVERSION_TWELVE_TO_THIRTEEN_DAYS, CONVERSION_TWENTY_ONE_TO_THIRTY_DAYS, CONVERSION_TWO_TO_THREE_DAYS, CONVERSION_UNKNOWN, UNKNOWN.

Date Date SEGMENT Date to which metrics apply.
DayOfWeek String SEGMENT Day of the week, for example, MONDAY.

The allowed values are FRIDAY, MONDAY, SATURDAY, SUNDAY, THURSDAY, TUESDAY, UNKNOWN, WEDNESDAY.

Device String SEGMENT Device to which metrics apply.

The allowed values are CONNECTED_TV, DESKTOP, MOBILE, OTHER, TABLET, UNKNOWN.

ExternalConversionSource String SEGMENT External conversion source.

The allowed values are AD_CALL_METRICS, ANALYTICS, ANALYTICS_SEARCH_ADS_360, ANDROID_FIRST_OPEN, ANDROID_IN_APP, APP_UNSPECIFIED, CLICK_TO_CALL, DISPLAY_AND_VIDEO_360_FLOODLIGHT, FIREBASE, FIREBASE_SEARCH_ADS_360, FLOODLIGHT, GOOGLE_ATTRIBUTION, GOOGLE_HOSTED, GOOGLE_PLAY, IOS_FIRST_OPEN, IOS_IN_APP, SALESFORCE, SEARCH_ADS_360, STORE_SALES, STORE_SALES_CRM, STORE_SALES_DIRECT_UPLOAD, STORE_SALES_PAYMENT_NETWORK, STORE_VISITS, THIRD_PARTY_APP_ANALYTICS, UNKNOWN, UPLOAD, UPLOAD_CALLS, WEBPAGE, WEBSITE_CALL_METRICS.

Month Date SEGMENT Month as represented by the date of the first day of a month. Formatted as
NewVersusReturningCustomers String SEGMENT This is for segmenting conversions by whether the user is a new customer

The allowed values are NEW, NEW_AND_HIGH_LTV, RETURNING, UNKNOWN.

Period String SEGMENT Predefined date range.

The allowed values are TODAY, YESTERDAY, LAST_7_DAYS, LAST_BUSINESS_WEEK, THIS_MONTH, LAST_MONTH, LAST_14_DAYS, LAST_30_DAYS, THIS_WEEK_SUN_TODAY, THIS_WEEK_MON_TODAY, LAST_WEEK_SUN_SAT, LAST_WEEK_MON_SUN.

Quarter Date SEGMENT Quarter as represented by the date of the first day of a quarter.
Slot String SEGMENT Position of the ad.

The allowed values are CONTENT, MIXED, SEARCH_OTHER, SEARCH_PARTNER_OTHER, SEARCH_PARTNER_TOP, SEARCH_SIDE, SEARCH_TOP, UNKNOWN.

Week Date SEGMENT Week as defined as Monday through Sunday, and represented by the date of
Year Int SEGMENT Year, formatted as yyyy.

Pseudo-Columns

Pseudo column fields are used in the WHERE clause of SELECT statements and offer more granular control over the data returned from the data source.

Name Type Description
ManagerId Long Id of the manager account on behalf of which you are requesting customer data.

CData Python Connector for Google Ads

AssetGroupAsset

AssetGroupAsset is the link between an asset and an asset group.

Columns

Name Type Behavior Description
AssetGroupAssetAsset String ATTRIBUTE Immutable. The asset which this asset group asset is linking.
AssetGroupAssetAssetGroup String ATTRIBUTE Immutable. The asset group which this asset group asset is linking.
AssetGroupAssetFieldType String ATTRIBUTE The description of the placement of the asset within the asset group. For

The allowed values are AD_IMAGE, BOOK_ON_GOOGLE, BUSINESS_LOGO, BUSINESS_MESSAGE, BUSINESS_NAME, CALL, CALLOUT, CALL_TO_ACTION, CALL_TO_ACTION_SELECTION, DEMAND_GEN_CAROUSEL_CARD, DESCRIPTION, HEADLINE, HOTEL_CALLOUT, HOTEL_PROPERTY, LANDING_PAGE_PREVIEW, LANDSCAPE_LOGO, LEAD_FORM, LOGO, LONG_DESCRIPTION, LONG_HEADLINE, MANDATORY_AD_TEXT, MARKETING_IMAGE, MEDIA_BUNDLE, MOBILE_APP, PORTRAIT_MARKETING_IMAGE, PRICE, PROMOTION, RELATED_YOUTUBE_VIDEOS, SITELINK, SQUARE_MARKETING_IMAGE, STRUCTURED_SNIPPET, TALL_PORTRAIT_MARKETING_IMAGE, UNKNOWN, VIDEO, YOUTUBE_VIDEO.

AssetGroupAssetPolicySummaryApprovalStatus String ATTRIBUTE The overall approval status, which is calculated based on the status of its individual policy topic entries.

The allowed values are APPROVED, APPROVED_LIMITED, AREA_OF_INTEREST_ONLY, DISAPPROVED, UNKNOWN.

AssetGroupAssetPolicySummaryPolicyTopicEntries String ATTRIBUTE The list of policy findings.
AssetGroupAssetPolicySummaryReviewStatus String ATTRIBUTE Where in the review process the resource is.

The allowed values are ELIGIBLE_MAY_SERVE, REVIEWED, REVIEW_IN_PROGRESS, UNDER_APPEAL, UNKNOWN.

AssetGroupAssetPrimaryStatus String ATTRIBUTE Output only. Provides the PrimaryStatus of this asset link.

The allowed values are ELIGIBLE, LIMITED, NOT_ELIGIBLE, PAUSED, PENDING, REMOVED, UNKNOWN.

AssetGroupAssetPrimaryStatusDetails String ATTRIBUTE Output only. Provides the details of the primary status and its associated
AssetGroupAssetPrimaryStatusReasons String ATTRIBUTE Output only. Provides a list of reasons for why an asset is not serving or

The allowed values are ASSET_APPROVED_LABELED, ASSET_DISAPPROVED, ASSET_LINK_PAUSED, ASSET_LINK_REMOVED, ASSET_UNDER_REVIEW, UNKNOWN.

AssetGroupAssetResourceName String ATTRIBUTE Immutable. The resource name of the asset group asset.
AssetGroupAssetSource String ATTRIBUTE Output only. Source of the asset group asset.

The allowed values are ADVERTISER, AUTOMATICALLY_CREATED, UNKNOWN.

AssetGroupAssetStatus String ATTRIBUTE The status of the link between an asset and asset group.

The allowed values are ENABLED, PAUSED, REMOVED, UNKNOWN.

CustomerId Long ATTRIBUTE Output only. The ID of the customer.
AllConversions Double METRIC The total number of conversions. This includes all conversions regardless
AllConversionsFromInteractionsRate Double METRIC All conversions from interactions (as oppose to view through conversions)
AllConversionsFromInteractionsValuePerInteraction Double METRIC The value of all conversions from interactions divided by the total number
AllConversionsValue Double METRIC The value of all conversions.
AllConversionsValuePerCost Double METRIC The value of all conversions divided by the total cost of ad interactions
AverageCost Double METRIC The average amount you pay per interaction. This amount is the total cost
AverageCpc Double METRIC The total cost of all clicks divided by the total number of clicks
AverageCpe Double METRIC The average amount that you've been charged for an ad engagement. This
AverageCpm Double METRIC Average cost-per-thousand impressions (CPM).
Clicks Long METRIC The number of clicks.
Conversions Double METRIC The number of conversions. This only includes conversion actions which
ConversionsFromInteractionsRate Double METRIC Conversions from interactions divided by the number of ad interactions
ConversionsFromInteractionsValuePerInteraction Double METRIC The value of conversions from interactions divided by the number of ad
ConversionsValue Double METRIC The value of conversions. This only includes conversion actions which
ConversionsValuePerCost Double METRIC The value of conversions divided by the cost of ad interactions. This only
CostMicros Long METRIC The sum of your cost-per-click (CPC) and cost-per-thousand impressions
CostPerAllConversions Double METRIC The cost of ad interactions divided by all conversions.
CostPerConversion Double METRIC The cost of ad interactions divided by conversions. This only includes
CrossDeviceConversions Double METRIC Conversions from when a customer clicks on a Google Ads ad on one device,
CrossDeviceConversionsValue Double METRIC The sum of the value of cross-device conversions.
Ctr Double METRIC The number of clicks your ad receives (Clicks) divided by the number
EngagementRate Double METRIC How often people engage with your ad after it's shown to them. This is the
Engagements Long METRIC The number of engagements.
Impressions Long METRIC Count of how often your ad has appeared on a search results page or
InteractionEventTypes String METRIC The types of payable and free interactions.

The allowed values are CLICK, ENGAGEMENT, NONE, UNKNOWN, VIDEO_VIEW.

InteractionRate Double METRIC How often people interact with your ad after it is shown to them.
Interactions Long METRIC The number of interactions.
TrueviewAverageCpv Double METRIC The average amount you pay each time someone views your ad.
ValuePerAllConversions Double METRIC The value of all conversions divided by the number of all conversions.
ValuePerConversion Double METRIC The value of conversions divided by the number of conversions. This only
VideoTrueviewViewRate Double METRIC The number of TrueView views your video ad receives divided by its number
VideoTrueviewViews Long METRIC The number of TrueView views your video ads received.
ViewThroughConversions Long METRIC The total number of view-through conversions.
AdNetworkType String SEGMENT Ad network type.

The allowed values are CONTENT, DISCOVER, GMAIL, GOOGLE_OWNED_CHANNELS, GOOGLE_TV, MAPS, MIXED, SEARCH, SEARCH_PARTNERS, UNKNOWN, YOUTUBE.

AdSubNetworkType String SEGMENT Ad sub network type. Currently only available for ads running as part of

The allowed values are UNKNOWN, UNSEGMENTED, YOUTUBE_INFEED, YOUTUBE_INSTREAM, YOUTUBE_SHORTS.

ConversionAction String SEGMENT Resource name of the conversion action.
ConversionActionCategory String SEGMENT Conversion action category.

The allowed values are ADD_TO_CART, BEGIN_CHECKOUT, BOOK_APPOINTMENT, CONTACT, CONVERTED_LEAD, DEFAULT, DOWNLOAD, ENGAGEMENT, GET_DIRECTIONS, IMPORTED_LEAD, OUTBOUND_CLICK, PAGE_VIEW, PHONE_CALL_LEAD, PURCHASE, QUALIFIED_LEAD, REQUEST_QUOTE, SIGNUP, STORE_SALE, STORE_VISIT, SUBMIT_LEAD_FORM, SUBSCRIBE_PAID, UNKNOWN, YOUTUBE_FOLLOW_ON_VIEWS.

ConversionActionName String SEGMENT Conversion action name.
Date Date SEGMENT Date to which metrics apply.
DayOfWeek String SEGMENT Day of the week, for example, MONDAY.

The allowed values are FRIDAY, MONDAY, SATURDAY, SUNDAY, THURSDAY, TUESDAY, UNKNOWN, WEDNESDAY.

Device String SEGMENT Device to which metrics apply.

The allowed values are CONNECTED_TV, DESKTOP, MOBILE, OTHER, TABLET, UNKNOWN.

Month Date SEGMENT Month as represented by the date of the first day of a month. Formatted as
Period String SEGMENT Predefined date range.

The allowed values are TODAY, YESTERDAY, LAST_7_DAYS, LAST_BUSINESS_WEEK, THIS_MONTH, LAST_MONTH, LAST_14_DAYS, LAST_30_DAYS, THIS_WEEK_SUN_TODAY, THIS_WEEK_MON_TODAY, LAST_WEEK_SUN_SAT, LAST_WEEK_MON_SUN.

Quarter Date SEGMENT Quarter as represented by the date of the first day of a quarter.
Week Date SEGMENT Week as defined as Monday through Sunday, and represented by the date of
Year Int SEGMENT Year, formatted as yyyy.

Pseudo-Columns

Pseudo column fields are used in the WHERE clause of SELECT statements and offer more granular control over the data returned from the data source.

Name Type Description
ManagerId Long Id of the manager account on behalf of which you are requesting customer data.

CData Python Connector for Google Ads

AssetGroupListingGroupFilter

AssetGroupListingGroupFilter represents a listing group filter tree node in

Columns

Name Type Behavior Description
AssetGroupListingGroupFilterAssetGroup String ATTRIBUTE Immutable. The asset group which this asset group listing group filter is
AssetGroupListingGroupFilterCaseValueProductBrandValue String ATTRIBUTE String value of the product brand.
AssetGroupListingGroupFilterCaseValueProductCategoryCategoryId Long ATTRIBUTE ID of the product category. This ID is equivalent to the google_product_category ID as described in this article: https://support.google.com/merchants/answer/6324436
AssetGroupListingGroupFilterCaseValueProductCategoryLevel String ATTRIBUTE Indicates the level of the category in the taxonomy.

The allowed values are LEVEL1, LEVEL2, LEVEL3, LEVEL4, LEVEL5, UNKNOWN.

AssetGroupListingGroupFilterCaseValueProductChannelChannel String ATTRIBUTE Value of the locality.

The allowed values are LOCAL, ONLINE, UNKNOWN.

AssetGroupListingGroupFilterCaseValueProductConditionCondition String ATTRIBUTE Value of the condition.

The allowed values are NEW, REFURBISHED, UNKNOWN, USED.

AssetGroupListingGroupFilterCaseValueProductCustomAttributeIndex String ATTRIBUTE Indicates the index of the custom attribute.

The allowed values are INDEX0, INDEX1, INDEX2, INDEX3, INDEX4, UNKNOWN.

AssetGroupListingGroupFilterCaseValueProductCustomAttributeValue String ATTRIBUTE String value of the product custom attribute.
AssetGroupListingGroupFilterCaseValueProductItemIdValue String ATTRIBUTE Value of the id.
AssetGroupListingGroupFilterCaseValueProductTypeLevel String ATTRIBUTE Level of the type.

The allowed values are LEVEL1, LEVEL2, LEVEL3, LEVEL4, LEVEL5, UNKNOWN.

AssetGroupListingGroupFilterCaseValueProductTypeValue String ATTRIBUTE Value of the type.
AssetGroupListingGroupFilterCaseValueWebpageConditions String ATTRIBUTE The webpage conditions are case sensitive and these are and-ed together when evaluated for filtering. All the conditions should be of same type.
AssetGroupListingGroupFilterId Long ATTRIBUTE Output only. The ID of the ListingGroupFilter.
AssetGroupListingGroupFilterListingSource String ATTRIBUTE Immutable. The source of listings filtered by this listing group filter.

The allowed values are SHOPPING, UNKNOWN, WEBPAGE.

AssetGroupListingGroupFilterParentListingGroupFilter String ATTRIBUTE Immutable. Resource name of the parent listing group subdivision. Null for
AssetGroupListingGroupFilterPath String ATTRIBUTE Output only. The path of dimensions defining this listing group filter.
AssetGroupListingGroupFilterResourceName String ATTRIBUTE Immutable. The resource name of the asset group listing group filter.
AssetGroupListingGroupFilterType String ATTRIBUTE Immutable. Type of a listing group filter node.

The allowed values are SUBDIVISION, UNIT_EXCLUDED, UNIT_INCLUDED, UNKNOWN.

CustomerId Long ATTRIBUTE Output only. The ID of the customer.

Pseudo-Columns

Pseudo column fields are used in the WHERE clause of SELECT statements and offer more granular control over the data returned from the data source.

Name Type Description
ManagerId Long Id of the manager account on behalf of which you are requesting customer data.

CData Python Connector for Google Ads

AssetGroupProductGroupView

An asset group product group view.

Columns

Name Type Behavior Description
AssetGroupProductGroupViewAssetGroup String ATTRIBUTE Output only. The asset group associated with the listing group filter.
AssetGroupProductGroupViewAssetGroupListingGroupFilter String ATTRIBUTE Output only. The resource name of the asset group listing group filter.
AssetGroupProductGroupViewResourceName String ATTRIBUTE Output only. The resource name of the asset group product group view.
CustomerId Long ATTRIBUTE Output only. The ID of the customer.
AllConversions Double METRIC The total number of conversions. This includes all conversions regardless
AllConversionsFromInteractionsRate Double METRIC All conversions from interactions (as oppose to view through conversions)
AllConversionsValue Double METRIC The value of all conversions.
AverageCartSize Double METRIC Average cart size is the average number of products in each order
AverageCpc Double METRIC The total cost of all clicks divided by the total number of clicks
AverageCpm Double METRIC Average cost-per-thousand impressions (CPM).
AverageOrderValueMicros Long METRIC Average order value is the average revenue you made per order attributed to
Clicks Long METRIC The number of clicks.
Conversions Double METRIC The number of conversions. This only includes conversion actions which
ConversionsFromInteractionsRate Double METRIC Conversions from interactions divided by the number of ad interactions
ConversionsValue Double METRIC The value of conversions. This only includes conversion actions which
CostMicros Long METRIC The sum of your cost-per-click (CPC) and cost-per-thousand impressions
CostOfGoodsSoldMicros Long METRIC Cost of goods sold (COGS) is the total cost of the products you sold in
CostPerAllConversions Double METRIC The cost of ad interactions divided by all conversions.
CostPerConversion Double METRIC The cost of ad interactions divided by conversions. This only includes
CrossDeviceConversions Double METRIC Conversions from when a customer clicks on a Google Ads ad on one device,
CrossDeviceConversionsValueMicros Long METRIC The sum of the value of cross-device conversions, in micros.
CrossSellCostOfGoodsSoldMicros Long METRIC Cross-sell cost of goods sold (COGS) is the total cost of products sold as
CrossSellGrossProfitMicros Long METRIC Cross-sell gross profit is the profit you made from products sold as a
CrossSellRevenueMicros Long METRIC Cross-sell revenue is the total amount you made from products sold as a
CrossSellUnitsSold Double METRIC Cross-sell units sold is the total number of products sold as a result of
Ctr Double METRIC The number of clicks your ad receives (Clicks) divided by the number
GrossProfitMargin Double METRIC Gross profit margin is the percentage gross profit you made from orders
GrossProfitMicros Long METRIC Gross profit is the profit you made from orders attributed to your ads
Impressions Long METRIC Count of how often your ad has appeared on a search results page or
LeadCostOfGoodsSoldMicros Long METRIC Lead cost of goods sold (COGS) is the total cost of products sold as a
LeadGrossProfitMicros Long METRIC Lead gross profit is the profit you made from products sold as a result of
LeadRevenueMicros Long METRIC Lead revenue is the total amount you made from products sold as a result of
LeadUnitsSold Double METRIC Lead units sold is the total number of products sold as a result of
Orders Double METRIC Orders is the total number of purchase conversions you received attributed
RevenueMicros Long METRIC Revenue is the total amount you made from orders attributed to your ads.
UnitsSold Double METRIC Units sold is the total number of products sold from orders attributed to
ValuePerAllConversions Double METRIC The value of all conversions divided by the number of all conversions.
ValuePerConversion Double METRIC The value of conversions divided by the number of conversions. This only
ViewThroughConversions Long METRIC The total number of view-through conversions.
AdNetworkType String SEGMENT Ad network type.

The allowed values are CONTENT, DISCOVER, GMAIL, GOOGLE_OWNED_CHANNELS, GOOGLE_TV, MAPS, MIXED, SEARCH, SEARCH_PARTNERS, UNKNOWN, YOUTUBE.

AdSubNetworkType String SEGMENT Ad sub network type. Currently only available for ads running as part of

The allowed values are UNKNOWN, UNSEGMENTED, YOUTUBE_INFEED, YOUTUBE_INSTREAM, YOUTUBE_SHORTS.

ClickType String SEGMENT Click type.

The allowed values are AD_IMAGE, APP_DEEPLINK, BREADCRUMBS, BROADBAND_PLAN, CALLS, CALL_TRACKING, CLICK_ON_ENGAGEMENT_AD, CLICK_TO_MESSAGE_LANDING_PAGE_CLICK, CLICK_TO_MESSAGE_THIRD_PARTY_CLICK, CROSS_NETWORK, GET_DIRECTIONS, HOTEL_BOOK_ON_GOOGLE_ROOM_SELECTION, HOTEL_PRICE, LOCATION_EXPANSION, LOCATION_FORMAT_CALL, LOCATION_FORMAT_DIRECTIONS, LOCATION_FORMAT_IMAGE, LOCATION_FORMAT_LANDING_PAGE, LOCATION_FORMAT_MAP, LOCATION_FORMAT_STORE_INFO, LOCATION_FORMAT_TEXT, MOBILE_CALL_TRACKING, OFFER_PRINTS, OTHER, PRICE_EXTENSION, PRODUCT_AD_APP_DEEPLINK, PRODUCT_ASSETS, PRODUCT_EXTENSION_CLICKS, PRODUCT_LISTING_ADS_COUPON, PRODUCT_LISTING_AD_CLICKS, PRODUCT_LISTING_AD_LOCAL, PRODUCT_LISTING_AD_MULTICHANNEL_LOCAL, PRODUCT_LISTING_AD_MULTICHANNEL_ONLINE, PRODUCT_LISTING_AD_TRANSACTABLE, PROMOTION_EXTENSION, SHOPPING_COMPARISON_LISTING, SHOWCASE_AD_CATEGORY_LINK, SHOWCASE_AD_LOCAL_PRODUCT_LINK, SHOWCASE_AD_LOCAL_STOREFRONT_LINK, SHOWCASE_AD_ONLINE_PRODUCT_LINK, SITELINKS, STORE_LOCATOR, SWIPEABLE_GALLERY_AD_HEADLINE, SWIPEABLE_GALLERY_AD_SEE_MORE, SWIPEABLE_GALLERY_AD_SITELINK_FIVE, SWIPEABLE_GALLERY_AD_SITELINK_FOUR, SWIPEABLE_GALLERY_AD_SITELINK_ONE, SWIPEABLE_GALLERY_AD_SITELINK_THREE, SWIPEABLE_GALLERY_AD_SITELINK_TWO, SWIPEABLE_GALLERY_AD_SWIPES, TRAVEL_ASSETS, UNKNOWN, URL_CLICKS, VEHICLE_ASSETS, VIDEO_APP_STORE_CLICKS, VIDEO_CALL_TO_ACTION_CLICKS, VIDEO_CARD_ACTION_HEADLINE_CLICKS, VIDEO_CHANNEL_CLICK, VIDEO_END_CAP_CLICKS, VIDEO_RELATED_VIDEOS_CLICK, VIDEO_WEBSITE_CLICKS, VISUAL_SITELINKS, WIRELESS_PLAN.

ConversionAction String SEGMENT Resource name of the conversion action.
ConversionActionCategory String SEGMENT Conversion action category.

The allowed values are ADD_TO_CART, BEGIN_CHECKOUT, BOOK_APPOINTMENT, CONTACT, CONVERTED_LEAD, DEFAULT, DOWNLOAD, ENGAGEMENT, GET_DIRECTIONS, IMPORTED_LEAD, OUTBOUND_CLICK, PAGE_VIEW, PHONE_CALL_LEAD, PURCHASE, QUALIFIED_LEAD, REQUEST_QUOTE, SIGNUP, STORE_SALE, STORE_VISIT, SUBMIT_LEAD_FORM, SUBSCRIBE_PAID, UNKNOWN, YOUTUBE_FOLLOW_ON_VIEWS.

ConversionActionName String SEGMENT Conversion action name.
Date Date SEGMENT Date to which metrics apply.
DayOfWeek String SEGMENT Day of the week, for example, MONDAY.

The allowed values are FRIDAY, MONDAY, SATURDAY, SUNDAY, THURSDAY, TUESDAY, UNKNOWN, WEDNESDAY.

Device String SEGMENT Device to which metrics apply.

The allowed values are CONNECTED_TV, DESKTOP, MOBILE, OTHER, TABLET, UNKNOWN.

ExternalConversionSource String SEGMENT External conversion source.

The allowed values are AD_CALL_METRICS, ANALYTICS, ANALYTICS_SEARCH_ADS_360, ANDROID_FIRST_OPEN, ANDROID_IN_APP, APP_UNSPECIFIED, CLICK_TO_CALL, DISPLAY_AND_VIDEO_360_FLOODLIGHT, FIREBASE, FIREBASE_SEARCH_ADS_360, FLOODLIGHT, GOOGLE_ATTRIBUTION, GOOGLE_HOSTED, GOOGLE_PLAY, IOS_FIRST_OPEN, IOS_IN_APP, SALESFORCE, SEARCH_ADS_360, STORE_SALES, STORE_SALES_CRM, STORE_SALES_DIRECT_UPLOAD, STORE_SALES_PAYMENT_NETWORK, STORE_VISITS, THIRD_PARTY_APP_ANALYTICS, UNKNOWN, UPLOAD, UPLOAD_CALLS, WEBPAGE, WEBSITE_CALL_METRICS.

Month Date SEGMENT Month as represented by the date of the first day of a month. Formatted as
MonthOfYear String SEGMENT Month of the year, for example, January.

The allowed values are APRIL, AUGUST, DECEMBER, FEBRUARY, JANUARY, JULY, JUNE, MARCH, MAY, NOVEMBER, OCTOBER, SEPTEMBER, UNKNOWN.

Period String SEGMENT Predefined date range.

The allowed values are TODAY, YESTERDAY, LAST_7_DAYS, LAST_BUSINESS_WEEK, THIS_MONTH, LAST_MONTH, LAST_14_DAYS, LAST_30_DAYS, THIS_WEEK_SUN_TODAY, THIS_WEEK_MON_TODAY, LAST_WEEK_SUN_SAT, LAST_WEEK_MON_SUN.

Quarter Date SEGMENT Quarter as represented by the date of the first day of a quarter.
Week Date SEGMENT Week as defined as Monday through Sunday, and represented by the date of
Year Int SEGMENT Year, formatted as yyyy.

Pseudo-Columns

Pseudo column fields are used in the WHERE clause of SELECT statements and offer more granular control over the data returned from the data source.

Name Type Description
ManagerId Long Id of the manager account on behalf of which you are requesting customer data.

CData Python Connector for Google Ads

AssetGroupSignal

AssetGroupSignal represents a signal in an asset group. The existence of a

Columns

Name Type Behavior Description
AssetGroupSignalApprovalStatus String ATTRIBUTE Output only. Approval status is the output value for search theme signal

The allowed values are APPROVED, DISAPPROVED, LIMITED, UNDER_REVIEW, UNKNOWN.

AssetGroupSignalAssetGroup String ATTRIBUTE Immutable. The asset group which this asset group signal belongs to.
AssetGroupSignalAudienceAudience String ATTRIBUTE The Audience resource name.
AssetGroupSignalDisapprovalReasons String ATTRIBUTE Output only. Computed for SearchTheme signals.
AssetGroupSignalResourceName String ATTRIBUTE Immutable. The resource name of the asset group signal.
AssetGroupSignalSearchThemeText String ATTRIBUTE Each Search Theme has a value of a simple string, like keywords. There are limits on overall length, allowed characters, and number of words.
CustomerId Long ATTRIBUTE Output only. The ID of the customer.

Pseudo-Columns

Pseudo column fields are used in the WHERE clause of SELECT statements and offer more granular control over the data returned from the data source.

Name Type Description
ManagerId Long Id of the manager account on behalf of which you are requesting customer data.

CData Python Connector for Google Ads

AssetGroupTopCombinationView

A view on the usage of asset group asset top combinations.

Columns

Name Type Behavior Description
AssetGroupTopCombinationViewAssetGroupTopCombinations String ATTRIBUTE Output only. The top combinations of assets that served together.
AssetGroupTopCombinationViewResourceName String ATTRIBUTE Output only. The resource name of the asset group top combination view.
CustomerId Long ATTRIBUTE Output only. The ID of the customer.
Date Date SEGMENT Date to which metrics apply.
DayOfWeek String SEGMENT Day of the week, for example, MONDAY.

The allowed values are FRIDAY, MONDAY, SATURDAY, SUNDAY, THURSDAY, TUESDAY, UNKNOWN, WEDNESDAY.

Month Date SEGMENT Month as represented by the date of the first day of a month. Formatted as
Period String SEGMENT Predefined date range.

The allowed values are TODAY, YESTERDAY, LAST_7_DAYS, LAST_BUSINESS_WEEK, THIS_MONTH, LAST_MONTH, LAST_14_DAYS, LAST_30_DAYS, THIS_WEEK_SUN_TODAY, THIS_WEEK_MON_TODAY, LAST_WEEK_SUN_SAT, LAST_WEEK_MON_SUN.

Quarter Date SEGMENT Quarter as represented by the date of the first day of a quarter.
Week Date SEGMENT Week as defined as Monday through Sunday, and represented by the date of
Year Int SEGMENT Year, formatted as yyyy.

Pseudo-Columns

Pseudo column fields are used in the WHERE clause of SELECT statements and offer more granular control over the data returned from the data source.

Name Type Description
ManagerId Long Id of the manager account on behalf of which you are requesting customer data.

CData Python Connector for Google Ads

AssetSet

An asset set representing a collection of assets.

Columns

Name Type Behavior Description
AssetSetBusinessProfileLocationGroupDynamicBusinessProfileLocationGroupFilterBusinessNameFilterBusinessName String ATTRIBUTE Business name string to use for filtering.
AssetSetBusinessProfileLocationGroupDynamicBusinessProfileLocationGroupFilterBusinessNameFilterFilterType String ATTRIBUTE The type of string matching to use when filtering with business_name.

The allowed values are EXACT, UNKNOWN.

AssetSetBusinessProfileLocationGroupDynamicBusinessProfileLocationGroupFilterLabelFilters String ATTRIBUTE Used to filter Business Profile locations by label. Only locations that have any of the listed labels will be in the asset set. Label filters are OR'ed together.
AssetSetBusinessProfileLocationGroupDynamicBusinessProfileLocationGroupFilterListingIdFilters String ATTRIBUTE Used to filter Business Profile locations by listing ids.
AssetSetHotelPropertyDataHotelCenterId Long ATTRIBUTE Output only. The hotel center ID of the partner.
AssetSetHotelPropertyDataPartnerName String ATTRIBUTE Output only. Name of the hotel partner.
AssetSetId Long ATTRIBUTE Output only. The ID of the asset set.
AssetSetLocationGroupParentAssetSetId Long ATTRIBUTE Immutable. Parent asset set ID for the asset set where the elements of this
AssetSetLocationSetBusinessProfileLocationSetBusinessNameFilter String ATTRIBUTE Used to filter Google Business Profile listings by business name. If businessNameFilter is set, only listings with a matching business name are candidates to be sync'd into Assets.
AssetSetLocationSetBusinessProfileLocationSetLabelFilters String ATTRIBUTE Used to filter Google Business Profile listings by labels. If entries exist in labelFilters, only listings that have any of the labels set are candidates to be synchronized into Assets. If no entries exist in labelFilters, then all listings are candidates for syncing. Label filters are OR'ed together.
AssetSetLocationSetBusinessProfileLocationSetListingIdFilters String ATTRIBUTE Used to filter Google Business Profile listings by listing id. If entries exist in listingIdFilters, only listings specified by the filters are candidates to be synchronized into Assets. If no entries exist in listingIdFilters, then all listings are candidates for syncing. Listing ID filters are OR'ed together.
AssetSetLocationSetChainLocationSetRelationshipType String ATTRIBUTE Required. Immutable. Relationship type the specified chains have with this advertiser.

The allowed values are AUTO_DEALERS, GENERAL_RETAILERS, UNKNOWN.

AssetSetLocationSetLocationOwnershipType String ATTRIBUTE Required. Immutable. Location Ownership Type (owned location or affiliate location).

The allowed values are AFFILIATE, BUSINESS_OWNER, UNKNOWN.

AssetSetMerchantCenterFeedFeedLabel String ATTRIBUTE Optional. Feed Label from Google Merchant Center.
AssetSetMerchantCenterFeedMerchantId Long ATTRIBUTE Required. Merchant ID from Google Merchant Center
AssetSetName String ATTRIBUTE Required. Name of the asset set. Required. It must have a minimum length of
AssetSetResourceName String ATTRIBUTE Immutable. The resource name of the asset set.
AssetSetStatus String ATTRIBUTE Output only. The status of the asset set. Read-only.

The allowed values are ENABLED, REMOVED, UNKNOWN.

AssetSetType String ATTRIBUTE Required. Immutable. The type of the asset set. Required.

The allowed values are BUSINESS_PROFILE_DYNAMIC_LOCATION_GROUP, CHAIN_DYNAMIC_LOCATION_GROUP, DYNAMIC_CUSTOM, DYNAMIC_EDUCATION, DYNAMIC_FLIGHTS, DYNAMIC_HOTELS_AND_RENTALS, DYNAMIC_JOBS, DYNAMIC_LOCAL, DYNAMIC_REAL_ESTATE, DYNAMIC_TRAVEL, HOTEL_PROPERTY, LOCATION_SYNC, MERCHANT_CENTER_FEED, PAGE_FEED, STATIC_LOCATION_GROUP, TRAVEL_FEED, UNKNOWN.

CustomerId Long ATTRIBUTE Output only. The ID of the customer.

Pseudo-Columns

Pseudo column fields are used in the WHERE clause of SELECT statements and offer more granular control over the data returned from the data source.

Name Type Description
ManagerId Long Id of the manager account on behalf of which you are requesting customer data.

CData Python Connector for Google Ads

AssetSetAsset

AssetSetAsset is the link between an asset and an asset set.

Columns

Name Type Behavior Description
AdGroupId Long SEGMENT Output only. The ID of the ad group.
AssetSetAssetAsset String ATTRIBUTE Immutable. The asset which this asset set asset is linking to.
AssetSetAssetAssetSet String ATTRIBUTE Immutable. The asset set which this asset set asset is linking to.
AssetSetAssetResourceName String ATTRIBUTE Immutable. The resource name of the asset set asset.
AssetSetAssetStatus String ATTRIBUTE Output only. The status of the asset set asset. Read-only.

The allowed values are ENABLED, REMOVED, UNKNOWN.

CampaignId Long SEGMENT Output only. The ID of the campaign.
CustomerId Long ATTRIBUTE Output only. The ID of the customer.
AbsoluteTopImpressionPercentage Double METRIC Search absolute top impression share is the percentage of your Search ad
AllConversions Double METRIC The total number of conversions. This includes all conversions regardless
AllConversionsFromInteractionsRate Double METRIC All conversions from interactions (as oppose to view through conversions)
AllConversionsValue Double METRIC The value of all conversions.
AverageCost Double METRIC The average amount you pay per interaction. This amount is the total cost
AverageCpc Double METRIC The total cost of all clicks divided by the total number of clicks
AverageCpm Double METRIC Average cost-per-thousand impressions (CPM).
Clicks Long METRIC The number of clicks.
Conversions Double METRIC The number of conversions. This only includes conversion actions which
ConversionsFromInteractionsRate Double METRIC Conversions from interactions divided by the number of ad interactions
ConversionsValue Double METRIC The value of conversions. This only includes conversion actions which
CostMicros Long METRIC The sum of your cost-per-click (CPC) and cost-per-thousand impressions
CostPerAllConversions Double METRIC The cost of ad interactions divided by all conversions.
CostPerConversion Double METRIC The cost of ad interactions divided by conversions. This only includes
CrossDeviceConversions Double METRIC Conversions from when a customer clicks on a Google Ads ad on one device,
Ctr Double METRIC The number of clicks your ad receives (Clicks) divided by the number
EngagementRate Double METRIC How often people engage with your ad after it's shown to them. This is the
Engagements Long METRIC The number of engagements.
Impressions Long METRIC Count of how often your ad has appeared on a search results page or
InteractionEventTypes String METRIC The types of payable and free interactions.

The allowed values are CLICK, ENGAGEMENT, NONE, UNKNOWN, VIDEO_VIEW.

InteractionRate Double METRIC How often people interact with your ad after it is shown to them.
Interactions Long METRIC The number of interactions.
PhoneCalls Long METRIC Number of offline phone calls.
PhoneImpressions Long METRIC Number of offline phone impressions.
PhoneThroughRate Double METRIC Number of phone calls received (phone_calls) divided by the number of
TopImpressionPercentage Double METRIC The percent of your ad impressions that are shown adjacent to the top
ValuePerAllConversions Double METRIC The value of all conversions divided by the number of all conversions.
ValuePerConversion Double METRIC The value of conversions divided by the number of conversions. This only
AdNetworkType String SEGMENT Ad network type.

The allowed values are CONTENT, DISCOVER, GMAIL, GOOGLE_OWNED_CHANNELS, GOOGLE_TV, MAPS, MIXED, SEARCH, SEARCH_PARTNERS, UNKNOWN, YOUTUBE.

AdSubNetworkType String SEGMENT Ad sub network type. Currently only available for ads running as part of

The allowed values are UNKNOWN, UNSEGMENTED, YOUTUBE_INFEED, YOUTUBE_INSTREAM, YOUTUBE_SHORTS.

AssetInteractionTargetAsset String SEGMENT The asset resource name.
AssetInteractionTargetInteractionOnThisAsset Bool SEGMENT Only used with CustomerAsset, CampaignAsset and AdGroupAsset metrics. Indicates whether the interaction metrics occurred on the asset itself or a different asset or ad unit.
ClickType String SEGMENT Click type.

The allowed values are AD_IMAGE, APP_DEEPLINK, BREADCRUMBS, BROADBAND_PLAN, CALLS, CALL_TRACKING, CLICK_ON_ENGAGEMENT_AD, CLICK_TO_MESSAGE_LANDING_PAGE_CLICK, CLICK_TO_MESSAGE_THIRD_PARTY_CLICK, CROSS_NETWORK, GET_DIRECTIONS, HOTEL_BOOK_ON_GOOGLE_ROOM_SELECTION, HOTEL_PRICE, LOCATION_EXPANSION, LOCATION_FORMAT_CALL, LOCATION_FORMAT_DIRECTIONS, LOCATION_FORMAT_IMAGE, LOCATION_FORMAT_LANDING_PAGE, LOCATION_FORMAT_MAP, LOCATION_FORMAT_STORE_INFO, LOCATION_FORMAT_TEXT, MOBILE_CALL_TRACKING, OFFER_PRINTS, OTHER, PRICE_EXTENSION, PRODUCT_AD_APP_DEEPLINK, PRODUCT_ASSETS, PRODUCT_EXTENSION_CLICKS, PRODUCT_LISTING_ADS_COUPON, PRODUCT_LISTING_AD_CLICKS, PRODUCT_LISTING_AD_LOCAL, PRODUCT_LISTING_AD_MULTICHANNEL_LOCAL, PRODUCT_LISTING_AD_MULTICHANNEL_ONLINE, PRODUCT_LISTING_AD_TRANSACTABLE, PROMOTION_EXTENSION, SHOPPING_COMPARISON_LISTING, SHOWCASE_AD_CATEGORY_LINK, SHOWCASE_AD_LOCAL_PRODUCT_LINK, SHOWCASE_AD_LOCAL_STOREFRONT_LINK, SHOWCASE_AD_ONLINE_PRODUCT_LINK, SITELINKS, STORE_LOCATOR, SWIPEABLE_GALLERY_AD_HEADLINE, SWIPEABLE_GALLERY_AD_SEE_MORE, SWIPEABLE_GALLERY_AD_SITELINK_FIVE, SWIPEABLE_GALLERY_AD_SITELINK_FOUR, SWIPEABLE_GALLERY_AD_SITELINK_ONE, SWIPEABLE_GALLERY_AD_SITELINK_THREE, SWIPEABLE_GALLERY_AD_SITELINK_TWO, SWIPEABLE_GALLERY_AD_SWIPES, TRAVEL_ASSETS, UNKNOWN, URL_CLICKS, VEHICLE_ASSETS, VIDEO_APP_STORE_CLICKS, VIDEO_CALL_TO_ACTION_CLICKS, VIDEO_CARD_ACTION_HEADLINE_CLICKS, VIDEO_CHANNEL_CLICK, VIDEO_END_CAP_CLICKS, VIDEO_RELATED_VIDEOS_CLICK, VIDEO_WEBSITE_CLICKS, VISUAL_SITELINKS, WIRELESS_PLAN.

ConversionAction String SEGMENT Resource name of the conversion action.
ConversionActionCategory String SEGMENT Conversion action category.

The allowed values are ADD_TO_CART, BEGIN_CHECKOUT, BOOK_APPOINTMENT, CONTACT, CONVERTED_LEAD, DEFAULT, DOWNLOAD, ENGAGEMENT, GET_DIRECTIONS, IMPORTED_LEAD, OUTBOUND_CLICK, PAGE_VIEW, PHONE_CALL_LEAD, PURCHASE, QUALIFIED_LEAD, REQUEST_QUOTE, SIGNUP, STORE_SALE, STORE_VISIT, SUBMIT_LEAD_FORM, SUBSCRIBE_PAID, UNKNOWN, YOUTUBE_FOLLOW_ON_VIEWS.

ConversionActionName String SEGMENT Conversion action name.
Date Date SEGMENT Date to which metrics apply.
DayOfWeek String SEGMENT Day of the week, for example, MONDAY.

The allowed values are FRIDAY, MONDAY, SATURDAY, SUNDAY, THURSDAY, TUESDAY, UNKNOWN, WEDNESDAY.

Device String SEGMENT Device to which metrics apply.

The allowed values are CONNECTED_TV, DESKTOP, MOBILE, OTHER, TABLET, UNKNOWN.

ExternalConversionSource String SEGMENT External conversion source.

The allowed values are AD_CALL_METRICS, ANALYTICS, ANALYTICS_SEARCH_ADS_360, ANDROID_FIRST_OPEN, ANDROID_IN_APP, APP_UNSPECIFIED, CLICK_TO_CALL, DISPLAY_AND_VIDEO_360_FLOODLIGHT, FIREBASE, FIREBASE_SEARCH_ADS_360, FLOODLIGHT, GOOGLE_ATTRIBUTION, GOOGLE_HOSTED, GOOGLE_PLAY, IOS_FIRST_OPEN, IOS_IN_APP, SALESFORCE, SEARCH_ADS_360, STORE_SALES, STORE_SALES_CRM, STORE_SALES_DIRECT_UPLOAD, STORE_SALES_PAYMENT_NETWORK, STORE_VISITS, THIRD_PARTY_APP_ANALYTICS, UNKNOWN, UPLOAD, UPLOAD_CALLS, WEBPAGE, WEBSITE_CALL_METRICS.

Month Date SEGMENT Month as represented by the date of the first day of a month. Formatted as
MonthOfYear String SEGMENT Month of the year, for example, January.

The allowed values are APRIL, AUGUST, DECEMBER, FEBRUARY, JANUARY, JULY, JUNE, MARCH, MAY, NOVEMBER, OCTOBER, SEPTEMBER, UNKNOWN.

Period String SEGMENT Predefined date range.

The allowed values are TODAY, YESTERDAY, LAST_7_DAYS, LAST_BUSINESS_WEEK, THIS_MONTH, LAST_MONTH, LAST_14_DAYS, LAST_30_DAYS, THIS_WEEK_SUN_TODAY, THIS_WEEK_MON_TODAY, LAST_WEEK_SUN_SAT, LAST_WEEK_MON_SUN.

Quarter Date SEGMENT Quarter as represented by the date of the first day of a quarter.
Slot String SEGMENT Position of the ad.

The allowed values are CONTENT, MIXED, SEARCH_OTHER, SEARCH_PARTNER_OTHER, SEARCH_PARTNER_TOP, SEARCH_SIDE, SEARCH_TOP, UNKNOWN.

Week Date SEGMENT Week as defined as Monday through Sunday, and represented by the date of
Year Int SEGMENT Year, formatted as yyyy.

Pseudo-Columns

Pseudo column fields are used in the WHERE clause of SELECT statements and offer more granular control over the data returned from the data source.

Name Type Description
ManagerId Long Id of the manager account on behalf of which you are requesting customer data.

CData Python Connector for Google Ads

AssetSetTypeView

An asset set type view.

Columns

Name Type Behavior Description
AdGroupId Long SEGMENT Output only. The ID of the ad group.
AssetSetTypeViewAssetSetType String ATTRIBUTE Output only. The asset set type of the asset set type view.

The allowed values are BUSINESS_PROFILE_DYNAMIC_LOCATION_GROUP, CHAIN_DYNAMIC_LOCATION_GROUP, DYNAMIC_CUSTOM, DYNAMIC_EDUCATION, DYNAMIC_FLIGHTS, DYNAMIC_HOTELS_AND_RENTALS, DYNAMIC_JOBS, DYNAMIC_LOCAL, DYNAMIC_REAL_ESTATE, DYNAMIC_TRAVEL, HOTEL_PROPERTY, LOCATION_SYNC, MERCHANT_CENTER_FEED, PAGE_FEED, STATIC_LOCATION_GROUP, TRAVEL_FEED, UNKNOWN.

AssetSetTypeViewResourceName String ATTRIBUTE Output only. The resource name of the asset set type view.
CampaignId Long SEGMENT Output only. The ID of the campaign.
CustomerId Long ATTRIBUTE Output only. The ID of the customer.
AbsoluteTopImpressionPercentage Double METRIC Search absolute top impression share is the percentage of your Search ad
AllConversions Double METRIC The total number of conversions. This includes all conversions regardless
AllConversionsFromInteractionsRate Double METRIC All conversions from interactions (as oppose to view through conversions)
AllConversionsValue Double METRIC The value of all conversions.
AverageCost Double METRIC The average amount you pay per interaction. This amount is the total cost
AverageCpc Double METRIC The total cost of all clicks divided by the total number of clicks
AverageCpe Double METRIC The average amount that you've been charged for an ad engagement. This
AverageCpm Double METRIC Average cost-per-thousand impressions (CPM).
Clicks Long METRIC The number of clicks.
Conversions Double METRIC The number of conversions. This only includes conversion actions which
ConversionsFromInteractionsRate Double METRIC Conversions from interactions divided by the number of ad interactions
ConversionsValue Double METRIC The value of conversions. This only includes conversion actions which
CostMicros Long METRIC The sum of your cost-per-click (CPC) and cost-per-thousand impressions
CostPerAllConversions Double METRIC The cost of ad interactions divided by all conversions.
CostPerConversion Double METRIC The cost of ad interactions divided by conversions. This only includes
CrossDeviceConversions Double METRIC Conversions from when a customer clicks on a Google Ads ad on one device,
Ctr Double METRIC The number of clicks your ad receives (Clicks) divided by the number
EngagementRate Double METRIC How often people engage with your ad after it's shown to them. This is the
Engagements Long METRIC The number of engagements.
Impressions Long METRIC Count of how often your ad has appeared on a search results page or
InteractionEventTypes String METRIC The types of payable and free interactions.

The allowed values are CLICK, ENGAGEMENT, NONE, UNKNOWN, VIDEO_VIEW.

InteractionRate Double METRIC How often people interact with your ad after it is shown to them.
Interactions Long METRIC The number of interactions.
PhoneCalls Long METRIC Number of offline phone calls.
PhoneImpressions Long METRIC Number of offline phone impressions.
PhoneThroughRate Double METRIC Number of phone calls received (phone_calls) divided by the number of
TrueviewAverageCpv Double METRIC The average amount you pay each time someone views your ad.
ValuePerAllConversions Double METRIC The value of all conversions divided by the number of all conversions.
ValuePerConversion Double METRIC The value of conversions divided by the number of conversions. This only
VideoTrueviewViewRate Double METRIC The number of TrueView views your video ad receives divided by its number
VideoTrueviewViews Long METRIC The number of TrueView views your video ads received.
ViewThroughConversions Long METRIC The total number of view-through conversions.
AdNetworkType String SEGMENT Ad network type.

The allowed values are CONTENT, DISCOVER, GMAIL, GOOGLE_OWNED_CHANNELS, GOOGLE_TV, MAPS, MIXED, SEARCH, SEARCH_PARTNERS, UNKNOWN, YOUTUBE.

AdSubNetworkType String SEGMENT Ad sub network type. Currently only available for ads running as part of

The allowed values are UNKNOWN, UNSEGMENTED, YOUTUBE_INFEED, YOUTUBE_INSTREAM, YOUTUBE_SHORTS.

ClickType String SEGMENT Click type.

The allowed values are AD_IMAGE, APP_DEEPLINK, BREADCRUMBS, BROADBAND_PLAN, CALLS, CALL_TRACKING, CLICK_ON_ENGAGEMENT_AD, CLICK_TO_MESSAGE_LANDING_PAGE_CLICK, CLICK_TO_MESSAGE_THIRD_PARTY_CLICK, CROSS_NETWORK, GET_DIRECTIONS, HOTEL_BOOK_ON_GOOGLE_ROOM_SELECTION, HOTEL_PRICE, LOCATION_EXPANSION, LOCATION_FORMAT_CALL, LOCATION_FORMAT_DIRECTIONS, LOCATION_FORMAT_IMAGE, LOCATION_FORMAT_LANDING_PAGE, LOCATION_FORMAT_MAP, LOCATION_FORMAT_STORE_INFO, LOCATION_FORMAT_TEXT, MOBILE_CALL_TRACKING, OFFER_PRINTS, OTHER, PRICE_EXTENSION, PRODUCT_AD_APP_DEEPLINK, PRODUCT_ASSETS, PRODUCT_EXTENSION_CLICKS, PRODUCT_LISTING_ADS_COUPON, PRODUCT_LISTING_AD_CLICKS, PRODUCT_LISTING_AD_LOCAL, PRODUCT_LISTING_AD_MULTICHANNEL_LOCAL, PRODUCT_LISTING_AD_MULTICHANNEL_ONLINE, PRODUCT_LISTING_AD_TRANSACTABLE, PROMOTION_EXTENSION, SHOPPING_COMPARISON_LISTING, SHOWCASE_AD_CATEGORY_LINK, SHOWCASE_AD_LOCAL_PRODUCT_LINK, SHOWCASE_AD_LOCAL_STOREFRONT_LINK, SHOWCASE_AD_ONLINE_PRODUCT_LINK, SITELINKS, STORE_LOCATOR, SWIPEABLE_GALLERY_AD_HEADLINE, SWIPEABLE_GALLERY_AD_SEE_MORE, SWIPEABLE_GALLERY_AD_SITELINK_FIVE, SWIPEABLE_GALLERY_AD_SITELINK_FOUR, SWIPEABLE_GALLERY_AD_SITELINK_ONE, SWIPEABLE_GALLERY_AD_SITELINK_THREE, SWIPEABLE_GALLERY_AD_SITELINK_TWO, SWIPEABLE_GALLERY_AD_SWIPES, TRAVEL_ASSETS, UNKNOWN, URL_CLICKS, VEHICLE_ASSETS, VIDEO_APP_STORE_CLICKS, VIDEO_CALL_TO_ACTION_CLICKS, VIDEO_CARD_ACTION_HEADLINE_CLICKS, VIDEO_CHANNEL_CLICK, VIDEO_END_CAP_CLICKS, VIDEO_RELATED_VIDEOS_CLICK, VIDEO_WEBSITE_CLICKS, VISUAL_SITELINKS, WIRELESS_PLAN.

ConversionAction String SEGMENT Resource name of the conversion action.
ConversionActionCategory String SEGMENT Conversion action category.

The allowed values are ADD_TO_CART, BEGIN_CHECKOUT, BOOK_APPOINTMENT, CONTACT, CONVERTED_LEAD, DEFAULT, DOWNLOAD, ENGAGEMENT, GET_DIRECTIONS, IMPORTED_LEAD, OUTBOUND_CLICK, PAGE_VIEW, PHONE_CALL_LEAD, PURCHASE, QUALIFIED_LEAD, REQUEST_QUOTE, SIGNUP, STORE_SALE, STORE_VISIT, SUBMIT_LEAD_FORM, SUBSCRIBE_PAID, UNKNOWN, YOUTUBE_FOLLOW_ON_VIEWS.

ConversionActionName String SEGMENT Conversion action name.
Date Date SEGMENT Date to which metrics apply.
DayOfWeek String SEGMENT Day of the week, for example, MONDAY.

The allowed values are FRIDAY, MONDAY, SATURDAY, SUNDAY, THURSDAY, TUESDAY, UNKNOWN, WEDNESDAY.

Device String SEGMENT Device to which metrics apply.

The allowed values are CONNECTED_TV, DESKTOP, MOBILE, OTHER, TABLET, UNKNOWN.

ExternalConversionSource String SEGMENT External conversion source.

The allowed values are AD_CALL_METRICS, ANALYTICS, ANALYTICS_SEARCH_ADS_360, ANDROID_FIRST_OPEN, ANDROID_IN_APP, APP_UNSPECIFIED, CLICK_TO_CALL, DISPLAY_AND_VIDEO_360_FLOODLIGHT, FIREBASE, FIREBASE_SEARCH_ADS_360, FLOODLIGHT, GOOGLE_ATTRIBUTION, GOOGLE_HOSTED, GOOGLE_PLAY, IOS_FIRST_OPEN, IOS_IN_APP, SALESFORCE, SEARCH_ADS_360, STORE_SALES, STORE_SALES_CRM, STORE_SALES_DIRECT_UPLOAD, STORE_SALES_PAYMENT_NETWORK, STORE_VISITS, THIRD_PARTY_APP_ANALYTICS, UNKNOWN, UPLOAD, UPLOAD_CALLS, WEBPAGE, WEBSITE_CALL_METRICS.

Month Date SEGMENT Month as represented by the date of the first day of a month. Formatted as
MonthOfYear String SEGMENT Month of the year, for example, January.

The allowed values are APRIL, AUGUST, DECEMBER, FEBRUARY, JANUARY, JULY, JUNE, MARCH, MAY, NOVEMBER, OCTOBER, SEPTEMBER, UNKNOWN.

Period String SEGMENT Predefined date range.

The allowed values are TODAY, YESTERDAY, LAST_7_DAYS, LAST_BUSINESS_WEEK, THIS_MONTH, LAST_MONTH, LAST_14_DAYS, LAST_30_DAYS, THIS_WEEK_SUN_TODAY, THIS_WEEK_MON_TODAY, LAST_WEEK_SUN_SAT, LAST_WEEK_MON_SUN.

Quarter Date SEGMENT Quarter as represented by the date of the first day of a quarter.
Slot String SEGMENT Position of the ad.

The allowed values are CONTENT, MIXED, SEARCH_OTHER, SEARCH_PARTNER_OTHER, SEARCH_PARTNER_TOP, SEARCH_SIDE, SEARCH_TOP, UNKNOWN.

Week Date SEGMENT Week as defined as Monday through Sunday, and represented by the date of
Year Int SEGMENT Year, formatted as yyyy.

Pseudo-Columns

Pseudo column fields are used in the WHERE clause of SELECT statements and offer more granular control over the data returned from the data source.

Name Type Description
ManagerId Long Id of the manager account on behalf of which you are requesting customer data.

CData Python Connector for Google Ads

Audience

Audience is an effective targeting option that lets you

Columns

Name Type Behavior Description
AudienceAssetGroup String ATTRIBUTE Immutable. The asset group that this audience is scoped under. Must be set
AudienceDescription String ATTRIBUTE Description of this audience.
AudienceDimensions String ATTRIBUTE Positive dimensions specifying the audience composition.
AudienceExclusionDimension String ATTRIBUTE Negative dimension specifying the audience composition.
AudienceId Long ATTRIBUTE Output only. ID of the audience.
AudienceName String ATTRIBUTE Name of the audience. It should be unique across all audiences within the
AudienceResourceName String ATTRIBUTE Immutable. The resource name of the audience.
AudienceScope String ATTRIBUTE Defines the scope this audience can be used in. By default, the scope is

The allowed values are ASSET_GROUP, CUSTOMER, UNKNOWN.

AudienceStatus String ATTRIBUTE Output only. Status of this audience. Indicates whether the audience

The allowed values are ENABLED, REMOVED, UNKNOWN.

CustomerId Long ATTRIBUTE Output only. The ID of the customer.

Pseudo-Columns

Pseudo column fields are used in the WHERE clause of SELECT statements and offer more granular control over the data returned from the data source.

Name Type Description
ManagerId Long Id of the manager account on behalf of which you are requesting customer data.

CData Python Connector for Google Ads

AudienceStatsReport

Audience-level performance stats by Ad Network and Device. Daily data is returned with a default date range of the last 7 days not including today.

Columns

Name Type Behavior Description
CustomerId Long ATTRIBUTE Output only. The ID of the customer.
Date Date SEGMENT Date to which metrics apply. yyyy-MM-dd format, for example, 2018-04-17.
ActiveViewImpressions Long METRIC A measurement of how often your ad has become viewable on a Display Network site.
ActiveViewMeasurability Double METRIC The ratio of impressions that could be measured by Active View over the number of served impressions.
ActiveViewMeasurableCostMicros Long METRIC The cost of the impressions you received that were measurable by Active View.
ActiveViewMeasurableImpressions Long METRIC The number of times your ads are appearing on placements in positions where they can be seen.
ActiveViewViewability Double METRIC The percentage of time when your ad appeared on an Active View enabled site (measurable impressions) and was viewable (viewable impressions).
AdGroupBaseAdGroup String ATTRIBUTE Output only. For draft or experiment ad groups, this field is the resource name of the base ad group from which this ad group was created. If a draft or experiment ad group does not have a base ad group, then this field is null. For base ad groups, this field equals the ad group resource name. This field is read-only.
AdGroupCriterionCriterionId Long ATTRIBUTE Output only. The ID of the criterion. This field is ignored for mutates.
AdGroupId Long ATTRIBUTE Output only. The ID of the ad group.
AdNetworkType String SEGMENT Ad network type.

The allowed values are CONTENT, GOOGLE_OWNED_CHANNELS, GOOGLE_TV, MIXED, SEARCH, SEARCH_PARTNERS, UNKNOWN, YOUTUBE.

CampaignBaseCampaign String ATTRIBUTE Output only. The resource name of the base campaign of a draft or experiment campaign. For base campaigns, this is equal to resource_name. This field is read-only.
CampaignId Long ATTRIBUTE Output only. The ID of the campaign.
Clicks Long METRIC The number of clicks.
Conversions Double METRIC The number of conversions. This only includes conversion actions which include_in_conversions_metric attribute is set to true. If you use conversion-based bidding, your bid strategies will optimize for these conversions.
ConversionsValue Double METRIC The value of conversions. This only includes conversion actions which include_in_conversions_metric attribute is set to true. If you use conversion-based bidding, your bid strategies will optimize for these conversions.
CostMicros Long METRIC The sum of your cost-per-click (CPC) and cost-per-thousand impressions (CPM) costs during this period.
Device String SEGMENT Device to which metrics apply.

The allowed values are CONNECTED_TV, DESKTOP, MOBILE, OTHER, TABLET, UNKNOWN.

Impressions Long METRIC Count of how often your ad has appeared on a search results page or website on the Google Network.
InteractionEventTypes String METRIC The types of payable and free interactions.

The allowed values are UNKNOWN, CLICK, ENGAGEMENT, VIDEO_VIEW, NONE.

Interactions Long METRIC The number of interactions. An interaction is the main user action associated with an ad format-clicks for text and shopping ads, views for video ads, and so on.
ViewThroughConversions Long METRIC The total number of view-through conversions. These happen when a customer sees an image or rich media ad, then later completes a conversion on your site without interacting with (for example, clicking on) another ad.

CData Python Connector for Google Ads

BatchJob

A list of mutates being processed asynchronously. The mutates are uploaded

Columns

Name Type Behavior Description
BatchJobId Long ATTRIBUTE Output only. ID of this batch job.
BatchJobLongRunningOperation String ATTRIBUTE Output only. The resource name of the long-running operation that can be
BatchJobMetadataCompletionDateTime Datetime ATTRIBUTE Output only. The time when this batch job was completed. Formatted as yyyy-MM-dd HH:mm:ss. Example: '2018-03-05 09:16:00'
BatchJobMetadataCreationDateTime Datetime ATTRIBUTE Output only. The time when this batch job was created. Formatted as yyyy-mm-dd hh:mm:ss. Example: '2018-03-05 09:15:00'
BatchJobMetadataEstimatedCompletionRatio Double ATTRIBUTE Output only. The fraction (between 0.0 and 1.0) of mutates that have been processed. This is empty if the job hasn't started running yet.
BatchJobMetadataExecutedOperationCount Long ATTRIBUTE Output only. The number of mutate operations executed by the batch job. Present only if the job has started running.
BatchJobMetadataExecutionLimitSeconds Int ATTRIBUTE Immutable. The approximate upper bound for how long a batch job can be executed, in seconds. If the job runs more than the given upper bound, the job will be canceled.
BatchJobMetadataOperationCount Long ATTRIBUTE Output only. The number of mutate operations in the batch job.
BatchJobMetadataStartDateTime Datetime ATTRIBUTE Output only. The time when this batch job started running. Formatted as yyyy-mm-dd hh:mm:ss. Example: '2018-03-05 09:15:30'
BatchJobNextAddSequenceToken String ATTRIBUTE Output only. The next sequence token to use when adding operations. Only
BatchJobResourceName String ATTRIBUTE Immutable. The resource name of the batch job.
BatchJobStatus String ATTRIBUTE Output only. Status of this batch job.

The allowed values are DONE, PENDING, RUNNING, UNKNOWN.

CustomerId Long ATTRIBUTE Output only. The ID of the customer.

Pseudo-Columns

Pseudo column fields are used in the WHERE clause of SELECT statements and offer more granular control over the data returned from the data source.

Name Type Description
ManagerId Long Id of the manager account on behalf of which you are requesting customer data.

CData Python Connector for Google Ads

BiddingDataExclusion

Represents a bidding data exclusion. Bidding data exclusions can be set in

Columns

Name Type Behavior Description
BiddingDataExclusionAdvertisingChannelTypes String ATTRIBUTE The data_exclusion will apply to all the campaigns under the listed

The allowed values are DEMAND_GEN, DISPLAY, HOTEL, LOCAL, LOCAL_SERVICES, MULTI_CHANNEL, PERFORMANCE_MAX, SEARCH, SHOPPING, SMART, TRAVEL, UNKNOWN, VIDEO.

BiddingDataExclusionCampaigns String ATTRIBUTE The data exclusion will apply to the campaigns listed when the scope of
BiddingDataExclusionDataExclusionId Long ATTRIBUTE Output only. The ID of the data exclusion.
BiddingDataExclusionDescription String ATTRIBUTE The description of the data exclusion. The description can be at
BiddingDataExclusionDevices String ATTRIBUTE If not specified, all devices will be included in this exclusion.

The allowed values are CONNECTED_TV, DESKTOP, MOBILE, OTHER, TABLET, UNKNOWN.

BiddingDataExclusionEndDateTime String ATTRIBUTE Required. The exclusive end time of the data exclusion in yyyy-MM-dd
BiddingDataExclusionName String ATTRIBUTE The name of the data exclusion. The name can be at most 255
BiddingDataExclusionResourceName String ATTRIBUTE Immutable. The resource name of the data exclusion.
BiddingDataExclusionScope String ATTRIBUTE The scope of the data exclusion.

The allowed values are CAMPAIGN, CHANNEL, CUSTOMER, UNKNOWN.

BiddingDataExclusionStartDateTime String ATTRIBUTE Required. The inclusive start time of the data exclusion in yyyy-MM-dd
BiddingDataExclusionStatus String ATTRIBUTE Output only. The status of the data exclusion.

The allowed values are ENABLED, REMOVED, UNKNOWN.

CustomerId Long ATTRIBUTE Output only. The ID of the customer.

Pseudo-Columns

Pseudo column fields are used in the WHERE clause of SELECT statements and offer more granular control over the data returned from the data source.

Name Type Description
ManagerId Long Id of the manager account on behalf of which you are requesting customer data.

CData Python Connector for Google Ads

BiddingSeasonalityAdjustment

Represents a bidding seasonality adjustment. Cannot be used in manager

Columns

Name Type Behavior Description
BiddingSeasonalityAdjustmentAdvertisingChannelTypes String ATTRIBUTE The seasonality adjustment will apply to all the campaigns under the listed

The allowed values are DEMAND_GEN, DISPLAY, HOTEL, LOCAL, LOCAL_SERVICES, MULTI_CHANNEL, PERFORMANCE_MAX, SEARCH, SHOPPING, SMART, TRAVEL, UNKNOWN, VIDEO.

BiddingSeasonalityAdjustmentCampaigns String ATTRIBUTE The seasonality adjustment will apply to the campaigns listed when the
BiddingSeasonalityAdjustmentConversionRateModifier Double ATTRIBUTE Conversion rate modifier estimated based on expected conversion rate
BiddingSeasonalityAdjustmentDescription String ATTRIBUTE The description of the seasonality adjustment. The description can be at
BiddingSeasonalityAdjustmentDevices String ATTRIBUTE If not specified, all devices will be included in this adjustment.

The allowed values are CONNECTED_TV, DESKTOP, MOBILE, OTHER, TABLET, UNKNOWN.

BiddingSeasonalityAdjustmentEndDateTime String ATTRIBUTE Required. The exclusive end time of the seasonality adjustment in
BiddingSeasonalityAdjustmentName String ATTRIBUTE The name of the seasonality adjustment. The name can be at most 255
BiddingSeasonalityAdjustmentResourceName String ATTRIBUTE Immutable. The resource name of the seasonality adjustment.
BiddingSeasonalityAdjustmentScope String ATTRIBUTE The scope of the seasonality adjustment.

The allowed values are CAMPAIGN, CHANNEL, CUSTOMER, UNKNOWN.

BiddingSeasonalityAdjustmentSeasonalityAdjustmentId Long ATTRIBUTE Output only. The ID of the seasonality adjustment.
BiddingSeasonalityAdjustmentStartDateTime String ATTRIBUTE Required. The inclusive start time of the seasonality adjustment in
BiddingSeasonalityAdjustmentStatus String ATTRIBUTE Output only. The status of the seasonality adjustment.

The allowed values are ENABLED, REMOVED, UNKNOWN.

CustomerId Long ATTRIBUTE Output only. The ID of the customer.

Pseudo-Columns

Pseudo column fields are used in the WHERE clause of SELECT statements and offer more granular control over the data returned from the data source.

Name Type Description
ManagerId Long Id of the manager account on behalf of which you are requesting customer data.

CData Python Connector for Google Ads

BiddingStrategy

A bidding strategy.

View-Specific Information

Select

Google Ads does not allow every column to be selected in a single query, as some data conflicts if selected together. Therefore, when issuing a query that selects all columns, only the default metrics, segments, and attributes are returned. In general, these defaults are the same fields that are exposed through the Ads console. To use the nondefault fields, explicitly select them in your query.

Filters can also be used in the WHERE clause using the following supported operators: =, !=, >, >=, <, <=, LIKE, NOT LIKE, IN, NOT IN . Note that all filters must be joined by AND, as OR is not supported by the Ads API.

Columns

Name Type Behavior Description
BiddingStrategyAlignedCampaignBudgetId Long ATTRIBUTE ID of the campaign budget that this portfolio bidding strategy
BiddingStrategyCampaignCount Long ATTRIBUTE Output only. The number of campaigns attached to this bidding strategy.
BiddingStrategyCurrencyCode String ATTRIBUTE Immutable. The currency used by the bidding strategy (ISO 4217 three-letter
BiddingStrategyEffectiveCurrencyCode String ATTRIBUTE Output only. The currency used by the bidding strategy (ISO 4217
BiddingStrategyEnhancedCpc String ATTRIBUTE A bidding strategy that raises bids for clicks that seem more likely to
BiddingStrategyId Long ATTRIBUTE Output only. The ID of the bidding strategy.
BiddingStrategyMaximizeConversionValueCpcBidCeilingMicros Long ATTRIBUTE Maximum bid limit that can be set by the bid strategy. The limit applies to all keywords managed by the strategy. Mutable for portfolio bidding strategies only.
BiddingStrategyMaximizeConversionValueCpcBidFloorMicros Long ATTRIBUTE Minimum bid limit that can be set by the bid strategy. The limit applies to all keywords managed by the strategy. Mutable for portfolio bidding strategies only.
BiddingStrategyMaximizeConversionValueTargetRoas Double ATTRIBUTE The target return on ad spend (ROAS) option. If set, the bid strategy will maximize revenue while averaging the target return on ad spend. If the target ROAS is high, the bid strategy may not be able to spend the full budget. If the target ROAS is not set, the bid strategy will aim to achieve the highest possible ROAS for the budget.
BiddingStrategyMaximizeConversionValueTargetRoasTolerancePercentMillis Long ATTRIBUTE The percent of ROAS(return on advertising spend) degradation tolerance allowed to increase traffic diversity and conversion volume, specified in millis (for example, 10,000 = 10%). A value of 10,000 means that the advertiser can expect ROAS degradation of up to 10% of the specified target ROAS.
BiddingStrategyMaximizeConversionsCpcBidCeilingMicros Long ATTRIBUTE Maximum bid limit that can be set by the bid strategy. The limit applies to all keywords managed by the strategy. Mutable for portfolio bidding strategies only.
BiddingStrategyMaximizeConversionsCpcBidFloorMicros Long ATTRIBUTE Minimum bid limit that can be set by the bid strategy. The limit applies to all keywords managed by the strategy. Mutable for portfolio bidding strategies only.
BiddingStrategyMaximizeConversionsTargetCpaMicros Long ATTRIBUTE The target cost-per-action (CPA) option. This is the average amount that you would like to spend per conversion action specified in micro units of the bidding strategy's currency. If set, the bid strategy will get as many conversions as possible at or below the target cost-per-action. If the target CPA is not set, the bid strategy will aim to achieve the lowest possible CPA given the budget.
BiddingStrategyName String ATTRIBUTE The name of the bidding strategy.
BiddingStrategyNonRemovedCampaignCount Long ATTRIBUTE Output only. The number of non-removed campaigns attached to this bidding
BiddingStrategyResourceName String ATTRIBUTE Immutable. The resource name of the bidding strategy.
BiddingStrategyStatus String ATTRIBUTE Output only. The status of the bidding strategy.

The allowed values are ENABLED, REMOVED, UNKNOWN.

BiddingStrategyTargetCpaCpcBidCeilingMicros Long ATTRIBUTE Maximum bid limit that can be set by the bid strategy. The limit applies to all keywords managed by the strategy. This should only be set for portfolio bid strategies.
BiddingStrategyTargetCpaCpcBidFloorMicros Long ATTRIBUTE Minimum bid limit that can be set by the bid strategy. The limit applies to all keywords managed by the strategy. This should only be set for portfolio bid strategies.
BiddingStrategyTargetCpaTargetCpaMicros Long ATTRIBUTE Average CPA target. This target should be greater than or equal to minimum billable unit based on the currency for the account.
BiddingStrategyTargetImpressionShareCpcBidCeilingMicros Long ATTRIBUTE The highest CPC bid the automated bidding system is permitted to specify. This is a required field entered by the advertiser that sets the ceiling and specified in local micros.
BiddingStrategyTargetImpressionShareLocation String ATTRIBUTE The targeted location on the search results page.

The allowed values are ABSOLUTE_TOP_OF_PAGE, ANYWHERE_ON_PAGE, TOP_OF_PAGE, UNKNOWN.

BiddingStrategyTargetImpressionShareLocationFractionMicros Long ATTRIBUTE The chosen fraction of ads to be shown in the targeted location in micros. For example, 1% equals 10,000.
BiddingStrategyTargetRoasCpcBidCeilingMicros Long ATTRIBUTE Maximum bid limit that can be set by the bid strategy. The limit applies to all keywords managed by the strategy. This should only be set for portfolio bid strategies.
BiddingStrategyTargetRoasCpcBidFloorMicros Long ATTRIBUTE Minimum bid limit that can be set by the bid strategy. The limit applies to all keywords managed by the strategy. This should only be set for portfolio bid strategies.
BiddingStrategyTargetRoasTargetRoas Double ATTRIBUTE Required. The chosen revenue (based on conversion data) per unit of spend. Value must be between 0.01 and 1000.0, inclusive.
BiddingStrategyTargetRoasTargetRoasTolerancePercentMillis Long ATTRIBUTE The percent of ROAS(return on advertising spend) degradation tolerance allowed to increase traffic diversity and conversion volume, specified in millis (for example, 10,000 = 10%). A value of 10,000 means that the advertiser can expect ROAS degradation of up to 10% of the specified target ROAS. This field is only mutable for portfolio bidding strategies.
BiddingStrategyTargetSpendCpcBidCeilingMicros Long ATTRIBUTE Maximum bid limit that can be set by the bid strategy. The limit applies to all keywords managed by the strategy.
BiddingStrategyTargetSpendTargetSpendMicros Long ATTRIBUTE Deprecated: The spend target under which to maximize clicks. A TargetSpend bidder will attempt to spend the smaller of this value or the natural throttling spend amount. If not specified, the budget is used as the spend target. This field is deprecated and should no longer be used. See https://ads-developers.googleblog.com/2020/05/reminder-about-sunset-creation-of.html for details.
BiddingStrategyType String ATTRIBUTE Output only. The type of the bidding strategy.

The allowed values are COMMISSION, ENHANCED_CPC, FIXED_CPM, FIXED_SHARE_OF_VOICE, INVALID, MANUAL_CPA, MANUAL_CPC, MANUAL_CPM, MANUAL_CPV, MAXIMIZE_CONVERSIONS, MAXIMIZE_CONVERSION_VALUE, PAGE_ONE_PROMOTED, PERCENT_CPC, TARGET_CPA, TARGET_CPC, TARGET_CPM, TARGET_CPV, TARGET_IMPRESSION_SHARE, TARGET_OUTRANK_SHARE, TARGET_ROAS, TARGET_SPEND, UNKNOWN.

CustomerId Long ATTRIBUTE Output only. The ID of the customer.
AllConversions Double METRIC The total number of conversions. This includes all conversions regardless
AllConversionsFromInteractionsRate Double METRIC All conversions from interactions (as oppose to view through conversions)
AllConversionsValue Double METRIC The value of all conversions.
AverageCpc Double METRIC The total cost of all clicks divided by the total number of clicks
AverageCpm Double METRIC Average cost-per-thousand impressions (CPM).
AverageTargetCpaMicros Long METRIC The average Target CPA, or unset if not available (for example, for
AverageTargetRoas Double METRIC The average Target ROAS, or unset if not available (for example, for
Clicks Long METRIC The number of clicks.
ClicksUniqueQueryClusters Long METRIC Unique query intent cluster count for clicks.
Conversions Double METRIC The number of conversions. This only includes conversion actions which
ConversionsFromInteractionsRate Double METRIC Conversions from interactions divided by the number of ad interactions
ConversionsUniqueQueryClusters Long METRIC Unique query intent cluster count for conversions.
ConversionsValue Double METRIC The value of conversions. This only includes conversion actions which
CostMicros Long METRIC The sum of your cost-per-click (CPC) and cost-per-thousand impressions
CostPerAllConversions Double METRIC The cost of ad interactions divided by all conversions.
CostPerConversion Double METRIC The cost of ad interactions divided by conversions. This only includes
CrossDeviceConversions Double METRIC Conversions from when a customer clicks on a Google Ads ad on one device,
Ctr Double METRIC The number of clicks your ad receives (Clicks) divided by the number
Impressions Long METRIC Count of how often your ad has appeared on a search results page or
ImpressionsUniqueQueryClusters Long METRIC Unique query intent cluster count for impressions.
ValuePerAllConversions Double METRIC The value of all conversions divided by the number of all conversions.
ValuePerConversion Double METRIC The value of conversions divided by the number of conversions. This only
ViewThroughConversions Long METRIC The total number of view-through conversions.
AdSubNetworkType String SEGMENT Ad sub network type. Currently only available for ads running as part of

The allowed values are UNKNOWN, UNSEGMENTED, YOUTUBE_INFEED, YOUTUBE_INSTREAM, YOUTUBE_SHORTS.

ConversionAction String SEGMENT Resource name of the conversion action.
ConversionActionCategory String SEGMENT Conversion action category.

The allowed values are ADD_TO_CART, BEGIN_CHECKOUT, BOOK_APPOINTMENT, CONTACT, CONVERTED_LEAD, DEFAULT, DOWNLOAD, ENGAGEMENT, GET_DIRECTIONS, IMPORTED_LEAD, OUTBOUND_CLICK, PAGE_VIEW, PHONE_CALL_LEAD, PURCHASE, QUALIFIED_LEAD, REQUEST_QUOTE, SIGNUP, STORE_SALE, STORE_VISIT, SUBMIT_LEAD_FORM, SUBSCRIBE_PAID, UNKNOWN, YOUTUBE_FOLLOW_ON_VIEWS.

ConversionActionName String SEGMENT Conversion action name.
Date Date SEGMENT Date to which metrics apply.
DayOfWeek String SEGMENT Day of the week, for example, MONDAY.

The allowed values are FRIDAY, MONDAY, SATURDAY, SUNDAY, THURSDAY, TUESDAY, UNKNOWN, WEDNESDAY.

Device String SEGMENT Device to which metrics apply.

The allowed values are CONNECTED_TV, DESKTOP, MOBILE, OTHER, TABLET, UNKNOWN.

ExternalConversionSource String SEGMENT External conversion source.

The allowed values are AD_CALL_METRICS, ANALYTICS, ANALYTICS_SEARCH_ADS_360, ANDROID_FIRST_OPEN, ANDROID_IN_APP, APP_UNSPECIFIED, CLICK_TO_CALL, DISPLAY_AND_VIDEO_360_FLOODLIGHT, FIREBASE, FIREBASE_SEARCH_ADS_360, FLOODLIGHT, GOOGLE_ATTRIBUTION, GOOGLE_HOSTED, GOOGLE_PLAY, IOS_FIRST_OPEN, IOS_IN_APP, SALESFORCE, SEARCH_ADS_360, STORE_SALES, STORE_SALES_CRM, STORE_SALES_DIRECT_UPLOAD, STORE_SALES_PAYMENT_NETWORK, STORE_VISITS, THIRD_PARTY_APP_ANALYTICS, UNKNOWN, UPLOAD, UPLOAD_CALLS, WEBPAGE, WEBSITE_CALL_METRICS.

Hour Int SEGMENT Hour of day as a number between 0 and 23, inclusive.
Month Date SEGMENT Month as represented by the date of the first day of a month. Formatted as
MonthOfYear String SEGMENT Month of the year, for example, January.

The allowed values are APRIL, AUGUST, DECEMBER, FEBRUARY, JANUARY, JULY, JUNE, MARCH, MAY, NOVEMBER, OCTOBER, SEPTEMBER, UNKNOWN.

Period String SEGMENT Predefined date range.

The allowed values are TODAY, YESTERDAY, LAST_7_DAYS, LAST_BUSINESS_WEEK, THIS_MONTH, LAST_MONTH, LAST_14_DAYS, LAST_30_DAYS, THIS_WEEK_SUN_TODAY, THIS_WEEK_MON_TODAY, LAST_WEEK_SUN_SAT, LAST_WEEK_MON_SUN.

Quarter Date SEGMENT Quarter as represented by the date of the first day of a quarter.
Week Date SEGMENT Week as defined as Monday through Sunday, and represented by the date of
Year Int SEGMENT Year, formatted as yyyy.

Pseudo-Columns

Pseudo column fields are used in the WHERE clause of SELECT statements and offer more granular control over the data returned from the data source.

Name Type Description
ManagerId Long Id of the manager account on behalf of which you are requesting customer data.

CData Python Connector for Google Ads

BiddingStrategySimulation

A bidding strategy simulation. Supported combinations of simulation type

Columns

Name Type Behavior Description
BiddingStrategySimulationBiddingStrategyId Long ATTRIBUTE Output only. Bidding strategy shared set id of the simulation.
BiddingStrategySimulationEndDate Date ATTRIBUTE Output only. Last day on which the simulation is based, in YYYY-MM-DD
BiddingStrategySimulationModificationMethod String ATTRIBUTE Output only. How the simulation modifies the field.

The allowed values are DEFAULT, SCALING, UNIFORM, UNKNOWN.

BiddingStrategySimulationResourceName String ATTRIBUTE Output only. The resource name of the bidding strategy simulation.
BiddingStrategySimulationStartDate Date ATTRIBUTE Output only. First day on which the simulation is based, in YYYY-MM-DD
BiddingStrategySimulationTargetCpaPointListPoints String ATTRIBUTE Projected metrics for a series of target CPA amounts.
BiddingStrategySimulationTargetRoasPointListPoints String ATTRIBUTE Projected metrics for a series of target ROAS amounts.
BiddingStrategySimulationType String ATTRIBUTE Output only. The field that the simulation modifies.

The allowed values are BID_MODIFIER, BUDGET, CPC_BID, CPV_BID, PERCENT_CPC_BID, TARGET_CPA, TARGET_IMPRESSION_SHARE, TARGET_ROAS, UNKNOWN.

CustomerId Long ATTRIBUTE Output only. The ID of the customer.

Pseudo-Columns

Pseudo column fields are used in the WHERE clause of SELECT statements and offer more granular control over the data returned from the data source.

Name Type Description
ManagerId Long Id of the manager account on behalf of which you are requesting customer data.

CData Python Connector for Google Ads

BillingSetup

A billing setup, which associates a payments account and an advertiser. A

Columns

Name Type Behavior Description
BillingSetupEndDateTime Datetime ATTRIBUTE Output only. The end date time in yyyy-MM-dd or yyyy-MM-dd HH:mm:ss
BillingSetupEndTimeType String ATTRIBUTE Output only. The end time as a type. The only possible value is FOREVER.

The allowed values are FOREVER, NOW, UNKNOWN.

BillingSetupId Long ATTRIBUTE Output only. The ID of the billing setup.
BillingSetupPaymentsAccount String ATTRIBUTE Immutable. The resource name of the payments account associated with this
BillingSetupPaymentsAccountInfoPaymentsAccountId String ATTRIBUTE Output only. A 16 digit id used to identify the payments account associated with the billing setup. This must be passed as a string with dashes, for example, '1234-5678-9012-3456'.
BillingSetupPaymentsAccountInfoPaymentsAccountName String ATTRIBUTE Immutable. The name of the payments account associated with the billing setup. This enables the user to specify a meaningful name for a payments account to aid in reconciling monthly invoices. This name will be printed in the monthly invoices.
BillingSetupPaymentsAccountInfoPaymentsProfileId String ATTRIBUTE Immutable. A 12 digit id used to identify the payments profile associated with the billing setup. This must be passed in as a string with dashes, for example, '1234-5678-9012'.
BillingSetupPaymentsAccountInfoPaymentsProfileName String ATTRIBUTE Output only. The name of the payments profile associated with the billing setup.
BillingSetupPaymentsAccountInfoSecondaryPaymentsProfileId String ATTRIBUTE Output only. A secondary payments profile id present in uncommon situations, for example, when a sequential liability agreement has been arranged.
BillingSetupResourceName String ATTRIBUTE Immutable. The resource name of the billing setup.
BillingSetupStartDateTime Datetime ATTRIBUTE Immutable. The start date time in yyyy-MM-dd or yyyy-MM-dd HH:mm:ss
BillingSetupStatus String ATTRIBUTE Output only. The status of the billing setup.

The allowed values are APPROVED, APPROVED_HELD, CANCELLED, PENDING, UNKNOWN.

CustomerId Long ATTRIBUTE Output only. The ID of the customer.

Pseudo-Columns

Pseudo column fields are used in the WHERE clause of SELECT statements and offer more granular control over the data returned from the data source.

Name Type Description
ManagerId Long Id of the manager account on behalf of which you are requesting customer data.

CData Python Connector for Google Ads

CallView

A call view that includes data for call tracking of call-only ads or call

Columns

Name Type Behavior Description
CallViewCallDurationSeconds Long ATTRIBUTE Output only. The advertiser-provided call duration in seconds.
CallViewCallStatus String ATTRIBUTE Output only. The status of the call.

The allowed values are MISSED, RECEIVED, UNKNOWN.

CallViewCallTrackingDisplayLocation String ATTRIBUTE Output only. The call tracking display location.

The allowed values are AD, LANDING_PAGE, UNKNOWN.

CallViewCallerAreaCode String ATTRIBUTE Output only. Area code of the caller. Null if the call duration is shorter
CallViewCallerCountryCode String ATTRIBUTE Output only. Country code of the caller.
CallViewEndCallDateTime Datetime ATTRIBUTE Output only. The advertiser-provided call end date time.
CallViewResourceName String ATTRIBUTE Output only. The resource name of the call view.
CallViewStartCallDateTime Datetime ATTRIBUTE Output only. The advertiser-provided call start date time.
CallViewType String ATTRIBUTE Output only. The type of the call.

The allowed values are HIGH_END_MOBILE_SEARCH, MANUALLY_DIALED, UNKNOWN.

CustomerId Long ATTRIBUTE Output only. The ID of the customer.

Pseudo-Columns

Pseudo column fields are used in the WHERE clause of SELECT statements and offer more granular control over the data returned from the data source.

Name Type Description
ManagerId Long Id of the manager account on behalf of which you are requesting customer data.

CData Python Connector for Google Ads

Campaign

A campaign.

View-Specific Information

Select

Google Ads does not allow every column to be selected in a single query, as some data conflicts if selected together. Therefore, when issuing a query that selects all columns, only the default metrics, segments, and attributes are returned. In general, these defaults are the same fields that are exposed through the Ads console. To use the nondefault fields, explicitly select them in your query.

Filters can also be used in the WHERE clause using the following supported operators: =, !=, >, >=, <, <=, LIKE, NOT LIKE, IN, NOT IN . Note that all filters must be joined by AND, as OR is not supported by the Ads API.

Columns

Name Type Behavior Description
CampaignAccessibleBiddingStrategy String ATTRIBUTE Output only. Resource name of AccessibleBiddingStrategy, a read-only view
CampaignAdServingOptimizationStatus String ATTRIBUTE The ad serving optimization status of the campaign.

The allowed values are CONVERSION_OPTIMIZE, OPTIMIZE, ROTATE, ROTATE_INDEFINITELY, UNAVAILABLE, UNKNOWN.

CampaignAdvertisingChannelSubType String ATTRIBUTE Immutable. Optional refinement to advertising_channel_type.

The allowed values are APP_CAMPAIGN, APP_CAMPAIGN_FOR_ENGAGEMENT, APP_CAMPAIGN_FOR_PRE_REGISTRATION, DISPLAY_EXPRESS, DISPLAY_GMAIL_AD, DISPLAY_MOBILE_APP, DISPLAY_SMART_CAMPAIGN, LOCAL_CAMPAIGN, SEARCH_EXPRESS, SEARCH_MOBILE_APP, SHOPPING_COMPARISON_LISTING_ADS, SHOPPING_SMART_ADS, SMART_CAMPAIGN, TRAVEL_ACTIVITIES, UNKNOWN, VIDEO_ACTION, VIDEO_NON_SKIPPABLE, VIDEO_REACH_TARGET_FREQUENCY, VIDEO_SEQUENCE, YOUTUBE_AUDIO.

CampaignAdvertisingChannelType String ATTRIBUTE Immutable. The primary serving target for ads within the campaign.

The allowed values are DEMAND_GEN, DISPLAY, HOTEL, LOCAL, LOCAL_SERVICES, MULTI_CHANNEL, PERFORMANCE_MAX, SEARCH, SHOPPING, SMART, TRAVEL, UNKNOWN, VIDEO.

CampaignAiMaxSettingBundlingRequired String ATTRIBUTE Output only. Indicates whether a search campaign has adopted AI Max before, and is required to have AI Max enabled to adopt campaign-level text asset automation and brand list targeting in all API versions.

The allowed values are NOT_REQUIRED, REQUIRED, UNKNOWN.

CampaignAiMaxSettingEnableAiMax Bool ATTRIBUTE Controls whether or not AI Max features are served for this campaign. Individual AI Max features are enabled or disabled by their respective settings. But if enable_ai_max is set to false or cleared, then no AI Max features will serve for this campaign, regardless of the other settings. Search Term Matching is enabled by default when AI Max is enabled, and can be disabled at the ad group level.
CampaignAppCampaignSettingAppId String ATTRIBUTE Immutable. A string that uniquely identifies a mobile application.
CampaignAppCampaignSettingAppStore String ATTRIBUTE Immutable. The application store that distributes this specific app.

The allowed values are APPLE_APP_STORE, GOOGLE_APP_STORE, UNKNOWN.

CampaignAppCampaignSettingBiddingStrategyGoalType String ATTRIBUTE Represents the goal which the bidding strategy of this app campaign should optimize towards.

The allowed values are OPTIMIZE_INSTALLS_TARGET_INSTALL_COST, OPTIMIZE_INSTALLS_WITHOUT_TARGET_INSTALL_COST, OPTIMIZE_IN_APP_CONVERSIONS_TARGET_CONVERSION_COST, OPTIMIZE_IN_APP_CONVERSIONS_TARGET_INSTALL_COST, OPTIMIZE_IN_APP_CONVERSIONS_WITHOUT_TARGET_CPA, OPTIMIZE_PRE_REGISTRATION_CONVERSION_VOLUME, OPTIMIZE_RETURN_ON_ADVERTISING_SPEND, OPTIMIZE_TOTAL_VALUE_WITHOUT_TARGET_ROAS, UNKNOWN.

CampaignAssetAutomationSettings String ATTRIBUTE Contains the opt-in/out status of each AssetAutomationType.
CampaignAudienceSettingUseAudienceGrouped Bool ATTRIBUTE Immutable. If true, this campaign uses an Audience resource for audience targeting. If false, this campaign may use audience segment criteria instead.
CampaignBaseCampaign String ATTRIBUTE Output only. The resource name of the base campaign of a draft or
CampaignBiddingStrategy String ATTRIBUTE The resource name of the portfolio bidding strategy used by the campaign.
CampaignBiddingStrategySystemStatus String ATTRIBUTE Output only. The system status of the campaign's bidding strategy.

The allowed values are ENABLED, LEARNING_BUDGET_CHANGE, LEARNING_COMPOSITION_CHANGE, LEARNING_CONVERSION_SETTING_CHANGE, LEARNING_CONVERSION_TYPE_CHANGE, LEARNING_NEW, LEARNING_SETTING_CHANGE, LIMITED_BY_BUDGET, LIMITED_BY_CPC_BID_CEILING, LIMITED_BY_CPC_BID_FLOOR, LIMITED_BY_DATA, LIMITED_BY_INVENTORY, LIMITED_BY_LOW_PRIORITY_SPEND, LIMITED_BY_LOW_QUALITY, MISCONFIGURED_CONVERSION_SETTINGS, MISCONFIGURED_CONVERSION_TYPES, MISCONFIGURED_SHARED_BUDGET, MISCONFIGURED_STRATEGY_TYPE, MISCONFIGURED_ZERO_ELIGIBILITY, MULTIPLE, MULTIPLE_LEARNING, MULTIPLE_LIMITED, MULTIPLE_MISCONFIGURED, PAUSED, UNAVAILABLE, UNKNOWN.

CampaignBiddingStrategyType String ATTRIBUTE Output only. The type of bidding strategy.

The allowed values are COMMISSION, ENHANCED_CPC, FIXED_CPM, FIXED_SHARE_OF_VOICE, INVALID, MANUAL_CPA, MANUAL_CPC, MANUAL_CPM, MANUAL_CPV, MAXIMIZE_CONVERSIONS, MAXIMIZE_CONVERSION_VALUE, PAGE_ONE_PROMOTED, PERCENT_CPC, TARGET_CPA, TARGET_CPC, TARGET_CPM, TARGET_CPV, TARGET_IMPRESSION_SHARE, TARGET_OUTRANK_SHARE, TARGET_ROAS, TARGET_SPEND, UNKNOWN.

CampaignBrandGuidelinesAccentColor String ATTRIBUTE The accent brand color, entered as a hex code (e.g., #00ff00). You must provide the accent_color if you provide a main_color.
CampaignBrandGuidelinesMainColor String ATTRIBUTE The main brand color, entered as a hex code (e.g., #00ff00). You must provide the main_color if you provide an accent_color.
CampaignBrandGuidelinesPredefinedFontFamily String ATTRIBUTE The brand's font family. Must be one of the following Google Fonts (case sensitive): Open Sans, Roboto, Montserrat, Poppins, Lato, Oswald, Playfair Display, Roboto Slab.
CampaignBrandGuidelinesEnabled Bool ATTRIBUTE Immutable. Whether Brand Guidelines are enabled for this Campaign.
CampaignCampaignBudget String ATTRIBUTE The resource name of the campaign budget of the campaign.
CampaignCampaignGroup String ATTRIBUTE The resource name of the campaign group that this campaign belongs to.
CampaignCommissionCommissionRateMicros Long ATTRIBUTE Commission rate defines the portion of the conversion value that the advertiser will be billed. A commission rate of x should be passed into this field as (x * 1,000,000). For example, 106,000 represents a commission rate of 0.106 (10.6%).
CampaignContainsEuPoliticalAdvertising String ATTRIBUTE The advertiser should self-declare whether this campaign contains

The allowed values are CONTAINS_EU_POLITICAL_ADVERTISING, DOES_NOT_CONTAIN_EU_POLITICAL_ADVERTISING, UNKNOWN.

CampaignDemandGenCampaignSettingsUpgradedTargeting Bool ATTRIBUTE Immutable. Specifies whether this campaign uses upgraded targeting options. When this field is set to true, you can use location and language targeting at the ad group level as opposed to the standard campaign-level targeting. This field defaults to true, and can only be set when creating a campaign.
CampaignDynamicSearchAdsSettingDomainName String ATTRIBUTE Required. The Internet domain name that this setting represents, for example, 'google.com' or 'www.google.com'.
CampaignDynamicSearchAdsSettingLanguageCode String ATTRIBUTE Required. The language code specifying the language of the domain, for example, 'en'.
CampaignDynamicSearchAdsSettingUseSuppliedUrlsOnly Bool ATTRIBUTE Whether the campaign uses advertiser supplied URLs exclusively.
CampaignEndDateTime Datetime ATTRIBUTE The last day and time of the campaign in serving customer's timezone in
CampaignExcludedParentAssetFieldTypes String ATTRIBUTE The asset field types that should be excluded from this campaign. Asset

The allowed values are AD_IMAGE, BOOK_ON_GOOGLE, BUSINESS_LOGO, BUSINESS_MESSAGE, BUSINESS_NAME, CALL, CALLOUT, CALL_TO_ACTION, CALL_TO_ACTION_SELECTION, DEMAND_GEN_CAROUSEL_CARD, DESCRIPTION, HEADLINE, HOTEL_CALLOUT, HOTEL_PROPERTY, LANDING_PAGE_PREVIEW, LANDSCAPE_LOGO, LEAD_FORM, LOGO, LONG_DESCRIPTION, LONG_HEADLINE, MANDATORY_AD_TEXT, MARKETING_IMAGE, MEDIA_BUNDLE, MOBILE_APP, PORTRAIT_MARKETING_IMAGE, PRICE, PROMOTION, RELATED_YOUTUBE_VIDEOS, SITELINK, SQUARE_MARKETING_IMAGE, STRUCTURED_SNIPPET, TALL_PORTRAIT_MARKETING_IMAGE, UNKNOWN, VIDEO, YOUTUBE_VIDEO.

CampaignExcludedParentAssetSetTypes String ATTRIBUTE The asset set types that should be excluded from this campaign. Asset set

The allowed values are BUSINESS_PROFILE_DYNAMIC_LOCATION_GROUP, CHAIN_DYNAMIC_LOCATION_GROUP, DYNAMIC_CUSTOM, DYNAMIC_EDUCATION, DYNAMIC_FLIGHTS, DYNAMIC_HOTELS_AND_RENTALS, DYNAMIC_JOBS, DYNAMIC_LOCAL, DYNAMIC_REAL_ESTATE, DYNAMIC_TRAVEL, HOTEL_PROPERTY, LOCATION_SYNC, MERCHANT_CENTER_FEED, PAGE_FEED, STATIC_LOCATION_GROUP, TRAVEL_FEED, UNKNOWN.

CampaignExperimentType String ATTRIBUTE Output only. The type of campaign: normal, draft, or experiment.

The allowed values are BASE, DRAFT, EXPERIMENT, UNKNOWN.

CampaignFeedTypes String ATTRIBUTE Output only. Types of feeds that are attached directly to this campaign.

The allowed values are BUSINESS_PROFILE_DYNAMIC_LOCATION_GROUP, CHAIN_DYNAMIC_LOCATION_GROUP, DYNAMIC_CUSTOM, DYNAMIC_EDUCATION, DYNAMIC_FLIGHTS, DYNAMIC_HOTELS_AND_RENTALS, DYNAMIC_JOBS, DYNAMIC_LOCAL, DYNAMIC_REAL_ESTATE, DYNAMIC_TRAVEL, HOTEL_PROPERTY, LOCATION_SYNC, MERCHANT_CENTER_FEED, PAGE_FEED, STATIC_LOCATION_GROUP, TRAVEL_FEED, UNKNOWN.

CampaignFinalUrlSuffix String ATTRIBUTE Suffix used to append query parameters to landing pages that are served
CampaignFixedCpmGoal String ATTRIBUTE Fixed CPM bidding goal. Determines the exact bidding optimization parameters.

The allowed values are REACH, TARGET_FREQUENCY, UNKNOWN.

CampaignFixedCpmTargetFrequencyInfoTargetCount Long ATTRIBUTE Target frequency count represents the number of times an advertiser wants to show the ad to target a single user.
CampaignFixedCpmTargetFrequencyInfoTimeUnit String ATTRIBUTE Time window expressing the period over which you want to reach the specified target_count.

The allowed values are MONTHLY, UNKNOWN.

CampaignFrequencyCaps String ATTRIBUTE A list that limits how often each user will see this campaign's ads.
CampaignGeoTargetTypeSettingNegativeGeoTargetType String ATTRIBUTE The setting used for negative geotargeting in this particular campaign.

The allowed values are PRESENCE, PRESENCE_OR_INTEREST, UNKNOWN.

CampaignGeoTargetTypeSettingPositiveGeoTargetType String ATTRIBUTE The setting used for positive geotargeting in this particular campaign.

The allowed values are PRESENCE, PRESENCE_OR_INTEREST, SEARCH_INTEREST, UNKNOWN.

CampaignHotelPropertyAssetSet String ATTRIBUTE Immutable. The resource name for a set of hotel properties for Performance
CampaignHotelSettingDisableHotelSetting Bool ATTRIBUTE Disable the optional hotel setting. This field is currently supported only for Demand Gen campaigns.
CampaignHotelSettingHotelCenterId Long ATTRIBUTE The linked Hotel Center account.
CampaignId Long ATTRIBUTE Output only. The ID of the campaign.
CampaignKeywordMatchType String ATTRIBUTE Keyword match type of Campaign. Set to BROAD to set broad matching for all

The allowed values are BROAD, UNKNOWN.

CampaignLabels String ATTRIBUTE Output only. The resource names of labels attached to this campaign.
CampaignListingType String ATTRIBUTE Immutable. Listing type of ads served for this campaign.

The allowed values are UNKNOWN, VEHICLES.

CampaignLocalCampaignSettingLocationSourceType String ATTRIBUTE The location source type for this local campaign.

The allowed values are AFFILIATE, GOOGLE_MY_BUSINESS, UNKNOWN.

CampaignLocalServicesCampaignSettingsCategoryBids String ATTRIBUTE Categorical level bids associated with MANUAL_CPA bidding strategy.
CampaignManualCpa String ATTRIBUTE Standard Manual CPA bidding strategy.
CampaignManualCpcEnhancedCpcEnabled Bool ATTRIBUTE Whether bids are to be enhanced based on conversion optimizer data.
CampaignManualCpm String ATTRIBUTE Standard Manual CPM bidding strategy.
CampaignManualCpv String ATTRIBUTE A bidding strategy that pays a configurable amount per video view.
CampaignMaximizeConversionValueTargetRoas Double ATTRIBUTE The target return on ad spend (ROAS) option. If set, the bid strategy will maximize revenue while averaging the target return on ad spend. If the target ROAS is high, the bid strategy may not be able to spend the full budget. If the target ROAS is not set, the bid strategy will aim to achieve the highest possible ROAS for the budget.
CampaignMaximizeConversionValueTargetRoasTolerancePercentMillis Long ATTRIBUTE The percent of ROAS(return on advertising spend) degradation tolerance allowed to increase traffic diversity and conversion volume, specified in millis (for example, 10,000 = 10%). A value of 10,000 means that the advertiser can expect ROAS degradation of up to 10% of the specified target ROAS.
CampaignMaximizeConversionsTargetCpaMicros Long ATTRIBUTE The target cost-per-action (CPA) option. This is the average amount that you would like to spend per conversion action specified in micro units of the bidding strategy's currency. If set, the bid strategy will get as many conversions as possible at or below the target cost-per-action. If the target CPA is not set, the bid strategy will aim to achieve the lowest possible CPA given the budget.
CampaignMissingEuPoliticalAdvertisingDeclaration Bool ATTRIBUTE Output only. Indicates whether this campaign is missing a declaration about
CampaignName String ATTRIBUTE The name of the campaign.
CampaignNetworkSettingsTargetContentNetwork Bool ATTRIBUTE Whether ads will be served on specified placements in the Google Display Network. Placements are specified using the Placement criterion.
CampaignNetworkSettingsTargetGoogleSearch Bool ATTRIBUTE Whether ads will be served with google.com search results.
CampaignNetworkSettingsTargetGoogleTvNetwork Bool ATTRIBUTE Whether ads will be served on the Google TV network.
CampaignNetworkSettingsTargetPartnerSearchNetwork Bool ATTRIBUTE Whether ads will be served on the partner network. This is available only to some select partner accounts. Unless you have been instructed to use this field, it likely does not apply to your account. This does not control whether ads will be served on Google Search Partners Network; use target_search_network for that instead.
CampaignNetworkSettingsTargetSearchNetwork Bool ATTRIBUTE Whether ads will be served on sites in the Google Search Partners Network (requires target_google_search to also be true).
CampaignNetworkSettingsTargetYoutube Bool ATTRIBUTE Whether ads will be served on YouTube.
CampaignOptimizationGoalSettingOptimizationGoalTypes String ATTRIBUTE The list of optimization goal types.

The allowed values are APP_PRE_REGISTRATION, CALL_CLICKS, DRIVING_DIRECTIONS, UNKNOWN.

CampaignOptimizationScore Double ATTRIBUTE Output only. Optimization score of the campaign.
CampaignPaymentMode String ATTRIBUTE Payment mode for the campaign.

The allowed values are CLICKS, CONVERSIONS, CONVERSION_VALUE, GUEST_STAY, UNKNOWN.

CampaignPercentCpcCpcBidCeilingMicros Long ATTRIBUTE Maximum bid limit that can be set by the bid strategy. This is an optional field entered by the advertiser and specified in local micros. Note: A zero value is interpreted in the same way as having bid_ceiling undefined.
CampaignPercentCpcEnhancedCpcEnabled Bool ATTRIBUTE Adjusts the bid for each auction upward or downward, depending on the likelihood of a conversion. Individual bids may exceed cpc_bid_ceiling_micros, but the average bid amount for a campaign should not.
CampaignPerformanceMaxUpgradePerformanceMaxCampaign String ATTRIBUTE Output only. The resource name of the Performance Max campaign the campaign is upgraded to.
CampaignPerformanceMaxUpgradePreUpgradeCampaign String ATTRIBUTE Output only. The resource name of the legacy campaign upgraded to Performance Max.
CampaignPerformanceMaxUpgradeStatus String ATTRIBUTE Output only. The upgrade status of a campaign requested to be upgraded to Performance Max.

The allowed values are UNKNOWN, UPGRADE_COMPLETE, UPGRADE_ELIGIBLE, UPGRADE_FAILED, UPGRADE_IN_PROGRESS.

CampaignPmaxCampaignSettingsBrandTargetingOverridesIgnoreExclusionsForShoppingAds Bool ATTRIBUTE If true, brand exclusions are ignored for Shopping ads.
CampaignPrimaryStatus String ATTRIBUTE Output only. The primary status of the campaign.

The allowed values are ELIGIBLE, ENDED, LEARNING, LIMITED, MISCONFIGURED, NOT_ELIGIBLE, PAUSED, PENDING, REMOVED, UNKNOWN.

CampaignPrimaryStatusReasons String ATTRIBUTE Output only. The primary status reasons of the campaign.

The allowed values are AD_GROUPS_PAUSED, AD_GROUP_ADS_PAUSED, APP_NOT_RELEASED, APP_PARTIALLY_RELEASED, ASSET_GROUPS_PAUSED, BIDDING_STRATEGY_CONSTRAINED, BIDDING_STRATEGY_LEARNING, BIDDING_STRATEGY_LIMITED, BIDDING_STRATEGY_MISCONFIGURED, BOOKING_CANCELLED, BOOKING_HOLD_EXPIRED, BOOKING_HOLD_EXPIRING, BUDGET_CONSTRAINED, BUDGET_MISCONFIGURED, CALL_EXTENSION_DISAPPROVED, CALL_EXTENSION_UNDER_REVIEW, CAMPAIGN_DRAFT, CAMPAIGN_ENDED, CAMPAIGN_GROUP_ALL_GROUP_BUDGETS_ENDED, CAMPAIGN_GROUP_PAUSED, CAMPAIGN_NOT_BOOKED, CAMPAIGN_PAUSED, CAMPAIGN_PENDING, CAMPAIGN_REMOVED, HAS_ADS_DISAPPROVED, HAS_ADS_LIMITED_BY_POLICY, HAS_ASSET_GROUPS_DISAPPROVED, HAS_ASSET_GROUPS_LIMITED_BY_POLICY, KEYWORDS_PAUSED, LEAD_FORM_EXTENSION_DISAPPROVED, LEAD_FORM_EXTENSION_UNDER_REVIEW, MISSING_CALL_EXTENSION, MISSING_LEAD_FORM_EXTENSION, MISSING_LOCATION_TARGETING, MOST_ADS_UNDER_REVIEW, MOST_ASSET_GROUPS_UNDER_REVIEW, NO_AD_GROUPS, NO_AD_GROUP_ADS, NO_ASSET_GROUPS, NO_KEYWORDS, NO_MOBILE_APPLICATION_AD_GROUP_CRITERIA, SEARCH_VOLUME_LIMITED, UNKNOWN.

CampaignRealTimeBiddingSettingOptIn Bool ATTRIBUTE Whether the campaign is opted in to real-time bidding.
CampaignResourceName String ATTRIBUTE Immutable. The resource name of the campaign.
CampaignSelectiveOptimizationConversionActions String ATTRIBUTE The selected set of resource names for conversion actions for optimizing this campaign.
CampaignServingStatus String ATTRIBUTE Output only. The ad serving status of the campaign.

The allowed values are ENDED, NONE, PENDING, SERVING, SUSPENDED, UNKNOWN.

CampaignShoppingSettingAdvertisingPartnerIds String ATTRIBUTE The list of Google Ads accounts IDs of advertising partners cooperating within the campaign. This feature is currently available only for accounts having an advertising partner link. Once set, the field is immutable. This feature is currently supported only for Performance Max, Shopping, Search and Demand Gen campaign types.
CampaignShoppingSettingCampaignPriority Int ATTRIBUTE Priority of the campaign. Campaigns with numerically higher priorities take precedence over those with lower priorities. This field is required for Shopping campaigns, with values between 0 and 2, inclusive. This field is optional for Smart Shopping campaigns, but must be equal to 3 if set.
CampaignShoppingSettingDisableProductFeed Bool ATTRIBUTE Disable the optional product feed. This field is currently supported only for Demand Gen campaigns. See https://support.google.com/google-ads/answer/13721750 to learn more about this feature.
CampaignShoppingSettingEnableLocal Bool ATTRIBUTE Whether to include local products.
CampaignShoppingSettingFeedLabel String ATTRIBUTE Feed label of products to include in the campaign. Valid feed labels may contain a maximum of 20 characters including uppercase letters, numbers, hyphens, and underscores. If you previously used the deprecated sales_country in the two-letter country code (XX) format, the feed_label field should be used instead. For more information see the feed label support article.
CampaignShoppingSettingMerchantId Long ATTRIBUTE ID of the Merchant Center account. This field is required for create operations. This field is immutable for Shopping campaigns.
CampaignShoppingSettingUseVehicleInventory Bool ATTRIBUTE Immutable. Whether to target Vehicle Listing inventory. This field is supported only in Smart Shopping Campaigns. For setting Vehicle Listing inventory in Performance Max campaigns, use listing_type instead.
CampaignStartDateTime Datetime ATTRIBUTE The date and time when campaign started in serving. The timestamp is in
CampaignStatus String ATTRIBUTE The status of the campaign.

The allowed values are ENABLED, PAUSED, REMOVED, UNKNOWN.

CampaignTargetCpaCpcBidCeilingMicros Long ATTRIBUTE Maximum bid limit that can be set by the bid strategy. The limit applies to all keywords managed by the strategy. This should only be set for portfolio bid strategies.
CampaignTargetCpaCpcBidFloorMicros Long ATTRIBUTE Minimum bid limit that can be set by the bid strategy. The limit applies to all keywords managed by the strategy. This should only be set for portfolio bid strategies.
CampaignTargetCpaTargetCpaMicros Long ATTRIBUTE Average CPA target. This target should be greater than or equal to minimum billable unit based on the currency for the account.
CampaignTargetCpcTargetCpcMicros Long ATTRIBUTE Average CPC target. This target should be greater than or equal to minimum billable unit based on the currency for the account.
CampaignTargetCpmTargetFrequencyGoalTargetCount Long ATTRIBUTE Target Frequency count representing how many times you want to reach a single user.
CampaignTargetCpmTargetFrequencyGoalTimeUnit String ATTRIBUTE Time window expressing the period over which you want to reach the specified target_count.

The allowed values are MONTHLY, UNKNOWN, WEEKLY.

CampaignTargetCpv String ATTRIBUTE An automated bidding strategy that sets bids to optimize performance
CampaignTargetImpressionShareCpcBidCeilingMicros Long ATTRIBUTE The highest CPC bid the automated bidding system is permitted to specify. This is a required field entered by the advertiser that sets the ceiling and specified in local micros.
CampaignTargetImpressionShareLocation String ATTRIBUTE The targeted location on the search results page.

The allowed values are ABSOLUTE_TOP_OF_PAGE, ANYWHERE_ON_PAGE, TOP_OF_PAGE, UNKNOWN.

CampaignTargetImpressionShareLocationFractionMicros Long ATTRIBUTE The chosen fraction of ads to be shown in the targeted location in micros. For example, 1% equals 10,000.
CampaignTargetRoasCpcBidCeilingMicros Long ATTRIBUTE Maximum bid limit that can be set by the bid strategy. The limit applies to all keywords managed by the strategy. This should only be set for portfolio bid strategies.
CampaignTargetRoasCpcBidFloorMicros Long ATTRIBUTE Minimum bid limit that can be set by the bid strategy. The limit applies to all keywords managed by the strategy. This should only be set for portfolio bid strategies.
CampaignTargetRoasTargetRoas Double ATTRIBUTE Required. The chosen revenue (based on conversion data) per unit of spend. Value must be between 0.01 and 1000.0, inclusive.
CampaignTargetRoasTargetRoasTolerancePercentMillis Long ATTRIBUTE The percent of ROAS(return on advertising spend) degradation tolerance allowed to increase traffic diversity and conversion volume, specified in millis (for example, 10,000 = 10%). A value of 10,000 means that the advertiser can expect ROAS degradation of up to 10% of the specified target ROAS. This field is only mutable for portfolio bidding strategies.
CampaignTargetSpendCpcBidCeilingMicros Long ATTRIBUTE Maximum bid limit that can be set by the bid strategy. The limit applies to all keywords managed by the strategy.
CampaignTargetSpendTargetSpendMicros Long ATTRIBUTE Deprecated: The spend target under which to maximize clicks. A TargetSpend bidder will attempt to spend the smaller of this value or the natural throttling spend amount. If not specified, the budget is used as the spend target. This field is deprecated and should no longer be used. See https://ads-developers.googleblog.com/2020/05/reminder-about-sunset-creation-of.html for details.
CampaignTargetingSettingTargetRestrictions String ATTRIBUTE The per-targeting-dimension setting to restrict the reach of your campaign or ad group.
CampaignTextGuidelinesMessagingRestrictions String ATTRIBUTE Freeform instructions that will be used to guide text asset generation using LLM inference. At most 40 restrictions may be provided.
CampaignTextGuidelinesTermExclusions String ATTRIBUTE Exact words or phrases that will be excluded from generated text assets. At most 25 exclusions may be provided. Valid exclusions may contain a maximum of 30 characters.
CampaignThirdPartyIntegrationPartnersBrandLiftIntegrationPartners String ATTRIBUTE Third party integration partners for Brand Lift verification for this Campaign.
CampaignThirdPartyIntegrationPartnersBrandSafetyIntegrationPartners String ATTRIBUTE Third party integration partners for brand safety verification for this Campaign.
CampaignThirdPartyIntegrationPartnersReachIntegrationPartners String ATTRIBUTE Third party integration partners for reach verification for this Campaign.
CampaignThirdPartyIntegrationPartnersViewabilityIntegrationPartners String ATTRIBUTE Third party integration partners for YouTube viewability verification for this Campaign.
CampaignTrackingSettingTrackingUrl String ATTRIBUTE Output only. The url used for dynamic tracking.
CampaignTrackingUrlTemplate String ATTRIBUTE The URL template for constructing a tracking URL.
CampaignTravelCampaignSettingsTravelAccountId Long ATTRIBUTE Immutable. The Travel account ID associated with the Travel campaign.
CampaignUrlCustomParameters String ATTRIBUTE The list of mappings used to substitute custom parameter tags in a
CampaignVanityPharmaVanityPharmaDisplayUrlMode String ATTRIBUTE The display mode for vanity pharma URLs.

The allowed values are MANUFACTURER_WEBSITE_URL, UNKNOWN, WEBSITE_DESCRIPTION.

CampaignVanityPharmaVanityPharmaText String ATTRIBUTE The text that will be displayed in display URL of the text ad when website description is the selected display mode for vanity pharma URLs.

The allowed values are MEDICAL_DEVICE_WEBSITE_EN, MEDICAL_DEVICE_WEBSITE_ES, PRESCRIPTION_CONTRACEPTION_WEBSITE_EN, PRESCRIPTION_CONTRACEPTION_WEBSITE_ES, PRESCRIPTION_DEVICE_WEBSITE_EN, PRESCRIPTION_DEVICE_WEBSITE_ES, PRESCRIPTION_TREATMENT_WEBSITE_EN, PRESCRIPTION_TREATMENT_WEBSITE_ES, PRESCRIPTION_VACCINE_WEBSITE_EN, PRESCRIPTION_VACCINE_WEBSITE_ES, PREVENTATIVE_TREATMENT_WEBSITE_EN, PREVENTATIVE_TREATMENT_WEBSITE_ES, UNKNOWN.

CampaignVideoBrandSafetySuitability String ATTRIBUTE Brand Safety setting at the individual campaign level. Allows for selecting

The allowed values are EXPANDED_INVENTORY, LIMITED_INVENTORY, STANDARD_INVENTORY, UNKNOWN.

CampaignVideoCampaignSettingsBookingDetailsCancellationDateTime Datetime ATTRIBUTE Output only. Time when the booked inventory of this campaign will be cancelled or has been cancelled. Available for primary status NOT_ELIGIBLE if the campaign will be cancelled and for primary status reason BOOKING_CANCELLED. Format is 'yyyy-MM-dd HH:mm:ss' in the customer's time zone.
CampaignVideoCampaignSettingsBookingDetailsHoldExpirationDateTime Datetime ATTRIBUTE Output only. Time until which booked inventory will be held or has been held for this campaign. Available for status HELD and HOLD_EXPIRED. Format is 'yyyy-MM-dd HH:mm:ss' in the customer's time zone.
CampaignVideoCampaignSettingsBookingDetailsStatus String ATTRIBUTE Output only. The status of the booking.

The allowed values are BOOKED, BOOKING_CANCELLED, CAMPAIGN_ENDED, HELD, HOLD_EXPIRED, UNKNOWN.

CampaignVideoCampaignSettingsReservationAdCategorySelfDisclosureAlcohol Bool ATTRIBUTE The campaign is expected to contain alcohol-related ads.
CampaignVideoCampaignSettingsReservationAdCategorySelfDisclosureGambling Bool ATTRIBUTE The campaign is expected to contain gambling-related ads.
CampaignVideoCampaignSettingsReservationAdCategorySelfDisclosurePolitics Bool ATTRIBUTE The campaign is expected to contain politics-related ads.
CampaignVideoCampaignSettingsVideoAdFormatControlFormatRestriction String ATTRIBUTE All contained responsive ads are expected to respect this restriction.

The allowed values are NON_SKIPPABLE_IN_STREAM, UNKNOWN.

CampaignVideoCampaignSettingsVideoAdFormatControlNonSkippableInStreamRestrictionsMaxDuration String ATTRIBUTE The maximum allowed duration for non-skippable ads.

The allowed values are MAX_DURATION_FIFTEEN_SECONDS, MAX_DURATION_SIXTY_SECONDS, MAX_DURATION_THIRTY_SECONDS, UNKNOWN.

CampaignVideoCampaignSettingsVideoAdFormatControlNonSkippableInStreamRestrictionsMinDuration String ATTRIBUTE The minimum allowed duration for non-skippable ads.

The allowed values are MIN_DURATION_FIVE_SECONDS, MIN_DURATION_SEVEN_SECONDS, MIN_DURATION_SIXTEEN_SECONDS, MIN_DURATION_THIRTY_ONE_SECONDS, UNKNOWN.

CampaignVideoCampaignSettingsVideoAdInventoryControlAllowInFeed Bool ATTRIBUTE Determine if video responsive ads can be used for in-feed video ads.
CampaignVideoCampaignSettingsVideoAdInventoryControlAllowInStream Bool ATTRIBUTE Determine if video responsive ads can be used for in-stream video ads.
CampaignVideoCampaignSettingsVideoAdInventoryControlAllowNonSkippableInStream Bool ATTRIBUTE Determine if video responsive ads can be used for non-skippable in-stream ads. This is only available for campaigns that allow mixing of non-skippable with other formats (Video reach campaign with Target Frequency bidding strategy goal).
CampaignVideoCampaignSettingsVideoAdInventoryControlAllowShorts Bool ATTRIBUTE Determine if video responsive ads can be used as shorts format.
CampaignVideoCampaignSettingsVideoAdSequenceMinimumDuration String ATTRIBUTE Users are eligible to repeat sequence after this period. Defaults to WEEK if not specified.

The allowed values are MONTH, UNKNOWN, WEEK.

CampaignVideoCampaignSettingsVideoAdSequenceSteps String ATTRIBUTE The list of sequence steps and data associated with them.
CustomerId Long ATTRIBUTE Output only. The ID of the customer.
AbsoluteTopImpressionPercentage Double METRIC Search absolute top impression share is the percentage of your Search ad
ActiveViewAudibilityInvalidGivtMeasurableImpressionsRate Double METRIC The number of impressions for which Active View could measure audibility,
ActiveViewAudibilityInvalidMeasurableImpressionsRate Double METRIC The number of impressions for which Active View could measure audibility,
ActiveViewAudibilityMeasurableImpressions Long METRIC The number of impressions for which Active View could measure if the ad was
ActiveViewAudibilityMeasurableImpressionsRate Double METRIC The number of impressions for which Active View could measure if the ad was
ActiveViewAudibleImpressions Long METRIC The number of impressions that were audible (volume > 0%) at any point
ActiveViewAudibleImpressionsRate Double METRIC The number of impressions that were audible (volume > 0%) at any point
ActiveViewAudibleQuartileP100Rate Double METRIC The number of impressions that were audible at the fourth quartile of the
ActiveViewAudibleQuartileP25Rate Double METRIC The number of impressions that were audible at the first quartile of the
ActiveViewAudibleQuartileP50Rate Double METRIC The number of impressions that were audible at the second quartile of the
ActiveViewAudibleQuartileP75Rate Double METRIC The number of impressions that were audible at the third quartile of the
ActiveViewAudibleThirtySecondsImpressions Long METRIC The number of impressions that were audible for at least 30 seconds
ActiveViewAudibleThirtySecondsImpressionsRate Double METRIC The number of impressions that were audible for at least 30 seconds
ActiveViewAudibleTwoSecondsImpressions Long METRIC The number of impressions that were audible for at least 2 seconds
ActiveViewAudibleTwoSecondsImpressionsRate Double METRIC The number of impressions that were audible for at least 2 seconds
ActiveViewCpm Double METRIC Average cost of viewable impressions (active_view_impressions).
ActiveViewCtr Double METRIC Active view measurable clicks divided by active view viewable impressions.
ActiveViewImpressions Long METRIC A measurement of how often your ad has become viewable on a Display
ActiveViewMeasurability Double METRIC The ratio of impressions that could be measured by Active View over the
ActiveViewMeasurableCostMicros Long METRIC The cost of the impressions you received that were measurable by Active
ActiveViewMeasurableImpressions Long METRIC The number of times your ads are appearing on placements in positions
ActiveViewViewability Double METRIC The percentage of time when your ad appeared on an Active View enabled site
AllConversions Double METRIC The total number of conversions. This includes all conversions regardless
AllConversionsByConversionDate Double METRIC The total number of conversions. This includes all conversions regardless
AllConversionsFromClickToCall Double METRIC The number of times people clicked the 'Call' button to call a business
AllConversionsFromDirections Double METRIC The number of times people clicked a 'Get directions' button to navigate to
AllConversionsFromInteractionsRate Double METRIC All conversions from interactions (as oppose to view through conversions)
AllConversionsFromLocationAssetClickToCall Double METRIC Number of call button clicks on any location surface after a chargeable ad
AllConversionsFromLocationAssetDirections Double METRIC Number of driving directions clicks on any location surface after a
AllConversionsFromLocationAssetMenu Double METRIC Number of menu link clicks on any location surface after a chargeable ad
AllConversionsFromLocationAssetOrder Double METRIC Number of order clicks on any location surface after a chargeable ad event
AllConversionsFromLocationAssetOtherEngagement Double METRIC Number of other types of local action clicks on any location surface after
AllConversionsFromLocationAssetStoreVisits Double METRIC Estimated number of visits to the business after a chargeable
AllConversionsFromLocationAssetWebsite Double METRIC Number of website URL clicks on any location surface after a chargeable ad
AllConversionsFromMenu Double METRIC The number of times people clicked a link to view a business's menu after
AllConversionsFromOrder Double METRIC The number of times people placed an order at a business after clicking an
AllConversionsFromOtherEngagement Double METRIC The number of other conversions (for example, posting a review or saving a
AllConversionsFromStoreVisit Double METRIC Estimated number of times people visited a business after clicking an ad.
AllConversionsFromStoreWebsite Double METRIC The number of times that people were taken to a business's URL after
AllConversionsValue Double METRIC The value of all conversions.
AllConversionsValueByConversionDate Double METRIC The value of all conversions. When this column is selected with date, the
AllNewCustomerLifetimeValue Double METRIC All of new customers' lifetime conversion value. If you have set up
AverageCartSize Double METRIC Average cart size is the average number of products in each order
AverageCost Double METRIC The average amount you pay per interaction. This amount is the total cost
AverageCpc Double METRIC The total cost of all clicks divided by the total number of clicks
AverageCpe Double METRIC The average amount that you've been charged for an ad engagement. This
AverageCpm Double METRIC Average cost-per-thousand impressions (CPM).
AverageImpressionFrequencyPerUser Double METRIC The average number of times a unique user saw your ad during the requested
AverageOrderValueMicros Long METRIC Average order value is the average revenue you made per order attributed to
AveragePageViews Double METRIC Average number of pages viewed per session.
AverageTargetCpaMicros Long METRIC The average Target CPA, or unset if not available (for example, for
AverageTargetRoas Double METRIC The average Target ROAS, or unset if not available (for example, for
AverageTimeOnSite Double METRIC Total duration of all sessions (in seconds) / number of sessions. Imported
AverageVideoWatchTimeDurationMillis Long METRIC Average video watch time duration in milliseconds for video impressions
BiddableAppInstallConversions Double METRIC Number of app installs.
BiddableAppPostInstallConversions Double METRIC Number of in-app actions.
BiddableCohortAppPostInstallConversions Double METRIC Participated in-app actions. The number of in app actions that come
BiddableIndirectInstallFirstInAppConversionMicros Long METRIC The number of biddable first in app conversions where the app install was
BounceRate Double METRIC Percentage of clicks where the user only visited a single page on your
Clicks Long METRIC The number of clicks.
ClicksUniqueQueryClusters Long METRIC Unique query intent cluster count for clicks.
ContentBudgetLostImpressionShare Double METRIC The estimated percent of times that your ad was eligible to show
ContentImpressionShare Double METRIC The impressions you've received on the Display Network divided
ContentRankLostImpressionShare Double METRIC The estimated percentage of impressions on the Display Network
Conversions Double METRIC The number of conversions. This only includes conversion actions which
ConversionsByConversionDate Double METRIC The number of conversions. This only includes conversion actions which
ConversionsFromInteractionsRate Double METRIC Conversions from interactions divided by the number of ad interactions
ConversionsUniqueQueryClusters Long METRIC Unique query intent cluster count for conversions.
ConversionsValue Double METRIC The value of conversions. This only includes conversion actions which
ConversionsValueByConversionDate Double METRIC The value of conversions. This only includes conversion actions which
CostConvertedCurrencyPerPlatformComparableConversion Double METRIC The cost of the platform comparable conversion in the currency of the
CostMicros Long METRIC The sum of your cost-per-click (CPC) and cost-per-thousand impressions
CostOfGoodsSoldMicros Long METRIC Cost of goods sold (COGS) is the total cost of the products you sold in
CostPerAllConversions Double METRIC The cost of ad interactions divided by all conversions.
CostPerConversion Double METRIC The cost of ad interactions divided by conversions. This only includes
CostPerCurrentModelAttributedConversion Double METRIC The cost of ad interactions divided by current model attributed
CostPerPlatformComparableConversion Double METRIC The cost of ad interactions divided by the number of platform comparable
CoviewedImpressions Long METRIC All co-viewed impressions represent the total number of people who saw your
CrossDeviceConversions Double METRIC Conversions from when a customer clicks on a Google Ads ad on one device,
CrossDeviceConversionsByConversionDate Double METRIC The number of cross-device conversions by conversion date.
CrossDeviceConversionsValueByConversionDate Double METRIC The sum of cross-device conversions value by conversion date.
CrossDeviceConversionsValueMicros Long METRIC The sum of the value of cross-device conversions, in micros.
CrossSellCostOfGoodsSoldMicros Long METRIC Cross-sell cost of goods sold (COGS) is the total cost of products sold as
CrossSellGrossProfitMicros Long METRIC Cross-sell gross profit is the profit you made from products sold as a
CrossSellRevenueMicros Long METRIC Cross-sell revenue is the total amount you made from products sold as a
CrossSellUnitsSold Double METRIC Cross-sell units sold is the total number of products sold as a result of
Ctr Double METRIC The number of clicks your ad receives (Clicks) divided by the number
CurrentModelAttributedConversions Double METRIC Shows how your historic conversions data would look under the attribution
CurrentModelAttributedConversionsFromInteractionsRate Double METRIC Current model attributed conversions from interactions divided by the
CurrentModelAttributedConversionsFromInteractionsValuePerInteraction Double METRIC The value of current model attributed conversions from interactions divided
CurrentModelAttributedConversionsValue Double METRIC The value of current model attributed conversions. This only includes
CurrentModelAttributedConversionsValuePerCost Double METRIC The value of current model attributed conversions divided by the cost of ad
EligibleImpressionsFromLocationAssetStoreReach Long METRIC Number of impressions in which the business location was shown or the
EngagementRate Double METRIC How often people engage with your ad after it's shown to them. This is the
Engagements Long METRIC The number of engagements.
GeneralInvalidClickRate Double METRIC The percentage of clicks that have been filtered out of your total number
GeneralInvalidClicks Long METRIC Number of general invalid clicks. These are a subset of your invalid clicks
GmailForwards Long METRIC The number of times the ad was forwarded to someone else as a message.
GmailSaves Long METRIC The number of times someone has saved your Gmail ad to their inbox as a
GmailSecondaryClicks Long METRIC The number of clicks to the landing page on the expanded state of Gmail
GrossProfitMargin Double METRIC Gross profit margin is the percentage gross profit you made from orders
GrossProfitMicros Long METRIC Gross profit is the profit you made from orders attributed to your ads
Impressions Long METRIC Count of how often your ad has appeared on a search results page or
ImpressionsUniqueQueryClusters Long METRIC Unique query intent cluster count for impressions.
InteractionEventTypes String METRIC The types of payable and free interactions.

The allowed values are CLICK, ENGAGEMENT, NONE, UNKNOWN, VIDEO_VIEW.

InteractionRate Double METRIC How often people interact with your ad after it is shown to them.
Interactions Long METRIC The number of interactions.
InvalidClickRate Double METRIC The percentage of clicks filtered out of your total number of clicks
InvalidClicks Long METRIC Number of clicks Google considers illegitimate and doesn't charge you for.
LeadCostOfGoodsSoldMicros Long METRIC Lead cost of goods sold (COGS) is the total cost of products sold as a
LeadGrossProfitMicros Long METRIC Lead gross profit is the profit you made from products sold as a result of
LeadRevenueMicros Long METRIC Lead revenue is the total amount you made from products sold as a result of
LeadUnitsSold Double METRIC Lead units sold is the total number of products sold as a result of
NewCustomerLifetimeValue Double METRIC New customers' lifetime conversion value. If you have set up
OptimizationScoreUplift Double METRIC Total optimization score uplift of all recommendations.
OptimizationScoreUrl String METRIC URL for the optimization score page in the Google Ads web interface.
Orders Double METRIC Orders is the total number of purchase conversions you received attributed
PercentNewVisitors Double METRIC Percentage of first-time sessions (from people who had never visited your
PhoneCalls Long METRIC Number of offline phone calls.
PhoneImpressions Long METRIC Number of offline phone impressions.
PhoneThroughRate Double METRIC Number of phone calls received (phone_calls) divided by the number of
PlatformComparableConversions Double METRIC The number of platform comparable conversions. This only includes
PlatformComparableConversionsByConversionDate Double METRIC The number of platform comparable conversions. When this metric is
PlatformComparableConversionsFromInteractionsRate Double METRIC Platform comparable conversions from interactions divided by the number of
PlatformComparableConversionsFromInteractionsValuePerInteraction Double METRIC The value of platform comparable conversions from interactions divided by
PlatformComparableConversionsValue Double METRIC The value of platform comparable conversions. This only includes conversion
PlatformComparableConversionsValueByConversionDate Double METRIC The value of platform comparable conversions. When this metric is segmented
PlatformComparableConversionsValuePerCost Double METRIC The value of conversions divided by the cost of ad interactions. This only
PrimaryImpressions Long METRIC Primary impression is counted each time your ad is served. This metric is
PublisherOrganicClicks Long METRIC Clicks from properties for which the traffic the publisher has not paid
PublisherPurchasedClicks Long METRIC Clicks from properties not owned by the publisher for which the traffic
PublisherUnknownClicks Long METRIC Clicks from traffic which is not identified as 'Publisher Purchased' or
RelativeCtr Double METRIC Your clickthrough rate (Ctr) divided by the average clickthrough rate of
ResultsConversionsPurchase Double METRIC The purchase conversion stats for the unified goals results.
RevenueMicros Long METRIC Revenue is the total amount you made from orders attributed to your ads.
SearchAbsoluteTopImpressionShare Double METRIC The percentage of the customer's Shopping or Search ad impressions that are
SearchBudgetLostAbsoluteTopImpressionShare Double METRIC The number estimating how often your ad wasn't the very first ad among the
SearchBudgetLostImpressionShare Double METRIC The estimated percent of times that your ad was eligible to show on the
SearchBudgetLostTopImpressionShare Double METRIC The number estimating how often your ad didn't show adjacent to the top
SearchClickShare Double METRIC The number of clicks you've received on the Search Network
SearchExactMatchImpressionShare Double METRIC The impressions you've received divided by the estimated number of
SearchImpressionShare Double METRIC The impressions you've received on the Search Network divided
SearchRankLostAbsoluteTopImpressionShare Double METRIC The number estimating how often your ad wasn't the very first ad among the
SearchRankLostImpressionShare Double METRIC The estimated percentage of impressions on the Search Network
SearchRankLostTopImpressionShare Double METRIC The number estimating how often your ad didn't show adjacent to the top
SearchTopImpressionShare Double METRIC The impressions you've received among the top ads compared to the estimated
SkAdNetworkInstalls Long METRIC The number of iOS Store Kit Ad Network conversions.
SkAdNetworkTotalConversions Long METRIC The total number of iOS Store Kit Ad Network conversions.
StoreVisitsLastClickModelAttributedConversions Double METRIC The amount of business visits attributed by the last click model.
Svr Long METRIC This feature is available to allowlisted accounts only.
TopImpressionPercentage Double METRIC The percent of your ad impressions that are shown adjacent to the top
TrueviewAverageCpv Double METRIC The average amount you pay each time someone views your ad.
UniqueUsers Long METRIC The number of unique users who saw your ad during the requested time
UniqueUsersFivePlus Long METRIC This metric counts the unique individuals who were shown your video ad five
UniqueUsersFourPlus Long METRIC This metric counts the unique individuals who were shown your video ad four
UniqueUsersTenPlus Long METRIC This metric counts the unique individuals who were shown your video ad ten
UniqueUsersThreePlus Long METRIC This metric counts the unique individuals who were shown your video ad
UniqueUsersTwoPlus Long METRIC This metric counts the unique individuals who were shown your video ad two
UnitsSold Double METRIC Units sold is the total number of products sold from orders attributed to
ValuePerAllConversions Double METRIC The value of all conversions divided by the number of all conversions.
ValuePerAllConversionsByConversionDate Double METRIC The value of all conversions divided by the number of all conversions. When
ValuePerConversion Double METRIC The value of conversions divided by the number of conversions. This only
ValuePerConversionsByConversionDate Double METRIC The value of conversions divided by the number of conversions. This only
ValuePerCurrentModelAttributedConversion Double METRIC The value of current model attributed conversions divided by the number of
ValuePerPlatformComparableConversion Double METRIC The value of platform comparable conversions divided by the number of
ValuePerPlatformComparableConversionsByConversionDate Double METRIC The value of platform comparable conversions divided by the number of
VideoQuartileP100Rate Double METRIC Percentage of impressions where the viewer watched all of your video.
VideoQuartileP25Rate Double METRIC Percentage of impressions where the viewer watched 25% of your video.
VideoQuartileP50Rate Double METRIC Percentage of impressions where the viewer watched 50% of your video.
VideoQuartileP75Rate Double METRIC Percentage of impressions where the viewer watched 75% of your video.
VideoTrueviewViewRate Double METRIC The number of TrueView views your video ad receives divided by its number
VideoTrueviewViewRateInFeed Double METRIC The number of TrueView views divided by number of impressions that can
VideoTrueviewViewRateInStream Double METRIC The number of TrueView views divided by number of impressions that can
VideoTrueviewViewRateShorts Double METRIC The number of TrueView views divided by number of impressions that can
VideoTrueviewViews Long METRIC The number of TrueView views your video ads received.
VideoWatchTimeDurationMillis Long METRIC Total watch time duration in milliseconds for video impressions that
ViewThroughConversions Long METRIC The total number of view-through conversions.
ViewThroughConversionsFromLocationAssetClickToCall Double METRIC Number of call button clicks on any location surface after an impression.
ViewThroughConversionsFromLocationAssetDirections Double METRIC Number of driving directions clicks on any location surface after an
ViewThroughConversionsFromLocationAssetMenu Double METRIC Number of menu link clicks on any location surface after an impression.
ViewThroughConversionsFromLocationAssetOrder Double METRIC Number of order clicks on any location surface after an impression. This
ViewThroughConversionsFromLocationAssetOtherEngagement Double METRIC Number of other types of local action clicks on any location surface after
ViewThroughConversionsFromLocationAssetStoreVisits Double METRIC Estimated number of visits to the business after an impression.
ViewThroughConversionsFromLocationAssetWebsite Double METRIC Number of website URL clicks on any location surface after an impression.
AdDestinationType String SEGMENT Ad Destination type.

The allowed values are APP_DEEP_LINK, APP_STORE, LEAD_FORM, LOCATION_LISTING, MAP_DIRECTIONS, MESSAGE, NOT_APPLICABLE, PHONE_CALL, UNKNOWN, UNMODELED_FOR_CONVERSIONS, WEBSITE, YOUTUBE.

AdFormatType String SEGMENT Ad Format type.

The allowed values are AUDIO, BUMPER, INFEED, INSTREAM_NON_SKIPPABLE, INSTREAM_SKIPPABLE, MASTHEAD, OTHER, OUTSTREAM, PAUSE, SHORTS, TEXT, UNKNOWN, UNSEGMENTED, VERTICAL_ADS_BOOKING_LINK, VERTICAL_ADS_PROMOTION.

AdNetworkType String SEGMENT Ad network type.

The allowed values are CONTENT, DISCOVER, GMAIL, GOOGLE_OWNED_CHANNELS, GOOGLE_TV, MAPS, MIXED, SEARCH, SEARCH_PARTNERS, UNKNOWN, YOUTUBE.

AdSubNetworkType String SEGMENT Ad sub network type. Currently only available for ads running as part of

The allowed values are UNKNOWN, UNSEGMENTED, YOUTUBE_INFEED, YOUTUBE_INSTREAM, YOUTUBE_SHORTS.

AdUsingProductData Bool SEGMENT Indicates whether an ad is using product data from a Google Merchant
AdUsingVideo Bool SEGMENT Indicates whether an ad is using a video asset. This segment is only
AdjustedAgeRange String SEGMENT Adjusted age range. This is the age range of the user after applying

The allowed values are AGE_RANGE_18_24, AGE_RANGE_25_34, AGE_RANGE_35_44, AGE_RANGE_45_54, AGE_RANGE_55_64, AGE_RANGE_65_UP, AGE_RANGE_UNDETERMINED, UNKNOWN.

AdjustedGender String SEGMENT Adjusted gender. This is the gender of the user after applying modeling to

The allowed values are FEMALE, MALE, UNDETERMINED, UNKNOWN.

AssetInteractionTargetAsset String SEGMENT The asset resource name.
AssetInteractionTargetInteractionOnThisAsset Bool SEGMENT Only used with CustomerAsset, CampaignAsset and AdGroupAsset metrics. Indicates whether the interaction metrics occurred on the asset itself or a different asset or ad unit.
AuctionInsightDomain String SEGMENT Domain (visible URL) of a participant in the Auction Insights report.
ClickType String SEGMENT Click type.

The allowed values are AD_IMAGE, APP_DEEPLINK, BREADCRUMBS, BROADBAND_PLAN, CALLS, CALL_TRACKING, CLICK_ON_ENGAGEMENT_AD, CLICK_TO_MESSAGE_LANDING_PAGE_CLICK, CLICK_TO_MESSAGE_THIRD_PARTY_CLICK, CROSS_NETWORK, GET_DIRECTIONS, HOTEL_BOOK_ON_GOOGLE_ROOM_SELECTION, HOTEL_PRICE, LOCATION_EXPANSION, LOCATION_FORMAT_CALL, LOCATION_FORMAT_DIRECTIONS, LOCATION_FORMAT_IMAGE, LOCATION_FORMAT_LANDING_PAGE, LOCATION_FORMAT_MAP, LOCATION_FORMAT_STORE_INFO, LOCATION_FORMAT_TEXT, MOBILE_CALL_TRACKING, OFFER_PRINTS, OTHER, PRICE_EXTENSION, PRODUCT_AD_APP_DEEPLINK, PRODUCT_ASSETS, PRODUCT_EXTENSION_CLICKS, PRODUCT_LISTING_ADS_COUPON, PRODUCT_LISTING_AD_CLICKS, PRODUCT_LISTING_AD_LOCAL, PRODUCT_LISTING_AD_MULTICHANNEL_LOCAL, PRODUCT_LISTING_AD_MULTICHANNEL_ONLINE, PRODUCT_LISTING_AD_TRANSACTABLE, PROMOTION_EXTENSION, SHOPPING_COMPARISON_LISTING, SHOWCASE_AD_CATEGORY_LINK, SHOWCASE_AD_LOCAL_PRODUCT_LINK, SHOWCASE_AD_LOCAL_STOREFRONT_LINK, SHOWCASE_AD_ONLINE_PRODUCT_LINK, SITELINKS, STORE_LOCATOR, SWIPEABLE_GALLERY_AD_HEADLINE, SWIPEABLE_GALLERY_AD_SEE_MORE, SWIPEABLE_GALLERY_AD_SITELINK_FIVE, SWIPEABLE_GALLERY_AD_SITELINK_FOUR, SWIPEABLE_GALLERY_AD_SITELINK_ONE, SWIPEABLE_GALLERY_AD_SITELINK_THREE, SWIPEABLE_GALLERY_AD_SITELINK_TWO, SWIPEABLE_GALLERY_AD_SWIPES, TRAVEL_ASSETS, UNKNOWN, URL_CLICKS, VEHICLE_ASSETS, VIDEO_APP_STORE_CLICKS, VIDEO_CALL_TO_ACTION_CLICKS, VIDEO_CARD_ACTION_HEADLINE_CLICKS, VIDEO_CHANNEL_CLICK, VIDEO_END_CAP_CLICKS, VIDEO_RELATED_VIDEOS_CLICK, VIDEO_WEBSITE_CLICKS, VISUAL_SITELINKS, WIRELESS_PLAN.

ConversionAction String SEGMENT Resource name of the conversion action.
ConversionActionCategory String SEGMENT Conversion action category.

The allowed values are ADD_TO_CART, BEGIN_CHECKOUT, BOOK_APPOINTMENT, CONTACT, CONVERTED_LEAD, DEFAULT, DOWNLOAD, ENGAGEMENT, GET_DIRECTIONS, IMPORTED_LEAD, OUTBOUND_CLICK, PAGE_VIEW, PHONE_CALL_LEAD, PURCHASE, QUALIFIED_LEAD, REQUEST_QUOTE, SIGNUP, STORE_SALE, STORE_VISIT, SUBMIT_LEAD_FORM, SUBSCRIBE_PAID, UNKNOWN, YOUTUBE_FOLLOW_ON_VIEWS.

ConversionActionName String SEGMENT Conversion action name.
ConversionAdjustment Bool SEGMENT This segments your conversion columns by the original conversion and
ConversionAttributionEventType String SEGMENT Conversion attribution event type.

The allowed values are ENGAGED_VIEW, IMPRESSION, INTERACTION, UNKNOWN.

ConversionLagBucket String SEGMENT An enum value representing the number of days between the impression and

The allowed values are EIGHT_TO_NINE_DAYS, ELEVEN_TO_TWELVE_DAYS, FIVE_TO_SIX_DAYS, FORTY_FIVE_TO_SIXTY_DAYS, FOURTEEN_TO_TWENTY_ONE_DAYS, FOUR_TO_FIVE_DAYS, LESS_THAN_ONE_DAY, NINE_TO_TEN_DAYS, ONE_TO_TWO_DAYS, SEVEN_TO_EIGHT_DAYS, SIXTY_TO_NINETY_DAYS, SIX_TO_SEVEN_DAYS, TEN_TO_ELEVEN_DAYS, THIRTEEN_TO_FOURTEEN_DAYS, THIRTY_TO_FORTY_FIVE_DAYS, THREE_TO_FOUR_DAYS, TWELVE_TO_THIRTEEN_DAYS, TWENTY_ONE_TO_THIRTY_DAYS, TWO_TO_THREE_DAYS, UNKNOWN.

ConversionOrAdjustmentLagBucket String SEGMENT An enum value representing the number of days between the impression and

The allowed values are ADJUSTMENT_EIGHT_TO_NINE_DAYS, ADJUSTMENT_ELEVEN_TO_TWELVE_DAYS, ADJUSTMENT_FIVE_TO_SIX_DAYS, ADJUSTMENT_FORTY_FIVE_TO_SIXTY_DAYS, ADJUSTMENT_FOURTEEN_TO_TWENTY_ONE_DAYS, ADJUSTMENT_FOUR_TO_FIVE_DAYS, ADJUSTMENT_LESS_THAN_ONE_DAY, ADJUSTMENT_NINETY_TO_ONE_HUNDRED_AND_FORTY_FIVE_DAYS, ADJUSTMENT_NINE_TO_TEN_DAYS, ADJUSTMENT_ONE_TO_TWO_DAYS, ADJUSTMENT_SEVEN_TO_EIGHT_DAYS, ADJUSTMENT_SIXTY_TO_NINETY_DAYS, ADJUSTMENT_SIX_TO_SEVEN_DAYS, ADJUSTMENT_TEN_TO_ELEVEN_DAYS, ADJUSTMENT_THIRTEEN_TO_FOURTEEN_DAYS, ADJUSTMENT_THIRTY_TO_FORTY_FIVE_DAYS, ADJUSTMENT_THREE_TO_FOUR_DAYS, ADJUSTMENT_TWELVE_TO_THIRTEEN_DAYS, ADJUSTMENT_TWENTY_ONE_TO_THIRTY_DAYS, ADJUSTMENT_TWO_TO_THREE_DAYS, ADJUSTMENT_UNKNOWN, CONVERSION_EIGHT_TO_NINE_DAYS, CONVERSION_ELEVEN_TO_TWELVE_DAYS, CONVERSION_FIVE_TO_SIX_DAYS, CONVERSION_FORTY_FIVE_TO_SIXTY_DAYS, CONVERSION_FOURTEEN_TO_TWENTY_ONE_DAYS, CONVERSION_FOUR_TO_FIVE_DAYS, CONVERSION_LESS_THAN_ONE_DAY, CONVERSION_NINE_TO_TEN_DAYS, CONVERSION_ONE_TO_TWO_DAYS, CONVERSION_SEVEN_TO_EIGHT_DAYS, CONVERSION_SIXTY_TO_NINETY_DAYS, CONVERSION_SIX_TO_SEVEN_DAYS, CONVERSION_TEN_TO_ELEVEN_DAYS, CONVERSION_THIRTEEN_TO_FOURTEEN_DAYS, CONVERSION_THIRTY_TO_FORTY_FIVE_DAYS, CONVERSION_THREE_TO_FOUR_DAYS, CONVERSION_TWELVE_TO_THIRTEEN_DAYS, CONVERSION_TWENTY_ONE_TO_THIRTY_DAYS, CONVERSION_TWO_TO_THREE_DAYS, CONVERSION_UNKNOWN, UNKNOWN.

ConversionValueRulePrimaryDimension String SEGMENT Primary dimension of applied conversion value rules.

The allowed values are AUDIENCE, DEVICE, GEO_LOCATION, ITINERARY, MULTIPLE, NEW_VS_RETURNING_USER, NO_RULE_APPLIED, ORIGINAL, UNKNOWN.

Date Date SEGMENT Date to which metrics apply.
DayOfWeek String SEGMENT Day of the week, for example, MONDAY.

The allowed values are FRIDAY, MONDAY, SATURDAY, SUNDAY, THURSDAY, TUESDAY, UNKNOWN, WEDNESDAY.

Device String SEGMENT Device to which metrics apply.

The allowed values are CONNECTED_TV, DESKTOP, MOBILE, OTHER, TABLET, UNKNOWN.

ExternalConversionSource String SEGMENT External conversion source.

The allowed values are AD_CALL_METRICS, ANALYTICS, ANALYTICS_SEARCH_ADS_360, ANDROID_FIRST_OPEN, ANDROID_IN_APP, APP_UNSPECIFIED, CLICK_TO_CALL, DISPLAY_AND_VIDEO_360_FLOODLIGHT, FIREBASE, FIREBASE_SEARCH_ADS_360, FLOODLIGHT, GOOGLE_ATTRIBUTION, GOOGLE_HOSTED, GOOGLE_PLAY, IOS_FIRST_OPEN, IOS_IN_APP, SALESFORCE, SEARCH_ADS_360, STORE_SALES, STORE_SALES_CRM, STORE_SALES_DIRECT_UPLOAD, STORE_SALES_PAYMENT_NETWORK, STORE_VISITS, THIRD_PARTY_APP_ANALYTICS, UNKNOWN, UPLOAD, UPLOAD_CALLS, WEBPAGE, WEBSITE_CALL_METRICS.

Hour Int SEGMENT Hour of day as a number between 0 and 23, inclusive.
Month Date SEGMENT Month as represented by the date of the first day of a month. Formatted as
MonthOfYear String SEGMENT Month of the year, for example, January.

The allowed values are APRIL, AUGUST, DECEMBER, FEBRUARY, JANUARY, JULY, JUNE, MARCH, MAY, NOVEMBER, OCTOBER, SEPTEMBER, UNKNOWN.

NewVersusReturningCustomers String SEGMENT This is for segmenting conversions by whether the user is a new customer

The allowed values are NEW, NEW_AND_HIGH_LTV, RETURNING, UNKNOWN.

Period String SEGMENT Predefined date range.

The allowed values are TODAY, YESTERDAY, LAST_7_DAYS, LAST_BUSINESS_WEEK, THIS_MONTH, LAST_MONTH, LAST_14_DAYS, LAST_30_DAYS, THIS_WEEK_SUN_TODAY, THIS_WEEK_MON_TODAY, LAST_WEEK_SUN_SAT, LAST_WEEK_MON_SUN.

Quarter Date SEGMENT Quarter as represented by the date of the first day of a quarter.
RecommendationType String SEGMENT Recommendation type.

The allowed values are CALLOUT_ASSET, CALL_ASSET, CAMPAIGN_BUDGET, CUSTOM_AUDIENCE_OPT_IN, DISPLAY_EXPANSION_OPT_IN, DYNAMIC_IMAGE_EXTENSION_OPT_IN, ENHANCED_CPC_OPT_IN, FORECASTING_CAMPAIGN_BUDGET, FORECASTING_SET_TARGET_CPA, FORECASTING_SET_TARGET_ROAS, IMPROVE_DEMAND_GEN_AD_STRENGTH, IMPROVE_GOOGLE_TAG_COVERAGE, IMPROVE_PERFORMANCE_MAX_AD_STRENGTH, KEYWORD, KEYWORD_MATCH_TYPE, LEAD_FORM_ASSET, LOWER_TARGET_ROAS, MARGINAL_ROI_CAMPAIGN_BUDGET, MAXIMIZE_CLICKS_OPT_IN, MAXIMIZE_CONVERSIONS_OPT_IN, MAXIMIZE_CONVERSION_VALUE_OPT_IN, MIGRATE_DYNAMIC_SEARCH_ADS_CAMPAIGN_TO_PERFORMANCE_MAX, MOVE_UNUSED_BUDGET, OPTIMIZE_AD_ROTATION, PERFORMANCE_MAX_FINAL_URL_OPT_IN, PERFORMANCE_MAX_OPT_IN, RAISE_TARGET_CPA, RAISE_TARGET_CPA_BID_TOO_LOW, REFRESH_CUSTOMER_MATCH_LIST, RESPONSIVE_SEARCH_AD, RESPONSIVE_SEARCH_AD_ASSET, RESPONSIVE_SEARCH_AD_IMPROVE_AD_STRENGTH, SEARCH_PARTNERS_OPT_IN, SET_TARGET_CPA, SET_TARGET_ROAS, SHOPPING_ADD_AGE_GROUP, SHOPPING_ADD_COLOR, SHOPPING_ADD_GENDER, SHOPPING_ADD_GTIN, SHOPPING_ADD_MORE_IDENTIFIERS, SHOPPING_ADD_PRODUCTS_TO_CAMPAIGN, SHOPPING_ADD_SIZE, SHOPPING_FIX_DISAPPROVED_PRODUCTS, SHOPPING_FIX_MERCHANT_CENTER_ACCOUNT_SUSPENSION_WARNING, SHOPPING_FIX_SUSPENDED_MERCHANT_CENTER_ACCOUNT, SHOPPING_MIGRATE_REGULAR_SHOPPING_CAMPAIGN_OFFERS_TO_PERFORMANCE_MAX, SHOPPING_TARGET_ALL_OFFERS, SITELINK_ASSET, TARGET_CPA_OPT_IN, TARGET_ROAS_OPT_IN, TEXT_AD, UNKNOWN, UPGRADE_LOCAL_CAMPAIGN_TO_PERFORMANCE_MAX, UPGRADE_SMART_SHOPPING_CAMPAIGN_TO_PERFORMANCE_MAX, USE_BROAD_MATCH_KEYWORD.

SkAdNetworkAdEventType String SEGMENT iOS Store Kit Ad Network ad event type.

The allowed values are INTERACTION, UNAVAILABLE, UNKNOWN, VIEW.

SkAdNetworkAttributionCredit String SEGMENT iOS Store Kit Ad Network attribution credit

The allowed values are CONTRIBUTED, UNAVAILABLE, UNKNOWN, WON.

SkAdNetworkCoarseConversionValue String SEGMENT iOS Store Kit Ad Network coarse conversion value.

The allowed values are HIGH, LOW, MEDIUM, NONE, UNAVAILABLE, UNKNOWN.

SkAdNetworkFineConversionValue Long SEGMENT iOS Store Kit Ad Network conversion value.
SkAdNetworkPostbackSequenceIndex Long SEGMENT iOS Store Kit Ad Network postback sequence index.
SkAdNetworkRedistributedFineConversionValue Long SEGMENT iOS Store Kit Ad Network redistributed fine conversion value.
SkAdNetworkSourceAppSkAdNetworkSourceAppId String SEGMENT App id where the ad that drove the iOS Store Kit Ad Network install was shown.
SkAdNetworkSourceDomain String SEGMENT Website where the ad that drove the iOS Store Kit Ad Network install was
SkAdNetworkSourceType String SEGMENT The source type where the ad that drove the iOS Store Kit Ad Network

The allowed values are MOBILE_APPLICATION, UNAVAILABLE, UNKNOWN, WEBSITE.

SkAdNetworkUserType String SEGMENT iOS Store Kit Ad Network user type.

The allowed values are NEW_INSTALLER, REINSTALLER, UNAVAILABLE, UNKNOWN.

SkAdNetworkVersion String SEGMENT The version of the SKAdNetwork API used.
Slot String SEGMENT Position of the ad.

The allowed values are CONTENT, MIXED, SEARCH_OTHER, SEARCH_PARTNER_OTHER, SEARCH_PARTNER_TOP, SEARCH_SIDE, SEARCH_TOP, UNKNOWN.

TravelDestinationCity String SEGMENT The city the user is searching for at query time.
TravelDestinationCountry String SEGMENT The country the user is searching for at query time.
TravelDestinationRegion String SEGMENT The region the user is searching for at query time.
VerticalAdsEventParticipantDisplayNames String SEGMENT The display names of participants in an event listing, like performers,
VerticalAdsHotelClass Long SEGMENT The class of the hotel. Generally in the range of 1 to 5 stars, but fully
VerticalAdsListing String SEGMENT The listing associated with a listing impression, click or conversion.
VerticalAdsListingBrand String SEGMENT The brand associated with a specific listing within a Vertical Ads
VerticalAdsListingCity String SEGMENT The city where the vertical ads listing is located.
VerticalAdsListingCountry String SEGMENT The country where the vertical ads listing is located.
VerticalAdsListingRegion String SEGMENT The region where the vertical ads listing is located.
VerticalAdsPartnerAccount Long SEGMENT A specific partner account within a Partner Center (for example, Hotel
VerticalAdsVertical String SEGMENT Type of vertical ad, such as Vacation Rentals, Car Rentals, or

The allowed values are EVENTS, FLIGHTS, HOTELS, RENTAL_CARS, THINGS_TO_DO, UNKNOWN, VACATION_RENTALS.

Week Date SEGMENT Week as defined as Monday through Sunday, and represented by the date of
Year Int SEGMENT Year, formatted as yyyy.

Pseudo-Columns

Pseudo column fields are used in the WHERE clause of SELECT statements and offer more granular control over the data returned from the data source.

Name Type Description
ManagerId Long Id of the manager account on behalf of which you are requesting customer data.

CData Python Connector for Google Ads

CampaignAggregateAssetView

A campaign-level aggregate asset view that shows where the asset is linked,

Columns

Name Type Behavior Description
CampaignAggregateAssetViewAsset String ATTRIBUTE Output only. The ID of the asset.
CampaignAggregateAssetViewAssetSource String ATTRIBUTE Output only. Source of the asset link.

The allowed values are ADVERTISER, AUTOMATICALLY_CREATED, UNKNOWN.

CampaignAggregateAssetViewCampaign String ATTRIBUTE Output only. Campaign in which the asset served.
CampaignAggregateAssetViewFieldType String ATTRIBUTE Output only. FieldType of the asset.

The allowed values are AD_IMAGE, BOOK_ON_GOOGLE, BUSINESS_LOGO, BUSINESS_MESSAGE, BUSINESS_NAME, CALL, CALLOUT, CALL_TO_ACTION, CALL_TO_ACTION_SELECTION, DEMAND_GEN_CAROUSEL_CARD, DESCRIPTION, HEADLINE, HOTEL_CALLOUT, HOTEL_PROPERTY, LANDING_PAGE_PREVIEW, LANDSCAPE_LOGO, LEAD_FORM, LOGO, LONG_DESCRIPTION, LONG_HEADLINE, MANDATORY_AD_TEXT, MARKETING_IMAGE, MEDIA_BUNDLE, MOBILE_APP, PORTRAIT_MARKETING_IMAGE, PRICE, PROMOTION, RELATED_YOUTUBE_VIDEOS, SITELINK, SQUARE_MARKETING_IMAGE, STRUCTURED_SNIPPET, TALL_PORTRAIT_MARKETING_IMAGE, UNKNOWN, VIDEO, YOUTUBE_VIDEO.

CampaignAggregateAssetViewResourceName String ATTRIBUTE Output only. The resource name of the campaign aggregate asset view.
CustomerId Long ATTRIBUTE Output only. The ID of the customer.
AllConversions Double METRIC The total number of conversions. This includes all conversions regardless
AllConversionsFromInteractionsRate Double METRIC All conversions from interactions (as oppose to view through conversions)
AllConversionsFromInteractionsValuePerInteraction Double METRIC The value of all conversions from interactions divided by the total number
AllConversionsValue Double METRIC The value of all conversions.
AllConversionsValuePerCost Double METRIC The value of all conversions divided by the total cost of ad interactions
AssetPinnedAsDescriptionPositionOneCount Long METRIC Number of entities in which the asset is pinned to description 1.
AssetPinnedAsDescriptionPositionTwoCount Long METRIC Number of entities in which the asset is pinned to description 2.
AssetPinnedAsHeadlinePositionOneCount Long METRIC Number of entities in which the asset is pinned to headline 1.
AssetPinnedAsHeadlinePositionThreeCount Long METRIC Number of entities in which the asset is pinned to headline 3.
AssetPinnedAsHeadlinePositionTwoCount Long METRIC Number of entities in which the asset is pinned to headline 2.
AssetPinnedTotalCount Long METRIC Number of total usages in which the asset is pinned.
AverageCost Double METRIC The average amount you pay per interaction. This amount is the total cost
AverageCpc Double METRIC The total cost of all clicks divided by the total number of clicks
Clicks Long METRIC The number of clicks.
Conversions Double METRIC The number of conversions. This only includes conversion actions which
ConversionsFromInteractionsRate Double METRIC Conversions from interactions divided by the number of ad interactions
ConversionsFromInteractionsValuePerInteraction Double METRIC The value of conversions from interactions divided by the number of ad
ConversionsValue Double METRIC The value of conversions. This only includes conversion actions which
ConversionsValuePerCost Double METRIC The value of conversions divided by the cost of ad interactions. This only
CostMicros Long METRIC The sum of your cost-per-click (CPC) and cost-per-thousand impressions
CostPerAllConversions Double METRIC The cost of ad interactions divided by all conversions.
CostPerConversion Double METRIC The cost of ad interactions divided by conversions. This only includes
CrossDeviceConversions Double METRIC Conversions from when a customer clicks on a Google Ads ad on one device,
CrossDeviceConversionsValue Double METRIC The sum of the value of cross-device conversions.
Ctr Double METRIC The number of clicks your ad receives (Clicks) divided by the number
EngagementRate Double METRIC How often people engage with your ad after it's shown to them. This is the
Engagements Long METRIC The number of engagements.
Impressions Long METRIC Count of how often your ad has appeared on a search results page or
InteractionRate Double METRIC How often people interact with your ad after it is shown to them.
Interactions Long METRIC The number of interactions.
LinkedEntitiesCount Long METRIC Number of linked resources in which the asset is used.
LinkedSampleEntities String METRIC A list of up to 20 sample linked resources in which the asset is used.
ValuePerAllConversions Double METRIC The value of all conversions divided by the number of all conversions.
ValuePerConversion Double METRIC The value of conversions divided by the number of conversions. This only
ViewThroughConversions Long METRIC The total number of view-through conversions.
Date Date SEGMENT Date to which metrics apply.
DayOfWeek String SEGMENT Day of the week, for example, MONDAY.

The allowed values are FRIDAY, MONDAY, SATURDAY, SUNDAY, THURSDAY, TUESDAY, UNKNOWN, WEDNESDAY.

Month Date SEGMENT Month as represented by the date of the first day of a month. Formatted as
Period String SEGMENT Predefined date range.

The allowed values are TODAY, YESTERDAY, LAST_7_DAYS, LAST_BUSINESS_WEEK, THIS_MONTH, LAST_MONTH, LAST_14_DAYS, LAST_30_DAYS, THIS_WEEK_SUN_TODAY, THIS_WEEK_MON_TODAY, LAST_WEEK_SUN_SAT, LAST_WEEK_MON_SUN.

Quarter Date SEGMENT Quarter as represented by the date of the first day of a quarter.
Week Date SEGMENT Week as defined as Monday through Sunday, and represented by the date of
Year Int SEGMENT Year, formatted as yyyy.

Pseudo-Columns

Pseudo column fields are used in the WHERE clause of SELECT statements and offer more granular control over the data returned from the data source.

Name Type Description
ManagerId Long Id of the manager account on behalf of which you are requesting customer data.

CData Python Connector for Google Ads

CampaignAsset

A link between a Campaign and an Asset.

Columns

Name Type Behavior Description
AdGroupId Long SEGMENT Output only. The ID of the ad group.
CampaignId Long SEGMENT Output only. The ID of the campaign.
CampaignAssetAsset String ATTRIBUTE Immutable. The asset which is linked to the campaign.
CampaignAssetCampaign String ATTRIBUTE Immutable. The campaign to which the asset is linked.
CampaignAssetFieldType String ATTRIBUTE Immutable. Role that the asset takes under the linked campaign.

The allowed values are AD_IMAGE, BOOK_ON_GOOGLE, BUSINESS_LOGO, BUSINESS_MESSAGE, BUSINESS_NAME, CALL, CALLOUT, CALL_TO_ACTION, CALL_TO_ACTION_SELECTION, DEMAND_GEN_CAROUSEL_CARD, DESCRIPTION, HEADLINE, HOTEL_CALLOUT, HOTEL_PROPERTY, LANDING_PAGE_PREVIEW, LANDSCAPE_LOGO, LEAD_FORM, LOGO, LONG_DESCRIPTION, LONG_HEADLINE, MANDATORY_AD_TEXT, MARKETING_IMAGE, MEDIA_BUNDLE, MOBILE_APP, PORTRAIT_MARKETING_IMAGE, PRICE, PROMOTION, RELATED_YOUTUBE_VIDEOS, SITELINK, SQUARE_MARKETING_IMAGE, STRUCTURED_SNIPPET, TALL_PORTRAIT_MARKETING_IMAGE, UNKNOWN, VIDEO, YOUTUBE_VIDEO.

CampaignAssetPrimaryStatus String ATTRIBUTE Output only. Provides the PrimaryStatus of this asset link.

The allowed values are ELIGIBLE, LIMITED, NOT_ELIGIBLE, PAUSED, PENDING, REMOVED, UNKNOWN.

CampaignAssetPrimaryStatusDetails String ATTRIBUTE Output only. Provides the details of the primary status and its associated
CampaignAssetPrimaryStatusReasons String ATTRIBUTE Output only. Provides a list of reasons for why an asset is not serving or

The allowed values are ASSET_APPROVED_LABELED, ASSET_DISAPPROVED, ASSET_LINK_PAUSED, ASSET_LINK_REMOVED, ASSET_UNDER_REVIEW, UNKNOWN.

CampaignAssetResourceName String ATTRIBUTE Immutable. The resource name of the campaign asset.
CampaignAssetSource String ATTRIBUTE Output only. Source of the campaign asset link.

The allowed values are ADVERTISER, AUTOMATICALLY_CREATED, UNKNOWN.

CampaignAssetStatus String ATTRIBUTE Status of the campaign asset.

The allowed values are ENABLED, PAUSED, REMOVED, UNKNOWN.

CustomerId Long ATTRIBUTE Output only. The ID of the customer.
AbsoluteTopImpressionPercentage Double METRIC Search absolute top impression share is the percentage of your Search ad
AllConversions Double METRIC The total number of conversions. This includes all conversions regardless
AllConversionsFromInteractionsRate Double METRIC All conversions from interactions (as oppose to view through conversions)
AllConversionsValue Double METRIC The value of all conversions.
AverageCost Double METRIC The average amount you pay per interaction. This amount is the total cost
AverageCpc Double METRIC The total cost of all clicks divided by the total number of clicks
AverageCpe Double METRIC The average amount that you've been charged for an ad engagement. This
AverageCpm Double METRIC Average cost-per-thousand impressions (CPM).
Clicks Long METRIC The number of clicks.
Conversions Double METRIC The number of conversions. This only includes conversion actions which
ConversionsFromInteractionsRate Double METRIC Conversions from interactions divided by the number of ad interactions
ConversionsValue Double METRIC The value of conversions. This only includes conversion actions which
CostMicros Long METRIC The sum of your cost-per-click (CPC) and cost-per-thousand impressions
CostPerAllConversions Double METRIC The cost of ad interactions divided by all conversions.
CostPerConversion Double METRIC The cost of ad interactions divided by conversions. This only includes
CrossDeviceConversions Double METRIC Conversions from when a customer clicks on a Google Ads ad on one device,
Ctr Double METRIC The number of clicks your ad receives (Clicks) divided by the number
EngagementRate Double METRIC How often people engage with your ad after it's shown to them. This is the
Engagements Long METRIC The number of engagements.
Impressions Long METRIC Count of how often your ad has appeared on a search results page or
InteractionEventTypes String METRIC The types of payable and free interactions.

The allowed values are CLICK, ENGAGEMENT, NONE, UNKNOWN, VIDEO_VIEW.

InteractionRate Double METRIC How often people interact with your ad after it is shown to them.
Interactions Long METRIC The number of interactions.
PhoneCalls Long METRIC Number of offline phone calls.
PhoneImpressions Long METRIC Number of offline phone impressions.
PhoneThroughRate Double METRIC Number of phone calls received (phone_calls) divided by the number of
TopImpressionPercentage Double METRIC The percent of your ad impressions that are shown adjacent to the top
TrueviewAverageCpv Double METRIC The average amount you pay each time someone views your ad.
ValuePerAllConversions Double METRIC The value of all conversions divided by the number of all conversions.
ValuePerConversion Double METRIC The value of conversions divided by the number of conversions. This only
VideoTrueviewViewRate Double METRIC The number of TrueView views your video ad receives divided by its number
VideoTrueviewViews Long METRIC The number of TrueView views your video ads received.
AdNetworkType String SEGMENT Ad network type.

The allowed values are CONTENT, DISCOVER, GMAIL, GOOGLE_OWNED_CHANNELS, GOOGLE_TV, MAPS, MIXED, SEARCH, SEARCH_PARTNERS, UNKNOWN, YOUTUBE.

AdSubNetworkType String SEGMENT Ad sub network type. Currently only available for ads running as part of

The allowed values are UNKNOWN, UNSEGMENTED, YOUTUBE_INFEED, YOUTUBE_INSTREAM, YOUTUBE_SHORTS.

AssetInteractionTargetAsset String SEGMENT The asset resource name.
AssetInteractionTargetInteractionOnThisAsset Bool SEGMENT Only used with CustomerAsset, CampaignAsset and AdGroupAsset metrics. Indicates whether the interaction metrics occurred on the asset itself or a different asset or ad unit.
ClickType String SEGMENT Click type.

The allowed values are AD_IMAGE, APP_DEEPLINK, BREADCRUMBS, BROADBAND_PLAN, CALLS, CALL_TRACKING, CLICK_ON_ENGAGEMENT_AD, CLICK_TO_MESSAGE_LANDING_PAGE_CLICK, CLICK_TO_MESSAGE_THIRD_PARTY_CLICK, CROSS_NETWORK, GET_DIRECTIONS, HOTEL_BOOK_ON_GOOGLE_ROOM_SELECTION, HOTEL_PRICE, LOCATION_EXPANSION, LOCATION_FORMAT_CALL, LOCATION_FORMAT_DIRECTIONS, LOCATION_FORMAT_IMAGE, LOCATION_FORMAT_LANDING_PAGE, LOCATION_FORMAT_MAP, LOCATION_FORMAT_STORE_INFO, LOCATION_FORMAT_TEXT, MOBILE_CALL_TRACKING, OFFER_PRINTS, OTHER, PRICE_EXTENSION, PRODUCT_AD_APP_DEEPLINK, PRODUCT_ASSETS, PRODUCT_EXTENSION_CLICKS, PRODUCT_LISTING_ADS_COUPON, PRODUCT_LISTING_AD_CLICKS, PRODUCT_LISTING_AD_LOCAL, PRODUCT_LISTING_AD_MULTICHANNEL_LOCAL, PRODUCT_LISTING_AD_MULTICHANNEL_ONLINE, PRODUCT_LISTING_AD_TRANSACTABLE, PROMOTION_EXTENSION, SHOPPING_COMPARISON_LISTING, SHOWCASE_AD_CATEGORY_LINK, SHOWCASE_AD_LOCAL_PRODUCT_LINK, SHOWCASE_AD_LOCAL_STOREFRONT_LINK, SHOWCASE_AD_ONLINE_PRODUCT_LINK, SITELINKS, STORE_LOCATOR, SWIPEABLE_GALLERY_AD_HEADLINE, SWIPEABLE_GALLERY_AD_SEE_MORE, SWIPEABLE_GALLERY_AD_SITELINK_FIVE, SWIPEABLE_GALLERY_AD_SITELINK_FOUR, SWIPEABLE_GALLERY_AD_SITELINK_ONE, SWIPEABLE_GALLERY_AD_SITELINK_THREE, SWIPEABLE_GALLERY_AD_SITELINK_TWO, SWIPEABLE_GALLERY_AD_SWIPES, TRAVEL_ASSETS, UNKNOWN, URL_CLICKS, VEHICLE_ASSETS, VIDEO_APP_STORE_CLICKS, VIDEO_CALL_TO_ACTION_CLICKS, VIDEO_CARD_ACTION_HEADLINE_CLICKS, VIDEO_CHANNEL_CLICK, VIDEO_END_CAP_CLICKS, VIDEO_RELATED_VIDEOS_CLICK, VIDEO_WEBSITE_CLICKS, VISUAL_SITELINKS, WIRELESS_PLAN.

ConversionAction String SEGMENT Resource name of the conversion action.
ConversionActionCategory String SEGMENT Conversion action category.

The allowed values are ADD_TO_CART, BEGIN_CHECKOUT, BOOK_APPOINTMENT, CONTACT, CONVERTED_LEAD, DEFAULT, DOWNLOAD, ENGAGEMENT, GET_DIRECTIONS, IMPORTED_LEAD, OUTBOUND_CLICK, PAGE_VIEW, PHONE_CALL_LEAD, PURCHASE, QUALIFIED_LEAD, REQUEST_QUOTE, SIGNUP, STORE_SALE, STORE_VISIT, SUBMIT_LEAD_FORM, SUBSCRIBE_PAID, UNKNOWN, YOUTUBE_FOLLOW_ON_VIEWS.

ConversionActionName String SEGMENT Conversion action name.
Date Date SEGMENT Date to which metrics apply.
DayOfWeek String SEGMENT Day of the week, for example, MONDAY.

The allowed values are FRIDAY, MONDAY, SATURDAY, SUNDAY, THURSDAY, TUESDAY, UNKNOWN, WEDNESDAY.

Device String SEGMENT Device to which metrics apply.

The allowed values are CONNECTED_TV, DESKTOP, MOBILE, OTHER, TABLET, UNKNOWN.

ExternalConversionSource String SEGMENT External conversion source.

The allowed values are AD_CALL_METRICS, ANALYTICS, ANALYTICS_SEARCH_ADS_360, ANDROID_FIRST_OPEN, ANDROID_IN_APP, APP_UNSPECIFIED, CLICK_TO_CALL, DISPLAY_AND_VIDEO_360_FLOODLIGHT, FIREBASE, FIREBASE_SEARCH_ADS_360, FLOODLIGHT, GOOGLE_ATTRIBUTION, GOOGLE_HOSTED, GOOGLE_PLAY, IOS_FIRST_OPEN, IOS_IN_APP, SALESFORCE, SEARCH_ADS_360, STORE_SALES, STORE_SALES_CRM, STORE_SALES_DIRECT_UPLOAD, STORE_SALES_PAYMENT_NETWORK, STORE_VISITS, THIRD_PARTY_APP_ANALYTICS, UNKNOWN, UPLOAD, UPLOAD_CALLS, WEBPAGE, WEBSITE_CALL_METRICS.

Month Date SEGMENT Month as represented by the date of the first day of a month. Formatted as
MonthOfYear String SEGMENT Month of the year, for example, January.

The allowed values are APRIL, AUGUST, DECEMBER, FEBRUARY, JANUARY, JULY, JUNE, MARCH, MAY, NOVEMBER, OCTOBER, SEPTEMBER, UNKNOWN.

Period String SEGMENT Predefined date range.

The allowed values are TODAY, YESTERDAY, LAST_7_DAYS, LAST_BUSINESS_WEEK, THIS_MONTH, LAST_MONTH, LAST_14_DAYS, LAST_30_DAYS, THIS_WEEK_SUN_TODAY, THIS_WEEK_MON_TODAY, LAST_WEEK_SUN_SAT, LAST_WEEK_MON_SUN.

Quarter Date SEGMENT Quarter as represented by the date of the first day of a quarter.
Slot String SEGMENT Position of the ad.

The allowed values are CONTENT, MIXED, SEARCH_OTHER, SEARCH_PARTNER_OTHER, SEARCH_PARTNER_TOP, SEARCH_SIDE, SEARCH_TOP, UNKNOWN.

Week Date SEGMENT Week as defined as Monday through Sunday, and represented by the date of
Year Int SEGMENT Year, formatted as yyyy.

Pseudo-Columns

Pseudo column fields are used in the WHERE clause of SELECT statements and offer more granular control over the data returned from the data source.

Name Type Description
ManagerId Long Id of the manager account on behalf of which you are requesting customer data.

CData Python Connector for Google Ads

CampaignAssetSet

CampaignAssetSet is the linkage between a campaign and an asset set.

Columns

Name Type Behavior Description
CampaignAssetSetAssetSet String ATTRIBUTE Immutable. The asset set which is linked to the campaign.
CampaignAssetSetCampaign String ATTRIBUTE Immutable. The campaign to which this asset set is linked.
CampaignAssetSetResourceName String ATTRIBUTE Immutable. The resource name of the campaign asset set.
CampaignAssetSetStatus String ATTRIBUTE Output only. The status of the campaign asset set asset. Read-only.

The allowed values are ENABLED, REMOVED, UNKNOWN.

CustomerId Long ATTRIBUTE Output only. The ID of the customer.

Pseudo-Columns

Pseudo column fields are used in the WHERE clause of SELECT statements and offer more granular control over the data returned from the data source.

Name Type Description
ManagerId Long Id of the manager account on behalf of which you are requesting customer data.

CData Python Connector for Google Ads

CampaignAudienceView

A campaign audience view.

View-Specific Information

Select

Google Ads does not allow every column to be selected in a single query, as some data conflicts if selected together. Therefore, when issuing a query that selects all columns, only the default metrics, segments, and attributes are returned. In general, these defaults are the same fields that are exposed through the Ads console. To use the nondefault fields, explicitly select them in your query.

Filters can also be used in the WHERE clause using the following supported operators: =, !=, >, >=, <, <=, LIKE, NOT LIKE, IN, NOT IN . Note that all filters must be joined by AND, as OR is not supported by the Ads API.

Columns

Name Type Behavior Description
BiddingStrategyId Long SEGMENT Output only. The ID of the bidding strategy.
CampaignAudienceViewResourceName String ATTRIBUTE Output only. The resource name of the campaign audience view.
CustomerId Long ATTRIBUTE Output only. The ID of the customer.
UserListId Long SEGMENT Output only. Id of the user list.
AbsoluteTopImpressionPercentage Double METRIC Search absolute top impression share is the percentage of your Search ad
ActiveViewCpm Double METRIC Average cost of viewable impressions (active_view_impressions).
ActiveViewCtr Double METRIC Active view measurable clicks divided by active view viewable impressions.
ActiveViewImpressions Long METRIC A measurement of how often your ad has become viewable on a Display
ActiveViewMeasurability Double METRIC The ratio of impressions that could be measured by Active View over the
ActiveViewMeasurableCostMicros Long METRIC The cost of the impressions you received that were measurable by Active
ActiveViewMeasurableImpressions Long METRIC The number of times your ads are appearing on placements in positions
ActiveViewViewability Double METRIC The percentage of time when your ad appeared on an Active View enabled site
AllConversions Double METRIC The total number of conversions. This includes all conversions regardless
AllConversionsByConversionDate Double METRIC The total number of conversions. This includes all conversions regardless
AllConversionsFromInteractionsRate Double METRIC All conversions from interactions (as oppose to view through conversions)
AllConversionsFromInteractionsValuePerInteraction Double METRIC The value of all conversions from interactions divided by the total number
AllConversionsValue Double METRIC The value of all conversions.
AllConversionsValueByConversionDate Double METRIC The value of all conversions. When this column is selected with date, the
AllConversionsValuePerCost Double METRIC The value of all conversions divided by the total cost of ad interactions
AverageCost Double METRIC The average amount you pay per interaction. This amount is the total cost
AverageCpc Double METRIC The total cost of all clicks divided by the total number of clicks
AverageCpe Double METRIC The average amount that you've been charged for an ad engagement. This
AverageCpm Double METRIC Average cost-per-thousand impressions (CPM).
Clicks Long METRIC The number of clicks.
Conversions Double METRIC The number of conversions. This only includes conversion actions which
ConversionsByConversionDate Double METRIC The number of conversions. This only includes conversion actions which
ConversionsFromInteractionsRate Double METRIC Conversions from interactions divided by the number of ad interactions
ConversionsValue Double METRIC The value of conversions. This only includes conversion actions which
ConversionsValueByConversionDate Double METRIC The value of conversions. This only includes conversion actions which
CostMicros Long METRIC The sum of your cost-per-click (CPC) and cost-per-thousand impressions
CostPerAllConversions Double METRIC The cost of ad interactions divided by all conversions.
CostPerConversion Double METRIC The cost of ad interactions divided by conversions. This only includes
CrossDeviceConversions Double METRIC Conversions from when a customer clicks on a Google Ads ad on one device,
Ctr Double METRIC The number of clicks your ad receives (Clicks) divided by the number
EngagementRate Double METRIC How often people engage with your ad after it's shown to them. This is the
Engagements Long METRIC The number of engagements.
GmailForwards Long METRIC The number of times the ad was forwarded to someone else as a message.
GmailSaves Long METRIC The number of times someone has saved your Gmail ad to their inbox as a
GmailSecondaryClicks Long METRIC The number of clicks to the landing page on the expanded state of Gmail
Impressions Long METRIC Count of how often your ad has appeared on a search results page or
InteractionEventTypes String METRIC The types of payable and free interactions.

The allowed values are CLICK, ENGAGEMENT, NONE, UNKNOWN, VIDEO_VIEW.

InteractionRate Double METRIC How often people interact with your ad after it is shown to them.
Interactions Long METRIC The number of interactions.
TopImpressionPercentage Double METRIC The percent of your ad impressions that are shown adjacent to the top
TrueviewAverageCpv Double METRIC The average amount you pay each time someone views your ad.
ValuePerAllConversions Double METRIC The value of all conversions divided by the number of all conversions.
ValuePerAllConversionsByConversionDate Double METRIC The value of all conversions divided by the number of all conversions. When
ValuePerConversion Double METRIC The value of conversions divided by the number of conversions. This only
ValuePerConversionsByConversionDate Double METRIC The value of conversions divided by the number of conversions. This only
VideoQuartileP100Rate Double METRIC Percentage of impressions where the viewer watched all of your video.
VideoQuartileP25Rate Double METRIC Percentage of impressions where the viewer watched 25% of your video.
VideoQuartileP50Rate Double METRIC Percentage of impressions where the viewer watched 50% of your video.
VideoQuartileP75Rate Double METRIC Percentage of impressions where the viewer watched 75% of your video.
VideoTrueviewViewRate Double METRIC The number of TrueView views your video ad receives divided by its number
VideoTrueviewViews Long METRIC The number of TrueView views your video ads received.
ViewThroughConversions Long METRIC The total number of view-through conversions.
AdNetworkType String SEGMENT Ad network type.

The allowed values are CONTENT, DISCOVER, GMAIL, GOOGLE_OWNED_CHANNELS, GOOGLE_TV, MAPS, MIXED, SEARCH, SEARCH_PARTNERS, UNKNOWN, YOUTUBE.

AdSubNetworkType String SEGMENT Ad sub network type. Currently only available for ads running as part of

The allowed values are UNKNOWN, UNSEGMENTED, YOUTUBE_INFEED, YOUTUBE_INSTREAM, YOUTUBE_SHORTS.

ClickType String SEGMENT Click type.

The allowed values are AD_IMAGE, APP_DEEPLINK, BREADCRUMBS, BROADBAND_PLAN, CALLS, CALL_TRACKING, CLICK_ON_ENGAGEMENT_AD, CLICK_TO_MESSAGE_LANDING_PAGE_CLICK, CLICK_TO_MESSAGE_THIRD_PARTY_CLICK, CROSS_NETWORK, GET_DIRECTIONS, HOTEL_BOOK_ON_GOOGLE_ROOM_SELECTION, HOTEL_PRICE, LOCATION_EXPANSION, LOCATION_FORMAT_CALL, LOCATION_FORMAT_DIRECTIONS, LOCATION_FORMAT_IMAGE, LOCATION_FORMAT_LANDING_PAGE, LOCATION_FORMAT_MAP, LOCATION_FORMAT_STORE_INFO, LOCATION_FORMAT_TEXT, MOBILE_CALL_TRACKING, OFFER_PRINTS, OTHER, PRICE_EXTENSION, PRODUCT_AD_APP_DEEPLINK, PRODUCT_ASSETS, PRODUCT_EXTENSION_CLICKS, PRODUCT_LISTING_ADS_COUPON, PRODUCT_LISTING_AD_CLICKS, PRODUCT_LISTING_AD_LOCAL, PRODUCT_LISTING_AD_MULTICHANNEL_LOCAL, PRODUCT_LISTING_AD_MULTICHANNEL_ONLINE, PRODUCT_LISTING_AD_TRANSACTABLE, PROMOTION_EXTENSION, SHOPPING_COMPARISON_LISTING, SHOWCASE_AD_CATEGORY_LINK, SHOWCASE_AD_LOCAL_PRODUCT_LINK, SHOWCASE_AD_LOCAL_STOREFRONT_LINK, SHOWCASE_AD_ONLINE_PRODUCT_LINK, SITELINKS, STORE_LOCATOR, SWIPEABLE_GALLERY_AD_HEADLINE, SWIPEABLE_GALLERY_AD_SEE_MORE, SWIPEABLE_GALLERY_AD_SITELINK_FIVE, SWIPEABLE_GALLERY_AD_SITELINK_FOUR, SWIPEABLE_GALLERY_AD_SITELINK_ONE, SWIPEABLE_GALLERY_AD_SITELINK_THREE, SWIPEABLE_GALLERY_AD_SITELINK_TWO, SWIPEABLE_GALLERY_AD_SWIPES, TRAVEL_ASSETS, UNKNOWN, URL_CLICKS, VEHICLE_ASSETS, VIDEO_APP_STORE_CLICKS, VIDEO_CALL_TO_ACTION_CLICKS, VIDEO_CARD_ACTION_HEADLINE_CLICKS, VIDEO_CHANNEL_CLICK, VIDEO_END_CAP_CLICKS, VIDEO_RELATED_VIDEOS_CLICK, VIDEO_WEBSITE_CLICKS, VISUAL_SITELINKS, WIRELESS_PLAN.

ConversionAction String SEGMENT Resource name of the conversion action.
ConversionActionCategory String SEGMENT Conversion action category.

The allowed values are ADD_TO_CART, BEGIN_CHECKOUT, BOOK_APPOINTMENT, CONTACT, CONVERTED_LEAD, DEFAULT, DOWNLOAD, ENGAGEMENT, GET_DIRECTIONS, IMPORTED_LEAD, OUTBOUND_CLICK, PAGE_VIEW, PHONE_CALL_LEAD, PURCHASE, QUALIFIED_LEAD, REQUEST_QUOTE, SIGNUP, STORE_SALE, STORE_VISIT, SUBMIT_LEAD_FORM, SUBSCRIBE_PAID, UNKNOWN, YOUTUBE_FOLLOW_ON_VIEWS.

ConversionActionName String SEGMENT Conversion action name.
Date Date SEGMENT Date to which metrics apply.
DayOfWeek String SEGMENT Day of the week, for example, MONDAY.

The allowed values are FRIDAY, MONDAY, SATURDAY, SUNDAY, THURSDAY, TUESDAY, UNKNOWN, WEDNESDAY.

Device String SEGMENT Device to which metrics apply.

The allowed values are CONNECTED_TV, DESKTOP, MOBILE, OTHER, TABLET, UNKNOWN.

ExternalConversionSource String SEGMENT External conversion source.

The allowed values are AD_CALL_METRICS, ANALYTICS, ANALYTICS_SEARCH_ADS_360, ANDROID_FIRST_OPEN, ANDROID_IN_APP, APP_UNSPECIFIED, CLICK_TO_CALL, DISPLAY_AND_VIDEO_360_FLOODLIGHT, FIREBASE, FIREBASE_SEARCH_ADS_360, FLOODLIGHT, GOOGLE_ATTRIBUTION, GOOGLE_HOSTED, GOOGLE_PLAY, IOS_FIRST_OPEN, IOS_IN_APP, SALESFORCE, SEARCH_ADS_360, STORE_SALES, STORE_SALES_CRM, STORE_SALES_DIRECT_UPLOAD, STORE_SALES_PAYMENT_NETWORK, STORE_VISITS, THIRD_PARTY_APP_ANALYTICS, UNKNOWN, UPLOAD, UPLOAD_CALLS, WEBPAGE, WEBSITE_CALL_METRICS.

HotelDateSelectionType String SEGMENT Hotel date selection type.

The allowed values are DEFAULT_SELECTION, UNKNOWN, USER_SELECTED.

Month Date SEGMENT Month as represented by the date of the first day of a month. Formatted as
MonthOfYear String SEGMENT Month of the year, for example, January.

The allowed values are APRIL, AUGUST, DECEMBER, FEBRUARY, JANUARY, JULY, JUNE, MARCH, MAY, NOVEMBER, OCTOBER, SEPTEMBER, UNKNOWN.

Period String SEGMENT Predefined date range.

The allowed values are TODAY, YESTERDAY, LAST_7_DAYS, LAST_BUSINESS_WEEK, THIS_MONTH, LAST_MONTH, LAST_14_DAYS, LAST_30_DAYS, THIS_WEEK_SUN_TODAY, THIS_WEEK_MON_TODAY, LAST_WEEK_SUN_SAT, LAST_WEEK_MON_SUN.

Quarter Date SEGMENT Quarter as represented by the date of the first day of a quarter.
Slot String SEGMENT Position of the ad.

The allowed values are CONTENT, MIXED, SEARCH_OTHER, SEARCH_PARTNER_OTHER, SEARCH_PARTNER_TOP, SEARCH_SIDE, SEARCH_TOP, UNKNOWN.

Week Date SEGMENT Week as defined as Monday through Sunday, and represented by the date of
Year Int SEGMENT Year, formatted as yyyy.

Pseudo-Columns

Pseudo column fields are used in the WHERE clause of SELECT statements and offer more granular control over the data returned from the data source.

Name Type Description
ManagerId Long Id of the manager account on behalf of which you are requesting customer data.

CData Python Connector for Google Ads

CampaignBidModifier

Represents a bid-modifiable only criterion at the campaign level.

View-Specific Information

Select

Google Ads does not allow every column to be selected in a single query, as some data conflicts if selected together. Therefore, when issuing a query that selects all columns, only the default metrics, segments, and attributes are returned. In general, these defaults are the same fields that are exposed through the Ads console. To use the nondefault fields, explicitly select them in your query.

Filters can also be used in the WHERE clause using the following supported operators: =, !=, >, >=, <, <=, LIKE, NOT LIKE, IN, NOT IN . Note that all filters must be joined by AND, as OR is not supported by the Ads API.

Columns

Name Type Behavior Description
CampaignBidModifierBidModifier Double ATTRIBUTE The modifier for the bid when the criterion matches.
CampaignBidModifierCampaign String ATTRIBUTE Output only. The campaign to which this criterion belongs.
CampaignBidModifierCriterionId Long ATTRIBUTE Output only. The ID of the criterion to bid modify.
CampaignBidModifierInteractionTypeType String ATTRIBUTE The interaction type.

The allowed values are CALLS, UNKNOWN.

CampaignBidModifierResourceName String ATTRIBUTE Immutable. The resource name of the campaign bid modifier.
CustomerId Long ATTRIBUTE Output only. The ID of the customer.
InteractionEventTypes String METRIC The types of payable and free interactions.

The allowed values are CLICK, ENGAGEMENT, NONE, UNKNOWN, VIDEO_VIEW.

Pseudo-Columns

Pseudo column fields are used in the WHERE clause of SELECT statements and offer more granular control over the data returned from the data source.

Name Type Description
ManagerId Long Id of the manager account on behalf of which you are requesting customer data.

CData Python Connector for Google Ads

CampaignBudget

A campaign budget.

View-Specific Information

Select

Google Ads does not allow every column to be selected in a single query, as some data conflicts if selected together. Therefore, when issuing a query that selects all columns, only the default metrics, segments, and attributes are returned. In general, these defaults are the same fields that are exposed through the Ads console. To use the nondefault fields, explicitly select them in your query.

Filters can also be used in the WHERE clause using the following supported operators: =, !=, >, >=, <, <=, LIKE, NOT LIKE, IN, NOT IN . Note that all filters must be joined by AND, as OR is not supported by the Ads API.

Columns

Name Type Behavior Description
CampaignId Long SEGMENT Output only. The ID of the campaign.
CampaignBudgetAlignedBiddingStrategyId Long ATTRIBUTE ID of the portfolio bidding strategy that this shared campaign budget
CampaignBudgetAmountMicros Long ATTRIBUTE The average daily amount to be spent by the campaign.
CampaignBudgetDeliveryMethod String ATTRIBUTE The delivery method that determines the rate at which the campaign budget

The allowed values are ACCELERATED, STANDARD, UNKNOWN.

CampaignBudgetExplicitlyShared Bool ATTRIBUTE Specifies whether the budget is explicitly shared. Defaults to true if
CampaignBudgetHasRecommendedBudget Bool ATTRIBUTE Output only. Indicates whether there is a recommended budget for this
CampaignBudgetId Long ATTRIBUTE Output only. The ID of the campaign budget.
CampaignBudgetName String ATTRIBUTE The name of the campaign budget.
CampaignBudgetPeriod String ATTRIBUTE Immutable. Period over which to spend the budget. Defaults to DAILY if not

The allowed values are CUSTOM_PERIOD, DAILY, UNKNOWN.

CampaignBudgetRecommendedBudgetAmountMicros Long ATTRIBUTE Output only. The recommended budget amount. If no recommendation is
CampaignBudgetRecommendedBudgetEstimatedChangeWeeklyClicks Long ATTRIBUTE Output only. The estimated change in weekly clicks if the recommended
CampaignBudgetRecommendedBudgetEstimatedChangeWeeklyCostMicros Long ATTRIBUTE Output only. The estimated change in weekly cost in micros if the
CampaignBudgetRecommendedBudgetEstimatedChangeWeeklyInteractions Long ATTRIBUTE Output only. The estimated change in weekly interactions if the recommended
CampaignBudgetRecommendedBudgetEstimatedChangeWeeklyViews Long ATTRIBUTE Output only. The estimated change in weekly views if the recommended budget
CampaignBudgetReferenceCount Long ATTRIBUTE Output only. The number of campaigns actively using the budget.
CampaignBudgetResourceName String ATTRIBUTE Immutable. The resource name of the campaign budget.
CampaignBudgetStatus String ATTRIBUTE Output only. The status of this campaign budget. This field is read-only.

The allowed values are ENABLED, REMOVED, UNKNOWN.

CampaignBudgetTotalAmountMicros Long ATTRIBUTE The total amount to be spent by the campaign over its entire duration.
CampaignBudgetType String ATTRIBUTE Immutable. The type of the campaign budget.

The allowed values are FIXED_CPA, LOCAL_SERVICES, SMART_CAMPAIGN, STANDARD, UNKNOWN.

CustomerId Long ATTRIBUTE Output only. The ID of the customer.
AllConversions Double METRIC The total number of conversions. This includes all conversions regardless
AllConversionsFromInteractionsRate Double METRIC All conversions from interactions (as oppose to view through conversions)
AllConversionsValue Double METRIC The value of all conversions.
AverageCost Double METRIC The average amount you pay per interaction. This amount is the total cost
AverageCpc Double METRIC The total cost of all clicks divided by the total number of clicks
AverageCpe Double METRIC The average amount that you've been charged for an ad engagement. This
AverageCpm Double METRIC Average cost-per-thousand impressions (CPM).
Clicks Long METRIC The number of clicks.
Conversions Double METRIC The number of conversions. This only includes conversion actions which
ConversionsFromInteractionsRate Double METRIC Conversions from interactions divided by the number of ad interactions
ConversionsValue Double METRIC The value of conversions. This only includes conversion actions which
CostMicros Long METRIC The sum of your cost-per-click (CPC) and cost-per-thousand impressions
CostPerAllConversions Double METRIC The cost of ad interactions divided by all conversions.
CostPerConversion Double METRIC The cost of ad interactions divided by conversions. This only includes
CrossDeviceConversions Double METRIC Conversions from when a customer clicks on a Google Ads ad on one device,
Ctr Double METRIC The number of clicks your ad receives (Clicks) divided by the number
EngagementRate Double METRIC How often people engage with your ad after it's shown to them. This is the
Engagements Long METRIC The number of engagements.
Impressions Long METRIC Count of how often your ad has appeared on a search results page or
InteractionEventTypes String METRIC The types of payable and free interactions.

The allowed values are CLICK, ENGAGEMENT, NONE, UNKNOWN, VIDEO_VIEW.

InteractionRate Double METRIC How often people interact with your ad after it is shown to them.
Interactions Long METRIC The number of interactions.
TrueviewAverageCpv Double METRIC The average amount you pay each time someone views your ad.
ValuePerAllConversions Double METRIC The value of all conversions divided by the number of all conversions.
ValuePerConversion Double METRIC The value of conversions divided by the number of conversions. This only
VideoTrueviewViewRate Double METRIC The number of TrueView views your video ad receives divided by its number
VideoTrueviewViews Long METRIC The number of TrueView views your video ads received.
ViewThroughConversions Long METRIC The total number of view-through conversions.
AdSubNetworkType String SEGMENT Ad sub network type. Currently only available for ads running as part of

The allowed values are UNKNOWN, UNSEGMENTED, YOUTUBE_INFEED, YOUTUBE_INSTREAM, YOUTUBE_SHORTS.

BudgetCampaignAssociationStatusCampaign String SEGMENT The campaign resource name.
BudgetCampaignAssociationStatusStatus String SEGMENT Budget campaign association status.

The allowed values are ENABLED, REMOVED, UNKNOWN.

ConversionAction String SEGMENT Resource name of the conversion action.
ConversionActionCategory String SEGMENT Conversion action category.

The allowed values are ADD_TO_CART, BEGIN_CHECKOUT, BOOK_APPOINTMENT, CONTACT, CONVERTED_LEAD, DEFAULT, DOWNLOAD, ENGAGEMENT, GET_DIRECTIONS, IMPORTED_LEAD, OUTBOUND_CLICK, PAGE_VIEW, PHONE_CALL_LEAD, PURCHASE, QUALIFIED_LEAD, REQUEST_QUOTE, SIGNUP, STORE_SALE, STORE_VISIT, SUBMIT_LEAD_FORM, SUBSCRIBE_PAID, UNKNOWN, YOUTUBE_FOLLOW_ON_VIEWS.

ConversionActionName String SEGMENT Conversion action name.
Date Date SEGMENT Date to which metrics apply.
ExternalConversionSource String SEGMENT External conversion source.

The allowed values are AD_CALL_METRICS, ANALYTICS, ANALYTICS_SEARCH_ADS_360, ANDROID_FIRST_OPEN, ANDROID_IN_APP, APP_UNSPECIFIED, CLICK_TO_CALL, DISPLAY_AND_VIDEO_360_FLOODLIGHT, FIREBASE, FIREBASE_SEARCH_ADS_360, FLOODLIGHT, GOOGLE_ATTRIBUTION, GOOGLE_HOSTED, GOOGLE_PLAY, IOS_FIRST_OPEN, IOS_IN_APP, SALESFORCE, SEARCH_ADS_360, STORE_SALES, STORE_SALES_CRM, STORE_SALES_DIRECT_UPLOAD, STORE_SALES_PAYMENT_NETWORK, STORE_VISITS, THIRD_PARTY_APP_ANALYTICS, UNKNOWN, UPLOAD, UPLOAD_CALLS, WEBPAGE, WEBSITE_CALL_METRICS.

Period String SEGMENT Predefined date range.

The allowed values are TODAY, YESTERDAY, LAST_7_DAYS, LAST_BUSINESS_WEEK, THIS_MONTH, LAST_MONTH, LAST_14_DAYS, LAST_30_DAYS, THIS_WEEK_SUN_TODAY, THIS_WEEK_MON_TODAY, LAST_WEEK_SUN_SAT, LAST_WEEK_MON_SUN.

Pseudo-Columns

Pseudo column fields are used in the WHERE clause of SELECT statements and offer more granular control over the data returned from the data source.

Name Type Description
ManagerId Long Id of the manager account on behalf of which you are requesting customer data.

CData Python Connector for Google Ads

CampaignConversionGoal

The biddability setting for the specified campaign only for all

Columns

Name Type Behavior Description
CampaignConversionGoalBiddable Bool ATTRIBUTE The biddability of the campaign conversion goal.
CampaignConversionGoalCampaign String ATTRIBUTE Immutable. The campaign with which this campaign conversion goal is
CampaignConversionGoalCategory String ATTRIBUTE The conversion category of this campaign conversion goal.

The allowed values are ADD_TO_CART, BEGIN_CHECKOUT, BOOK_APPOINTMENT, CONTACT, CONVERTED_LEAD, DEFAULT, DOWNLOAD, ENGAGEMENT, GET_DIRECTIONS, IMPORTED_LEAD, OUTBOUND_CLICK, PAGE_VIEW, PHONE_CALL_LEAD, PURCHASE, QUALIFIED_LEAD, REQUEST_QUOTE, SIGNUP, STORE_SALE, STORE_VISIT, SUBMIT_LEAD_FORM, SUBSCRIBE_PAID, UNKNOWN, YOUTUBE_FOLLOW_ON_VIEWS.

CampaignConversionGoalOrigin String ATTRIBUTE The conversion origin of this campaign conversion goal.

The allowed values are APP, CALL_FROM_ADS, GOOGLE_HOSTED, STORE, UNKNOWN, WEBSITE, YOUTUBE_HOSTED.

CampaignConversionGoalResourceName String ATTRIBUTE Immutable. The resource name of the campaign conversion goal.
CustomerId Long ATTRIBUTE Output only. The ID of the customer.

Pseudo-Columns

Pseudo column fields are used in the WHERE clause of SELECT statements and offer more granular control over the data returned from the data source.

Name Type Description
ManagerId Long Id of the manager account on behalf of which you are requesting customer data.

CData Python Connector for Google Ads

CampaignCriterion

A campaign criterion.

View-Specific Information

Select

Google Ads does not allow every column to be selected in a single query, as some data conflicts if selected together. Therefore, when issuing a query that selects all columns, only the default metrics, segments, and attributes are returned. In general, these defaults are the same fields that are exposed through the Ads console. To use the nondefault fields, explicitly select them in your query.

Filters can also be used in the WHERE clause using the following supported operators: =, !=, >, >=, <, <=, LIKE, NOT LIKE, IN, NOT IN . Note that all filters must be joined by AND, as OR is not supported by the Ads API.

Columns

Name Type Behavior Description
CampaignCriterionAdScheduleDayOfWeek String ATTRIBUTE Day of the week the schedule applies to. This field is required for CREATE operations and is prohibited on UPDATE operations.

The allowed values are FRIDAY, MONDAY, SATURDAY, SUNDAY, THURSDAY, TUESDAY, UNKNOWN, WEDNESDAY.

CampaignCriterionAdScheduleEndHour Int ATTRIBUTE Ending hour in 24 hour time; 24 signifies end of the day. This field must be between 0 and 24, inclusive. This field is required for CREATE operations and is prohibited on UPDATE operations.
CampaignCriterionAdScheduleEndMinute String ATTRIBUTE Minutes after the end hour at which this schedule ends. The schedule is exclusive of the end minute. This field is required for CREATE operations and is prohibited on UPDATE operations.

The allowed values are FIFTEEN, FORTY_FIVE, THIRTY, UNKNOWN, ZERO.

CampaignCriterionAdScheduleStartHour Int ATTRIBUTE Starting hour in 24 hour time. This field must be between 0 and 23, inclusive. This field is required for CREATE operations and is prohibited on UPDATE operations.
CampaignCriterionAdScheduleStartMinute String ATTRIBUTE Minutes after the start hour at which this schedule starts. This field is required for CREATE operations and is prohibited on UPDATE operations.

The allowed values are FIFTEEN, FORTY_FIVE, THIRTY, UNKNOWN, ZERO.

CampaignCriterionAgeRangeType String ATTRIBUTE Type of the age range.

The allowed values are AGE_RANGE_18_24, AGE_RANGE_25_34, AGE_RANGE_35_44, AGE_RANGE_45_54, AGE_RANGE_55_64, AGE_RANGE_65_UP, AGE_RANGE_UNDETERMINED, UNKNOWN.

CampaignCriterionBidModifier String ATTRIBUTE The modifier for the bids when the criterion matches. The modifier must be
CampaignCriterionBrandListSharedSet String ATTRIBUTE Shared set resource name of the brand list.
CampaignCriterionCampaign String ATTRIBUTE Immutable. The campaign to which the criterion belongs.
CampaignCriterionCarrierCarrierConstant String ATTRIBUTE The Carrier constant resource name.
CampaignCriterionCombinedAudienceCombinedAudience String ATTRIBUTE The CombinedAudience resource name.
CampaignCriterionContentLabelType String ATTRIBUTE Content label type, required for CREATE operations.

The allowed values are BELOW_THE_FOLD, BRAND_SUITABILITY_CONTENT_FOR_FAMILIES, BRAND_SUITABILITY_GAMES_FIGHTING, BRAND_SUITABILITY_GAMES_MATURE, BRAND_SUITABILITY_HEALTH_SENSITIVE, BRAND_SUITABILITY_HEALTH_SOURCE_UNDETERMINED, BRAND_SUITABILITY_NEWS_RECENT, BRAND_SUITABILITY_NEWS_SENSITIVE, BRAND_SUITABILITY_NEWS_SOURCE_NOT_FEATURED, BRAND_SUITABILITY_POLITICS, BRAND_SUITABILITY_RELIGION, EMBEDDED_VIDEO, JUVENILE, LIVE_STREAMING_VIDEO, PARKED_DOMAIN, PROFANITY, SEXUALLY_SUGGESTIVE, SOCIAL_ISSUES, TRAGEDY, UNKNOWN, VIDEO, VIDEO_NOT_YET_RATED, VIDEO_RATING_DV_G, VIDEO_RATING_DV_MA, VIDEO_RATING_DV_PG, VIDEO_RATING_DV_T.

CampaignCriterionCriterionId Long ATTRIBUTE Output only. The ID of the criterion.
CampaignCriterionCustomAffinityCustomAffinity String ATTRIBUTE The CustomInterest resource name.
CampaignCriterionCustomAudienceCustomAudience String ATTRIBUTE The CustomAudience resource name.
CampaignCriterionDeviceType String ATTRIBUTE Type of the device.

The allowed values are CONNECTED_TV, DESKTOP, MOBILE, OTHER, TABLET, UNKNOWN.

CampaignCriterionDisplayName String ATTRIBUTE Output only. The display name of the criterion.
CampaignCriterionExtendedDemographicExtendedDemographicId Long ATTRIBUTE Taxonomy id of the extended demographic group.
CampaignCriterionGenderType String ATTRIBUTE Type of the gender.

The allowed values are FEMALE, MALE, UNDETERMINED, UNKNOWN.

CampaignCriterionIncomeRangeType String ATTRIBUTE Type of the income range.

The allowed values are INCOME_RANGE_0_50, INCOME_RANGE_50_60, INCOME_RANGE_60_70, INCOME_RANGE_70_80, INCOME_RANGE_80_90, INCOME_RANGE_90_UP, INCOME_RANGE_UNDETERMINED, UNKNOWN.

CampaignCriterionIpBlockIpAddress String ATTRIBUTE The IP address or the CIDR block to be excluded.
CampaignCriterionKeywordMatchType String ATTRIBUTE The match type of the keyword.

The allowed values are BROAD, EXACT, PHRASE, UNKNOWN.

CampaignCriterionKeywordText String ATTRIBUTE The text of the keyword (at most 80 characters and 10 words).
CampaignCriterionKeywordThemeFreeFormKeywordTheme String ATTRIBUTE Free-form text to be matched to a Smart Campaign keyword theme constant on a best-effort basis.
CampaignCriterionKeywordThemeKeywordThemeConstant String ATTRIBUTE The resource name of a Smart Campaign keyword theme constant. keywordThemeConstants/{keyword_theme_id}~{sub_keyword_theme_id}
CampaignCriterionLanguageLanguageConstant String ATTRIBUTE The language constant resource name.
CampaignCriterionLifeEventLifeEventId Long ATTRIBUTE Taxonomy id of the life event.
CampaignCriterionListingScopeDimensions String ATTRIBUTE Scope of the campaign criterion.
CampaignCriterionLocalServiceIdServiceId String ATTRIBUTE The criterion resource name.
CampaignCriterionLocationGeoTargetConstant String ATTRIBUTE The geo target constant resource name.
CampaignCriterionLocationGroup String ATTRIBUTE Immutable. Location Group
CampaignCriterionLocationGroupEnableCustomerLevelLocationAssetSet Bool ATTRIBUTE Denotes that the latest customer level asset set is used for targeting. Used with radius and radius_units. Cannot be used with feed, geo target constants or feed item sets. When using asset sets, either this field or location_group_asset_sets should be specified. Both cannot be used at the same time. This can only be set in CREATE operations.
CampaignCriterionMobileAppCategoryMobileAppCategoryConstant String ATTRIBUTE The mobile app category constant resource name.
CampaignCriterionMobileApplicationAppId String ATTRIBUTE A string that uniquely identifies a mobile application to Google Ads API. The format of this string is '{platform}-{platform_native_id}', where platform is '1' for iOS apps and '2' for Android apps, and where platform_native_id is the mobile application identifier native to the corresponding platform. For iOS, this native identifier is the 9 digit string that appears at the end of an App Store URL (for example, '476943146' for 'Flood-It! 2' whose App Store link is 'http://itunes.apple.com/us/app/flood-it!-2/id476943146'). For Android, this native identifier is the application's package name (for example, 'com.labpixies.colordrips' for 'Color Drips' given Google Play link 'https://play.google.com/store/apps/details?id=com.labpixies.colordrips'). A well formed app id for Google Ads API would thus be '1-476943146' for iOS and '2-com.labpixies.colordrips' for Android. This field is required and must be set in CREATE operations.
CampaignCriterionMobileApplicationName String ATTRIBUTE Name of this mobile application.
CampaignCriterionMobileDeviceMobileDeviceConstant String ATTRIBUTE The mobile device constant resource name.
CampaignCriterionNegative Bool ATTRIBUTE Immutable. Whether to target (false) or exclude (true) the criterion.
CampaignCriterionOperatingSystemVersionOperatingSystemVersionConstant String ATTRIBUTE The operating system version constant resource name.
CampaignCriterionParentalStatusType String ATTRIBUTE Type of the parental status.

The allowed values are NOT_A_PARENT, PARENT, UNDETERMINED, UNKNOWN.

CampaignCriterionPlacementUrl String ATTRIBUTE URL of the placement. For example, 'http://www.domain.com'.
CampaignCriterionProximityAddressCityName String ATTRIBUTE Name of the city.
CampaignCriterionProximityAddressCountryCode String ATTRIBUTE Country code.
CampaignCriterionProximityAddressPostalCode String ATTRIBUTE Postal code.
CampaignCriterionProximityAddressProvinceCode String ATTRIBUTE Province or state code.
CampaignCriterionProximityAddressProvinceName String ATTRIBUTE Province or state name.
CampaignCriterionProximityAddressStreetAddress String ATTRIBUTE Street address line 1.
CampaignCriterionProximityGeoPointLatitudeInMicroDegrees Int ATTRIBUTE Micro degrees for the latitude.
CampaignCriterionProximityGeoPointLongitudeInMicroDegrees Int ATTRIBUTE Micro degrees for the longitude.
CampaignCriterionProximityRadius Double ATTRIBUTE The radius of the proximity.
CampaignCriterionProximityRadiusUnits String ATTRIBUTE The unit of measurement of the radius. Default is KILOMETERS.

The allowed values are KILOMETERS, MILES, UNKNOWN.

CampaignCriterionResourceName String ATTRIBUTE Immutable. The resource name of the campaign criterion.
CampaignCriterionStatus String ATTRIBUTE The status of the criterion.

The allowed values are ENABLED, PAUSED, REMOVED, UNKNOWN.

CampaignCriterionTopicPath String ATTRIBUTE The category to target or exclude. Each subsequent element in the array describes a more specific sub-category. For example, 'Pets & Animals', 'Pets', 'Dogs' represents the 'Pets & Animals/Pets/Dogs' category.
CampaignCriterionTopicTopicConstant String ATTRIBUTE The Topic Constant resource name.
CampaignCriterionType String ATTRIBUTE Output only. The type of the criterion.

The allowed values are AD_SCHEDULE, AGE_RANGE, APP_PAYMENT_MODEL, AUDIENCE, BRAND, BRAND_LIST, CARRIER, COMBINED_AUDIENCE, CONTENT_LABEL, CUSTOM_AFFINITY, CUSTOM_AUDIENCE, CUSTOM_INTENT, DEVICE, GENDER, INCOME_RANGE, IP_BLOCK, KEYWORD, KEYWORD_THEME, LANGUAGE, LIFE_EVENT, LISTING_GROUP, LISTING_SCOPE, LOCAL_SERVICE_ID, LOCATION, LOCATION_GROUP, MOBILE_APPLICATION, MOBILE_APP_CATEGORY, MOBILE_DEVICE, NEGATIVE_KEYWORD_LIST, OPERATING_SYSTEM_VERSION, PARENTAL_STATUS, PLACEMENT, PLACEMENT_LIST, PROXIMITY, SEARCH_THEME, TOPIC, UNKNOWN, USER_INTEREST, USER_LIST, VERTICAL_ADS_ITEM_GROUP_RULE, VERTICAL_ADS_ITEM_GROUP_RULE_LIST, VIDEO_LINEUP, WEBPAGE, WEBPAGE_LIST, YOUTUBE_CHANNEL, YOUTUBE_VIDEO.

CampaignCriterionUserInterestUserInterestCategory String ATTRIBUTE The UserInterest resource name.
CampaignCriterionUserListUserList String ATTRIBUTE The User List resource name.
CampaignCriterionVideoLineupVideoLineupId Long ATTRIBUTE ID for a Video lineup. Contact your Google business development representative for details.
CampaignCriterionWebpageConditions String ATTRIBUTE Conditions, or logical expressions, for webpage targeting. The list of webpage targeting conditions are and-ed together when evaluated for targeting. An empty list of conditions indicates all pages of the campaign's website are targeted. This field is required for CREATE operations and is prohibited on UPDATE operations.
CampaignCriterionWebpageCoveragePercentage Double ATTRIBUTE Website criteria coverage percentage. This is the computed percentage of website coverage based on the website target, negative website target and negative keywords in the ad group and campaign. For instance, when coverage returns as 1, it indicates it has 100% coverage. This field is read-only.
CampaignCriterionWebpageCriterionName String ATTRIBUTE The name of the criterion that is defined by this parameter. The name value will be used for identifying, sorting and filtering criteria with this type of parameters. This field is required for CREATE operations and is prohibited on UPDATE operations.
CampaignCriterionWebpageSampleSampleUrls String ATTRIBUTE Webpage sample urls
CampaignCriterionWebpageListSharedSet String ATTRIBUTE Shared set resource name of the webpage list.
CampaignCriterionYoutubeChannelChannelId String ATTRIBUTE The YouTube uploader channel id or the channel code of a YouTube channel.
CampaignCriterionYoutubeVideoVideoId String ATTRIBUTE YouTube video id as it appears on the YouTube watch page.
CustomerId Long ATTRIBUTE Output only. The ID of the customer.

Pseudo-Columns

Pseudo column fields are used in the WHERE clause of SELECT statements and offer more granular control over the data returned from the data source.

Name Type Description
ManagerId Long Id of the manager account on behalf of which you are requesting customer data.

CData Python Connector for Google Ads

CampaignCustomizer

A customizer value for the associated CustomizerAttribute at the Campaign

Columns

Name Type Behavior Description
CampaignCustomizerCampaign String ATTRIBUTE Immutable. The campaign to which the customizer attribute is linked.
CampaignCustomizerCustomizerAttribute String ATTRIBUTE Required. Immutable. The customizer attribute which is linked to the
CampaignCustomizerResourceName String ATTRIBUTE Immutable. The resource name of the campaign customizer.
CampaignCustomizerStatus String ATTRIBUTE Output only. The status of the campaign customizer.

The allowed values are ENABLED, REMOVED, UNKNOWN.

CampaignCustomizerValueStringValue String ATTRIBUTE Required. Value to insert in creative text. Customizer values of all types are stored as string to make formatting unambiguous.
CampaignCustomizerValueType String ATTRIBUTE Required. The data type for the customizer value. It must match the attribute type. The string_value content must match the constraints associated with the type.

The allowed values are NUMBER, PERCENT, PRICE, TEXT, UNKNOWN.

CustomerId Long ATTRIBUTE Output only. The ID of the customer.

Pseudo-Columns

Pseudo column fields are used in the WHERE clause of SELECT statements and offer more granular control over the data returned from the data source.

Name Type Description
ManagerId Long Id of the manager account on behalf of which you are requesting customer data.

CData Python Connector for Google Ads

CampaignDraft

A campaign draft.

Columns

Name Type Behavior Description
CampaignDraftBaseCampaign String ATTRIBUTE Immutable. The base campaign to which the draft belongs.
CampaignDraftDraftCampaign String ATTRIBUTE Output only. Resource name of the Campaign that results from overlaying the
CampaignDraftDraftId Long ATTRIBUTE Output only. The ID of the draft.
CampaignDraftHasExperimentRunning Bool ATTRIBUTE Output only. Whether there is an experiment based on this draft currently
CampaignDraftLongRunningOperation String ATTRIBUTE Output only. The resource name of the long-running operation that can be
CampaignDraftName String ATTRIBUTE The name of the campaign draft.
CampaignDraftResourceName String ATTRIBUTE Immutable. The resource name of the campaign draft.
CampaignDraftStatus String ATTRIBUTE Output only. The status of the campaign draft. This field is read-only.

The allowed values are PROMOTED, PROMOTE_FAILED, PROMOTING, PROPOSED, REMOVED, UNKNOWN.

CustomerId Long ATTRIBUTE Output only. The ID of the customer.

Pseudo-Columns

Pseudo column fields are used in the WHERE clause of SELECT statements and offer more granular control over the data returned from the data source.

Name Type Description
ManagerId Long Id of the manager account on behalf of which you are requesting customer data.

CData Python Connector for Google Ads

CampaignGoalConfig

A link between a campaign and a goal enabling campaign-specific optimization.

Columns

Name Type Behavior Description
CampaignGoalConfigCampaign String ATTRIBUTE Immutable. The resource name of the campaign for this link.
CampaignGoalConfigCampaignRetentionSettingsTargetOption String ATTRIBUTE Retention goal optimization mode for this campaign. Defaults to TARGET_ALL. Only customers on the allowlist can set target_option.

The allowed values are TARGET_ALL, TARGET_SPECIFIC, UNKNOWN.

CampaignGoalConfigCampaignRetentionSettingsValueSettingsOverrideAdditionalHighLifetimeValue Double ATTRIBUTE High lifetime value of the lifecycle goal. For example, for customer acquisition goals, high lifetime value is the incremental conversion value for lapsed customers who are of high value. High lifetime value should be greater than value, if set.
CampaignGoalConfigCampaignRetentionSettingsValueSettingsOverrideAdditionalValue Double ATTRIBUTE Value of the lifecycle goal. For example, for retention goals, value is the incremental conversion value for lapsed customers who are not of high value.
CampaignGoalConfigGoal String ATTRIBUTE Immutable. The resource name of the goal this link is attached to.
CampaignGoalConfigGoalType String ATTRIBUTE Output only. The goal type this link is attached to.

The allowed values are CUSTOMER_RETENTION, UNKNOWN.

CampaignGoalConfigResourceName String ATTRIBUTE Immutable. The resource name of the campaign goal config.
CustomerId Long ATTRIBUTE Output only. The ID of the customer.

Pseudo-Columns

Pseudo column fields are used in the WHERE clause of SELECT statements and offer more granular control over the data returned from the data source.

Name Type Description
ManagerId Long Id of the manager account on behalf of which you are requesting customer data.

CData Python Connector for Google Ads

CampaignGroup

A campaign group.

Columns

Name Type Behavior Description
CampaignGroupId Long ATTRIBUTE Output only. The ID of the campaign group.
CampaignGroupName String ATTRIBUTE The name of the campaign group.
CampaignGroupResourceName String ATTRIBUTE Immutable. The resource name of the campaign group.
CampaignGroupStatus String ATTRIBUTE The status of the campaign group.

The allowed values are ENABLED, REMOVED, UNKNOWN.

CustomerId Long ATTRIBUTE Output only. The ID of the customer.
AverageCost Double METRIC The average amount you pay per interaction. This amount is the total cost
Conversions Double METRIC The number of conversions. This only includes conversion actions which
CostPerConversion Double METRIC The cost of ad interactions divided by conversions. This only includes
InteractionRate Double METRIC How often people interact with your ad after it is shown to them.
Interactions Long METRIC The number of interactions.
TrueviewAverageCpv Double METRIC The average amount you pay each time someone views your ad.
AdDestinationType String SEGMENT Ad Destination type.

The allowed values are APP_DEEP_LINK, APP_STORE, LEAD_FORM, LOCATION_LISTING, MAP_DIRECTIONS, MESSAGE, NOT_APPLICABLE, PHONE_CALL, UNKNOWN, UNMODELED_FOR_CONVERSIONS, WEBSITE, YOUTUBE.

Date Date SEGMENT Date to which metrics apply.
Device String SEGMENT Device to which metrics apply.

The allowed values are CONNECTED_TV, DESKTOP, MOBILE, OTHER, TABLET, UNKNOWN.

Hour Int SEGMENT Hour of day as a number between 0 and 23, inclusive.
Month Date SEGMENT Month as represented by the date of the first day of a month. Formatted as
Period String SEGMENT Predefined date range.

The allowed values are TODAY, YESTERDAY, LAST_7_DAYS, LAST_BUSINESS_WEEK, THIS_MONTH, LAST_MONTH, LAST_14_DAYS, LAST_30_DAYS, THIS_WEEK_SUN_TODAY, THIS_WEEK_MON_TODAY, LAST_WEEK_SUN_SAT, LAST_WEEK_MON_SUN.

Quarter Date SEGMENT Quarter as represented by the date of the first day of a quarter.
Week Date SEGMENT Week as defined as Monday through Sunday, and represented by the date of
Year Int SEGMENT Year, formatted as yyyy.

Pseudo-Columns

Pseudo column fields are used in the WHERE clause of SELECT statements and offer more granular control over the data returned from the data source.

Name Type Description
ManagerId Long Id of the manager account on behalf of which you are requesting customer data.

CData Python Connector for Google Ads

CampaignHourlyStatsReport

Campaign-level performance stats by Ad Network and Device. Hourly data is returned with a default date range of the last 7 days not including today.

Columns

Name Type Behavior Description
CustomerId Long ATTRIBUTE Output only. The ID of the customer.
Date Date SEGMENT Date to which metrics apply. yyyy-MM-dd format, for example, 2018-04-17.
ActiveViewCpm Double METRIC Average cost of viewable impressions (active_view_impressions).
ActiveViewCtr Double METRIC Active view measurable clicks divided by active view viewable impressions. This metric is reported only for display network.
ActiveViewImpressions Long METRIC A measurement of how often your ad has become viewable on a Display Network site.
ActiveViewMeasurability Double METRIC The ratio of impressions that could be measured by Active View over the number of served impressions.
ActiveViewMeasurableCostMicros Long METRIC The cost of the impressions you received that were measurable by Active View.
ActiveViewMeasurableImpressions Long METRIC The number of times your ads are appearing on placements in positions where they can be seen.
ActiveViewViewability Double METRIC The percentage of time when your ad appeared on an Active View enabled site (measurable impressions) and was viewable (viewable impressions).
AdNetworkType String SEGMENT Ad network type.

The allowed values are CONTENT, GOOGLE_OWNED_CHANNELS, GOOGLE_TV, MIXED, SEARCH, SEARCH_PARTNERS, UNKNOWN, YOUTUBE.

AverageCost Double METRIC The average amount you pay per interaction. This amount is the total cost of your ads divided by the total number of interactions.
AverageCpc Double METRIC The total cost of all clicks divided by the total number of clicks received.
AverageCpm Double METRIC Average cost-per-thousand impressions (CPM).
CampaignBaseCampaign String ATTRIBUTE Output only. The resource name of the base campaign of a draft or experiment campaign. For base campaigns, this is equal to resource_name. This field is read-only.
ClickType String SEGMENT Click type.

The allowed values are AD_IMAGE, APP_DEEPLINK, BREADCRUMBS, BROADBAND_PLAN, CALLS, CALL_TRACKING, CLICK_ON_ENGAGEMENT_AD, CROSS_NETWORK, GET_DIRECTIONS, HOTEL_BOOK_ON_GOOGLE_ROOM_SELECTION, HOTEL_PRICE, LOCATION_EXPANSION, LOCATION_FORMAT_CALL, LOCATION_FORMAT_DIRECTIONS, LOCATION_FORMAT_IMAGE, LOCATION_FORMAT_LANDING_PAGE, LOCATION_FORMAT_MAP, LOCATION_FORMAT_STORE_INFO, LOCATION_FORMAT_TEXT, MOBILE_CALL_TRACKING, OFFER_PRINTS, OTHER, PRICE_EXTENSION, PRODUCT_AD_APP_DEEPLINK, PRODUCT_EXTENSION_CLICKS, PRODUCT_LISTING_ADS_COUPON, PRODUCT_LISTING_AD_CLICKS, PRODUCT_LISTING_AD_LOCAL, PRODUCT_LISTING_AD_MULTICHANNEL_LOCAL, PRODUCT_LISTING_AD_MULTICHANNEL_ONLINE, PRODUCT_LISTING_AD_TRANSACTABLE, PROMOTION_EXTENSION, SHOPPING_COMPARISON_LISTING, SHOWCASE_AD_CATEGORY_LINK, SHOWCASE_AD_LOCAL_PRODUCT_LINK, SHOWCASE_AD_LOCAL_STOREFRONT_LINK, SHOWCASE_AD_ONLINE_PRODUCT_LINK, SITELINKS, STORE_LOCATOR, SWIPEABLE_GALLERY_AD_HEADLINE, SWIPEABLE_GALLERY_AD_SEE_MORE, SWIPEABLE_GALLERY_AD_SITELINK_FIVE, SWIPEABLE_GALLERY_AD_SITELINK_FOUR, SWIPEABLE_GALLERY_AD_SITELINK_ONE, SWIPEABLE_GALLERY_AD_SITELINK_THREE, SWIPEABLE_GALLERY_AD_SITELINK_TWO, SWIPEABLE_GALLERY_AD_SWIPES, TRAVEL_ASSETS, UNKNOWN, URL_CLICKS, VIDEO_APP_STORE_CLICKS, VIDEO_CALL_TO_ACTION_CLICKS, VIDEO_CARD_ACTION_HEADLINE_CLICKS, VIDEO_END_CAP_CLICKS, VIDEO_WEBSITE_CLICKS, VISUAL_SITELINKS, WIRELESS_PLAN.

Clicks Long METRIC The number of clicks.
Conversions Double METRIC The number of conversions. This only includes conversion actions which include_in_conversions_metric attribute is set to true. If you use conversion-based bidding, your bid strategies will optimize for these conversions.
ConversionsFromInteractionsRate Double METRIC Conversions from interactions divided by the number of ad interactions (such as clicks for text ads or views for video ads). This only includes conversion actions which include_in_conversions_metric attribute is set to true. If you use conversion-based bidding, your bid strategies will optimize for these conversions.
ConversionsValue Double METRIC The value of conversions. This only includes conversion actions which include_in_conversions_metric attribute is set to true. If you use conversion-based bidding, your bid strategies will optimize for these conversions.
CostMicros Long METRIC The sum of your cost-per-click (CPC) and cost-per-thousand impressions (CPM) costs during this period.
CostPerConversion Double METRIC The cost of ad interactions divided by conversions. This only includes conversion actions which include_in_conversions_metric attribute is set to true. If you use conversion-based bidding, your bid strategies will optimize for these conversions.
Ctr Double METRIC The number of clicks your ad receives (Clicks) divided by the number of times your ad is shown (Impressions).
DayOfWeek String SEGMENT Day of the week, for example, MONDAY.

The allowed values are FRIDAY, MONDAY, SATURDAY, SUNDAY, THURSDAY, TUESDAY, UNKNOWN, WEDNESDAY.

Device String SEGMENT Device to which metrics apply.

The allowed values are CONNECTED_TV, DESKTOP, MOBILE, OTHER, TABLET, UNKNOWN.

Hour Int SEGMENT Hour of day as a number between 0 and 23, inclusive.
CampaignId Long ATTRIBUTE Output only. The ID of the campaign.
Impressions Long METRIC Count of how often your ad has appeared on a search results page or website on the Google Network.
InteractionEventTypes String METRIC The types of payable and free interactions.

The allowed values are UNKNOWN, CLICK, ENGAGEMENT, VIDEO_VIEW, NONE.

Interactions Long METRIC The number of interactions. An interaction is the main user action associated with an ad format-clicks for text and shopping ads, views for video ads, and so on.
Month Date SEGMENT Month as represented by the date of the first day of a month. Formatted as yyyy-MM-dd.
MonthOfYear String SEGMENT Month of the year, for example, January.

The allowed values are APRIL, AUGUST, DECEMBER, FEBRUARY, JANUARY, JULY, JUNE, MARCH, MAY, NOVEMBER, OCTOBER, SEPTEMBER, UNKNOWN.

Quarter Date SEGMENT Quarter as represented by the date of the first day of a quarter. Uses the calendar year for quarters, for example, the second quarter of 2018 starts on 2018-04-01. Formatted as yyyy-MM-dd.
ValuePerConversion Double METRIC The value of conversions divided by the number of conversions. This only includes conversion actions which include_in_conversions_metric attribute is set to true. If you use conversion-based bidding, your bid strategies will optimize for these conversions.
Week Date SEGMENT Week as defined as Monday through Sunday, and represented by the date of Monday. Formatted as yyyy-MM-dd.
Year Int SEGMENT Year, formatted as yyyy.

CData Python Connector for Google Ads

CampaignLabel

Represents a relationship between a campaign and a label.

Columns

Name Type Behavior Description
CampaignLabelCampaign String ATTRIBUTE Immutable. The campaign to which the label is attached.
CampaignLabelLabel String ATTRIBUTE Immutable. The label assigned to the campaign.
CampaignLabelResourceName String ATTRIBUTE Immutable. Name of the resource.
CustomerId Long ATTRIBUTE Output only. The ID of the customer.

Pseudo-Columns

Pseudo column fields are used in the WHERE clause of SELECT statements and offer more granular control over the data returned from the data source.

Name Type Description
ManagerId Long Id of the manager account on behalf of which you are requesting customer data.

CData Python Connector for Google Ads

CampaignLifecycleGoal

Campaign level customer lifecycle goal settings.

Columns

Name Type Behavior Description
CampaignLifecycleGoalCampaign String ATTRIBUTE Output only. The campaign where the goal is attached.
CampaignLifecycleGoalCustomerAcquisitionGoalSettingsOptimizationMode String ATTRIBUTE Output only. Customer acquisition optimization mode of this campaign.

The allowed values are BID_HIGHER_FOR_NEW_CUSTOMER, TARGET_ALL_EQUALLY, TARGET_NEW_CUSTOMER, UNKNOWN.

CampaignLifecycleGoalCustomerAcquisitionGoalSettingsValueSettingsHighLifetimeValue Double ATTRIBUTE High lifetime value of the lifecycle goal. For example, for customer acquisition goal, high lifetime value is the incremental conversion value for new customers who are of high value. High lifetime value should be greater than value, if set.
CampaignLifecycleGoalCustomerAcquisitionGoalSettingsValueSettingsValue Double ATTRIBUTE Value of the lifecycle goal. For example, for customer acquisition goal, value is the incremental conversion value for new customers who are not of high value.
CampaignLifecycleGoalResourceName String ATTRIBUTE Immutable. The resource name of the customer lifecycle goal of a campaign.
CustomerId Long ATTRIBUTE Output only. The ID of the customer.

Pseudo-Columns

Pseudo column fields are used in the WHERE clause of SELECT statements and offer more granular control over the data returned from the data source.

Name Type Description
ManagerId Long Id of the manager account on behalf of which you are requesting customer data.

CData Python Connector for Google Ads

CampaignSearchTermInsight

This report provides a high-level view of search demand at the campaign

Columns

Name Type Behavior Description
CampaignSearchTermInsightCampaignId Long ATTRIBUTE Output only. The ID of the campaign.
CampaignSearchTermInsightCategoryLabel String ATTRIBUTE Output only. The label for the search category. An empty string denotes the
CampaignSearchTermInsightId Long ATTRIBUTE Output only. The ID of the insight.
CampaignSearchTermInsightResourceName String ATTRIBUTE Output only. The resource name of the campaign level search term insight.
CustomerId Long ATTRIBUTE Output only. The ID of the customer.
Clicks Long METRIC The number of clicks.
Conversions Double METRIC The number of conversions. This only includes conversion actions which
ConversionsFromInteractionsRate Double METRIC Conversions from interactions divided by the number of ad interactions
ConversionsValue Double METRIC The value of conversions. This only includes conversion actions which
Ctr Double METRIC The number of clicks your ad receives (Clicks) divided by the number
Impressions Long METRIC Count of how often your ad has appeared on a search results page or
SearchVolume String METRIC Search volume range for a search term insight category.
AdGroup String SEGMENT Resource name of the ad group.
AssetGroup String SEGMENT Resource name of the asset group.
Date Date SEGMENT Date to which metrics apply.
Period String SEGMENT Predefined date range.

The allowed values are TODAY, YESTERDAY, LAST_7_DAYS, LAST_BUSINESS_WEEK, THIS_MONTH, LAST_MONTH, LAST_14_DAYS, LAST_30_DAYS, THIS_WEEK_SUN_TODAY, THIS_WEEK_MON_TODAY, LAST_WEEK_SUN_SAT, LAST_WEEK_MON_SUN.

SearchSubcategory String SEGMENT A search term subcategory. An empty string denotes the catch-all
SearchTerm String SEGMENT A search term.

Pseudo-Columns

Pseudo column fields are used in the WHERE clause of SELECT statements and offer more granular control over the data returned from the data source.

Name Type Description
ManagerId Long Id of the manager account on behalf of which you are requesting customer data.

CData Python Connector for Google Ads

CampaignSearchTermView

This report provides granular performance data, including cost metrics, for

Columns

Name Type Behavior Description
AdGroupId Long SEGMENT Output only. The ID of the ad group.
CampaignSearchTermViewCampaign String ATTRIBUTE Output only. The campaign the search term served in.
CampaignSearchTermViewResourceName String ATTRIBUTE Output only. The resource name of the campaign search term view.
CampaignSearchTermViewSearchTerm String ATTRIBUTE Output only. The search term.
CustomerId Long ATTRIBUTE Output only. The ID of the customer.
AbsoluteTopImpressionPercentage Double METRIC Search absolute top impression share is the percentage of your Search ad
AllConversions Double METRIC The total number of conversions. This includes all conversions regardless
AllConversionsFromInteractionsRate Double METRIC All conversions from interactions (as oppose to view through conversions)
AllConversionsFromInteractionsValuePerInteraction Double METRIC The value of all conversions from interactions divided by the total number
AllConversionsValue Double METRIC The value of all conversions.
AllConversionsValuePerCost Double METRIC The value of all conversions divided by the total cost of ad interactions
AverageCost Double METRIC The average amount you pay per interaction. This amount is the total cost
AverageCpc Double METRIC The total cost of all clicks divided by the total number of clicks
AverageCpe Double METRIC The average amount that you've been charged for an ad engagement. This
AverageCpm Double METRIC Average cost-per-thousand impressions (CPM).
Clicks Long METRIC The number of clicks.
Conversions Double METRIC The number of conversions. This only includes conversion actions which
ConversionsFromInteractionsRate Double METRIC Conversions from interactions divided by the number of ad interactions
ConversionsFromInteractionsValuePerInteraction Double METRIC The value of conversions from interactions divided by the number of ad
ConversionsValue Double METRIC The value of conversions. This only includes conversion actions which
ConversionsValuePerCost Double METRIC The value of conversions divided by the cost of ad interactions. This only
CostMicros Long METRIC The sum of your cost-per-click (CPC) and cost-per-thousand impressions
CostPerAllConversions Double METRIC The cost of ad interactions divided by all conversions.
CostPerConversion Double METRIC The cost of ad interactions divided by conversions. This only includes
CrossDeviceConversions Double METRIC Conversions from when a customer clicks on a Google Ads ad on one device,
Ctr Double METRIC The number of clicks your ad receives (Clicks) divided by the number
EngagementRate Double METRIC How often people engage with your ad after it's shown to them. This is the
Engagements Long METRIC The number of engagements.
Impressions Long METRIC Count of how often your ad has appeared on a search results page or
InteractionEventTypes String METRIC The types of payable and free interactions.

The allowed values are CLICK, ENGAGEMENT, NONE, UNKNOWN, VIDEO_VIEW.

InteractionRate Double METRIC How often people interact with your ad after it is shown to them.
Interactions Long METRIC The number of interactions.
TopImpressionPercentage Double METRIC The percent of your ad impressions that are shown adjacent to the top
TrueviewAverageCpv Double METRIC The average amount you pay each time someone views your ad.
ValuePerAllConversions Double METRIC The value of all conversions divided by the number of all conversions.
ValuePerConversion Double METRIC The value of conversions divided by the number of conversions. This only
VideoQuartileP100Rate Double METRIC Percentage of impressions where the viewer watched all of your video.
VideoQuartileP25Rate Double METRIC Percentage of impressions where the viewer watched 25% of your video.
VideoQuartileP50Rate Double METRIC Percentage of impressions where the viewer watched 50% of your video.
VideoQuartileP75Rate Double METRIC Percentage of impressions where the viewer watched 75% of your video.
VideoTrueviewViewRate Double METRIC The number of TrueView views your video ad receives divided by its number
VideoTrueviewViews Long METRIC The number of TrueView views your video ads received.
ViewThroughConversions Long METRIC The total number of view-through conversions.
AdNetworkType String SEGMENT Ad network type.

The allowed values are CONTENT, DISCOVER, GMAIL, GOOGLE_OWNED_CHANNELS, GOOGLE_TV, MAPS, MIXED, SEARCH, SEARCH_PARTNERS, UNKNOWN, YOUTUBE.

AdSubNetworkType String SEGMENT Ad sub network type. Currently only available for ads running as part of

The allowed values are UNKNOWN, UNSEGMENTED, YOUTUBE_INFEED, YOUTUBE_INSTREAM, YOUTUBE_SHORTS.

ConversionAction String SEGMENT Resource name of the conversion action.
ConversionActionCategory String SEGMENT Conversion action category.

The allowed values are ADD_TO_CART, BEGIN_CHECKOUT, BOOK_APPOINTMENT, CONTACT, CONVERTED_LEAD, DEFAULT, DOWNLOAD, ENGAGEMENT, GET_DIRECTIONS, IMPORTED_LEAD, OUTBOUND_CLICK, PAGE_VIEW, PHONE_CALL_LEAD, PURCHASE, QUALIFIED_LEAD, REQUEST_QUOTE, SIGNUP, STORE_SALE, STORE_VISIT, SUBMIT_LEAD_FORM, SUBSCRIBE_PAID, UNKNOWN, YOUTUBE_FOLLOW_ON_VIEWS.

ConversionActionName String SEGMENT Conversion action name.
Date Date SEGMENT Date to which metrics apply.
DayOfWeek String SEGMENT Day of the week, for example, MONDAY.

The allowed values are FRIDAY, MONDAY, SATURDAY, SUNDAY, THURSDAY, TUESDAY, UNKNOWN, WEDNESDAY.

Device String SEGMENT Device to which metrics apply.

The allowed values are CONNECTED_TV, DESKTOP, MOBILE, OTHER, TABLET, UNKNOWN.

ExternalConversionSource String SEGMENT External conversion source.

The allowed values are AD_CALL_METRICS, ANALYTICS, ANALYTICS_SEARCH_ADS_360, ANDROID_FIRST_OPEN, ANDROID_IN_APP, APP_UNSPECIFIED, CLICK_TO_CALL, DISPLAY_AND_VIDEO_360_FLOODLIGHT, FIREBASE, FIREBASE_SEARCH_ADS_360, FLOODLIGHT, GOOGLE_ATTRIBUTION, GOOGLE_HOSTED, GOOGLE_PLAY, IOS_FIRST_OPEN, IOS_IN_APP, SALESFORCE, SEARCH_ADS_360, STORE_SALES, STORE_SALES_CRM, STORE_SALES_DIRECT_UPLOAD, STORE_SALES_PAYMENT_NETWORK, STORE_VISITS, THIRD_PARTY_APP_ANALYTICS, UNKNOWN, UPLOAD, UPLOAD_CALLS, WEBPAGE, WEBSITE_CALL_METRICS.

KeywordAdGroupCriterion String SEGMENT The AdGroupCriterion resource name.
KeywordInfoMatchType String SEGMENT The match type of the keyword.

The allowed values are BROAD, EXACT, PHRASE, UNKNOWN.

KeywordInfoText String SEGMENT The text of the keyword (at most 80 characters and 10 words).
Month Date SEGMENT Month as represented by the date of the first day of a month. Formatted as
MonthOfYear String SEGMENT Month of the year, for example, January.

The allowed values are APRIL, AUGUST, DECEMBER, FEBRUARY, JANUARY, JULY, JUNE, MARCH, MAY, NOVEMBER, OCTOBER, SEPTEMBER, UNKNOWN.

Period String SEGMENT Predefined date range.

The allowed values are TODAY, YESTERDAY, LAST_7_DAYS, LAST_BUSINESS_WEEK, THIS_MONTH, LAST_MONTH, LAST_14_DAYS, LAST_30_DAYS, THIS_WEEK_SUN_TODAY, THIS_WEEK_MON_TODAY, LAST_WEEK_SUN_SAT, LAST_WEEK_MON_SUN.

Quarter Date SEGMENT Quarter as represented by the date of the first day of a quarter.
SearchTermMatchSource String SEGMENT Specifies the source for how the search term was matched, which reveals the

The allowed values are ADVERTISER_PROVIDED_KEYWORD, AI_MAX_BROAD_MATCH, AI_MAX_KEYWORDLESS, DYNAMIC_SEARCH_ADS, PERFORMANCE_MAX, UNKNOWN, VERTICAL_ADS_DATA_FEED.

SearchTermMatchType String SEGMENT Match type of the keyword that triggered the ad. This segment is for use

The allowed values are AI_MAX, BROAD, EXACT, NEAR_EXACT, NEAR_PHRASE, PERFORMANCE_MAX, PHRASE, UNKNOWN.

SearchTermTargetingStatus String SEGMENT Indicates whether the search term is currently one of your targeted or

The allowed values are ADDED, ADDED_EXCLUDED, EXCLUDED, NONE, UNKNOWN.

Week Date SEGMENT Week as defined as Monday through Sunday, and represented by the date of
Year Int SEGMENT Year, formatted as yyyy.

Pseudo-Columns

Pseudo column fields are used in the WHERE clause of SELECT statements and offer more granular control over the data returned from the data source.

Name Type Description
ManagerId Long Id of the manager account on behalf of which you are requesting customer data.

CData Python Connector for Google Ads

CampaignSharedSet

CampaignSharedSets are used for managing the shared sets associated with a

Columns

Name Type Behavior Description
CampaignSharedSetCampaign String ATTRIBUTE Immutable. The campaign to which the campaign shared set belongs.
CampaignSharedSetResourceName String ATTRIBUTE Immutable. The resource name of the campaign shared set.
CampaignSharedSetSharedSet String ATTRIBUTE Immutable. The shared set associated with the campaign. This may be a
CampaignSharedSetStatus String ATTRIBUTE Output only. The status of this campaign shared set. Read only.

The allowed values are ENABLED, REMOVED, UNKNOWN.

CustomerId Long ATTRIBUTE Output only. The ID of the customer.

Pseudo-Columns

Pseudo column fields are used in the WHERE clause of SELECT statements and offer more granular control over the data returned from the data source.

Name Type Description
ManagerId Long Id of the manager account on behalf of which you are requesting customer data.

CData Python Connector for Google Ads

CampaignSimulation

A campaign simulation. Supported combinations of advertising

Columns

Name Type Behavior Description
CampaignSimulationBudgetPointListPoints String ATTRIBUTE Projected metrics for a series of budget amounts.
CampaignSimulationCampaignId Long ATTRIBUTE Output only. Campaign id of the simulation.
CampaignSimulationCpcBidPointListPoints String ATTRIBUTE Projected metrics for a series of CPC bid amounts.
CampaignSimulationEndDate Date ATTRIBUTE Output only. Last day on which the simulation is based, in YYYY-MM-DD
CampaignSimulationModificationMethod String ATTRIBUTE Output only. How the simulation modifies the field.

The allowed values are DEFAULT, SCALING, UNIFORM, UNKNOWN.

CampaignSimulationResourceName String ATTRIBUTE Output only. The resource name of the campaign simulation.
CampaignSimulationStartDate Date ATTRIBUTE Output only. First day on which the simulation is based, in YYYY-MM-DD
CampaignSimulationTargetCpaPointListPoints String ATTRIBUTE Projected metrics for a series of target CPA amounts.
CampaignSimulationTargetImpressionSharePointListPoints String ATTRIBUTE Projected metrics for a specific target impression share value.
CampaignSimulationTargetRoasPointListPoints String ATTRIBUTE Projected metrics for a series of target ROAS amounts.
CampaignSimulationType String ATTRIBUTE Output only. The field that the simulation modifies.

The allowed values are BID_MODIFIER, BUDGET, CPC_BID, CPV_BID, PERCENT_CPC_BID, TARGET_CPA, TARGET_IMPRESSION_SHARE, TARGET_ROAS, UNKNOWN.

CustomerId Long ATTRIBUTE Output only. The ID of the customer.

Pseudo-Columns

Pseudo column fields are used in the WHERE clause of SELECT statements and offer more granular control over the data returned from the data source.

Name Type Description
ManagerId Long Id of the manager account on behalf of which you are requesting customer data.

CData Python Connector for Google Ads

CampaignStatsReport

Campaign-level performance stats by Ad Network and Device. Daily data is returned with a default date range of the last 7 days not including today.

Columns

Name Type Behavior Description
CustomerId Long ATTRIBUTE Output only. The ID of the customer.
Date Date SEGMENT Date to which metrics apply. yyyy-MM-dd format, for example, 2018-04-17.
ActiveViewImpressions Long METRIC A measurement of how often your ad has become viewable on a Display Network site.
ActiveViewMeasurability Double METRIC The ratio of impressions that could be measured by Active View over the number of served impressions.
ActiveViewMeasurableCostMicros Long METRIC The cost of the impressions you received that were measurable by Active View.
ActiveViewMeasurableImpressions Long METRIC The number of times your ads are appearing on placements in positions where they can be seen.
ActiveViewViewability Double METRIC The percentage of time when your ad appeared on an Active View enabled site (measurable impressions) and was viewable (viewable impressions).
AdNetworkType String SEGMENT Ad network type.

The allowed values are CONTENT, GOOGLE_OWNED_CHANNELS, GOOGLE_TV, MIXED, SEARCH, SEARCH_PARTNERS, UNKNOWN, YOUTUBE.

CampaignBaseCampaign String ATTRIBUTE Output only. The resource name of the base campaign of a draft or experiment campaign. For base campaigns, this is equal to resource_name. This field is read-only.
Clicks Long METRIC The number of clicks.
Conversions Double METRIC The number of conversions. This only includes conversion actions which include_in_conversions_metric attribute is set to true. If you use conversion-based bidding, your bid strategies will optimize for these conversions.
ConversionsValue Double METRIC The value of conversions. This only includes conversion actions which include_in_conversions_metric attribute is set to true. If you use conversion-based bidding, your bid strategies will optimize for these conversions.
CostMicros Long METRIC The sum of your cost-per-click (CPC) and cost-per-thousand impressions (CPM) costs during this period.
Device String SEGMENT Device to which metrics apply.

The allowed values are CONNECTED_TV, DESKTOP, MOBILE, OTHER, TABLET, UNKNOWN.

CampaignId Long ATTRIBUTE Output only. The ID of the campaign.
Impressions Long METRIC Count of how often your ad has appeared on a search results page or website on the Google Network.
InteractionEventTypes String METRIC The types of payable and free interactions.

The allowed values are UNKNOWN, CLICK, ENGAGEMENT, VIDEO_VIEW, NONE.

Interactions Long METRIC The number of interactions. An interaction is the main user action associated with an ad format-clicks for text and shopping ads, views for video ads, and so on.
ViewThroughConversions Long METRIC The total number of view-through conversions. These happen when a customer sees an image or rich media ad, then later completes a conversion on your site without interacting with (for example, clicking on) another ad.

CData Python Connector for Google Ads

CarrierConstant

A carrier criterion that can be used in campaign targeting.

Columns

Name Type Behavior Description
CarrierConstantCountryCode String ATTRIBUTE Output only. The country code of the country where the carrier is located,
CarrierConstantId Long ATTRIBUTE Output only. The ID of the carrier criterion.
CarrierConstantName String ATTRIBUTE Output only. The full name of the carrier in English.
CarrierConstantResourceName String ATTRIBUTE Output only. The resource name of the carrier criterion.
CustomerId Long ATTRIBUTE Output only. The ID of the customer.

Pseudo-Columns

Pseudo column fields are used in the WHERE clause of SELECT statements and offer more granular control over the data returned from the data source.

Name Type Description
ManagerId Long Id of the manager account on behalf of which you are requesting customer data.

CData Python Connector for Google Ads

ChangeEvent

Describes the granular change of returned resources of certain resource

View-Specific Information

Select

Google Ads does not allow every column to be selected in a single query, as some data conflicts if selected together. Therefore, when issuing a query that selects all columns, only the default metrics, segments, and attributes are returned. In general, these defaults are the same fields that are exposed through the Ads console. To use the nondefault fields, explicitly select them in your query.

Filters can also be used in the WHERE clause using the following supported operators: =, !=, >, >=, <, <=, LIKE, NOT LIKE, IN, NOT IN . Note that all filters must be joined by AND, as OR is not supported by the Ads API.

The ChangeEvent view has additional API restrictions. When executing the following query:

SELECT * FROM ChangeEvent
the connector automatically applies the following constraints:

  • A filter on the ChangeEventChangeDatetime column restricted to the last 30 days (the maximum allowed range, as data older than 30 days cannot be retrieved through this view).
  • A LIMIT clause capped at 10,000 records (the maximum allowed per request).
Note: These constraints are applied automatically to prevent an API error. You can restrict the results even further by passing smaller filters, such as a shorter date range or a lower LIMIT. For example:
  SELECT ChangeEventCampaign, CustomerId FROM ChangeEvent WHERE ChangeEventChangeDateTime DURING LAST_14_DAYS LIMIT 10

Columns

Name Type Behavior Description
ChangeEventAdGroup String ATTRIBUTE Output only. The AdGroup affected by this change.
ChangeEventAsset String ATTRIBUTE Output only. The Asset affected by this change.
ChangeEventCampaign String ATTRIBUTE Output only. The Campaign affected by this change.
ChangeEventChangeDateTime Datetime ATTRIBUTE Output only. Time at which the change was committed on this resource.
ChangeEventChangeResourceName String ATTRIBUTE Output only. The Simply resource this change occurred on.
ChangeEventChangeResourceType String ATTRIBUTE Output only. The type of the changed resource. This dictates what resource

The allowed values are AD, AD_GROUP, AD_GROUP_AD, AD_GROUP_ASSET, AD_GROUP_BID_MODIFIER, AD_GROUP_CRITERION, AD_GROUP_FEED, ASSET, ASSET_SET, ASSET_SET_ASSET, CAMPAIGN, CAMPAIGN_ASSET, CAMPAIGN_ASSET_SET, CAMPAIGN_BUDGET, CAMPAIGN_CRITERION, CAMPAIGN_FEED, CUSTOMER_ASSET, FEED, FEED_ITEM, UNKNOWN.

ChangeEventChangedFields String ATTRIBUTE Output only. A list of fields that are changed in the returned resource.
ChangeEventClientType String ATTRIBUTE Output only. Where the change was made through.

The allowed values are GOOGLE_ADS_API, GOOGLE_ADS_AUTOMATED_RULE, GOOGLE_ADS_BULK_UPLOAD, GOOGLE_ADS_EDITOR, GOOGLE_ADS_MOBILE_APP, GOOGLE_ADS_RECOMMENDATIONS, GOOGLE_ADS_RECOMMENDATIONS_SUBSCRIPTION, GOOGLE_ADS_SCRIPTS, GOOGLE_ADS_WEB_CLIENT, INTERNAL_TOOL, OTHER, SEARCH_ADS_360_POST, SEARCH_ADS_360_SYNC, UNKNOWN.

ChangeEventNewResource String ATTRIBUTE Output only. The new resource after the change. Only changed fields will be
ChangeEventOldResource String ATTRIBUTE Output only. The old resource before the change. Only changed fields will
ChangeEventResourceChangeOperation String ATTRIBUTE Output only. The operation on the changed resource.

The allowed values are CREATE, REMOVE, UNKNOWN, UPDATE.

ChangeEventResourceName String ATTRIBUTE Output only. The resource name of the change event.
ChangeEventUserEmail String ATTRIBUTE Output only. The email of the user who made this change.
CustomerId Long ATTRIBUTE Output only. The ID of the customer.

Pseudo-Columns

Pseudo column fields are used in the WHERE clause of SELECT statements and offer more granular control over the data returned from the data source.

Name Type Description
ManagerId Long Id of the manager account on behalf of which you are requesting customer data.

CData Python Connector for Google Ads

ChangeStatus

Describes the status of returned resource. ChangeStatus could have up to 3

View-Specific Information

Select

Google Ads does not allow every column to be selected in a single query, as some data conflicts if selected together. Therefore, when issuing a query that selects all columns, only the default metrics, segments, and attributes are returned. In general, these defaults are the same fields that are exposed through the Ads console. To use the nondefault fields, explicitly select them in your query.

Filters can also be used in the WHERE clause using the following supported operators: =, !=, >, >=, <, <=, LIKE, NOT LIKE, IN, NOT IN . Note that all filters must be joined by AND, as OR is not supported by the Ads API.

The ChangeStatus view has additional API restrictions. When executing the following query:

SELECT * FROM ChangeStatus
the connector automatically applies the following constraints:

  • A filter on the ChangeStatusLastChangeDateTime column restricted to the last 90 days (the maximum allowed range, as data older than 90 days cannot be retrieved through this view).
  • A LIMIT clause capped at 10,000 records (the maximum allowed per request).
Note: These constraints are applied automatically to prevent an API error. You can restrict the results even further by passing smaller filters, such as a shorter date range or a lower LIMIT. For example:
  SELECT ChangeStatusCampaign, CustomerId FROM ChangeStatus WHERE ChangeStatusLastChangeDateTime DURING LAST_14_DAYS LIMIT 10

Columns

Name Type Behavior Description
ChangeStatusAdGroup String ATTRIBUTE Output only. The AdGroup affected by this change.
ChangeStatusAdGroupAd String ATTRIBUTE Output only. The AdGroupAd affected by this change.
ChangeStatusAdGroupAsset String ATTRIBUTE Output only. The AdGroupAsset affected by this change.
ChangeStatusAdGroupBidModifier String ATTRIBUTE Output only. The AdGroupBidModifier affected by this change.
ChangeStatusAdGroupCriterion String ATTRIBUTE Output only. The AdGroupCriterion affected by this change.
ChangeStatusAsset String ATTRIBUTE Output only. The Asset affected by this change.
ChangeStatusAssetGroup String ATTRIBUTE Output only. The AssetGroup affected by this change.
ChangeStatusAssetSet String ATTRIBUTE Output only. The AssetSet affected by this change.
ChangeStatusCampaign String ATTRIBUTE Output only. The Campaign affected by this change.
ChangeStatusCampaignAsset String ATTRIBUTE Output only. The CampaignAsset affected by this change.
ChangeStatusCampaignAssetSet String ATTRIBUTE Output only. The CampaignAssetSet affected by this change.
ChangeStatusCampaignBudget String ATTRIBUTE Output only. The CampaignBudget affected by this change.
ChangeStatusCampaignCriterion String ATTRIBUTE Output only. The CampaignCriterion affected by this change.
ChangeStatusCampaignSharedSet String ATTRIBUTE Output only. The CampaignSharedSet affected by this change.
ChangeStatusCombinedAudience String ATTRIBUTE Output only. The CombinedAudience affected by this change.
ChangeStatusCustomerAsset String ATTRIBUTE Output only. The CustomerAsset affected by this change.
ChangeStatusLastChangeDateTime Datetime ATTRIBUTE Output only. Time at which the most recent change has occurred on this
ChangeStatusResourceName String ATTRIBUTE Output only. The resource name of the change status.
ChangeStatusResourceStatus String ATTRIBUTE Output only. Represents the status of the changed resource.

The allowed values are ADDED, CHANGED, REMOVED, UNKNOWN.

ChangeStatusResourceType String ATTRIBUTE Output only. Represents the type of the changed resource. This dictates

The allowed values are AD_GROUP, AD_GROUP_AD, AD_GROUP_ASSET, AD_GROUP_BID_MODIFIER, AD_GROUP_CRITERION, AD_GROUP_FEED, ASSET, ASSET_GROUP, ASSET_SET, CAMPAIGN, CAMPAIGN_ASSET, CAMPAIGN_ASSET_SET, CAMPAIGN_BUDGET, CAMPAIGN_CRITERION, CAMPAIGN_FEED, CAMPAIGN_SHARED_SET, COMBINED_AUDIENCE, CUSTOMER_ASSET, FEED, FEED_ITEM, SHARED_SET, UNKNOWN.

ChangeStatusSharedSet String ATTRIBUTE Output only. The SharedSet affected by this change.
CustomerId Long ATTRIBUTE Output only. The ID of the customer.

Pseudo-Columns

Pseudo column fields are used in the WHERE clause of SELECT statements and offer more granular control over the data returned from the data source.

Name Type Description
ManagerId Long Id of the manager account on behalf of which you are requesting customer data.

CData Python Connector for Google Ads

ChannelAggregateAssetView

A channel-level aggregate asset view that shows where the asset is linked,

Columns

Name Type Behavior Description
AssetDynamicCustomAsset String SEGMENT Required. ID which can be any sequence of letters and digits, and must be unique and match the values of remarketing tag, for example, sedan. Required.
ChannelAggregateAssetViewAdvertisingChannelType String ATTRIBUTE Output only. Channel in which the asset served.

The allowed values are DEMAND_GEN, DISPLAY, HOTEL, LOCAL, LOCAL_SERVICES, MULTI_CHANNEL, PERFORMANCE_MAX, SEARCH, SHOPPING, SMART, TRAVEL, UNKNOWN, VIDEO.

ChannelAggregateAssetViewAsset String ATTRIBUTE Output only. The ID of the asset.
ChannelAggregateAssetViewAssetSource String ATTRIBUTE Output only. Source of the asset link.

The allowed values are ADVERTISER, AUTOMATICALLY_CREATED, UNKNOWN.

ChannelAggregateAssetViewFieldType String ATTRIBUTE Output only. FieldType of the asset.

The allowed values are AD_IMAGE, BOOK_ON_GOOGLE, BUSINESS_LOGO, BUSINESS_MESSAGE, BUSINESS_NAME, CALL, CALLOUT, CALL_TO_ACTION, CALL_TO_ACTION_SELECTION, DEMAND_GEN_CAROUSEL_CARD, DESCRIPTION, HEADLINE, HOTEL_CALLOUT, HOTEL_PROPERTY, LANDING_PAGE_PREVIEW, LANDSCAPE_LOGO, LEAD_FORM, LOGO, LONG_DESCRIPTION, LONG_HEADLINE, MANDATORY_AD_TEXT, MARKETING_IMAGE, MEDIA_BUNDLE, MOBILE_APP, PORTRAIT_MARKETING_IMAGE, PRICE, PROMOTION, RELATED_YOUTUBE_VIDEOS, SITELINK, SQUARE_MARKETING_IMAGE, STRUCTURED_SNIPPET, TALL_PORTRAIT_MARKETING_IMAGE, UNKNOWN, VIDEO, YOUTUBE_VIDEO.

ChannelAggregateAssetViewResourceName String ATTRIBUTE Output only. The resource name of the channel aggregate asset view.
CustomerId Long ATTRIBUTE Output only. The ID of the customer.
AllConversions Double METRIC The total number of conversions. This includes all conversions regardless
AllConversionsFromInteractionsRate Double METRIC All conversions from interactions (as oppose to view through conversions)
AllConversionsFromInteractionsValuePerInteraction Double METRIC The value of all conversions from interactions divided by the total number
AllConversionsValue Double METRIC The value of all conversions.
AllConversionsValuePerCost Double METRIC The value of all conversions divided by the total cost of ad interactions
AssetPinnedAsDescriptionPositionOneCount Long METRIC Number of entities in which the asset is pinned to description 1.
AssetPinnedAsDescriptionPositionTwoCount Long METRIC Number of entities in which the asset is pinned to description 2.
AssetPinnedAsHeadlinePositionOneCount Long METRIC Number of entities in which the asset is pinned to headline 1.
AssetPinnedAsHeadlinePositionThreeCount Long METRIC Number of entities in which the asset is pinned to headline 3.
AssetPinnedAsHeadlinePositionTwoCount Long METRIC Number of entities in which the asset is pinned to headline 2.
AssetPinnedTotalCount Long METRIC Number of total usages in which the asset is pinned.
AverageCost Double METRIC The average amount you pay per interaction. This amount is the total cost
AverageCpc Double METRIC The total cost of all clicks divided by the total number of clicks
Clicks Long METRIC The number of clicks.
Conversions Double METRIC The number of conversions. This only includes conversion actions which
ConversionsFromInteractionsRate Double METRIC Conversions from interactions divided by the number of ad interactions
ConversionsFromInteractionsValuePerInteraction Double METRIC The value of conversions from interactions divided by the number of ad
ConversionsValue Double METRIC The value of conversions. This only includes conversion actions which
ConversionsValuePerCost Double METRIC The value of conversions divided by the cost of ad interactions. This only
CostMicros Long METRIC The sum of your cost-per-click (CPC) and cost-per-thousand impressions
CostPerAllConversions Double METRIC The cost of ad interactions divided by all conversions.
CostPerConversion Double METRIC The cost of ad interactions divided by conversions. This only includes
CrossDeviceConversions Double METRIC Conversions from when a customer clicks on a Google Ads ad on one device,
CrossDeviceConversionsValue Double METRIC The sum of the value of cross-device conversions.
Ctr Double METRIC The number of clicks your ad receives (Clicks) divided by the number
EngagementRate Double METRIC How often people engage with your ad after it's shown to them. This is the
Engagements Long METRIC The number of engagements.
Impressions Long METRIC Count of how often your ad has appeared on a search results page or
InteractionRate Double METRIC How often people interact with your ad after it is shown to them.
Interactions Long METRIC The number of interactions.
LinkedEntitiesCount Long METRIC Number of linked resources in which the asset is used.
LinkedSampleEntities String METRIC A list of up to 20 sample linked resources in which the asset is used.
ValuePerAllConversions Double METRIC The value of all conversions divided by the number of all conversions.
ValuePerConversion Double METRIC The value of conversions divided by the number of conversions. This only
ViewThroughConversions Long METRIC The total number of view-through conversions.
Date Date SEGMENT Date to which metrics apply.
DayOfWeek String SEGMENT Day of the week, for example, MONDAY.

The allowed values are FRIDAY, MONDAY, SATURDAY, SUNDAY, THURSDAY, TUESDAY, UNKNOWN, WEDNESDAY.

Month Date SEGMENT Month as represented by the date of the first day of a month. Formatted as
Period String SEGMENT Predefined date range.

The allowed values are TODAY, YESTERDAY, LAST_7_DAYS, LAST_BUSINESS_WEEK, THIS_MONTH, LAST_MONTH, LAST_14_DAYS, LAST_30_DAYS, THIS_WEEK_SUN_TODAY, THIS_WEEK_MON_TODAY, LAST_WEEK_SUN_SAT, LAST_WEEK_MON_SUN.

Quarter Date SEGMENT Quarter as represented by the date of the first day of a quarter.
Week Date SEGMENT Week as defined as Monday through Sunday, and represented by the date of
Year Int SEGMENT Year, formatted as yyyy.

Pseudo-Columns

Pseudo column fields are used in the WHERE clause of SELECT statements and offer more granular control over the data returned from the data source.

Name Type Description
ManagerId Long Id of the manager account on behalf of which you are requesting customer data.

CData Python Connector for Google Ads

ClickView

A click view with metrics aggregated at each click level, including both

View-Specific Information

Select

Google Ads does not allow every column to be selected in a single query, as some data conflicts if selected together. Therefore, when issuing a query that selects all columns, only the default metrics, segments, and attributes are returned. In general, these defaults are the same fields that are exposed through the Ads console. To use the nondefault fields, explicitly select them in your query.

Filters can also be used in the WHERE clause using the following supported operators: =, !=, >, >=, <, <=, LIKE, NOT LIKE, IN, NOT IN . Note that all filters must be joined by AND, as OR is not supported by the Ads API.

In addition, queries against the ClickView view must include a filter on the Date column, limiting results to a single day.

SELECT * FROM ClickView WHERE Date DURING Yesterday
Note: Data can be requested for dates up to 90 days prior to the request. If no date filter is provided, the connector defaults to today's date to ensure the query complies with API requirements and avoids errors.

Columns

Name Type Behavior Description
AdGroupId Long SEGMENT Output only. The ID of the ad group.
CampaignId Long SEGMENT Output only. The ID of the campaign.
ClickViewAdGroupAd String ATTRIBUTE Output only. The associated ad.
ClickViewAreaOfInterestCity String ATTRIBUTE The city location criterion associated with the impression.
ClickViewAreaOfInterestCountry String ATTRIBUTE The country location criterion associated with the impression.
ClickViewAreaOfInterestMetro String ATTRIBUTE The metro location criterion associated with the impression.
ClickViewAreaOfInterestMostSpecific String ATTRIBUTE The most specific location criterion associated with the impression.
ClickViewAreaOfInterestRegion String ATTRIBUTE The region location criterion associated with the impression.
ClickViewCampaignLocationTarget String ATTRIBUTE Output only. The associated campaign location target, if one exists.
ClickViewGclid String ATTRIBUTE Output only. The Google Click ID.
ClickViewKeyword String ATTRIBUTE Output only. The associated keyword, if one exists and the click
ClickViewKeywordInfoMatchType String ATTRIBUTE The match type of the keyword.

The allowed values are BROAD, EXACT, PHRASE, UNKNOWN.

ClickViewKeywordInfoText String ATTRIBUTE The text of the keyword (at most 80 characters and 10 words).
ClickViewLocationOfPresenceCity String ATTRIBUTE The city location criterion associated with the impression.
ClickViewLocationOfPresenceCountry String ATTRIBUTE The country location criterion associated with the impression.
ClickViewLocationOfPresenceMetro String ATTRIBUTE The metro location criterion associated with the impression.
ClickViewLocationOfPresenceMostSpecific String ATTRIBUTE The most specific location criterion associated with the impression.
ClickViewLocationOfPresenceRegion String ATTRIBUTE The region location criterion associated with the impression.
ClickViewPageNumber Long ATTRIBUTE Output only. Page number in search results where the ad was shown.
ClickViewResourceName String ATTRIBUTE Output only. The resource name of the click view.
ClickViewUserList String ATTRIBUTE Output only. The associated user list, if one exists.
CustomerId Long ATTRIBUTE Output only. The ID of the customer.
Clicks Long METRIC The number of clicks.
AdNetworkType String SEGMENT Ad network type.

The allowed values are CONTENT, DISCOVER, GMAIL, GOOGLE_OWNED_CHANNELS, GOOGLE_TV, MAPS, MIXED, SEARCH, SEARCH_PARTNERS, UNKNOWN, YOUTUBE.

AdSubNetworkType String SEGMENT Ad sub network type. Currently only available for ads running as part of

The allowed values are UNKNOWN, UNSEGMENTED, YOUTUBE_INFEED, YOUTUBE_INSTREAM, YOUTUBE_SHORTS.

ClickType String SEGMENT Click type.

The allowed values are AD_IMAGE, APP_DEEPLINK, BREADCRUMBS, BROADBAND_PLAN, CALLS, CALL_TRACKING, CLICK_ON_ENGAGEMENT_AD, CLICK_TO_MESSAGE_LANDING_PAGE_CLICK, CLICK_TO_MESSAGE_THIRD_PARTY_CLICK, CROSS_NETWORK, GET_DIRECTIONS, HOTEL_BOOK_ON_GOOGLE_ROOM_SELECTION, HOTEL_PRICE, LOCATION_EXPANSION, LOCATION_FORMAT_CALL, LOCATION_FORMAT_DIRECTIONS, LOCATION_FORMAT_IMAGE, LOCATION_FORMAT_LANDING_PAGE, LOCATION_FORMAT_MAP, LOCATION_FORMAT_STORE_INFO, LOCATION_FORMAT_TEXT, MOBILE_CALL_TRACKING, OFFER_PRINTS, OTHER, PRICE_EXTENSION, PRODUCT_AD_APP_DEEPLINK, PRODUCT_ASSETS, PRODUCT_EXTENSION_CLICKS, PRODUCT_LISTING_ADS_COUPON, PRODUCT_LISTING_AD_CLICKS, PRODUCT_LISTING_AD_LOCAL, PRODUCT_LISTING_AD_MULTICHANNEL_LOCAL, PRODUCT_LISTING_AD_MULTICHANNEL_ONLINE, PRODUCT_LISTING_AD_TRANSACTABLE, PROMOTION_EXTENSION, SHOPPING_COMPARISON_LISTING, SHOWCASE_AD_CATEGORY_LINK, SHOWCASE_AD_LOCAL_PRODUCT_LINK, SHOWCASE_AD_LOCAL_STOREFRONT_LINK, SHOWCASE_AD_ONLINE_PRODUCT_LINK, SITELINKS, STORE_LOCATOR, SWIPEABLE_GALLERY_AD_HEADLINE, SWIPEABLE_GALLERY_AD_SEE_MORE, SWIPEABLE_GALLERY_AD_SITELINK_FIVE, SWIPEABLE_GALLERY_AD_SITELINK_FOUR, SWIPEABLE_GALLERY_AD_SITELINK_ONE, SWIPEABLE_GALLERY_AD_SITELINK_THREE, SWIPEABLE_GALLERY_AD_SITELINK_TWO, SWIPEABLE_GALLERY_AD_SWIPES, TRAVEL_ASSETS, UNKNOWN, URL_CLICKS, VEHICLE_ASSETS, VIDEO_APP_STORE_CLICKS, VIDEO_CALL_TO_ACTION_CLICKS, VIDEO_CARD_ACTION_HEADLINE_CLICKS, VIDEO_CHANNEL_CLICK, VIDEO_END_CAP_CLICKS, VIDEO_RELATED_VIDEOS_CLICK, VIDEO_WEBSITE_CLICKS, VISUAL_SITELINKS, WIRELESS_PLAN.

Date Date SEGMENT Date to which metrics apply.
Device String SEGMENT Device to which metrics apply.

The allowed values are CONNECTED_TV, DESKTOP, MOBILE, OTHER, TABLET, UNKNOWN.

MonthOfYear String SEGMENT Month of the year, for example, January.

The allowed values are APRIL, AUGUST, DECEMBER, FEBRUARY, JANUARY, JULY, JUNE, MARCH, MAY, NOVEMBER, OCTOBER, SEPTEMBER, UNKNOWN.

Period String SEGMENT Predefined date range.

The allowed values are TODAY, YESTERDAY, LAST_7_DAYS, LAST_BUSINESS_WEEK, THIS_MONTH, LAST_MONTH, LAST_14_DAYS, LAST_30_DAYS, THIS_WEEK_SUN_TODAY, THIS_WEEK_MON_TODAY, LAST_WEEK_SUN_SAT, LAST_WEEK_MON_SUN.

Slot String SEGMENT Position of the ad.

The allowed values are CONTENT, MIXED, SEARCH_OTHER, SEARCH_PARTNER_OTHER, SEARCH_PARTNER_TOP, SEARCH_SIDE, SEARCH_TOP, UNKNOWN.

Pseudo-Columns

Pseudo column fields are used in the WHERE clause of SELECT statements and offer more granular control over the data returned from the data source.

Name Type Description
ManagerId Long Id of the manager account on behalf of which you are requesting customer data.

CData Python Connector for Google Ads

ClickViewFilteredReport

A click view with metrics aggregated at each click level, including both valid and invalid clicks. For non-Search campaigns, metrics.clicks represents the number of valid and invalid interactions. Queries including ClickView must have a filter limiting the results to one day and can be requested for dates back to 90 days before the time of the request.

Columns

Name Type Behavior Description
ClickViewAdGroupAd String ATTRIBUTE Output only. The associated ad.
ClickViewAreaOfInterestCity String ATTRIBUTE The city location criterion associated with the impression.
ClickViewAreaOfInterestCountry String ATTRIBUTE The conuntry location criterion associated with the impression.
ClickViewAreaOfInterestMetro String ATTRIBUTE The metro location criterion associated with the impression.
ClickViewAreaOfInterestMostSpecific String ATTRIBUTE The most specific location criterion associated with the impression.
ClickViewAreaOfInterestRegion String ATTRIBUTE The region location criterion associated with the impression.
ClickViewCampaignLocationTarget String ATTRIBUTE Output only. The associated campaign location target, if one exists.
ClickViewGclid String ATTRIBUTE Output only. The Google Click ID.
ClickViewKeyword String ATTRIBUTE Output only. The associated keyword, if one exists and the click corresponds to the SEARCH channel.
ClickViewKeywordInfoMatchType String ATTRIBUTE The match type of the keyword.

The allowed values are BROAD, EXACT, PHRASE, UNKNOWN.

ClickViewKeywordInfoText String ATTRIBUTE The text of the keyword (at most 80 characters and 10 words).
ClickViewLocationOfPresenceCity String ATTRIBUTE The city location criterion associated with the impression.
ClickViewLocationOfPresenceCountry String ATTRIBUTE The country location criterion associated with the impression.
ClickViewLocationOfPresenceMetro String ATTRIBUTE The metro location criterion associated with the impression.
ClickViewLocationOfPresenceMostSpecific String ATTRIBUTE The most specific location criterion associated with the impression.
ClickViewLocationOfPresenceRegion String ATTRIBUTE The region location criterion associated with the impression.
ClickViewPageNumber Long ATTRIBUTE Output only. Page number in search results where the ad was shown.
ClickViewResourceName String ATTRIBUTE Output only. The resource name of the click view. Click view resource names have the form: customers/{customer_id}/clickViews/{date (yyyy-MM-dd)}~{gclid}
ClickViewUserList String ATTRIBUTE Output only. The associated user list, if one exists.
CustomerId Long ATTRIBUTE Output only. The ID of the customer.
Clicks Long METRIC The number of clicks.
AdNetworkType String SEGMENT Ad network type.

The allowed values are CONTENT, GOOGLE_OWNED_CHANNELS, GOOGLE_TV, MIXED, SEARCH, SEARCH_PARTNERS, UNKNOWN, YOUTUBE.

ClickType String SEGMENT Click type.

The allowed values are AD_IMAGE, APP_DEEPLINK, BREADCRUMBS, BROADBAND_PLAN, CALLS, CALL_TRACKING, CLICK_ON_ENGAGEMENT_AD, CROSS_NETWORK, GET_DIRECTIONS, HOTEL_BOOK_ON_GOOGLE_ROOM_SELECTION, HOTEL_PRICE, LOCATION_EXPANSION, LOCATION_FORMAT_CALL, LOCATION_FORMAT_DIRECTIONS, LOCATION_FORMAT_IMAGE, LOCATION_FORMAT_LANDING_PAGE, LOCATION_FORMAT_MAP, LOCATION_FORMAT_STORE_INFO, LOCATION_FORMAT_TEXT, MOBILE_CALL_TRACKING, OFFER_PRINTS, OTHER, PRICE_EXTENSION, PRODUCT_AD_APP_DEEPLINK, PRODUCT_EXTENSION_CLICKS, PRODUCT_LISTING_ADS_COUPON, PRODUCT_LISTING_AD_CLICKS, PRODUCT_LISTING_AD_LOCAL, PRODUCT_LISTING_AD_MULTICHANNEL_LOCAL, PRODUCT_LISTING_AD_MULTICHANNEL_ONLINE, PRODUCT_LISTING_AD_TRANSACTABLE, PROMOTION_EXTENSION, SHOPPING_COMPARISON_LISTING, SHOWCASE_AD_CATEGORY_LINK, SHOWCASE_AD_LOCAL_PRODUCT_LINK, SHOWCASE_AD_LOCAL_STOREFRONT_LINK, SHOWCASE_AD_ONLINE_PRODUCT_LINK, SITELINKS, STORE_LOCATOR, SWIPEABLE_GALLERY_AD_HEADLINE, SWIPEABLE_GALLERY_AD_SEE_MORE, SWIPEABLE_GALLERY_AD_SITELINK_FIVE, SWIPEABLE_GALLERY_AD_SITELINK_FOUR, SWIPEABLE_GALLERY_AD_SITELINK_ONE, SWIPEABLE_GALLERY_AD_SITELINK_THREE, SWIPEABLE_GALLERY_AD_SITELINK_TWO, SWIPEABLE_GALLERY_AD_SWIPES, TRAVEL_ASSETS, UNKNOWN, URL_CLICKS, VIDEO_APP_STORE_CLICKS, VIDEO_CALL_TO_ACTION_CLICKS, VIDEO_CARD_ACTION_HEADLINE_CLICKS, VIDEO_END_CAP_CLICKS, VIDEO_WEBSITE_CLICKS, VISUAL_SITELINKS, WIRELESS_PLAN.

Date Date SEGMENT Date to which metrics apply. yyyy-MM-dd format, for example, 2018-04-17.
Device String SEGMENT Device to which metrics apply.

The allowed values are CONNECTED_TV, DESKTOP, MOBILE, OTHER, TABLET, UNKNOWN.

MonthOfYear String SEGMENT Month of the year, for example, January.

The allowed values are APRIL, AUGUST, DECEMBER, FEBRUARY, JANUARY, JULY, JUNE, MARCH, MAY, NOVEMBER, OCTOBER, SEPTEMBER, UNKNOWN.

Period String SEGMENT Predefined date range.

The allowed values are TODAY, YESTERDAY, LAST_7_DAYS, LAST_BUSINESS_WEEK, THIS_MONTH, LAST_MONTH, LAST_14_DAYS, LAST_30_DAYS, THIS_WEEK_SUN_TODAY, THIS_WEEK_MON_TODAY, LAST_WEEK_SUN_SAT, LAST_WEEK_MON_SUN.

Slot String SEGMENT Position of the ad.

The allowed values are CONTENT, MIXED, SEARCH_OTHER, SEARCH_PARTNER_OTHER, SEARCH_PARTNER_TOP, SEARCH_SIDE, SEARCH_TOP, UNKNOWN.

Pseudo-Columns

Pseudo column fields are used in the WHERE clause of SELECT statements and offer more granular control over the data returned from the data source.

Name Type Description
ManagerId Long Id of the manager account on behalf of which you are requesting customer data.

CData Python Connector for Google Ads

CombinedAudience

Describe a resource for combined audiences which includes different

Columns

Name Type Behavior Description
CombinedAudienceDescription String ATTRIBUTE Output only. Description of this combined audience.
CombinedAudienceId Long ATTRIBUTE Output only. ID of the combined audience.
CombinedAudienceName String ATTRIBUTE Output only. Name of the combined audience. It should be unique across all
CombinedAudienceResourceName String ATTRIBUTE Immutable. The resource name of the combined audience.
CombinedAudienceStatus String ATTRIBUTE Output only. Status of this combined audience. Indicates whether the

The allowed values are ENABLED, REMOVED, UNKNOWN.

CustomerId Long ATTRIBUTE Output only. The ID of the customer.

Pseudo-Columns

Pseudo column fields are used in the WHERE clause of SELECT statements and offer more granular control over the data returned from the data source.

Name Type Description
ManagerId Long Id of the manager account on behalf of which you are requesting customer data.

CData Python Connector for Google Ads

ContentCriterionView

A content criterion view.

Columns

Name Type Behavior Description
BiddingStrategyId Long SEGMENT Output only. The ID of the bidding strategy.
ContentCriterionViewResourceName String ATTRIBUTE Output only. The resource name of the content criterion view.
CustomerId Long ATTRIBUTE Output only. The ID of the customer.
ActiveViewCpm Double METRIC Average cost of viewable impressions (active_view_impressions).
ActiveViewCtr Double METRIC Active view measurable clicks divided by active view viewable impressions.
ActiveViewImpressions Long METRIC A measurement of how often your ad has become viewable on a Display
ActiveViewMeasurability Double METRIC The ratio of impressions that could be measured by Active View over the
ActiveViewMeasurableCostMicros Long METRIC The cost of the impressions you received that were measurable by Active
ActiveViewMeasurableImpressions Long METRIC The number of times your ads are appearing on placements in positions
ActiveViewViewability Double METRIC The percentage of time when your ad appeared on an Active View enabled site
AllConversions Double METRIC The total number of conversions. This includes all conversions regardless
AllConversionsFromInteractionsRate Double METRIC All conversions from interactions (as oppose to view through conversions)
AllConversionsFromInteractionsValuePerInteraction Double METRIC The value of all conversions from interactions divided by the total number
AllConversionsValue Double METRIC The value of all conversions.
AllConversionsValuePerCost Double METRIC The value of all conversions divided by the total cost of ad interactions
AverageCost Double METRIC The average amount you pay per interaction. This amount is the total cost
AverageCpc Double METRIC The total cost of all clicks divided by the total number of clicks
AverageCpe Double METRIC The average amount that you've been charged for an ad engagement. This
AverageCpm Double METRIC Average cost-per-thousand impressions (CPM).
Clicks Long METRIC The number of clicks.
Conversions Double METRIC The number of conversions. This only includes conversion actions which
ConversionsFromInteractionsRate Double METRIC Conversions from interactions divided by the number of ad interactions
ConversionsValue Double METRIC The value of conversions. This only includes conversion actions which
CostMicros Long METRIC The sum of your cost-per-click (CPC) and cost-per-thousand impressions
CostPerAllConversions Double METRIC The cost of ad interactions divided by all conversions.
CostPerConversion Double METRIC The cost of ad interactions divided by conversions. This only includes
CrossDeviceConversions Double METRIC Conversions from when a customer clicks on a Google Ads ad on one device,
Ctr Double METRIC The number of clicks your ad receives (Clicks) divided by the number
EngagementRate Double METRIC How often people engage with your ad after it's shown to them. This is the
Engagements Long METRIC The number of engagements.
GmailForwards Long METRIC The number of times the ad was forwarded to someone else as a message.
GmailSaves Long METRIC The number of times someone has saved your Gmail ad to their inbox as a
GmailSecondaryClicks Long METRIC The number of clicks to the landing page on the expanded state of Gmail
Impressions Long METRIC Count of how often your ad has appeared on a search results page or
InteractionEventTypes String METRIC The types of payable and free interactions.

The allowed values are CLICK, ENGAGEMENT, NONE, UNKNOWN, VIDEO_VIEW.

InteractionRate Double METRIC How often people interact with your ad after it is shown to them.
Interactions Long METRIC The number of interactions.
TrueviewAverageCpv Double METRIC The average amount you pay each time someone views your ad.
ValuePerAllConversions Double METRIC The value of all conversions divided by the number of all conversions.
ValuePerConversion Double METRIC The value of conversions divided by the number of conversions. This only
VideoQuartileP100Rate Double METRIC Percentage of impressions where the viewer watched all of your video.
VideoQuartileP25Rate Double METRIC Percentage of impressions where the viewer watched 25% of your video.
VideoQuartileP50Rate Double METRIC Percentage of impressions where the viewer watched 50% of your video.
VideoQuartileP75Rate Double METRIC Percentage of impressions where the viewer watched 75% of your video.
VideoTrueviewViewRate Double METRIC The number of TrueView views your video ad receives divided by its number
VideoTrueviewViews Long METRIC The number of TrueView views your video ads received.
ViewThroughConversions Long METRIC The total number of view-through conversions.
AdNetworkType String SEGMENT Ad network type.

The allowed values are CONTENT, DISCOVER, GMAIL, GOOGLE_OWNED_CHANNELS, GOOGLE_TV, MAPS, MIXED, SEARCH, SEARCH_PARTNERS, UNKNOWN, YOUTUBE.

AdSubNetworkType String SEGMENT Ad sub network type. Currently only available for ads running as part of

The allowed values are UNKNOWN, UNSEGMENTED, YOUTUBE_INFEED, YOUTUBE_INSTREAM, YOUTUBE_SHORTS.

ClickType String SEGMENT Click type.

The allowed values are AD_IMAGE, APP_DEEPLINK, BREADCRUMBS, BROADBAND_PLAN, CALLS, CALL_TRACKING, CLICK_ON_ENGAGEMENT_AD, CLICK_TO_MESSAGE_LANDING_PAGE_CLICK, CLICK_TO_MESSAGE_THIRD_PARTY_CLICK, CROSS_NETWORK, GET_DIRECTIONS, HOTEL_BOOK_ON_GOOGLE_ROOM_SELECTION, HOTEL_PRICE, LOCATION_EXPANSION, LOCATION_FORMAT_CALL, LOCATION_FORMAT_DIRECTIONS, LOCATION_FORMAT_IMAGE, LOCATION_FORMAT_LANDING_PAGE, LOCATION_FORMAT_MAP, LOCATION_FORMAT_STORE_INFO, LOCATION_FORMAT_TEXT, MOBILE_CALL_TRACKING, OFFER_PRINTS, OTHER, PRICE_EXTENSION, PRODUCT_AD_APP_DEEPLINK, PRODUCT_ASSETS, PRODUCT_EXTENSION_CLICKS, PRODUCT_LISTING_ADS_COUPON, PRODUCT_LISTING_AD_CLICKS, PRODUCT_LISTING_AD_LOCAL, PRODUCT_LISTING_AD_MULTICHANNEL_LOCAL, PRODUCT_LISTING_AD_MULTICHANNEL_ONLINE, PRODUCT_LISTING_AD_TRANSACTABLE, PROMOTION_EXTENSION, SHOPPING_COMPARISON_LISTING, SHOWCASE_AD_CATEGORY_LINK, SHOWCASE_AD_LOCAL_PRODUCT_LINK, SHOWCASE_AD_LOCAL_STOREFRONT_LINK, SHOWCASE_AD_ONLINE_PRODUCT_LINK, SITELINKS, STORE_LOCATOR, SWIPEABLE_GALLERY_AD_HEADLINE, SWIPEABLE_GALLERY_AD_SEE_MORE, SWIPEABLE_GALLERY_AD_SITELINK_FIVE, SWIPEABLE_GALLERY_AD_SITELINK_FOUR, SWIPEABLE_GALLERY_AD_SITELINK_ONE, SWIPEABLE_GALLERY_AD_SITELINK_THREE, SWIPEABLE_GALLERY_AD_SITELINK_TWO, SWIPEABLE_GALLERY_AD_SWIPES, TRAVEL_ASSETS, UNKNOWN, URL_CLICKS, VEHICLE_ASSETS, VIDEO_APP_STORE_CLICKS, VIDEO_CALL_TO_ACTION_CLICKS, VIDEO_CARD_ACTION_HEADLINE_CLICKS, VIDEO_CHANNEL_CLICK, VIDEO_END_CAP_CLICKS, VIDEO_RELATED_VIDEOS_CLICK, VIDEO_WEBSITE_CLICKS, VISUAL_SITELINKS, WIRELESS_PLAN.

ConversionAction String SEGMENT Resource name of the conversion action.
ConversionActionCategory String SEGMENT Conversion action category.

The allowed values are ADD_TO_CART, BEGIN_CHECKOUT, BOOK_APPOINTMENT, CONTACT, CONVERTED_LEAD, DEFAULT, DOWNLOAD, ENGAGEMENT, GET_DIRECTIONS, IMPORTED_LEAD, OUTBOUND_CLICK, PAGE_VIEW, PHONE_CALL_LEAD, PURCHASE, QUALIFIED_LEAD, REQUEST_QUOTE, SIGNUP, STORE_SALE, STORE_VISIT, SUBMIT_LEAD_FORM, SUBSCRIBE_PAID, UNKNOWN, YOUTUBE_FOLLOW_ON_VIEWS.

ConversionActionName String SEGMENT Conversion action name.
Date Date SEGMENT Date to which metrics apply.
DayOfWeek String SEGMENT Day of the week, for example, MONDAY.

The allowed values are FRIDAY, MONDAY, SATURDAY, SUNDAY, THURSDAY, TUESDAY, UNKNOWN, WEDNESDAY.

Device String SEGMENT Device to which metrics apply.

The allowed values are CONNECTED_TV, DESKTOP, MOBILE, OTHER, TABLET, UNKNOWN.

ExternalConversionSource String SEGMENT External conversion source.

The allowed values are AD_CALL_METRICS, ANALYTICS, ANALYTICS_SEARCH_ADS_360, ANDROID_FIRST_OPEN, ANDROID_IN_APP, APP_UNSPECIFIED, CLICK_TO_CALL, DISPLAY_AND_VIDEO_360_FLOODLIGHT, FIREBASE, FIREBASE_SEARCH_ADS_360, FLOODLIGHT, GOOGLE_ATTRIBUTION, GOOGLE_HOSTED, GOOGLE_PLAY, IOS_FIRST_OPEN, IOS_IN_APP, SALESFORCE, SEARCH_ADS_360, STORE_SALES, STORE_SALES_CRM, STORE_SALES_DIRECT_UPLOAD, STORE_SALES_PAYMENT_NETWORK, STORE_VISITS, THIRD_PARTY_APP_ANALYTICS, UNKNOWN, UPLOAD, UPLOAD_CALLS, WEBPAGE, WEBSITE_CALL_METRICS.

Month Date SEGMENT Month as represented by the date of the first day of a month. Formatted as
MonthOfYear String SEGMENT Month of the year, for example, January.

The allowed values are APRIL, AUGUST, DECEMBER, FEBRUARY, JANUARY, JULY, JUNE, MARCH, MAY, NOVEMBER, OCTOBER, SEPTEMBER, UNKNOWN.

Period String SEGMENT Predefined date range.

The allowed values are TODAY, YESTERDAY, LAST_7_DAYS, LAST_BUSINESS_WEEK, THIS_MONTH, LAST_MONTH, LAST_14_DAYS, LAST_30_DAYS, THIS_WEEK_SUN_TODAY, THIS_WEEK_MON_TODAY, LAST_WEEK_SUN_SAT, LAST_WEEK_MON_SUN.

Quarter Date SEGMENT Quarter as represented by the date of the first day of a quarter.
Week Date SEGMENT Week as defined as Monday through Sunday, and represented by the date of
Year Int SEGMENT Year, formatted as yyyy.

Pseudo-Columns

Pseudo column fields are used in the WHERE clause of SELECT statements and offer more granular control over the data returned from the data source.

Name Type Description
ManagerId Long Id of the manager account on behalf of which you are requesting customer data.

CData Python Connector for Google Ads

ConversionAction

A conversion action.

View-Specific Information

Select

Google Ads does not allow every column to be selected in a single query, as some data conflicts if selected together. Therefore, when issuing a query that selects all columns, only the default metrics, segments, and attributes are returned. In general, these defaults are the same fields that are exposed through the Ads console. To use the nondefault fields, explicitly select them in your query.

Filters can also be used in the WHERE clause using the following supported operators: =, !=, >, >=, <, <=, LIKE, NOT LIKE, IN, NOT IN . Note that all filters must be joined by AND, as OR is not supported by the Ads API.

Columns

Name Type Behavior Description
ConversionActionAppId String ATTRIBUTE App ID for an app conversion action.
ConversionActionAttributionModelSettingsAttributionModel String ATTRIBUTE The attribution model type of this conversion action.

The allowed values are EXTERNAL, GOOGLE_ADS_LAST_CLICK, GOOGLE_SEARCH_ATTRIBUTION_DATA_DRIVEN, GOOGLE_SEARCH_ATTRIBUTION_FIRST_CLICK, GOOGLE_SEARCH_ATTRIBUTION_LINEAR, GOOGLE_SEARCH_ATTRIBUTION_POSITION_BASED, GOOGLE_SEARCH_ATTRIBUTION_TIME_DECAY, UNKNOWN.

ConversionActionAttributionModelSettingsDataDrivenModelStatus String ATTRIBUTE Output only. The status of the data-driven attribution model for the conversion action.

The allowed values are AVAILABLE, EXPIRED, NEVER_GENERATED, STALE, UNKNOWN.

ConversionActionCategory String ATTRIBUTE The category of conversions reported for this conversion action.

The allowed values are ADD_TO_CART, BEGIN_CHECKOUT, BOOK_APPOINTMENT, CONTACT, CONVERTED_LEAD, DEFAULT, DOWNLOAD, ENGAGEMENT, GET_DIRECTIONS, IMPORTED_LEAD, OUTBOUND_CLICK, PAGE_VIEW, PHONE_CALL_LEAD, PURCHASE, QUALIFIED_LEAD, REQUEST_QUOTE, SIGNUP, STORE_SALE, STORE_VISIT, SUBMIT_LEAD_FORM, SUBSCRIBE_PAID, UNKNOWN, YOUTUBE_FOLLOW_ON_VIEWS.

ConversionActionClickThroughLookbackWindowDays Long ATTRIBUTE The maximum number of days that may elapse between an interaction
ConversionActionCountingType String ATTRIBUTE How to count conversion events for the conversion action.

The allowed values are MANY_PER_CLICK, ONE_PER_CLICK, UNKNOWN.

ConversionActionFirebaseSettingsEventName String ATTRIBUTE Output only. The event name of a Firebase conversion.
ConversionActionFirebaseSettingsProjectId String ATTRIBUTE Output only. The Firebase project ID of the conversion.
ConversionActionFirebaseSettingsPropertyId Long ATTRIBUTE Output only. The GA property ID of the conversion.
ConversionActionFirebaseSettingsPropertyName String ATTRIBUTE Output only. The GA property name of the conversion.
ConversionActionGoogleAnalytics4SettingsEventName String ATTRIBUTE Output only. The name of the GA 4 event.
ConversionActionGoogleAnalytics4SettingsPropertyId Long ATTRIBUTE Output only. The ID of the GA 4 property.
ConversionActionGoogleAnalytics4SettingsPropertyName String ATTRIBUTE Output only. The name of the GA 4 property.
ConversionActionId Long ATTRIBUTE Output only. The ID of the conversion action.
ConversionActionIncludeInConversionsMetric Bool ATTRIBUTE Whether this conversion action should be included in the 'conversions'
ConversionActionMobileAppVendor String ATTRIBUTE Output only. Mobile app vendor for an app conversion action.

The allowed values are APPLE_APP_STORE, GOOGLE_APP_STORE, UNKNOWN.

ConversionActionName String ATTRIBUTE The name of the conversion action.
ConversionActionOrigin String ATTRIBUTE Output only. The conversion origin of this conversion action.

The allowed values are APP, CALL_FROM_ADS, GOOGLE_HOSTED, STORE, UNKNOWN, WEBSITE, YOUTUBE_HOSTED.

ConversionActionOwnerCustomer String ATTRIBUTE Output only. The resource name of the conversion action owner customer, or
ConversionActionPhoneCallDurationSeconds Long ATTRIBUTE The phone call duration in seconds after which a conversion should be
ConversionActionPrimaryForGoal Bool ATTRIBUTE If a conversion action's primary_for_goal bit is false, the conversion
ConversionActionResourceName String ATTRIBUTE Immutable. The resource name of the conversion action.
ConversionActionStatus String ATTRIBUTE The status of this conversion action for conversion event accrual.

The allowed values are ENABLED, HIDDEN, REMOVED, UNKNOWN.

ConversionActionTagSnippets String ATTRIBUTE Output only. The snippets used for tracking conversions.
ConversionActionThirdPartyAppAnalyticsSettingsEventName String ATTRIBUTE Output only. The event name of a third-party app analytics conversion.
ConversionActionThirdPartyAppAnalyticsSettingsProviderName String ATTRIBUTE Output only. Name of the third-party app analytics provider.
ConversionActionType String ATTRIBUTE Immutable. The type of this conversion action.

The allowed values are AD_CALL, ANDROID_APP_PRE_REGISTRATION, ANDROID_INSTALLS_ALL_OTHER_APPS, CLICK_TO_CALL, FIREBASE_ANDROID_CUSTOM, FIREBASE_ANDROID_FIRST_OPEN, FIREBASE_ANDROID_IN_APP_PURCHASE, FIREBASE_IOS_CUSTOM, FIREBASE_IOS_FIRST_OPEN, FIREBASE_IOS_IN_APP_PURCHASE, FLOODLIGHT_ACTION, FLOODLIGHT_TRANSACTION, GOOGLE_ANALYTICS_4_CUSTOM, GOOGLE_ANALYTICS_4_PURCHASE, GOOGLE_HOSTED, GOOGLE_PLAY_DOWNLOAD, GOOGLE_PLAY_IN_APP_PURCHASE, LEAD_FORM_SUBMIT, SALESFORCE, SEARCH_ADS_360, SMART_CAMPAIGN_AD_CLICKS_TO_CALL, SMART_CAMPAIGN_MAP_CLICKS_TO_CALL, SMART_CAMPAIGN_MAP_DIRECTIONS, SMART_CAMPAIGN_TRACKED_CALLS, STORE_SALES, STORE_SALES_DIRECT_UPLOAD, STORE_VISITS, THIRD_PARTY_APP_ANALYTICS_ANDROID_CUSTOM, THIRD_PARTY_APP_ANALYTICS_ANDROID_FIRST_OPEN, THIRD_PARTY_APP_ANALYTICS_ANDROID_IN_APP_PURCHASE, THIRD_PARTY_APP_ANALYTICS_IOS_CUSTOM, THIRD_PARTY_APP_ANALYTICS_IOS_FIRST_OPEN, THIRD_PARTY_APP_ANALYTICS_IOS_IN_APP_PURCHASE, UNIVERSAL_ANALYTICS_GOAL, UNIVERSAL_ANALYTICS_TRANSACTION, UNKNOWN, UPLOAD_CALLS, UPLOAD_CLICKS, WEBPAGE, WEBPAGE_CODELESS, WEBSITE_CALL.

ConversionActionValueSettingsAlwaysUseDefaultValue Bool ATTRIBUTE Controls whether the default value and default currency code are used in place of the value and currency code specified in conversion events for this conversion action.
ConversionActionValueSettingsDefaultCurrencyCode String ATTRIBUTE The currency code to use when conversion events for this conversion action are sent with an invalid or missing currency code, or when this conversion action is configured to always use the default value.
ConversionActionValueSettingsDefaultValue Double ATTRIBUTE The value to use when conversion events for this conversion action are sent with an invalid, disallowed or missing value, or when this conversion action is configured to always use the default value.
ConversionActionViewThroughLookbackWindowDays Long ATTRIBUTE The maximum number of days which may elapse between an impression and a
CustomerId Long ATTRIBUTE Output only. The ID of the customer.
AllConversions Double METRIC The total number of conversions. This includes all conversions regardless
AllConversionsValue Double METRIC The value of all conversions.
ConversionLastConversionDate Date METRIC The date of the most recent conversion for this conversion action. The date
ConversionLastReceivedRequestDateTime Datetime METRIC The last date/time a conversion tag for this conversion action successfully
Date Date SEGMENT Date to which metrics apply.
Month Date SEGMENT Month as represented by the date of the first day of a month. Formatted as
Period String SEGMENT Predefined date range.

The allowed values are TODAY, YESTERDAY, LAST_7_DAYS, LAST_BUSINESS_WEEK, THIS_MONTH, LAST_MONTH, LAST_14_DAYS, LAST_30_DAYS, THIS_WEEK_SUN_TODAY, THIS_WEEK_MON_TODAY, LAST_WEEK_SUN_SAT, LAST_WEEK_MON_SUN.

Quarter Date SEGMENT Quarter as represented by the date of the first day of a quarter.
Week Date SEGMENT Week as defined as Monday through Sunday, and represented by the date of

Pseudo-Columns

Pseudo column fields are used in the WHERE clause of SELECT statements and offer more granular control over the data returned from the data source.

Name Type Description
ManagerId Long Id of the manager account on behalf of which you are requesting customer data.

CData Python Connector for Google Ads

ConversionCustomVariable

A conversion custom variable

Columns

Name Type Behavior Description
ConversionCustomVariableId Long ATTRIBUTE Output only. The ID of the conversion custom variable.
ConversionCustomVariableName String ATTRIBUTE Required. The name of the conversion custom variable.
ConversionCustomVariableOwnerCustomer String ATTRIBUTE Output only. The resource name of the customer that owns the conversion
ConversionCustomVariableResourceName String ATTRIBUTE Immutable. The resource name of the conversion custom variable.
ConversionCustomVariableStatus String ATTRIBUTE The status of the conversion custom variable for conversion event accrual.

The allowed values are ACTIVATION_NEEDED, ENABLED, PAUSED, UNKNOWN.

ConversionCustomVariableTag String ATTRIBUTE Required. Immutable. The tag of the conversion custom variable. It is used
CustomerId Long ATTRIBUTE Output only. The ID of the customer.

Pseudo-Columns

Pseudo column fields are used in the WHERE clause of SELECT statements and offer more granular control over the data returned from the data source.

Name Type Description
ManagerId Long Id of the manager account on behalf of which you are requesting customer data.

CData Python Connector for Google Ads

ConversionGoalCampaignConfig

Conversion goal settings for a Campaign.

Columns

Name Type Behavior Description
ConversionGoalCampaignConfigCampaign String ATTRIBUTE Immutable. The campaign with which this conversion goal campaign config is
ConversionGoalCampaignConfigCustomConversionGoal String ATTRIBUTE The custom conversion goal the campaign is using for optimization.
ConversionGoalCampaignConfigGoalConfigLevel String ATTRIBUTE The level of goal config the campaign is using.

The allowed values are CAMPAIGN, CUSTOMER, UNKNOWN.

ConversionGoalCampaignConfigResourceName String ATTRIBUTE Immutable. The resource name of the conversion goal campaign config.
CustomerId Long ATTRIBUTE Output only. The ID of the customer.

Pseudo-Columns

Pseudo column fields are used in the WHERE clause of SELECT statements and offer more granular control over the data returned from the data source.

Name Type Description
ManagerId Long Id of the manager account on behalf of which you are requesting customer data.

CData Python Connector for Google Ads

ConversionValueRule

A conversion value rule

Columns

Name Type Behavior Description
ConversionValueRuleActionOperation String ATTRIBUTE Specifies applied operation.

The allowed values are ADD, MULTIPLY, SET, UNKNOWN.

ConversionValueRuleActionValue Double ATTRIBUTE Specifies applied value.
ConversionValueRuleAudienceConditionUserInterests String ATTRIBUTE User Interests.
ConversionValueRuleAudienceConditionUserLists String ATTRIBUTE User Lists.
ConversionValueRuleDeviceConditionDeviceTypes String ATTRIBUTE Value for device type condition.

The allowed values are DESKTOP, MOBILE, TABLET, UNKNOWN.

ConversionValueRuleGeoLocationConditionExcludedGeoMatchType String ATTRIBUTE Excluded Geo location match type.

The allowed values are ANY, LOCATION_OF_PRESENCE, UNKNOWN.

ConversionValueRuleGeoLocationConditionExcludedGeoTargetConstants String ATTRIBUTE Geo locations that advertisers want to exclude.
ConversionValueRuleGeoLocationConditionGeoMatchType String ATTRIBUTE Included Geo location match type.

The allowed values are ANY, LOCATION_OF_PRESENCE, UNKNOWN.

ConversionValueRuleGeoLocationConditionGeoTargetConstants String ATTRIBUTE Geo locations that advertisers want to include.
ConversionValueRuleId Long ATTRIBUTE Output only. The ID of the conversion value rule.
ConversionValueRuleItineraryConditionAdvanceBookingWindowMaxDays Int ATTRIBUTE Maximum number of days between the date of the booking the start date.
ConversionValueRuleItineraryConditionAdvanceBookingWindowMinDays Int ATTRIBUTE Minimum number of days between the date of the booking the start date.
ConversionValueRuleItineraryConditionTravelLengthMaxNights Int ATTRIBUTE Maximum number of days between the start date and the end date.
ConversionValueRuleItineraryConditionTravelLengthMinNights Int ATTRIBUTE Minimum number of nights between the start date and the end date.
ConversionValueRuleItineraryConditionTravelStartDayFriday Bool ATTRIBUTE The travel can start on Friday.
ConversionValueRuleItineraryConditionTravelStartDayMonday Bool ATTRIBUTE The travel can start on Monday.
ConversionValueRuleItineraryConditionTravelStartDaySaturday Bool ATTRIBUTE The travel can start on Saturday.
ConversionValueRuleItineraryConditionTravelStartDaySunday Bool ATTRIBUTE The travel can start on Sunday.
ConversionValueRuleItineraryConditionTravelStartDayThursday Bool ATTRIBUTE The travel can start on Thursday.
ConversionValueRuleItineraryConditionTravelStartDayTuesday Bool ATTRIBUTE The travel can start on Tuesday.
ConversionValueRuleItineraryConditionTravelStartDayWednesday Bool ATTRIBUTE The travel can start on Wednesday.
ConversionValueRuleOwnerCustomer String ATTRIBUTE Output only. The resource name of the conversion value rule's owner
ConversionValueRuleResourceName String ATTRIBUTE Immutable. The resource name of the conversion value rule.
ConversionValueRuleStatus String ATTRIBUTE The status of the conversion value rule.

The allowed values are ENABLED, PAUSED, REMOVED, UNKNOWN.

CustomerId Long ATTRIBUTE Output only. The ID of the customer.

Pseudo-Columns

Pseudo column fields are used in the WHERE clause of SELECT statements and offer more granular control over the data returned from the data source.

Name Type Description
ManagerId Long Id of the manager account on behalf of which you are requesting customer data.

CData Python Connector for Google Ads

ConversionValueRuleSet

A conversion value rule set is a collection of conversion value rules that

Columns

Name Type Behavior Description
ConversionValueRuleSetAttachmentType String ATTRIBUTE Immutable. Defines the scope where the conversion value rule set is

The allowed values are CAMPAIGN, CUSTOMER, UNKNOWN.

ConversionValueRuleSetCampaign String ATTRIBUTE The resource name of the campaign when the conversion value rule
ConversionValueRuleSetConversionActionCategories String ATTRIBUTE Immutable. The conversion action categories of the conversion value rule

The allowed values are ADD_TO_CART, BEGIN_CHECKOUT, BOOK_APPOINTMENT, CONTACT, CONVERTED_LEAD, DEFAULT, DOWNLOAD, ENGAGEMENT, GET_DIRECTIONS, IMPORTED_LEAD, OUTBOUND_CLICK, PAGE_VIEW, PHONE_CALL_LEAD, PURCHASE, QUALIFIED_LEAD, REQUEST_QUOTE, SIGNUP, STORE_SALE, STORE_VISIT, SUBMIT_LEAD_FORM, SUBSCRIBE_PAID, UNKNOWN, YOUTUBE_FOLLOW_ON_VIEWS.

ConversionValueRuleSetConversionValueRules String ATTRIBUTE Resource names of rules within the rule set.
ConversionValueRuleSetDimensions String ATTRIBUTE Defines dimensions for Value Rule conditions. The condition types of value

The allowed values are AUDIENCE, DEVICE, GEO_LOCATION, ITINERARY, NO_CONDITION, UNKNOWN.

ConversionValueRuleSetId Long ATTRIBUTE Output only. The ID of the conversion value rule set.
ConversionValueRuleSetOwnerCustomer String ATTRIBUTE Output only. The resource name of the conversion value rule set's owner
ConversionValueRuleSetResourceName String ATTRIBUTE Immutable. The resource name of the conversion value rule set.
ConversionValueRuleSetStatus String ATTRIBUTE Output only. The status of the conversion value rule set.

The allowed values are ENABLED, PAUSED, REMOVED, UNKNOWN.

CustomerId Long ATTRIBUTE Output only. The ID of the customer.

Pseudo-Columns

Pseudo column fields are used in the WHERE clause of SELECT statements and offer more granular control over the data returned from the data source.

Name Type Description
ManagerId Long Id of the manager account on behalf of which you are requesting customer data.

CData Python Connector for Google Ads

CurrencyConstant

A currency constant.

Columns

Name Type Behavior Description
CurrencyConstantBillableUnitMicros Long ATTRIBUTE Output only. The billable unit for this currency. Billed amounts should be
CurrencyConstantCode String ATTRIBUTE Output only. ISO 4217 three-letter currency code, for example, 'USD'
CurrencyConstantName String ATTRIBUTE Output only. Full English name of the currency.
CurrencyConstantResourceName String ATTRIBUTE Output only. The resource name of the currency constant.
CurrencyConstantSymbol String ATTRIBUTE Output only. Standard symbol for describing this currency, for example, '$'
CustomerId Long ATTRIBUTE Output only. The ID of the customer.

Pseudo-Columns

Pseudo column fields are used in the WHERE clause of SELECT statements and offer more granular control over the data returned from the data source.

Name Type Description
ManagerId Long Id of the manager account on behalf of which you are requesting customer data.

CData Python Connector for Google Ads

CustomAudience

A custom audience. This is a list of users by interest.

Columns

Name Type Behavior Description
CustomAudienceDescription String ATTRIBUTE Description of this custom audience.
CustomAudienceId Long ATTRIBUTE Output only. ID of the custom audience.
CustomAudienceMembers String ATTRIBUTE List of custom audience members that this custom audience is composed of.
CustomAudienceName String ATTRIBUTE Name of the custom audience. It should be unique for all custom audiences
CustomAudienceResourceName String ATTRIBUTE Immutable. The resource name of the custom audience.
CustomAudienceStatus String ATTRIBUTE Output only. Status of this custom audience. Indicates whether the custom

The allowed values are ENABLED, REMOVED, UNKNOWN.

CustomAudienceType String ATTRIBUTE Type of the custom audience.

The allowed values are AUTO, INTEREST, PURCHASE_INTENT, SEARCH, UNKNOWN.

CustomerId Long ATTRIBUTE Output only. The ID of the customer.

Pseudo-Columns

Pseudo column fields are used in the WHERE clause of SELECT statements and offer more granular control over the data returned from the data source.

Name Type Description
ManagerId Long Id of the manager account on behalf of which you are requesting customer data.

CData Python Connector for Google Ads

CustomConversionGoal

Custom conversion goal that can make arbitrary conversion actions biddable.

Columns

Name Type Behavior Description
CustomConversionGoalConversionActions String ATTRIBUTE Conversion actions that the custom conversion goal makes biddable.
CustomConversionGoalId Long ATTRIBUTE Immutable. The ID for this custom conversion goal.
CustomConversionGoalName String ATTRIBUTE The name for this custom conversion goal.
CustomConversionGoalResourceName String ATTRIBUTE Immutable. The resource name of the custom conversion goal.
CustomConversionGoalStatus String ATTRIBUTE The status of the custom conversion goal.

The allowed values are ENABLED, REMOVED, UNKNOWN.

CustomerId Long ATTRIBUTE Output only. The ID of the customer.

Pseudo-Columns

Pseudo column fields are used in the WHERE clause of SELECT statements and offer more granular control over the data returned from the data source.

Name Type Description
ManagerId Long Id of the manager account on behalf of which you are requesting customer data.

CData Python Connector for Google Ads

Customer

A customer.

View-Specific Information

Select

Google Ads does not allow every column to be selected in a single query, as some data conflicts if selected together. Therefore, when issuing a query that selects all columns, only the default metrics, segments, and attributes are returned. In general, these defaults are the same fields that are exposed through the Ads console. To use the nondefault fields, explicitly select them in your query.

Filters can also be used in the WHERE clause using the following supported operators: =, !=, >, >=, <, <=, LIKE, NOT LIKE, IN, NOT IN . Note that all filters must be joined by AND, as OR is not supported by the Ads API.

Columns

Name Type Behavior Description
CustomerAutoTaggingEnabled Bool ATTRIBUTE Whether auto-tagging is enabled for the customer.
CustomerCallReportingSettingCallConversionAction String ATTRIBUTE Customer-level call conversion action to attribute a call conversion to. If not set a default conversion action is used. Only in effect when call_conversion_reporting_enabled is set to true.
CustomerCallReportingSettingCallConversionReportingEnabled Bool ATTRIBUTE Whether to enable call conversion reporting.
CustomerCallReportingSettingCallReportingEnabled Bool ATTRIBUTE Enable reporting of phone call events by redirecting them through Google System.
CustomerContainsEuPoliticalAdvertising String ATTRIBUTE Output only. Returns the advertiser self-declaration status of whether this

The allowed values are CONTAINS_EU_POLITICAL_ADVERTISING, DOES_NOT_CONTAIN_EU_POLITICAL_ADVERTISING, UNKNOWN.

CustomerConversionTrackingSettingAcceptedCustomerDataTerms Bool ATTRIBUTE Output only. Whether the customer has accepted customer data terms. If using cross-account conversion tracking, this value is inherited from the manager. This field is read-only. For more information, see https://support.google.com/adspolicy/answer/7475709.
CustomerConversionTrackingSettingConversionTrackingId Long ATTRIBUTE Output only. The conversion tracking id used for this account. This id doesn't indicate whether the customer uses conversion tracking (conversion_tracking_status does). This field is read-only.
CustomerConversionTrackingSettingConversionTrackingStatus String ATTRIBUTE Output only. Conversion tracking status. It indicates whether the customer is using conversion tracking, and who is the conversion tracking owner of this customer. If this customer is using cross-account conversion tracking, the value returned will differ based on the login-customer-id of the request.

The allowed values are CONVERSION_TRACKING_MANAGED_BY_ANOTHER_MANAGER, CONVERSION_TRACKING_MANAGED_BY_SELF, CONVERSION_TRACKING_MANAGED_BY_THIS_MANAGER, NOT_CONVERSION_TRACKED, UNKNOWN.

CustomerConversionTrackingSettingCrossAccountConversionTrackingId Long ATTRIBUTE Output only. The conversion tracking id of the customer's manager. This is set when the customer is opted into cross account conversion tracking, and it overrides conversion_tracking_id. This field can only be managed through the Google Ads UI. This field is read-only.
CustomerConversionTrackingSettingEnhancedConversionsForLeadsEnabled Bool ATTRIBUTE Output only. Whether the customer is opted-in for enhanced conversions for leads. If using cross-account conversion tracking, this value is inherited from the manager. This field is read-only.
CustomerConversionTrackingSettingGoogleAdsConversionCustomer String ATTRIBUTE The resource name of the customer where conversions are created and managed. This field is read-only.
CustomerCurrencyCode String ATTRIBUTE Immutable. The currency in which the account operates.
CustomerCustomerAgreementSettingAcceptedLeadFormTerms Bool ATTRIBUTE Output only. Whether the customer has accepted lead form term of service.
CustomerDescriptiveName String ATTRIBUTE Optional, non-unique descriptive name of the customer.
CustomerFinalUrlSuffix String ATTRIBUTE The URL template for appending params to the final URL.
CustomerHasPartnersBadge Bool ATTRIBUTE Output only. Whether the Customer has a Partners program badge. If the
CustomerId Long ATTRIBUTE Output only. The ID of the customer.
CustomerImageAssetAutoMigrationDone Bool ATTRIBUTE Output only. True if feed based image has been migrated to asset based
CustomerImageAssetAutoMigrationDoneDateTime Datetime ATTRIBUTE Output only. Timestamp of migration from feed based image to asset base
CustomerLocalServicesSettingsGranularInsuranceStatuses String ATTRIBUTE Output only. A read-only list of geo vertical level insurance statuses.
CustomerLocalServicesSettingsGranularLicenseStatuses String ATTRIBUTE Output only. A read-only list of geo vertical level license statuses.
CustomerLocationAssetAutoMigrationDone Bool ATTRIBUTE Output only. True if feed based location has been migrated to asset based
CustomerLocationAssetAutoMigrationDoneDateTime Datetime ATTRIBUTE Output only. Timestamp of migration from feed based location to asset base
CustomerManager Bool ATTRIBUTE Output only. Whether the customer is a manager.
CustomerOptimizationScore Double ATTRIBUTE Output only. Optimization score of the customer.
CustomerOptimizationScoreWeight Double ATTRIBUTE Output only. Optimization score weight of the customer.
CustomerPayPerConversionEligibilityFailureReasons String ATTRIBUTE Output only. Reasons why the customer is not eligible to use

The allowed values are ANALYSIS_NOT_COMPLETE, AVERAGE_DAILY_SPEND_TOO_HIGH, CONVERSION_LAG_TOO_HIGH, HAS_CAMPAIGN_WITH_SHARED_BUDGET, HAS_UPLOAD_CLICKS_CONVERSION, NOT_ENOUGH_CONVERSIONS, OTHER, UNKNOWN.

CustomerRemarketingSettingGoogleGlobalSiteTag String ATTRIBUTE Output only. The Google tag.
CustomerResourceName String ATTRIBUTE Immutable. The resource name of the customer.
CustomerStatus String ATTRIBUTE Output only. The status of the customer.

The allowed values are CANCELED, CLOSED, ENABLED, SUSPENDED, UNKNOWN.

CustomerTestAccount Bool ATTRIBUTE Output only. Whether the customer is a test account.
CustomerTimeZone String ATTRIBUTE Immutable. The local timezone ID of the customer.
CustomerTrackingUrlTemplate String ATTRIBUTE The URL template for constructing a tracking URL out of parameters.
CustomerVideoBrandSafetySuitability String ATTRIBUTE Brand Safety setting at the account level. Allows for selecting

The allowed values are EXPANDED_INVENTORY, LIMITED_INVENTORY, STANDARD_INVENTORY, UNKNOWN.

CustomerVideoCustomerThirdPartyIntegrationPartnersBrandLiftIntegrationPartners String ATTRIBUTE Allowed third party integration partners for Brand Lift verification.
CustomerVideoCustomerThirdPartyIntegrationPartnersBrandSafetyIntegrationPartners String ATTRIBUTE Allowed third party integration partners for brand safety verification.
CustomerVideoCustomerThirdPartyIntegrationPartnersReachIntegrationPartners String ATTRIBUTE Allowed third party integration partners for reach verification.
CustomerVideoCustomerThirdPartyIntegrationPartnersViewabilityIntegrationPartners String ATTRIBUTE Allowed third party integration partners for YouTube viewability verification.
AbsoluteTopImpressionPercentage Double METRIC Search absolute top impression share is the percentage of your Search ad
ActiveViewAudibilityInvalidGivtMeasurableImpressionsRate Double METRIC The number of impressions for which Active View could measure audibility,
ActiveViewAudibilityInvalidMeasurableImpressionsRate Double METRIC The number of impressions for which Active View could measure audibility,
ActiveViewAudibilityMeasurableImpressions Long METRIC The number of impressions for which Active View could measure if the ad was
ActiveViewAudibilityMeasurableImpressionsRate Double METRIC The number of impressions for which Active View could measure if the ad was
ActiveViewAudibleImpressions Long METRIC The number of impressions that were audible (volume > 0%) at any point
ActiveViewAudibleImpressionsRate Double METRIC The number of impressions that were audible (volume > 0%) at any point
ActiveViewAudibleQuartileP100Rate Double METRIC The number of impressions that were audible at the fourth quartile of the
ActiveViewAudibleQuartileP25Rate Double METRIC The number of impressions that were audible at the first quartile of the
ActiveViewAudibleQuartileP50Rate Double METRIC The number of impressions that were audible at the second quartile of the
ActiveViewAudibleQuartileP75Rate Double METRIC The number of impressions that were audible at the third quartile of the
ActiveViewAudibleThirtySecondsImpressions Long METRIC The number of impressions that were audible for at least 30 seconds
ActiveViewAudibleThirtySecondsImpressionsRate Double METRIC The number of impressions that were audible for at least 30 seconds
ActiveViewAudibleTwoSecondsImpressions Long METRIC The number of impressions that were audible for at least 2 seconds
ActiveViewAudibleTwoSecondsImpressionsRate Double METRIC The number of impressions that were audible for at least 2 seconds
ActiveViewCpm Double METRIC Average cost of viewable impressions (active_view_impressions).
ActiveViewCtr Double METRIC Active view measurable clicks divided by active view viewable impressions.
ActiveViewImpressions Long METRIC A measurement of how often your ad has become viewable on a Display
ActiveViewMeasurability Double METRIC The ratio of impressions that could be measured by Active View over the
ActiveViewMeasurableCostMicros Long METRIC The cost of the impressions you received that were measurable by Active
ActiveViewMeasurableImpressions Long METRIC The number of times your ads are appearing on placements in positions
ActiveViewViewability Double METRIC The percentage of time when your ad appeared on an Active View enabled site
AllConversions Double METRIC The total number of conversions. This includes all conversions regardless
AllConversionsByConversionDate Double METRIC The total number of conversions. This includes all conversions regardless
AllConversionsFromInteractionsRate Double METRIC All conversions from interactions (as oppose to view through conversions)
AllConversionsFromLocationAssetClickToCall Double METRIC Number of call button clicks on any location surface after a chargeable ad
AllConversionsFromLocationAssetDirections Double METRIC Number of driving directions clicks on any location surface after a
AllConversionsFromLocationAssetMenu Double METRIC Number of menu link clicks on any location surface after a chargeable ad
AllConversionsFromLocationAssetOrder Double METRIC Number of order clicks on any location surface after a chargeable ad event
AllConversionsFromLocationAssetOtherEngagement Double METRIC Number of other types of local action clicks on any location surface after
AllConversionsFromLocationAssetStoreVisits Double METRIC Estimated number of visits to the business after a chargeable
AllConversionsFromLocationAssetWebsite Double METRIC Number of website URL clicks on any location surface after a chargeable ad
AllConversionsValue Double METRIC The value of all conversions.
AllConversionsValueByConversionDate Double METRIC The value of all conversions. When this column is selected with date, the
AllNewCustomerLifetimeValue Double METRIC All of new customers' lifetime conversion value. If you have set up
AverageCartSize Double METRIC Average cart size is the average number of products in each order
AverageCost Double METRIC The average amount you pay per interaction. This amount is the total cost
AverageCpc Double METRIC The total cost of all clicks divided by the total number of clicks
AverageCpe Double METRIC The average amount that you've been charged for an ad engagement. This
AverageCpm Double METRIC Average cost-per-thousand impressions (CPM).
AverageOrderValueMicros Long METRIC Average order value is the average revenue you made per order attributed to
AverageVideoWatchTimeDurationMillis Long METRIC Average video watch time duration in milliseconds for video impressions
BiddableIndirectInstallFirstInAppConversionMicros Long METRIC The number of biddable first in app conversions where the app install was
Clicks Long METRIC The number of clicks.
ClicksUniqueQueryClusters Long METRIC Unique query intent cluster count for clicks.
ContentBudgetLostImpressionShare Double METRIC The estimated percent of times that your ad was eligible to show
ContentImpressionShare Double METRIC The impressions you've received on the Display Network divided
ContentRankLostImpressionShare Double METRIC The estimated percentage of impressions on the Display Network
Conversions Double METRIC The number of conversions. This only includes conversion actions which
ConversionsByConversionDate Double METRIC The number of conversions. This only includes conversion actions which
ConversionsFromInteractionsRate Double METRIC Conversions from interactions divided by the number of ad interactions
ConversionsUniqueQueryClusters Long METRIC Unique query intent cluster count for conversions.
ConversionsValue Double METRIC The value of conversions. This only includes conversion actions which
ConversionsValueByConversionDate Double METRIC The value of conversions. This only includes conversion actions which
CostConvertedCurrencyPerPlatformComparableConversion Double METRIC The cost of the platform comparable conversion in the currency of the
CostMicros Long METRIC The sum of your cost-per-click (CPC) and cost-per-thousand impressions
CostOfGoodsSoldMicros Long METRIC Cost of goods sold (COGS) is the total cost of the products you sold in
CostPerAllConversions Double METRIC The cost of ad interactions divided by all conversions.
CostPerConversion Double METRIC The cost of ad interactions divided by conversions. This only includes
CostPerPlatformComparableConversion Double METRIC The cost of ad interactions divided by the number of platform comparable
CrossDeviceConversions Double METRIC Conversions from when a customer clicks on a Google Ads ad on one device,
CrossDeviceConversionsByConversionDate Double METRIC The number of cross-device conversions by conversion date.
CrossDeviceConversionsValueByConversionDate Double METRIC The sum of cross-device conversions value by conversion date.
CrossDeviceConversionsValueMicros Long METRIC The sum of the value of cross-device conversions, in micros.
CrossSellCostOfGoodsSoldMicros Long METRIC Cross-sell cost of goods sold (COGS) is the total cost of products sold as
CrossSellGrossProfitMicros Long METRIC Cross-sell gross profit is the profit you made from products sold as a
CrossSellRevenueMicros Long METRIC Cross-sell revenue is the total amount you made from products sold as a
CrossSellUnitsSold Double METRIC Cross-sell units sold is the total number of products sold as a result of
Ctr Double METRIC The number of clicks your ad receives (Clicks) divided by the number
EligibleImpressionsFromLocationAssetStoreReach Long METRIC Number of impressions in which the business location was shown or the
EngagementRate Double METRIC How often people engage with your ad after it's shown to them. This is the
Engagements Long METRIC The number of engagements.
GeneralInvalidClickRate Double METRIC The percentage of clicks that have been filtered out of your total number
GeneralInvalidClicks Long METRIC Number of general invalid clicks. These are a subset of your invalid clicks
GrossProfitMargin Double METRIC Gross profit margin is the percentage gross profit you made from orders
GrossProfitMicros Long METRIC Gross profit is the profit you made from orders attributed to your ads
Impressions Long METRIC Count of how often your ad has appeared on a search results page or
ImpressionsUniqueQueryClusters Long METRIC Unique query intent cluster count for impressions.
InteractionEventTypes String METRIC The types of payable and free interactions.

The allowed values are CLICK, ENGAGEMENT, NONE, UNKNOWN, VIDEO_VIEW.

InteractionRate Double METRIC How often people interact with your ad after it is shown to them.
Interactions Long METRIC The number of interactions.
InvalidClickRate Double METRIC The percentage of clicks filtered out of your total number of clicks
InvalidClicks Long METRIC Number of clicks Google considers illegitimate and doesn't charge you for.
LeadCostOfGoodsSoldMicros Long METRIC Lead cost of goods sold (COGS) is the total cost of products sold as a
LeadGrossProfitMicros Long METRIC Lead gross profit is the profit you made from products sold as a result of
LeadRevenueMicros Long METRIC Lead revenue is the total amount you made from products sold as a result of
LeadUnitsSold Double METRIC Lead units sold is the total number of products sold as a result of
NewCustomerLifetimeValue Double METRIC New customers' lifetime conversion value. If you have set up
OptimizationScoreUplift Double METRIC Total optimization score uplift of all recommendations.
OptimizationScoreUrl String METRIC URL for the optimization score page in the Google Ads web interface.
Orders Double METRIC Orders is the total number of purchase conversions you received attributed
PlatformComparableConversions Double METRIC The number of platform comparable conversions. This only includes
PlatformComparableConversionsByConversionDate Double METRIC The number of platform comparable conversions. When this metric is
PlatformComparableConversionsFromInteractionsRate Double METRIC Platform comparable conversions from interactions divided by the number of
PlatformComparableConversionsFromInteractionsValuePerInteraction Double METRIC The value of platform comparable conversions from interactions divided by
PlatformComparableConversionsValue Double METRIC The value of platform comparable conversions. This only includes conversion
PlatformComparableConversionsValueByConversionDate Double METRIC The value of platform comparable conversions. When this metric is segmented
PlatformComparableConversionsValuePerCost Double METRIC The value of conversions divided by the cost of ad interactions. This only
RevenueMicros Long METRIC Revenue is the total amount you made from orders attributed to your ads.
SearchBudgetLostImpressionShare Double METRIC The estimated percent of times that your ad was eligible to show on the
SearchExactMatchImpressionShare Double METRIC The impressions you've received divided by the estimated number of
SearchImpressionShare Double METRIC The impressions you've received on the Search Network divided
SearchRankLostImpressionShare Double METRIC The estimated percentage of impressions on the Search Network
SkAdNetworkInstalls Long METRIC The number of iOS Store Kit Ad Network conversions.
SkAdNetworkTotalConversions Long METRIC The total number of iOS Store Kit Ad Network conversions.
TopImpressionPercentage Double METRIC The percent of your ad impressions that are shown adjacent to the top
TrueviewAverageCpv Double METRIC The average amount you pay each time someone views your ad.
UnitsSold Double METRIC Units sold is the total number of products sold from orders attributed to
ValuePerAllConversions Double METRIC The value of all conversions divided by the number of all conversions.
ValuePerAllConversionsByConversionDate Double METRIC The value of all conversions divided by the number of all conversions. When
ValuePerConversion Double METRIC The value of conversions divided by the number of conversions. This only
ValuePerConversionsByConversionDate Double METRIC The value of conversions divided by the number of conversions. This only
ValuePerPlatformComparableConversion Double METRIC The value of platform comparable conversions divided by the number of
ValuePerPlatformComparableConversionsByConversionDate Double METRIC The value of platform comparable conversions divided by the number of
VideoTrueviewViewRate Double METRIC The number of TrueView views your video ad receives divided by its number
VideoTrueviewViewRateInFeed Double METRIC The number of TrueView views divided by number of impressions that can
VideoTrueviewViewRateInStream Double METRIC The number of TrueView views divided by number of impressions that can
VideoTrueviewViewRateShorts Double METRIC The number of TrueView views divided by number of impressions that can
VideoTrueviewViews Long METRIC The number of TrueView views your video ads received.
VideoWatchTimeDurationMillis Long METRIC Total watch time duration in milliseconds for video impressions that
ViewThroughConversions Long METRIC The total number of view-through conversions.
ViewThroughConversionsFromLocationAssetClickToCall Double METRIC Number of call button clicks on any location surface after an impression.
ViewThroughConversionsFromLocationAssetDirections Double METRIC Number of driving directions clicks on any location surface after an
ViewThroughConversionsFromLocationAssetMenu Double METRIC Number of menu link clicks on any location surface after an impression.
ViewThroughConversionsFromLocationAssetOrder Double METRIC Number of order clicks on any location surface after an impression. This
ViewThroughConversionsFromLocationAssetOtherEngagement Double METRIC Number of other types of local action clicks on any location surface after
ViewThroughConversionsFromLocationAssetStoreVisits Double METRIC Estimated number of visits to the business after an impression.
ViewThroughConversionsFromLocationAssetWebsite Double METRIC Number of website URL clicks on any location surface after an impression.
AdFormatType String SEGMENT Ad Format type.

The allowed values are AUDIO, BUMPER, INFEED, INSTREAM_NON_SKIPPABLE, INSTREAM_SKIPPABLE, MASTHEAD, OTHER, OUTSTREAM, PAUSE, SHORTS, TEXT, UNKNOWN, UNSEGMENTED, VERTICAL_ADS_BOOKING_LINK, VERTICAL_ADS_PROMOTION.

AdNetworkType String SEGMENT Ad network type.

The allowed values are CONTENT, DISCOVER, GMAIL, GOOGLE_OWNED_CHANNELS, GOOGLE_TV, MAPS, MIXED, SEARCH, SEARCH_PARTNERS, UNKNOWN, YOUTUBE.

AdSubNetworkType String SEGMENT Ad sub network type. Currently only available for ads running as part of

The allowed values are UNKNOWN, UNSEGMENTED, YOUTUBE_INFEED, YOUTUBE_INSTREAM, YOUTUBE_SHORTS.

AdUsingProductData Bool SEGMENT Indicates whether an ad is using product data from a Google Merchant
AdUsingVideo Bool SEGMENT Indicates whether an ad is using a video asset. This segment is only
AuctionInsightDomain String SEGMENT Domain (visible URL) of a participant in the Auction Insights report.
ClickType String SEGMENT Click type.

The allowed values are AD_IMAGE, APP_DEEPLINK, BREADCRUMBS, BROADBAND_PLAN, CALLS, CALL_TRACKING, CLICK_ON_ENGAGEMENT_AD, CLICK_TO_MESSAGE_LANDING_PAGE_CLICK, CLICK_TO_MESSAGE_THIRD_PARTY_CLICK, CROSS_NETWORK, GET_DIRECTIONS, HOTEL_BOOK_ON_GOOGLE_ROOM_SELECTION, HOTEL_PRICE, LOCATION_EXPANSION, LOCATION_FORMAT_CALL, LOCATION_FORMAT_DIRECTIONS, LOCATION_FORMAT_IMAGE, LOCATION_FORMAT_LANDING_PAGE, LOCATION_FORMAT_MAP, LOCATION_FORMAT_STORE_INFO, LOCATION_FORMAT_TEXT, MOBILE_CALL_TRACKING, OFFER_PRINTS, OTHER, PRICE_EXTENSION, PRODUCT_AD_APP_DEEPLINK, PRODUCT_ASSETS, PRODUCT_EXTENSION_CLICKS, PRODUCT_LISTING_ADS_COUPON, PRODUCT_LISTING_AD_CLICKS, PRODUCT_LISTING_AD_LOCAL, PRODUCT_LISTING_AD_MULTICHANNEL_LOCAL, PRODUCT_LISTING_AD_MULTICHANNEL_ONLINE, PRODUCT_LISTING_AD_TRANSACTABLE, PROMOTION_EXTENSION, SHOPPING_COMPARISON_LISTING, SHOWCASE_AD_CATEGORY_LINK, SHOWCASE_AD_LOCAL_PRODUCT_LINK, SHOWCASE_AD_LOCAL_STOREFRONT_LINK, SHOWCASE_AD_ONLINE_PRODUCT_LINK, SITELINKS, STORE_LOCATOR, SWIPEABLE_GALLERY_AD_HEADLINE, SWIPEABLE_GALLERY_AD_SEE_MORE, SWIPEABLE_GALLERY_AD_SITELINK_FIVE, SWIPEABLE_GALLERY_AD_SITELINK_FOUR, SWIPEABLE_GALLERY_AD_SITELINK_ONE, SWIPEABLE_GALLERY_AD_SITELINK_THREE, SWIPEABLE_GALLERY_AD_SITELINK_TWO, SWIPEABLE_GALLERY_AD_SWIPES, TRAVEL_ASSETS, UNKNOWN, URL_CLICKS, VEHICLE_ASSETS, VIDEO_APP_STORE_CLICKS, VIDEO_CALL_TO_ACTION_CLICKS, VIDEO_CARD_ACTION_HEADLINE_CLICKS, VIDEO_CHANNEL_CLICK, VIDEO_END_CAP_CLICKS, VIDEO_RELATED_VIDEOS_CLICK, VIDEO_WEBSITE_CLICKS, VISUAL_SITELINKS, WIRELESS_PLAN.

ConversionAction String SEGMENT Resource name of the conversion action.
ConversionActionCategory String SEGMENT Conversion action category.

The allowed values are ADD_TO_CART, BEGIN_CHECKOUT, BOOK_APPOINTMENT, CONTACT, CONVERTED_LEAD, DEFAULT, DOWNLOAD, ENGAGEMENT, GET_DIRECTIONS, IMPORTED_LEAD, OUTBOUND_CLICK, PAGE_VIEW, PHONE_CALL_LEAD, PURCHASE, QUALIFIED_LEAD, REQUEST_QUOTE, SIGNUP, STORE_SALE, STORE_VISIT, SUBMIT_LEAD_FORM, SUBSCRIBE_PAID, UNKNOWN, YOUTUBE_FOLLOW_ON_VIEWS.

ConversionActionName String SEGMENT Conversion action name.
ConversionAdjustment Bool SEGMENT This segments your conversion columns by the original conversion and
ConversionLagBucket String SEGMENT An enum value representing the number of days between the impression and

The allowed values are EIGHT_TO_NINE_DAYS, ELEVEN_TO_TWELVE_DAYS, FIVE_TO_SIX_DAYS, FORTY_FIVE_TO_SIXTY_DAYS, FOURTEEN_TO_TWENTY_ONE_DAYS, FOUR_TO_FIVE_DAYS, LESS_THAN_ONE_DAY, NINE_TO_TEN_DAYS, ONE_TO_TWO_DAYS, SEVEN_TO_EIGHT_DAYS, SIXTY_TO_NINETY_DAYS, SIX_TO_SEVEN_DAYS, TEN_TO_ELEVEN_DAYS, THIRTEEN_TO_FOURTEEN_DAYS, THIRTY_TO_FORTY_FIVE_DAYS, THREE_TO_FOUR_DAYS, TWELVE_TO_THIRTEEN_DAYS, TWENTY_ONE_TO_THIRTY_DAYS, TWO_TO_THREE_DAYS, UNKNOWN.

ConversionOrAdjustmentLagBucket String SEGMENT An enum value representing the number of days between the impression and

The allowed values are ADJUSTMENT_EIGHT_TO_NINE_DAYS, ADJUSTMENT_ELEVEN_TO_TWELVE_DAYS, ADJUSTMENT_FIVE_TO_SIX_DAYS, ADJUSTMENT_FORTY_FIVE_TO_SIXTY_DAYS, ADJUSTMENT_FOURTEEN_TO_TWENTY_ONE_DAYS, ADJUSTMENT_FOUR_TO_FIVE_DAYS, ADJUSTMENT_LESS_THAN_ONE_DAY, ADJUSTMENT_NINETY_TO_ONE_HUNDRED_AND_FORTY_FIVE_DAYS, ADJUSTMENT_NINE_TO_TEN_DAYS, ADJUSTMENT_ONE_TO_TWO_DAYS, ADJUSTMENT_SEVEN_TO_EIGHT_DAYS, ADJUSTMENT_SIXTY_TO_NINETY_DAYS, ADJUSTMENT_SIX_TO_SEVEN_DAYS, ADJUSTMENT_TEN_TO_ELEVEN_DAYS, ADJUSTMENT_THIRTEEN_TO_FOURTEEN_DAYS, ADJUSTMENT_THIRTY_TO_FORTY_FIVE_DAYS, ADJUSTMENT_THREE_TO_FOUR_DAYS, ADJUSTMENT_TWELVE_TO_THIRTEEN_DAYS, ADJUSTMENT_TWENTY_ONE_TO_THIRTY_DAYS, ADJUSTMENT_TWO_TO_THREE_DAYS, ADJUSTMENT_UNKNOWN, CONVERSION_EIGHT_TO_NINE_DAYS, CONVERSION_ELEVEN_TO_TWELVE_DAYS, CONVERSION_FIVE_TO_SIX_DAYS, CONVERSION_FORTY_FIVE_TO_SIXTY_DAYS, CONVERSION_FOURTEEN_TO_TWENTY_ONE_DAYS, CONVERSION_FOUR_TO_FIVE_DAYS, CONVERSION_LESS_THAN_ONE_DAY, CONVERSION_NINE_TO_TEN_DAYS, CONVERSION_ONE_TO_TWO_DAYS, CONVERSION_SEVEN_TO_EIGHT_DAYS, CONVERSION_SIXTY_TO_NINETY_DAYS, CONVERSION_SIX_TO_SEVEN_DAYS, CONVERSION_TEN_TO_ELEVEN_DAYS, CONVERSION_THIRTEEN_TO_FOURTEEN_DAYS, CONVERSION_THIRTY_TO_FORTY_FIVE_DAYS, CONVERSION_THREE_TO_FOUR_DAYS, CONVERSION_TWELVE_TO_THIRTEEN_DAYS, CONVERSION_TWENTY_ONE_TO_THIRTY_DAYS, CONVERSION_TWO_TO_THREE_DAYS, CONVERSION_UNKNOWN, UNKNOWN.

ConversionValueRulePrimaryDimension String SEGMENT Primary dimension of applied conversion value rules.

The allowed values are AUDIENCE, DEVICE, GEO_LOCATION, ITINERARY, MULTIPLE, NEW_VS_RETURNING_USER, NO_RULE_APPLIED, ORIGINAL, UNKNOWN.

Date Date SEGMENT Date to which metrics apply.
DayOfWeek String SEGMENT Day of the week, for example, MONDAY.

The allowed values are FRIDAY, MONDAY, SATURDAY, SUNDAY, THURSDAY, TUESDAY, UNKNOWN, WEDNESDAY.

Device String SEGMENT Device to which metrics apply.

The allowed values are CONNECTED_TV, DESKTOP, MOBILE, OTHER, TABLET, UNKNOWN.

ExternalConversionSource String SEGMENT External conversion source.

The allowed values are AD_CALL_METRICS, ANALYTICS, ANALYTICS_SEARCH_ADS_360, ANDROID_FIRST_OPEN, ANDROID_IN_APP, APP_UNSPECIFIED, CLICK_TO_CALL, DISPLAY_AND_VIDEO_360_FLOODLIGHT, FIREBASE, FIREBASE_SEARCH_ADS_360, FLOODLIGHT, GOOGLE_ATTRIBUTION, GOOGLE_HOSTED, GOOGLE_PLAY, IOS_FIRST_OPEN, IOS_IN_APP, SALESFORCE, SEARCH_ADS_360, STORE_SALES, STORE_SALES_CRM, STORE_SALES_DIRECT_UPLOAD, STORE_SALES_PAYMENT_NETWORK, STORE_VISITS, THIRD_PARTY_APP_ANALYTICS, UNKNOWN, UPLOAD, UPLOAD_CALLS, WEBPAGE, WEBSITE_CALL_METRICS.

Hour Int SEGMENT Hour of day as a number between 0 and 23, inclusive.
Month Date SEGMENT Month as represented by the date of the first day of a month. Formatted as
MonthOfYear String SEGMENT Month of the year, for example, January.

The allowed values are APRIL, AUGUST, DECEMBER, FEBRUARY, JANUARY, JULY, JUNE, MARCH, MAY, NOVEMBER, OCTOBER, SEPTEMBER, UNKNOWN.

NewVersusReturningCustomers String SEGMENT This is for segmenting conversions by whether the user is a new customer

The allowed values are NEW, NEW_AND_HIGH_LTV, RETURNING, UNKNOWN.

Period String SEGMENT Predefined date range.

The allowed values are TODAY, YESTERDAY, LAST_7_DAYS, LAST_BUSINESS_WEEK, THIS_MONTH, LAST_MONTH, LAST_14_DAYS, LAST_30_DAYS, THIS_WEEK_SUN_TODAY, THIS_WEEK_MON_TODAY, LAST_WEEK_SUN_SAT, LAST_WEEK_MON_SUN.

Quarter Date SEGMENT Quarter as represented by the date of the first day of a quarter.
RecommendationType String SEGMENT Recommendation type.

The allowed values are CALLOUT_ASSET, CALL_ASSET, CAMPAIGN_BUDGET, CUSTOM_AUDIENCE_OPT_IN, DISPLAY_EXPANSION_OPT_IN, DYNAMIC_IMAGE_EXTENSION_OPT_IN, ENHANCED_CPC_OPT_IN, FORECASTING_CAMPAIGN_BUDGET, FORECASTING_SET_TARGET_CPA, FORECASTING_SET_TARGET_ROAS, IMPROVE_DEMAND_GEN_AD_STRENGTH, IMPROVE_GOOGLE_TAG_COVERAGE, IMPROVE_PERFORMANCE_MAX_AD_STRENGTH, KEYWORD, KEYWORD_MATCH_TYPE, LEAD_FORM_ASSET, LOWER_TARGET_ROAS, MARGINAL_ROI_CAMPAIGN_BUDGET, MAXIMIZE_CLICKS_OPT_IN, MAXIMIZE_CONVERSIONS_OPT_IN, MAXIMIZE_CONVERSION_VALUE_OPT_IN, MIGRATE_DYNAMIC_SEARCH_ADS_CAMPAIGN_TO_PERFORMANCE_MAX, MOVE_UNUSED_BUDGET, OPTIMIZE_AD_ROTATION, PERFORMANCE_MAX_FINAL_URL_OPT_IN, PERFORMANCE_MAX_OPT_IN, RAISE_TARGET_CPA, RAISE_TARGET_CPA_BID_TOO_LOW, REFRESH_CUSTOMER_MATCH_LIST, RESPONSIVE_SEARCH_AD, RESPONSIVE_SEARCH_AD_ASSET, RESPONSIVE_SEARCH_AD_IMPROVE_AD_STRENGTH, SEARCH_PARTNERS_OPT_IN, SET_TARGET_CPA, SET_TARGET_ROAS, SHOPPING_ADD_AGE_GROUP, SHOPPING_ADD_COLOR, SHOPPING_ADD_GENDER, SHOPPING_ADD_GTIN, SHOPPING_ADD_MORE_IDENTIFIERS, SHOPPING_ADD_PRODUCTS_TO_CAMPAIGN, SHOPPING_ADD_SIZE, SHOPPING_FIX_DISAPPROVED_PRODUCTS, SHOPPING_FIX_MERCHANT_CENTER_ACCOUNT_SUSPENSION_WARNING, SHOPPING_FIX_SUSPENDED_MERCHANT_CENTER_ACCOUNT, SHOPPING_MIGRATE_REGULAR_SHOPPING_CAMPAIGN_OFFERS_TO_PERFORMANCE_MAX, SHOPPING_TARGET_ALL_OFFERS, SITELINK_ASSET, TARGET_CPA_OPT_IN, TARGET_ROAS_OPT_IN, TEXT_AD, UNKNOWN, UPGRADE_LOCAL_CAMPAIGN_TO_PERFORMANCE_MAX, UPGRADE_SMART_SHOPPING_CAMPAIGN_TO_PERFORMANCE_MAX, USE_BROAD_MATCH_KEYWORD.

SkAdNetworkAdEventType String SEGMENT iOS Store Kit Ad Network ad event type.

The allowed values are INTERACTION, UNAVAILABLE, UNKNOWN, VIEW.

SkAdNetworkAttributionCredit String SEGMENT iOS Store Kit Ad Network attribution credit

The allowed values are CONTRIBUTED, UNAVAILABLE, UNKNOWN, WON.

SkAdNetworkCoarseConversionValue String SEGMENT iOS Store Kit Ad Network coarse conversion value.

The allowed values are HIGH, LOW, MEDIUM, NONE, UNAVAILABLE, UNKNOWN.

SkAdNetworkFineConversionValue Long SEGMENT iOS Store Kit Ad Network conversion value.
SkAdNetworkPostbackSequenceIndex Long SEGMENT iOS Store Kit Ad Network postback sequence index.
SkAdNetworkRedistributedFineConversionValue Long SEGMENT iOS Store Kit Ad Network redistributed fine conversion value.
SkAdNetworkSourceAppSkAdNetworkSourceAppId String SEGMENT App id where the ad that drove the iOS Store Kit Ad Network install was shown.
SkAdNetworkSourceDomain String SEGMENT Website where the ad that drove the iOS Store Kit Ad Network install was
SkAdNetworkSourceType String SEGMENT The source type where the ad that drove the iOS Store Kit Ad Network

The allowed values are MOBILE_APPLICATION, UNAVAILABLE, UNKNOWN, WEBSITE.

SkAdNetworkUserType String SEGMENT iOS Store Kit Ad Network user type.

The allowed values are NEW_INSTALLER, REINSTALLER, UNAVAILABLE, UNKNOWN.

SkAdNetworkVersion String SEGMENT The version of the SKAdNetwork API used.
Slot String SEGMENT Position of the ad.

The allowed values are CONTENT, MIXED, SEARCH_OTHER, SEARCH_PARTNER_OTHER, SEARCH_PARTNER_TOP, SEARCH_SIDE, SEARCH_TOP, UNKNOWN.

VerticalAdsEventParticipantDisplayNames String SEGMENT The display names of participants in an event listing, like performers,
VerticalAdsHotelClass Long SEGMENT The class of the hotel. Generally in the range of 1 to 5 stars, but fully
VerticalAdsListing String SEGMENT The listing associated with a listing impression, click or conversion.
VerticalAdsListingBrand String SEGMENT The brand associated with a specific listing within a Vertical Ads
VerticalAdsListingCity String SEGMENT The city where the vertical ads listing is located.
VerticalAdsListingCountry String SEGMENT The country where the vertical ads listing is located.
VerticalAdsListingRegion String SEGMENT The region where the vertical ads listing is located.
VerticalAdsPartnerAccount Long SEGMENT A specific partner account within a Partner Center (for example, Hotel
VerticalAdsVertical String SEGMENT Type of vertical ad, such as Vacation Rentals, Car Rentals, or

The allowed values are EVENTS, FLIGHTS, HOTELS, RENTAL_CARS, THINGS_TO_DO, UNKNOWN, VACATION_RENTALS.

Week Date SEGMENT Week as defined as Monday through Sunday, and represented by the date of
Year Int SEGMENT Year, formatted as yyyy.

Pseudo-Columns

Pseudo column fields are used in the WHERE clause of SELECT statements and offer more granular control over the data returned from the data source.

Name Type Description
ManagerId Long Id of the manager account on behalf of which you are requesting customer data.

CData Python Connector for Google Ads

CustomerAsset

A link between a customer and an asset.

Columns

Name Type Behavior Description
AdGroupId Long SEGMENT Output only. The ID of the ad group.
CampaignId Long SEGMENT Output only. The ID of the campaign.
CustomerId Long ATTRIBUTE Output only. The ID of the customer.
CustomerAssetAsset String ATTRIBUTE Required. Immutable. The asset which is linked to the customer.
CustomerAssetFieldType String ATTRIBUTE Required. Immutable. Role that the asset takes for the customer link.

The allowed values are AD_IMAGE, BOOK_ON_GOOGLE, BUSINESS_LOGO, BUSINESS_MESSAGE, BUSINESS_NAME, CALL, CALLOUT, CALL_TO_ACTION, CALL_TO_ACTION_SELECTION, DEMAND_GEN_CAROUSEL_CARD, DESCRIPTION, HEADLINE, HOTEL_CALLOUT, HOTEL_PROPERTY, LANDING_PAGE_PREVIEW, LANDSCAPE_LOGO, LEAD_FORM, LOGO, LONG_DESCRIPTION, LONG_HEADLINE, MANDATORY_AD_TEXT, MARKETING_IMAGE, MEDIA_BUNDLE, MOBILE_APP, PORTRAIT_MARKETING_IMAGE, PRICE, PROMOTION, RELATED_YOUTUBE_VIDEOS, SITELINK, SQUARE_MARKETING_IMAGE, STRUCTURED_SNIPPET, TALL_PORTRAIT_MARKETING_IMAGE, UNKNOWN, VIDEO, YOUTUBE_VIDEO.

CustomerAssetPrimaryStatus String ATTRIBUTE Output only. Provides the PrimaryStatus of this asset link.

The allowed values are ELIGIBLE, LIMITED, NOT_ELIGIBLE, PAUSED, PENDING, REMOVED, UNKNOWN.

CustomerAssetPrimaryStatusDetails String ATTRIBUTE Output only. Provides the details of the primary status and its associated
CustomerAssetPrimaryStatusReasons String ATTRIBUTE Output only. Provides a list of reasons for why an asset is not serving or

The allowed values are ASSET_APPROVED_LABELED, ASSET_DISAPPROVED, ASSET_LINK_PAUSED, ASSET_LINK_REMOVED, ASSET_UNDER_REVIEW, UNKNOWN.

CustomerAssetResourceName String ATTRIBUTE Immutable. The resource name of the customer asset.
CustomerAssetSource String ATTRIBUTE Output only. Source of the customer asset link.

The allowed values are ADVERTISER, AUTOMATICALLY_CREATED, UNKNOWN.

CustomerAssetStatus String ATTRIBUTE Status of the customer asset.

The allowed values are ENABLED, PAUSED, REMOVED, UNKNOWN.

AbsoluteTopImpressionPercentage Double METRIC Search absolute top impression share is the percentage of your Search ad
AllConversions Double METRIC The total number of conversions. This includes all conversions regardless
AllConversionsFromInteractionsRate Double METRIC All conversions from interactions (as oppose to view through conversions)
AllConversionsValue Double METRIC The value of all conversions.
AverageCost Double METRIC The average amount you pay per interaction. This amount is the total cost
AverageCpc Double METRIC The total cost of all clicks divided by the total number of clicks
AverageCpe Double METRIC The average amount that you've been charged for an ad engagement. This
AverageCpm Double METRIC Average cost-per-thousand impressions (CPM).
Clicks Long METRIC The number of clicks.
Conversions Double METRIC The number of conversions. This only includes conversion actions which
ConversionsFromInteractionsRate Double METRIC Conversions from interactions divided by the number of ad interactions
ConversionsValue Double METRIC The value of conversions. This only includes conversion actions which
CostMicros Long METRIC The sum of your cost-per-click (CPC) and cost-per-thousand impressions
CostPerAllConversions Double METRIC The cost of ad interactions divided by all conversions.
CostPerConversion Double METRIC The cost of ad interactions divided by conversions. This only includes
CrossDeviceConversions Double METRIC Conversions from when a customer clicks on a Google Ads ad on one device,
Ctr Double METRIC The number of clicks your ad receives (Clicks) divided by the number
EngagementRate Double METRIC How often people engage with your ad after it's shown to them. This is the
Engagements Long METRIC The number of engagements.
Impressions Long METRIC Count of how often your ad has appeared on a search results page or
InteractionEventTypes String METRIC The types of payable and free interactions.

The allowed values are CLICK, ENGAGEMENT, NONE, UNKNOWN, VIDEO_VIEW.

InteractionRate Double METRIC How often people interact with your ad after it is shown to them.
Interactions Long METRIC The number of interactions.
PhoneCalls Long METRIC Number of offline phone calls.
PhoneImpressions Long METRIC Number of offline phone impressions.
PhoneThroughRate Double METRIC Number of phone calls received (phone_calls) divided by the number of
TopImpressionPercentage Double METRIC The percent of your ad impressions that are shown adjacent to the top
TrueviewAverageCpv Double METRIC The average amount you pay each time someone views your ad.
ValuePerAllConversions Double METRIC The value of all conversions divided by the number of all conversions.
ValuePerConversion Double METRIC The value of conversions divided by the number of conversions. This only
VideoTrueviewViewRate Double METRIC The number of TrueView views your video ad receives divided by its number
VideoTrueviewViews Long METRIC The number of TrueView views your video ads received.
AdNetworkType String SEGMENT Ad network type.

The allowed values are CONTENT, DISCOVER, GMAIL, GOOGLE_OWNED_CHANNELS, GOOGLE_TV, MAPS, MIXED, SEARCH, SEARCH_PARTNERS, UNKNOWN, YOUTUBE.

AdSubNetworkType String SEGMENT Ad sub network type. Currently only available for ads running as part of

The allowed values are UNKNOWN, UNSEGMENTED, YOUTUBE_INFEED, YOUTUBE_INSTREAM, YOUTUBE_SHORTS.

AssetInteractionTargetAsset String SEGMENT The asset resource name.
AssetInteractionTargetInteractionOnThisAsset Bool SEGMENT Only used with CustomerAsset, CampaignAsset and AdGroupAsset metrics. Indicates whether the interaction metrics occurred on the asset itself or a different asset or ad unit.
ClickType String SEGMENT Click type.

The allowed values are AD_IMAGE, APP_DEEPLINK, BREADCRUMBS, BROADBAND_PLAN, CALLS, CALL_TRACKING, CLICK_ON_ENGAGEMENT_AD, CLICK_TO_MESSAGE_LANDING_PAGE_CLICK, CLICK_TO_MESSAGE_THIRD_PARTY_CLICK, CROSS_NETWORK, GET_DIRECTIONS, HOTEL_BOOK_ON_GOOGLE_ROOM_SELECTION, HOTEL_PRICE, LOCATION_EXPANSION, LOCATION_FORMAT_CALL, LOCATION_FORMAT_DIRECTIONS, LOCATION_FORMAT_IMAGE, LOCATION_FORMAT_LANDING_PAGE, LOCATION_FORMAT_MAP, LOCATION_FORMAT_STORE_INFO, LOCATION_FORMAT_TEXT, MOBILE_CALL_TRACKING, OFFER_PRINTS, OTHER, PRICE_EXTENSION, PRODUCT_AD_APP_DEEPLINK, PRODUCT_ASSETS, PRODUCT_EXTENSION_CLICKS, PRODUCT_LISTING_ADS_COUPON, PRODUCT_LISTING_AD_CLICKS, PRODUCT_LISTING_AD_LOCAL, PRODUCT_LISTING_AD_MULTICHANNEL_LOCAL, PRODUCT_LISTING_AD_MULTICHANNEL_ONLINE, PRODUCT_LISTING_AD_TRANSACTABLE, PROMOTION_EXTENSION, SHOPPING_COMPARISON_LISTING, SHOWCASE_AD_CATEGORY_LINK, SHOWCASE_AD_LOCAL_PRODUCT_LINK, SHOWCASE_AD_LOCAL_STOREFRONT_LINK, SHOWCASE_AD_ONLINE_PRODUCT_LINK, SITELINKS, STORE_LOCATOR, SWIPEABLE_GALLERY_AD_HEADLINE, SWIPEABLE_GALLERY_AD_SEE_MORE, SWIPEABLE_GALLERY_AD_SITELINK_FIVE, SWIPEABLE_GALLERY_AD_SITELINK_FOUR, SWIPEABLE_GALLERY_AD_SITELINK_ONE, SWIPEABLE_GALLERY_AD_SITELINK_THREE, SWIPEABLE_GALLERY_AD_SITELINK_TWO, SWIPEABLE_GALLERY_AD_SWIPES, TRAVEL_ASSETS, UNKNOWN, URL_CLICKS, VEHICLE_ASSETS, VIDEO_APP_STORE_CLICKS, VIDEO_CALL_TO_ACTION_CLICKS, VIDEO_CARD_ACTION_HEADLINE_CLICKS, VIDEO_CHANNEL_CLICK, VIDEO_END_CAP_CLICKS, VIDEO_RELATED_VIDEOS_CLICK, VIDEO_WEBSITE_CLICKS, VISUAL_SITELINKS, WIRELESS_PLAN.

ConversionAction String SEGMENT Resource name of the conversion action.
ConversionActionCategory String SEGMENT Conversion action category.

The allowed values are ADD_TO_CART, BEGIN_CHECKOUT, BOOK_APPOINTMENT, CONTACT, CONVERTED_LEAD, DEFAULT, DOWNLOAD, ENGAGEMENT, GET_DIRECTIONS, IMPORTED_LEAD, OUTBOUND_CLICK, PAGE_VIEW, PHONE_CALL_LEAD, PURCHASE, QUALIFIED_LEAD, REQUEST_QUOTE, SIGNUP, STORE_SALE, STORE_VISIT, SUBMIT_LEAD_FORM, SUBSCRIBE_PAID, UNKNOWN, YOUTUBE_FOLLOW_ON_VIEWS.

ConversionActionName String SEGMENT Conversion action name.
Date Date SEGMENT Date to which metrics apply.
DayOfWeek String SEGMENT Day of the week, for example, MONDAY.

The allowed values are FRIDAY, MONDAY, SATURDAY, SUNDAY, THURSDAY, TUESDAY, UNKNOWN, WEDNESDAY.

Device String SEGMENT Device to which metrics apply.

The allowed values are CONNECTED_TV, DESKTOP, MOBILE, OTHER, TABLET, UNKNOWN.

ExternalConversionSource String SEGMENT External conversion source.

The allowed values are AD_CALL_METRICS, ANALYTICS, ANALYTICS_SEARCH_ADS_360, ANDROID_FIRST_OPEN, ANDROID_IN_APP, APP_UNSPECIFIED, CLICK_TO_CALL, DISPLAY_AND_VIDEO_360_FLOODLIGHT, FIREBASE, FIREBASE_SEARCH_ADS_360, FLOODLIGHT, GOOGLE_ATTRIBUTION, GOOGLE_HOSTED, GOOGLE_PLAY, IOS_FIRST_OPEN, IOS_IN_APP, SALESFORCE, SEARCH_ADS_360, STORE_SALES, STORE_SALES_CRM, STORE_SALES_DIRECT_UPLOAD, STORE_SALES_PAYMENT_NETWORK, STORE_VISITS, THIRD_PARTY_APP_ANALYTICS, UNKNOWN, UPLOAD, UPLOAD_CALLS, WEBPAGE, WEBSITE_CALL_METRICS.

Month Date SEGMENT Month as represented by the date of the first day of a month. Formatted as
MonthOfYear String SEGMENT Month of the year, for example, January.

The allowed values are APRIL, AUGUST, DECEMBER, FEBRUARY, JANUARY, JULY, JUNE, MARCH, MAY, NOVEMBER, OCTOBER, SEPTEMBER, UNKNOWN.

Period String SEGMENT Predefined date range.

The allowed values are TODAY, YESTERDAY, LAST_7_DAYS, LAST_BUSINESS_WEEK, THIS_MONTH, LAST_MONTH, LAST_14_DAYS, LAST_30_DAYS, THIS_WEEK_SUN_TODAY, THIS_WEEK_MON_TODAY, LAST_WEEK_SUN_SAT, LAST_WEEK_MON_SUN.

Quarter Date SEGMENT Quarter as represented by the date of the first day of a quarter.
Slot String SEGMENT Position of the ad.

The allowed values are CONTENT, MIXED, SEARCH_OTHER, SEARCH_PARTNER_OTHER, SEARCH_PARTNER_TOP, SEARCH_SIDE, SEARCH_TOP, UNKNOWN.

Week Date SEGMENT Week as defined as Monday through Sunday, and represented by the date of
Year Int SEGMENT Year, formatted as yyyy.

Pseudo-Columns

Pseudo column fields are used in the WHERE clause of SELECT statements and offer more granular control over the data returned from the data source.

Name Type Description
ManagerId Long Id of the manager account on behalf of which you are requesting customer data.

CData Python Connector for Google Ads

CustomerAssetSet

CustomerAssetSet is the linkage between a customer and an asset set.

Columns

Name Type Behavior Description
CustomerId Long ATTRIBUTE Output only. The ID of the customer.
CustomerAssetSetAssetSet String ATTRIBUTE Immutable. The asset set which is linked to the customer.
CustomerAssetSetResourceName String ATTRIBUTE Immutable. The resource name of the customer asset set.
CustomerAssetSetStatus String ATTRIBUTE Output only. The status of the customer asset set asset. Read-only.

The allowed values are ENABLED, REMOVED, UNKNOWN.

Pseudo-Columns

Pseudo column fields are used in the WHERE clause of SELECT statements and offer more granular control over the data returned from the data source.

Name Type Description
ManagerId Long Id of the manager account on behalf of which you are requesting customer data.

CData Python Connector for Google Ads

CustomerClient

A link between the given customer and a client customer. CustomerClients only

Columns

Name Type Behavior Description
CustomerId Long ATTRIBUTE Output only. The ID of the customer.
CustomerClientAppliedLabels String ATTRIBUTE Output only. The resource names of the labels owned by the requesting
CustomerClientClientCustomer String ATTRIBUTE Output only. The resource name of the client-customer which is linked to
CustomerClientCurrencyCode String ATTRIBUTE Output only. Currency code (for example, 'USD', 'EUR') for the client. Read
CustomerClientDescriptiveName String ATTRIBUTE Output only. Descriptive name for the client. Read only.
CustomerClientHidden Bool ATTRIBUTE Output only. Specifies whether this is a
CustomerClientId Long ATTRIBUTE Output only. The ID of the client customer. Read only.
CustomerClientLevel Long ATTRIBUTE Output only. Distance between given customer and client. For self link, the
CustomerClientManager Bool ATTRIBUTE Output only. Identifies if the client is a manager. Read only.
CustomerClientResourceName String ATTRIBUTE Output only. The resource name of the customer client.
CustomerClientStatus String ATTRIBUTE Output only. The status of the client customer. Read only.

The allowed values are CANCELED, CLOSED, ENABLED, SUSPENDED, UNKNOWN.

CustomerClientTestAccount Bool ATTRIBUTE Output only. Identifies if the client is a test account. Read only.
CustomerClientTimeZone String ATTRIBUTE Output only. Common Locale Data Repository (CLDR) string representation of

Pseudo-Columns

Pseudo column fields are used in the WHERE clause of SELECT statements and offer more granular control over the data returned from the data source.

Name Type Description
ManagerId Long Id of the manager account on behalf of which you are requesting customer data.

CData Python Connector for Google Ads

CustomerClientLink

CData Python Connector for Google Ads

CustomerConversionGoal

Biddability control for conversion actions with a matching category and

Columns

Name Type Behavior Description
CustomerId Long ATTRIBUTE Output only. The ID of the customer.
CustomerConversionGoalBiddable Bool ATTRIBUTE The biddability of the customer conversion goal.
CustomerConversionGoalCategory String ATTRIBUTE The conversion category of this customer conversion goal. Only

The allowed values are ADD_TO_CART, BEGIN_CHECKOUT, BOOK_APPOINTMENT, CONTACT, CONVERTED_LEAD, DEFAULT, DOWNLOAD, ENGAGEMENT, GET_DIRECTIONS, IMPORTED_LEAD, OUTBOUND_CLICK, PAGE_VIEW, PHONE_CALL_LEAD, PURCHASE, QUALIFIED_LEAD, REQUEST_QUOTE, SIGNUP, STORE_SALE, STORE_VISIT, SUBMIT_LEAD_FORM, SUBSCRIBE_PAID, UNKNOWN, YOUTUBE_FOLLOW_ON_VIEWS.

CustomerConversionGoalOrigin String ATTRIBUTE The conversion origin of this customer conversion goal. Only

The allowed values are APP, CALL_FROM_ADS, GOOGLE_HOSTED, STORE, UNKNOWN, WEBSITE, YOUTUBE_HOSTED.

CustomerConversionGoalResourceName String ATTRIBUTE Immutable. The resource name of the customer conversion goal.

Pseudo-Columns

Pseudo column fields are used in the WHERE clause of SELECT statements and offer more granular control over the data returned from the data source.

Name Type Description
ManagerId Long Id of the manager account on behalf of which you are requesting customer data.

CData Python Connector for Google Ads

CustomerCustomizer

A customizer value for the associated CustomizerAttribute at the Customer

Columns

Name Type Behavior Description
CustomerId Long ATTRIBUTE Output only. The ID of the customer.
CustomerCustomizerCustomizerAttribute String ATTRIBUTE Required. Immutable. The customizer attribute which is linked to the
CustomerCustomizerResourceName String ATTRIBUTE Immutable. The resource name of the customer customizer.
CustomerCustomizerStatus String ATTRIBUTE Output only. The status of the customer customizer attribute.

The allowed values are ENABLED, REMOVED, UNKNOWN.

CustomerCustomizerValueStringValue String ATTRIBUTE Required. Value to insert in creative text. Customizer values of all types are stored as string to make formatting unambiguous.
CustomerCustomizerValueType String ATTRIBUTE Required. The data type for the customizer value. It must match the attribute type. The string_value content must match the constraints associated with the type.

The allowed values are NUMBER, PERCENT, PRICE, TEXT, UNKNOWN.

Pseudo-Columns

Pseudo column fields are used in the WHERE clause of SELECT statements and offer more granular control over the data returned from the data source.

Name Type Description
ManagerId Long Id of the manager account on behalf of which you are requesting customer data.

CData Python Connector for Google Ads

CustomerLabel

Represents a relationship between a customer and a label. This customer may

Columns

Name Type Behavior Description
CustomerId Long ATTRIBUTE Output only. The ID of the customer.
CustomerLabelCustomer String ATTRIBUTE Output only. The resource name of the customer to which the label is
CustomerLabelLabel String ATTRIBUTE Output only. The resource name of the label assigned to the customer.
CustomerLabelResourceName String ATTRIBUTE Immutable. Name of the resource.

Pseudo-Columns

Pseudo column fields are used in the WHERE clause of SELECT statements and offer more granular control over the data returned from the data source.

Name Type Description
ManagerId Long Id of the manager account on behalf of which you are requesting customer data.

CData Python Connector for Google Ads

CustomerLifecycleGoal

Account level customer lifecycle goal settings.

Columns

Name Type Behavior Description
CustomerId Long ATTRIBUTE Output only. The ID of the customer.
CustomerLifecycleGoalCustomerAcquisitionGoalValueSettingsHighLifetimeValue Double ATTRIBUTE High lifetime value of the lifecycle goal. For example, for customer acquisition goal, high lifetime value is the incremental conversion value for new customers who are of high value. High lifetime value should be greater than value, if set.
CustomerLifecycleGoalCustomerAcquisitionGoalValueSettingsValue Double ATTRIBUTE Value of the lifecycle goal. For example, for customer acquisition goal, value is the incremental conversion value for new customers who are not of high value.
CustomerLifecycleGoalOwnerCustomer String ATTRIBUTE Output only. The resource name of the customer which owns the lifecycle
CustomerLifecycleGoalResourceName String ATTRIBUTE Immutable. The resource name of the customer lifecycle goal.

Pseudo-Columns

Pseudo column fields are used in the WHERE clause of SELECT statements and offer more granular control over the data returned from the data source.

Name Type Description
ManagerId Long Id of the manager account on behalf of which you are requesting customer data.

CData Python Connector for Google Ads

CustomerManagerLink

CData Python Connector for Google Ads

CustomerNegativeCriterion

A negative criterion for exclusions at the customer level.

Columns

Name Type Behavior Description
CustomerId Long ATTRIBUTE Output only. The ID of the customer.
CustomerNegativeCriterionContentLabelType String ATTRIBUTE Content label type, required for CREATE operations.

The allowed values are BELOW_THE_FOLD, BRAND_SUITABILITY_CONTENT_FOR_FAMILIES, BRAND_SUITABILITY_GAMES_FIGHTING, BRAND_SUITABILITY_GAMES_MATURE, BRAND_SUITABILITY_HEALTH_SENSITIVE, BRAND_SUITABILITY_HEALTH_SOURCE_UNDETERMINED, BRAND_SUITABILITY_NEWS_RECENT, BRAND_SUITABILITY_NEWS_SENSITIVE, BRAND_SUITABILITY_NEWS_SOURCE_NOT_FEATURED, BRAND_SUITABILITY_POLITICS, BRAND_SUITABILITY_RELIGION, EMBEDDED_VIDEO, JUVENILE, LIVE_STREAMING_VIDEO, PARKED_DOMAIN, PROFANITY, SEXUALLY_SUGGESTIVE, SOCIAL_ISSUES, TRAGEDY, UNKNOWN, VIDEO, VIDEO_NOT_YET_RATED, VIDEO_RATING_DV_G, VIDEO_RATING_DV_MA, VIDEO_RATING_DV_PG, VIDEO_RATING_DV_T.

CustomerNegativeCriterionId Long ATTRIBUTE Output only. The ID of the criterion.
CustomerNegativeCriterionIpBlockIpAddress String ATTRIBUTE The IP address or the CIDR block to be excluded.
CustomerNegativeCriterionMobileAppCategoryMobileAppCategoryConstant String ATTRIBUTE The mobile app category constant resource name.
CustomerNegativeCriterionMobileApplicationAppId String ATTRIBUTE A string that uniquely identifies a mobile application to Google Ads API. The format of this string is '{platform}-{platform_native_id}', where platform is '1' for iOS apps and '2' for Android apps, and where platform_native_id is the mobile application identifier native to the corresponding platform. For iOS, this native identifier is the 9 digit string that appears at the end of an App Store URL (for example, '476943146' for 'Flood-It! 2' whose App Store link is 'http://itunes.apple.com/us/app/flood-it!-2/id476943146'). For Android, this native identifier is the application's package name (for example, 'com.labpixies.colordrips' for 'Color Drips' given Google Play link 'https://play.google.com/store/apps/details?id=com.labpixies.colordrips'). A well formed app id for Google Ads API would thus be '1-476943146' for iOS and '2-com.labpixies.colordrips' for Android. This field is required and must be set in CREATE operations.
CustomerNegativeCriterionMobileApplicationName String ATTRIBUTE Name of this mobile application.
CustomerNegativeCriterionNegativeKeywordListSharedSet String ATTRIBUTE The NegativeKeywordListInfo shared set resource name.
CustomerNegativeCriterionPlacementUrl String ATTRIBUTE URL of the placement. For example, 'http://www.domain.com'.
CustomerNegativeCriterionPlacementListSharedSet String ATTRIBUTE The PlacementListInfo shared set resource name.
CustomerNegativeCriterionResourceName String ATTRIBUTE Immutable. The resource name of the customer negative criterion.
CustomerNegativeCriterionType String ATTRIBUTE Output only. The type of the criterion.

The allowed values are AD_SCHEDULE, AGE_RANGE, APP_PAYMENT_MODEL, AUDIENCE, BRAND, BRAND_LIST, CARRIER, COMBINED_AUDIENCE, CONTENT_LABEL, CUSTOM_AFFINITY, CUSTOM_AUDIENCE, CUSTOM_INTENT, DEVICE, GENDER, INCOME_RANGE, IP_BLOCK, KEYWORD, KEYWORD_THEME, LANGUAGE, LIFE_EVENT, LISTING_GROUP, LISTING_SCOPE, LOCAL_SERVICE_ID, LOCATION, LOCATION_GROUP, MOBILE_APPLICATION, MOBILE_APP_CATEGORY, MOBILE_DEVICE, NEGATIVE_KEYWORD_LIST, OPERATING_SYSTEM_VERSION, PARENTAL_STATUS, PLACEMENT, PLACEMENT_LIST, PROXIMITY, SEARCH_THEME, TOPIC, UNKNOWN, USER_INTEREST, USER_LIST, VERTICAL_ADS_ITEM_GROUP_RULE, VERTICAL_ADS_ITEM_GROUP_RULE_LIST, VIDEO_LINEUP, WEBPAGE, WEBPAGE_LIST, YOUTUBE_CHANNEL, YOUTUBE_VIDEO.

CustomerNegativeCriterionYoutubeChannelChannelId String ATTRIBUTE The YouTube uploader channel id or the channel code of a YouTube channel.
CustomerNegativeCriterionYoutubeVideoVideoId String ATTRIBUTE YouTube video id as it appears on the YouTube watch page.

Pseudo-Columns

Pseudo column fields are used in the WHERE clause of SELECT statements and offer more granular control over the data returned from the data source.

Name Type Description
ManagerId Long Id of the manager account on behalf of which you are requesting customer data.

CData Python Connector for Google Ads

CustomerSearchTermInsight

This report provides a high-level view of search demand at the customer

Columns

Name Type Behavior Description
CustomerId Long ATTRIBUTE Output only. The ID of the customer.
CustomerSearchTermInsightCategoryLabel String ATTRIBUTE Output only. The label for the search category. An empty string denotes the
CustomerSearchTermInsightId Long ATTRIBUTE Output only. The ID of the insight.
CustomerSearchTermInsightResourceName String ATTRIBUTE Output only. The resource name of the customer level search term insight.
Clicks Long METRIC The number of clicks.
Conversions Double METRIC The number of conversions. This only includes conversion actions which
ConversionsFromInteractionsRate Double METRIC Conversions from interactions divided by the number of ad interactions
ConversionsValue Double METRIC The value of conversions. This only includes conversion actions which
Ctr Double METRIC The number of clicks your ad receives (Clicks) divided by the number
Impressions Long METRIC Count of how often your ad has appeared on a search results page or
SearchVolume String METRIC Search volume range for a search term insight category.
Campaign String SEGMENT Resource name of the campaign.
Date Date SEGMENT Date to which metrics apply.
Period String SEGMENT Predefined date range.

The allowed values are TODAY, YESTERDAY, LAST_7_DAYS, LAST_BUSINESS_WEEK, THIS_MONTH, LAST_MONTH, LAST_14_DAYS, LAST_30_DAYS, THIS_WEEK_SUN_TODAY, THIS_WEEK_MON_TODAY, LAST_WEEK_SUN_SAT, LAST_WEEK_MON_SUN.

SearchSubcategory String SEGMENT A search term subcategory. An empty string denotes the catch-all
SearchTerm String SEGMENT A search term.

Pseudo-Columns

Pseudo column fields are used in the WHERE clause of SELECT statements and offer more granular control over the data returned from the data source.

Name Type Description
ManagerId Long Id of the manager account on behalf of which you are requesting customer data.

CData Python Connector for Google Ads

CustomerUserAccess

Represents the permission of a single user onto a single customer.

Columns

Name Type Behavior Description
CustomerId Long ATTRIBUTE Output only. The ID of the customer.
CustomerUserAccessAccessCreationDateTime Datetime ATTRIBUTE Output only. The customer user access creation time.
CustomerUserAccessAccessRole String ATTRIBUTE Access role of the user.

The allowed values are ADMIN, EMAIL_ONLY, READ_ONLY, STANDARD, UNKNOWN.

CustomerUserAccessEmailAddress String ATTRIBUTE Output only. Email address of the user.
CustomerUserAccessInviterUserEmailAddress String ATTRIBUTE Output only. The email address of the inviter user.
CustomerUserAccessResourceName String ATTRIBUTE Immutable. Name of the resource.
CustomerUserAccessUserId Long ATTRIBUTE Output only. User id of the user with the customer access.

Pseudo-Columns

Pseudo column fields are used in the WHERE clause of SELECT statements and offer more granular control over the data returned from the data source.

Name Type Description
ManagerId Long Id of the manager account on behalf of which you are requesting customer data.

CData Python Connector for Google Ads

CustomerUserAccessInvitation

Represent an invitation to a new user on this customer account.

Columns

Name Type Behavior Description
CustomerId Long ATTRIBUTE Output only. The ID of the customer.
CustomerUserAccessInvitationAccessRole String ATTRIBUTE Immutable. Access role of the user.

The allowed values are ADMIN, EMAIL_ONLY, READ_ONLY, STANDARD, UNKNOWN.

CustomerUserAccessInvitationCreationDateTime Datetime ATTRIBUTE Output only. Time invitation was created.
CustomerUserAccessInvitationEmailAddress String ATTRIBUTE Immutable. Email address the invitation was sent to.
CustomerUserAccessInvitationInvitationId Long ATTRIBUTE Output only. The ID of the invitation.
CustomerUserAccessInvitationInvitationStatus String ATTRIBUTE Output only. Invitation status of the user.

The allowed values are DECLINED, EXPIRED, PENDING, UNKNOWN.

CustomerUserAccessInvitationResourceName String ATTRIBUTE Immutable. Name of the resource.

Pseudo-Columns

Pseudo column fields are used in the WHERE clause of SELECT statements and offer more granular control over the data returned from the data source.

Name Type Description
ManagerId Long Id of the manager account on behalf of which you are requesting customer data.

CData Python Connector for Google Ads

CustomInterest

A custom interest. This is a list of users by interest.

Columns

Name Type Behavior Description
CustomInterestDescription String ATTRIBUTE Description of this custom interest audience.
CustomInterestId Long ATTRIBUTE Output only. Id of the custom interest.
CustomInterestMembers String ATTRIBUTE List of custom interest members that this custom interest is composed of.
CustomInterestName String ATTRIBUTE Name of the custom interest. It should be unique across the same custom
CustomInterestResourceName String ATTRIBUTE Immutable. The resource name of the custom interest.
CustomInterestStatus String ATTRIBUTE Status of this custom interest. Indicates whether the custom interest is

The allowed values are ENABLED, REMOVED, UNKNOWN.

CustomInterestType String ATTRIBUTE Type of the custom interest, CUSTOM_AFFINITY or CUSTOM_INTENT.

The allowed values are CUSTOM_AFFINITY, CUSTOM_INTENT, UNKNOWN.

CustomerId Long ATTRIBUTE Output only. The ID of the customer.

Pseudo-Columns

Pseudo column fields are used in the WHERE clause of SELECT statements and offer more granular control over the data returned from the data source.

Name Type Description
ManagerId Long Id of the manager account on behalf of which you are requesting customer data.

CData Python Connector for Google Ads

CustomizerAttribute

A customizer attribute.

Columns

Name Type Behavior Description
CustomerId Long ATTRIBUTE Output only. The ID of the customer.
CustomizerAttributeId Long ATTRIBUTE Output only. The ID of the customizer attribute.
CustomizerAttributeName String ATTRIBUTE Required. Immutable. Name of the customizer attribute. Required. It must
CustomizerAttributeResourceName String ATTRIBUTE Immutable. The resource name of the customizer attribute.
CustomizerAttributeStatus String ATTRIBUTE Output only. The status of the customizer attribute.

The allowed values are ENABLED, REMOVED, UNKNOWN.

CustomizerAttributeType String ATTRIBUTE Immutable. The type of the customizer attribute.

The allowed values are NUMBER, PERCENT, PRICE, TEXT, UNKNOWN.

Pseudo-Columns

Pseudo column fields are used in the WHERE clause of SELECT statements and offer more granular control over the data returned from the data source.

Name Type Description
ManagerId Long Id of the manager account on behalf of which you are requesting customer data.

CData Python Connector for Google Ads

DataLink

CData Python Connector for Google Ads

DetailContentSuitabilityPlacementView

A detail content suitability placement view.

Columns

Name Type Behavior Description
AdGroupId Long SEGMENT Output only. The ID of the ad group.
CampaignId Long SEGMENT Output only. The ID of the campaign.
CustomerId Long ATTRIBUTE Output only. The ID of the customer.
DetailContentSuitabilityPlacementViewDisplayName String ATTRIBUTE Output only. The display name is URL for websites, YouTube video name for
DetailContentSuitabilityPlacementViewPlacement String ATTRIBUTE Output only. The automatic placement string at detail level, for example.
DetailContentSuitabilityPlacementViewPlacementType String ATTRIBUTE Output only. Represents the type of the placement, for example, Website,

The allowed values are GOOGLE_PRODUCTS, MOBILE_APPLICATION, MOBILE_APP_CATEGORY, UNKNOWN, WEBSITE, YOUTUBE_CHANNEL, YOUTUBE_VIDEO.

DetailContentSuitabilityPlacementViewResourceName String ATTRIBUTE Output only. The resource name of the detail content suitability placement
DetailContentSuitabilityPlacementViewTargetUrl String ATTRIBUTE Output only. URL of the placement, for example, website, link to the mobile
Impressions Long METRIC Count of how often your ad has appeared on a search results page or
Date Date SEGMENT Date to which metrics apply.
Period String SEGMENT Predefined date range.

The allowed values are TODAY, YESTERDAY, LAST_7_DAYS, LAST_BUSINESS_WEEK, THIS_MONTH, LAST_MONTH, LAST_14_DAYS, LAST_30_DAYS, THIS_WEEK_SUN_TODAY, THIS_WEEK_MON_TODAY, LAST_WEEK_SUN_SAT, LAST_WEEK_MON_SUN.

Pseudo-Columns

Pseudo column fields are used in the WHERE clause of SELECT statements and offer more granular control over the data returned from the data source.

Name Type Description
ManagerId Long Id of the manager account on behalf of which you are requesting customer data.

CData Python Connector for Google Ads

DetailedDemographic

A detailed demographic: a particular interest-based vertical to be targeted

Columns

Name Type Behavior Description
CustomerId Long ATTRIBUTE Output only. The ID of the customer.
DetailedDemographicAvailabilities String ATTRIBUTE Output only. Availability information of the detailed demographic.
DetailedDemographicId Long ATTRIBUTE Output only. The ID of the detailed demographic.
DetailedDemographicLaunchedToAll Bool ATTRIBUTE Output only. True if the detailed demographic is launched to all channels
DetailedDemographicName String ATTRIBUTE Output only. The name of the detailed demographic. For example,'Highest
DetailedDemographicParent String ATTRIBUTE Output only. The parent of the detailed_demographic.
DetailedDemographicResourceName String ATTRIBUTE Output only. The resource name of the detailed demographic.

Pseudo-Columns

Pseudo column fields are used in the WHERE clause of SELECT statements and offer more granular control over the data returned from the data source.

Name Type Description
ManagerId Long Id of the manager account on behalf of which you are requesting customer data.

CData Python Connector for Google Ads

DetailPlacementView

A view with metrics aggregated by ad group and URL or YouTube video.

View-Specific Information

Select

Google Ads does not allow every column to be selected in a single query, as some data conflicts if selected together. Therefore, when issuing a query that selects all columns, only the default metrics, segments, and attributes are returned. In general, these defaults are the same fields that are exposed through the Ads console. To use the nondefault fields, explicitly select them in your query.

Filters can also be used in the WHERE clause using the following supported operators: =, !=, >, >=, <, <=, LIKE, NOT LIKE, IN, NOT IN . Note that all filters must be joined by AND, as OR is not supported by the Ads API.

Columns

Name Type Behavior Description
CustomerId Long ATTRIBUTE Output only. The ID of the customer.
DetailPlacementViewDisplayName String ATTRIBUTE Output only. The display name is URL name for websites, YouTube video name
DetailPlacementViewGroupPlacementTargetUrl String ATTRIBUTE Output only. URL of the group placement, for example, domain, link to the
DetailPlacementViewPlacement String ATTRIBUTE Output only. The automatic placement string at detail level, e. g. website
DetailPlacementViewPlacementType String ATTRIBUTE Output only. Type of the placement, for example, Website, YouTube Video,

The allowed values are GOOGLE_PRODUCTS, MOBILE_APPLICATION, MOBILE_APP_CATEGORY, UNKNOWN, WEBSITE, YOUTUBE_CHANNEL, YOUTUBE_VIDEO.

DetailPlacementViewResourceName String ATTRIBUTE Output only. The resource name of the detail placement view.
DetailPlacementViewTargetUrl String ATTRIBUTE Output only. URL of the placement, for example, website, link to the mobile
ActiveViewCpm Double METRIC Average cost of viewable impressions (active_view_impressions).
ActiveViewCtr Double METRIC Active view measurable clicks divided by active view viewable impressions.
ActiveViewImpressions Long METRIC A measurement of how often your ad has become viewable on a Display
ActiveViewMeasurability Double METRIC The ratio of impressions that could be measured by Active View over the
ActiveViewMeasurableCostMicros Long METRIC The cost of the impressions you received that were measurable by Active
ActiveViewMeasurableImpressions Long METRIC The number of times your ads are appearing on placements in positions
ActiveViewViewability Double METRIC The percentage of time when your ad appeared on an Active View enabled site
AllConversions Double METRIC The total number of conversions. This includes all conversions regardless
AllConversionsFromInteractionsRate Double METRIC All conversions from interactions (as oppose to view through conversions)
AllConversionsValue Double METRIC The value of all conversions.
AverageCost Double METRIC The average amount you pay per interaction. This amount is the total cost
AverageCpc Double METRIC The total cost of all clicks divided by the total number of clicks
AverageCpe Double METRIC The average amount that you've been charged for an ad engagement. This
AverageCpm Double METRIC Average cost-per-thousand impressions (CPM).
Clicks Long METRIC The number of clicks.
Conversions Double METRIC The number of conversions. This only includes conversion actions which
ConversionsValue Double METRIC The value of conversions. This only includes conversion actions which
CostMicros Long METRIC The sum of your cost-per-click (CPC) and cost-per-thousand impressions
CostPerAllConversions Double METRIC The cost of ad interactions divided by all conversions.
CostPerConversion Double METRIC The cost of ad interactions divided by conversions. This only includes
CrossDeviceConversions Double METRIC Conversions from when a customer clicks on a Google Ads ad on one device,
Ctr Double METRIC The number of clicks your ad receives (Clicks) divided by the number
EngagementRate Double METRIC How often people engage with your ad after it's shown to them. This is the
Engagements Long METRIC The number of engagements.
Impressions Long METRIC Count of how often your ad has appeared on a search results page or
InteractionEventTypes String METRIC The types of payable and free interactions.

The allowed values are CLICK, ENGAGEMENT, NONE, UNKNOWN, VIDEO_VIEW.

InteractionRate Double METRIC How often people interact with your ad after it is shown to them.
Interactions Long METRIC The number of interactions.
TrueviewAverageCpv Double METRIC The average amount you pay each time someone views your ad.
ValuePerAllConversions Double METRIC The value of all conversions divided by the number of all conversions.
ValuePerConversion Double METRIC The value of conversions divided by the number of conversions. This only
VideoQuartileP100Rate Double METRIC Percentage of impressions where the viewer watched all of your video.
VideoQuartileP25Rate Double METRIC Percentage of impressions where the viewer watched 25% of your video.
VideoQuartileP50Rate Double METRIC Percentage of impressions where the viewer watched 50% of your video.
VideoQuartileP75Rate Double METRIC Percentage of impressions where the viewer watched 75% of your video.
VideoTrueviewViewRate Double METRIC The number of TrueView views your video ad receives divided by its number
VideoTrueviewViews Long METRIC The number of TrueView views your video ads received.
ViewThroughConversions Long METRIC The total number of view-through conversions.
AdNetworkType String SEGMENT Ad network type.

The allowed values are CONTENT, DISCOVER, GMAIL, GOOGLE_OWNED_CHANNELS, GOOGLE_TV, MAPS, MIXED, SEARCH, SEARCH_PARTNERS, UNKNOWN, YOUTUBE.

AdSubNetworkType String SEGMENT Ad sub network type. Currently only available for ads running as part of

The allowed values are UNKNOWN, UNSEGMENTED, YOUTUBE_INFEED, YOUTUBE_INSTREAM, YOUTUBE_SHORTS.

ConversionAction String SEGMENT Resource name of the conversion action.
ConversionActionCategory String SEGMENT Conversion action category.

The allowed values are ADD_TO_CART, BEGIN_CHECKOUT, BOOK_APPOINTMENT, CONTACT, CONVERTED_LEAD, DEFAULT, DOWNLOAD, ENGAGEMENT, GET_DIRECTIONS, IMPORTED_LEAD, OUTBOUND_CLICK, PAGE_VIEW, PHONE_CALL_LEAD, PURCHASE, QUALIFIED_LEAD, REQUEST_QUOTE, SIGNUP, STORE_SALE, STORE_VISIT, SUBMIT_LEAD_FORM, SUBSCRIBE_PAID, UNKNOWN, YOUTUBE_FOLLOW_ON_VIEWS.

ConversionActionName String SEGMENT Conversion action name.
Date Date SEGMENT Date to which metrics apply.
DayOfWeek String SEGMENT Day of the week, for example, MONDAY.

The allowed values are FRIDAY, MONDAY, SATURDAY, SUNDAY, THURSDAY, TUESDAY, UNKNOWN, WEDNESDAY.

Device String SEGMENT Device to which metrics apply.

The allowed values are CONNECTED_TV, DESKTOP, MOBILE, OTHER, TABLET, UNKNOWN.

ExternalConversionSource String SEGMENT External conversion source.

The allowed values are AD_CALL_METRICS, ANALYTICS, ANALYTICS_SEARCH_ADS_360, ANDROID_FIRST_OPEN, ANDROID_IN_APP, APP_UNSPECIFIED, CLICK_TO_CALL, DISPLAY_AND_VIDEO_360_FLOODLIGHT, FIREBASE, FIREBASE_SEARCH_ADS_360, FLOODLIGHT, GOOGLE_ATTRIBUTION, GOOGLE_HOSTED, GOOGLE_PLAY, IOS_FIRST_OPEN, IOS_IN_APP, SALESFORCE, SEARCH_ADS_360, STORE_SALES, STORE_SALES_CRM, STORE_SALES_DIRECT_UPLOAD, STORE_SALES_PAYMENT_NETWORK, STORE_VISITS, THIRD_PARTY_APP_ANALYTICS, UNKNOWN, UPLOAD, UPLOAD_CALLS, WEBPAGE, WEBSITE_CALL_METRICS.

Month Date SEGMENT Month as represented by the date of the first day of a month. Formatted as
MonthOfYear String SEGMENT Month of the year, for example, January.

The allowed values are APRIL, AUGUST, DECEMBER, FEBRUARY, JANUARY, JULY, JUNE, MARCH, MAY, NOVEMBER, OCTOBER, SEPTEMBER, UNKNOWN.

Period String SEGMENT Predefined date range.

The allowed values are TODAY, YESTERDAY, LAST_7_DAYS, LAST_BUSINESS_WEEK, THIS_MONTH, LAST_MONTH, LAST_14_DAYS, LAST_30_DAYS, THIS_WEEK_SUN_TODAY, THIS_WEEK_MON_TODAY, LAST_WEEK_SUN_SAT, LAST_WEEK_MON_SUN.

Quarter Date SEGMENT Quarter as represented by the date of the first day of a quarter.
Week Date SEGMENT Week as defined as Monday through Sunday, and represented by the date of
Year Int SEGMENT Year, formatted as yyyy.

Pseudo-Columns

Pseudo column fields are used in the WHERE clause of SELECT statements and offer more granular control over the data returned from the data source.

Name Type Description
ManagerId Long Id of the manager account on behalf of which you are requesting customer data.

CData Python Connector for Google Ads

DisplayKeywordView

A display keyword view.

View-Specific Information

Select

Google Ads does not allow every column to be selected in a single query, as some data conflicts if selected together. Therefore, when issuing a query that selects all columns, only the default metrics, segments, and attributes are returned. In general, these defaults are the same fields that are exposed through the Ads console. To use the nondefault fields, explicitly select them in your query.

Filters can also be used in the WHERE clause using the following supported operators: =, !=, >, >=, <, <=, LIKE, NOT LIKE, IN, NOT IN . Note that all filters must be joined by AND, as OR is not supported by the Ads API.

Columns

Name Type Behavior Description
BiddingStrategyId Long SEGMENT Output only. The ID of the bidding strategy.
CustomerId Long ATTRIBUTE Output only. The ID of the customer.
DisplayKeywordViewResourceName String ATTRIBUTE Output only. The resource name of the display keyword view.
ActiveViewCpm Double METRIC Average cost of viewable impressions (active_view_impressions).
ActiveViewCtr Double METRIC Active view measurable clicks divided by active view viewable impressions.
ActiveViewImpressions Long METRIC A measurement of how often your ad has become viewable on a Display
ActiveViewMeasurability Double METRIC The ratio of impressions that could be measured by Active View over the
ActiveViewMeasurableCostMicros Long METRIC The cost of the impressions you received that were measurable by Active
ActiveViewMeasurableImpressions Long METRIC The number of times your ads are appearing on placements in positions
ActiveViewViewability Double METRIC The percentage of time when your ad appeared on an Active View enabled site
AllConversions Double METRIC The total number of conversions. This includes all conversions regardless
AllConversionsFromInteractionsRate Double METRIC All conversions from interactions (as oppose to view through conversions)
AllConversionsFromInteractionsValuePerInteraction Double METRIC The value of all conversions from interactions divided by the total number
AllConversionsValue Double METRIC The value of all conversions.
AllConversionsValuePerCost Double METRIC The value of all conversions divided by the total cost of ad interactions
AverageCost Double METRIC The average amount you pay per interaction. This amount is the total cost
AverageCpc Double METRIC The total cost of all clicks divided by the total number of clicks
AverageCpe Double METRIC The average amount that you've been charged for an ad engagement. This
AverageCpm Double METRIC Average cost-per-thousand impressions (CPM).
Clicks Long METRIC The number of clicks.
Conversions Double METRIC The number of conversions. This only includes conversion actions which
ConversionsFromInteractionsRate Double METRIC Conversions from interactions divided by the number of ad interactions
ConversionsValue Double METRIC The value of conversions. This only includes conversion actions which
CostMicros Long METRIC The sum of your cost-per-click (CPC) and cost-per-thousand impressions
CostPerAllConversions Double METRIC The cost of ad interactions divided by all conversions.
CostPerConversion Double METRIC The cost of ad interactions divided by conversions. This only includes
CrossDeviceConversions Double METRIC Conversions from when a customer clicks on a Google Ads ad on one device,
Ctr Double METRIC The number of clicks your ad receives (Clicks) divided by the number
EngagementRate Double METRIC How often people engage with your ad after it's shown to them. This is the
Engagements Long METRIC The number of engagements.
GmailForwards Long METRIC The number of times the ad was forwarded to someone else as a message.
GmailSaves Long METRIC The number of times someone has saved your Gmail ad to their inbox as a
GmailSecondaryClicks Long METRIC The number of clicks to the landing page on the expanded state of Gmail
Impressions Long METRIC Count of how often your ad has appeared on a search results page or
InteractionEventTypes String METRIC The types of payable and free interactions.

The allowed values are CLICK, ENGAGEMENT, NONE, UNKNOWN, VIDEO_VIEW.

InteractionRate Double METRIC How often people interact with your ad after it is shown to them.
Interactions Long METRIC The number of interactions.
TrueviewAverageCpv Double METRIC The average amount you pay each time someone views your ad.
ValuePerAllConversions Double METRIC The value of all conversions divided by the number of all conversions.
ValuePerConversion Double METRIC The value of conversions divided by the number of conversions. This only
VideoQuartileP100Rate Double METRIC Percentage of impressions where the viewer watched all of your video.
VideoQuartileP25Rate Double METRIC Percentage of impressions where the viewer watched 25% of your video.
VideoQuartileP50Rate Double METRIC Percentage of impressions where the viewer watched 50% of your video.
VideoQuartileP75Rate Double METRIC Percentage of impressions where the viewer watched 75% of your video.
VideoTrueviewViewRate Double METRIC The number of TrueView views your video ad receives divided by its number
VideoTrueviewViews Long METRIC The number of TrueView views your video ads received.
ViewThroughConversions Long METRIC The total number of view-through conversions.
AdNetworkType String SEGMENT Ad network type.

The allowed values are CONTENT, DISCOVER, GMAIL, GOOGLE_OWNED_CHANNELS, GOOGLE_TV, MAPS, MIXED, SEARCH, SEARCH_PARTNERS, UNKNOWN, YOUTUBE.

AdSubNetworkType String SEGMENT Ad sub network type. Currently only available for ads running as part of

The allowed values are UNKNOWN, UNSEGMENTED, YOUTUBE_INFEED, YOUTUBE_INSTREAM, YOUTUBE_SHORTS.

ClickType String SEGMENT Click type.

The allowed values are AD_IMAGE, APP_DEEPLINK, BREADCRUMBS, BROADBAND_PLAN, CALLS, CALL_TRACKING, CLICK_ON_ENGAGEMENT_AD, CLICK_TO_MESSAGE_LANDING_PAGE_CLICK, CLICK_TO_MESSAGE_THIRD_PARTY_CLICK, CROSS_NETWORK, GET_DIRECTIONS, HOTEL_BOOK_ON_GOOGLE_ROOM_SELECTION, HOTEL_PRICE, LOCATION_EXPANSION, LOCATION_FORMAT_CALL, LOCATION_FORMAT_DIRECTIONS, LOCATION_FORMAT_IMAGE, LOCATION_FORMAT_LANDING_PAGE, LOCATION_FORMAT_MAP, LOCATION_FORMAT_STORE_INFO, LOCATION_FORMAT_TEXT, MOBILE_CALL_TRACKING, OFFER_PRINTS, OTHER, PRICE_EXTENSION, PRODUCT_AD_APP_DEEPLINK, PRODUCT_ASSETS, PRODUCT_EXTENSION_CLICKS, PRODUCT_LISTING_ADS_COUPON, PRODUCT_LISTING_AD_CLICKS, PRODUCT_LISTING_AD_LOCAL, PRODUCT_LISTING_AD_MULTICHANNEL_LOCAL, PRODUCT_LISTING_AD_MULTICHANNEL_ONLINE, PRODUCT_LISTING_AD_TRANSACTABLE, PROMOTION_EXTENSION, SHOPPING_COMPARISON_LISTING, SHOWCASE_AD_CATEGORY_LINK, SHOWCASE_AD_LOCAL_PRODUCT_LINK, SHOWCASE_AD_LOCAL_STOREFRONT_LINK, SHOWCASE_AD_ONLINE_PRODUCT_LINK, SITELINKS, STORE_LOCATOR, SWIPEABLE_GALLERY_AD_HEADLINE, SWIPEABLE_GALLERY_AD_SEE_MORE, SWIPEABLE_GALLERY_AD_SITELINK_FIVE, SWIPEABLE_GALLERY_AD_SITELINK_FOUR, SWIPEABLE_GALLERY_AD_SITELINK_ONE, SWIPEABLE_GALLERY_AD_SITELINK_THREE, SWIPEABLE_GALLERY_AD_SITELINK_TWO, SWIPEABLE_GALLERY_AD_SWIPES, TRAVEL_ASSETS, UNKNOWN, URL_CLICKS, VEHICLE_ASSETS, VIDEO_APP_STORE_CLICKS, VIDEO_CALL_TO_ACTION_CLICKS, VIDEO_CARD_ACTION_HEADLINE_CLICKS, VIDEO_CHANNEL_CLICK, VIDEO_END_CAP_CLICKS, VIDEO_RELATED_VIDEOS_CLICK, VIDEO_WEBSITE_CLICKS, VISUAL_SITELINKS, WIRELESS_PLAN.

ConversionAction String SEGMENT Resource name of the conversion action.
ConversionActionCategory String SEGMENT Conversion action category.

The allowed values are ADD_TO_CART, BEGIN_CHECKOUT, BOOK_APPOINTMENT, CONTACT, CONVERTED_LEAD, DEFAULT, DOWNLOAD, ENGAGEMENT, GET_DIRECTIONS, IMPORTED_LEAD, OUTBOUND_CLICK, PAGE_VIEW, PHONE_CALL_LEAD, PURCHASE, QUALIFIED_LEAD, REQUEST_QUOTE, SIGNUP, STORE_SALE, STORE_VISIT, SUBMIT_LEAD_FORM, SUBSCRIBE_PAID, UNKNOWN, YOUTUBE_FOLLOW_ON_VIEWS.

ConversionActionName String SEGMENT Conversion action name.
Date Date SEGMENT Date to which metrics apply.
DayOfWeek String SEGMENT Day of the week, for example, MONDAY.

The allowed values are FRIDAY, MONDAY, SATURDAY, SUNDAY, THURSDAY, TUESDAY, UNKNOWN, WEDNESDAY.

Device String SEGMENT Device to which metrics apply.

The allowed values are CONNECTED_TV, DESKTOP, MOBILE, OTHER, TABLET, UNKNOWN.

ExternalConversionSource String SEGMENT External conversion source.

The allowed values are AD_CALL_METRICS, ANALYTICS, ANALYTICS_SEARCH_ADS_360, ANDROID_FIRST_OPEN, ANDROID_IN_APP, APP_UNSPECIFIED, CLICK_TO_CALL, DISPLAY_AND_VIDEO_360_FLOODLIGHT, FIREBASE, FIREBASE_SEARCH_ADS_360, FLOODLIGHT, GOOGLE_ATTRIBUTION, GOOGLE_HOSTED, GOOGLE_PLAY, IOS_FIRST_OPEN, IOS_IN_APP, SALESFORCE, SEARCH_ADS_360, STORE_SALES, STORE_SALES_CRM, STORE_SALES_DIRECT_UPLOAD, STORE_SALES_PAYMENT_NETWORK, STORE_VISITS, THIRD_PARTY_APP_ANALYTICS, UNKNOWN, UPLOAD, UPLOAD_CALLS, WEBPAGE, WEBSITE_CALL_METRICS.

Month Date SEGMENT Month as represented by the date of the first day of a month. Formatted as
MonthOfYear String SEGMENT Month of the year, for example, January.

The allowed values are APRIL, AUGUST, DECEMBER, FEBRUARY, JANUARY, JULY, JUNE, MARCH, MAY, NOVEMBER, OCTOBER, SEPTEMBER, UNKNOWN.

Period String SEGMENT Predefined date range.

The allowed values are TODAY, YESTERDAY, LAST_7_DAYS, LAST_BUSINESS_WEEK, THIS_MONTH, LAST_MONTH, LAST_14_DAYS, LAST_30_DAYS, THIS_WEEK_SUN_TODAY, THIS_WEEK_MON_TODAY, LAST_WEEK_SUN_SAT, LAST_WEEK_MON_SUN.

Quarter Date SEGMENT Quarter as represented by the date of the first day of a quarter.
Week Date SEGMENT Week as defined as Monday through Sunday, and represented by the date of
Year Int SEGMENT Year, formatted as yyyy.

Pseudo-Columns

Pseudo column fields are used in the WHERE clause of SELECT statements and offer more granular control over the data returned from the data source.

Name Type Description
ManagerId Long Id of the manager account on behalf of which you are requesting customer data.

CData Python Connector for Google Ads

DistanceView

A distance view with metrics aggregated by the user's distance from an

View-Specific Information

Select

Google Ads does not allow every column to be selected in a single query, as some data conflicts if selected together. Therefore, when issuing a query that selects all columns, only the default metrics, segments, and attributes are returned. In general, these defaults are the same fields that are exposed through the Ads console. To use the nondefault fields, explicitly select them in your query.

Filters can also be used in the WHERE clause using the following supported operators: =, !=, >, >=, <, <=, LIKE, NOT LIKE, IN, NOT IN . Note that all filters must be joined by AND, as OR is not supported by the Ads API.

Columns

Name Type Behavior Description
CampaignId Long SEGMENT Output only. The ID of the campaign.
CustomerId Long ATTRIBUTE Output only. The ID of the customer.
DistanceViewDistanceBucket String ATTRIBUTE Output only. Grouping of user distance from location extensions.

The allowed values are BEYOND_40MILES, BEYOND_65KM, UNKNOWN, WITHIN_0_7MILES, WITHIN_10KM, WITHIN_10MILES, WITHIN_15KM, WITHIN_15MILES, WITHIN_1KM, WITHIN_1MILE, WITHIN_20KM, WITHIN_20MILES, WITHIN_25KM, WITHIN_25MILES, WITHIN_30KM, WITHIN_30MILES, WITHIN_35KM, WITHIN_35MILES, WITHIN_40KM, WITHIN_40MILES, WITHIN_45KM, WITHIN_50KM, WITHIN_55KM, WITHIN_5KM, WITHIN_5MILES, WITHIN_60KM, WITHIN_65KM, WITHIN_700M.

DistanceViewMetricSystem Bool ATTRIBUTE Output only. True if the DistanceBucket is using the metric system, false
DistanceViewResourceName String ATTRIBUTE Output only. The resource name of the distance view.
AllConversions Double METRIC The total number of conversions. This includes all conversions regardless
AllConversionsFromInteractionsRate Double METRIC All conversions from interactions (as oppose to view through conversions)
AllConversionsValue Double METRIC The value of all conversions.
AverageCpc Double METRIC The total cost of all clicks divided by the total number of clicks
AverageCpm Double METRIC Average cost-per-thousand impressions (CPM).
Clicks Long METRIC The number of clicks.
Conversions Double METRIC The number of conversions. This only includes conversion actions which
ConversionsFromInteractionsRate Double METRIC Conversions from interactions divided by the number of ad interactions
ConversionsValue Double METRIC The value of conversions. This only includes conversion actions which
CostMicros Long METRIC The sum of your cost-per-click (CPC) and cost-per-thousand impressions
CostPerAllConversions Double METRIC The cost of ad interactions divided by all conversions.
CostPerConversion Double METRIC The cost of ad interactions divided by conversions. This only includes
CrossDeviceConversions Double METRIC Conversions from when a customer clicks on a Google Ads ad on one device,
Ctr Double METRIC The number of clicks your ad receives (Clicks) divided by the number
Impressions Long METRIC Count of how often your ad has appeared on a search results page or
ValuePerAllConversions Double METRIC The value of all conversions divided by the number of all conversions.
ValuePerConversion Double METRIC The value of conversions divided by the number of conversions. This only
ViewThroughConversions Long METRIC The total number of view-through conversions.
AdNetworkType String SEGMENT Ad network type.

The allowed values are CONTENT, DISCOVER, GMAIL, GOOGLE_OWNED_CHANNELS, GOOGLE_TV, MAPS, MIXED, SEARCH, SEARCH_PARTNERS, UNKNOWN, YOUTUBE.

AdSubNetworkType String SEGMENT Ad sub network type. Currently only available for ads running as part of

The allowed values are UNKNOWN, UNSEGMENTED, YOUTUBE_INFEED, YOUTUBE_INSTREAM, YOUTUBE_SHORTS.

ConversionAction String SEGMENT Resource name of the conversion action.
ConversionActionCategory String SEGMENT Conversion action category.

The allowed values are ADD_TO_CART, BEGIN_CHECKOUT, BOOK_APPOINTMENT, CONTACT, CONVERTED_LEAD, DEFAULT, DOWNLOAD, ENGAGEMENT, GET_DIRECTIONS, IMPORTED_LEAD, OUTBOUND_CLICK, PAGE_VIEW, PHONE_CALL_LEAD, PURCHASE, QUALIFIED_LEAD, REQUEST_QUOTE, SIGNUP, STORE_SALE, STORE_VISIT, SUBMIT_LEAD_FORM, SUBSCRIBE_PAID, UNKNOWN, YOUTUBE_FOLLOW_ON_VIEWS.

ConversionActionName String SEGMENT Conversion action name.
Date Date SEGMENT Date to which metrics apply.
DayOfWeek String SEGMENT Day of the week, for example, MONDAY.

The allowed values are FRIDAY, MONDAY, SATURDAY, SUNDAY, THURSDAY, TUESDAY, UNKNOWN, WEDNESDAY.

Device String SEGMENT Device to which metrics apply.

The allowed values are CONNECTED_TV, DESKTOP, MOBILE, OTHER, TABLET, UNKNOWN.

ExternalConversionSource String SEGMENT External conversion source.

The allowed values are AD_CALL_METRICS, ANALYTICS, ANALYTICS_SEARCH_ADS_360, ANDROID_FIRST_OPEN, ANDROID_IN_APP, APP_UNSPECIFIED, CLICK_TO_CALL, DISPLAY_AND_VIDEO_360_FLOODLIGHT, FIREBASE, FIREBASE_SEARCH_ADS_360, FLOODLIGHT, GOOGLE_ATTRIBUTION, GOOGLE_HOSTED, GOOGLE_PLAY, IOS_FIRST_OPEN, IOS_IN_APP, SALESFORCE, SEARCH_ADS_360, STORE_SALES, STORE_SALES_CRM, STORE_SALES_DIRECT_UPLOAD, STORE_SALES_PAYMENT_NETWORK, STORE_VISITS, THIRD_PARTY_APP_ANALYTICS, UNKNOWN, UPLOAD, UPLOAD_CALLS, WEBPAGE, WEBSITE_CALL_METRICS.

Month Date SEGMENT Month as represented by the date of the first day of a month. Formatted as
MonthOfYear String SEGMENT Month of the year, for example, January.

The allowed values are APRIL, AUGUST, DECEMBER, FEBRUARY, JANUARY, JULY, JUNE, MARCH, MAY, NOVEMBER, OCTOBER, SEPTEMBER, UNKNOWN.

Period String SEGMENT Predefined date range.

The allowed values are TODAY, YESTERDAY, LAST_7_DAYS, LAST_BUSINESS_WEEK, THIS_MONTH, LAST_MONTH, LAST_14_DAYS, LAST_30_DAYS, THIS_WEEK_SUN_TODAY, THIS_WEEK_MON_TODAY, LAST_WEEK_SUN_SAT, LAST_WEEK_MON_SUN.

Quarter Date SEGMENT Quarter as represented by the date of the first day of a quarter.
Week Date SEGMENT Week as defined as Monday through Sunday, and represented by the date of
Year Int SEGMENT Year, formatted as yyyy.

Pseudo-Columns

Pseudo column fields are used in the WHERE clause of SELECT statements and offer more granular control over the data returned from the data source.

Name Type Description
ManagerId Long Id of the manager account on behalf of which you are requesting customer data.

CData Python Connector for Google Ads

DomainCategory

A category generated automatically by crawling a domain. If a campaign uses

Columns

Name Type Behavior Description
CustomerId Long ATTRIBUTE Output only. The ID of the customer.
DomainCategoryCampaign String ATTRIBUTE Output only. The campaign this category is recommended for.
DomainCategoryCategory String ATTRIBUTE Output only. Recommended category for the website domain, for example, if
DomainCategoryCategoryRank Long ATTRIBUTE Output only. The position of this category in the set of categories. Lower
DomainCategoryCoverageFraction Double ATTRIBUTE Output only. Fraction of pages on your site that this category matches.
DomainCategoryDomain String ATTRIBUTE Output only. The domain for the website. The domain can be specified in the
DomainCategoryHasChildren Bool ATTRIBUTE Output only. Indicates whether this category has sub-categories.
DomainCategoryLanguageCode String ATTRIBUTE Output only. The language code specifying the language of the website, for
DomainCategoryRecommendedCpcBidMicros Long ATTRIBUTE Output only. The recommended cost per click for the category.
DomainCategoryResourceName String ATTRIBUTE Output only. The resource name of the domain category.

Pseudo-Columns

Pseudo column fields are used in the WHERE clause of SELECT statements and offer more granular control over the data returned from the data source.

Name Type Description
ManagerId Long Id of the manager account on behalf of which you are requesting customer data.

CData Python Connector for Google Ads

DynamicSearchAdsSearchTermView

A dynamic search ads search term view.

View-Specific Information

Select

Google Ads does not allow every column to be selected in a single query, as some data conflicts if selected together. Therefore, when issuing a query that selects all columns, only the default metrics, segments, and attributes are returned. In general, these defaults are the same fields that are exposed through the Ads console. To use the nondefault fields, explicitly select them in your query.

Filters can also be used in the WHERE clause using the following supported operators: =, !=, >, >=, <, <=, LIKE, NOT LIKE, IN, NOT IN . Note that all filters must be joined by AND, as OR is not supported by the Ads API.

Columns

Name Type Behavior Description
CustomerId Long ATTRIBUTE Output only. The ID of the customer.
DynamicSearchAdsSearchTermViewHasMatchingKeyword Bool ATTRIBUTE Output only. True if query is added to targeted keywords.
DynamicSearchAdsSearchTermViewHasNegativeKeyword Bool ATTRIBUTE Output only. True if query matches a negative keyword.
DynamicSearchAdsSearchTermViewHasNegativeUrl Bool ATTRIBUTE Output only. True if query matches a negative url.
DynamicSearchAdsSearchTermViewHeadline String ATTRIBUTE Output only. The dynamically generated headline of the Dynamic Search Ad.
DynamicSearchAdsSearchTermViewLandingPage String ATTRIBUTE Output only. The dynamically selected landing page URL of the impression.
DynamicSearchAdsSearchTermViewPageUrl String ATTRIBUTE Output only. The URL of page feed item served for the impression.
DynamicSearchAdsSearchTermViewResourceName String ATTRIBUTE Output only. The resource name of the dynamic search ads search term view.
DynamicSearchAdsSearchTermViewSearchTerm String ATTRIBUTE Output only. Search term
AllConversions Double METRIC The total number of conversions. This includes all conversions regardless
AllConversionsFromInteractionsRate Double METRIC All conversions from interactions (as oppose to view through conversions)
AllConversionsValue Double METRIC The value of all conversions.
AverageCpc Double METRIC The total cost of all clicks divided by the total number of clicks
AverageCpm Double METRIC Average cost-per-thousand impressions (CPM).
Clicks Long METRIC The number of clicks.
Conversions Double METRIC The number of conversions. This only includes conversion actions which
ConversionsFromInteractionsRate Double METRIC Conversions from interactions divided by the number of ad interactions
ConversionsValue Double METRIC The value of conversions. This only includes conversion actions which
CostMicros Long METRIC The sum of your cost-per-click (CPC) and cost-per-thousand impressions
CostPerAllConversions Double METRIC The cost of ad interactions divided by all conversions.
CostPerConversion Double METRIC The cost of ad interactions divided by conversions. This only includes
CrossDeviceConversions Double METRIC Conversions from when a customer clicks on a Google Ads ad on one device,
Ctr Double METRIC The number of clicks your ad receives (Clicks) divided by the number
Impressions Long METRIC Count of how often your ad has appeared on a search results page or
ValuePerAllConversions Double METRIC The value of all conversions divided by the number of all conversions.
ValuePerConversion Double METRIC The value of conversions divided by the number of conversions. This only
ConversionAction String SEGMENT Resource name of the conversion action.
ConversionActionCategory String SEGMENT Conversion action category.

The allowed values are ADD_TO_CART, BEGIN_CHECKOUT, BOOK_APPOINTMENT, CONTACT, CONVERTED_LEAD, DEFAULT, DOWNLOAD, ENGAGEMENT, GET_DIRECTIONS, IMPORTED_LEAD, OUTBOUND_CLICK, PAGE_VIEW, PHONE_CALL_LEAD, PURCHASE, QUALIFIED_LEAD, REQUEST_QUOTE, SIGNUP, STORE_SALE, STORE_VISIT, SUBMIT_LEAD_FORM, SUBSCRIBE_PAID, UNKNOWN, YOUTUBE_FOLLOW_ON_VIEWS.

ConversionActionName String SEGMENT Conversion action name.
Date Date SEGMENT Date to which metrics apply.
DayOfWeek String SEGMENT Day of the week, for example, MONDAY.

The allowed values are FRIDAY, MONDAY, SATURDAY, SUNDAY, THURSDAY, TUESDAY, UNKNOWN, WEDNESDAY.

ExternalConversionSource String SEGMENT External conversion source.

The allowed values are AD_CALL_METRICS, ANALYTICS, ANALYTICS_SEARCH_ADS_360, ANDROID_FIRST_OPEN, ANDROID_IN_APP, APP_UNSPECIFIED, CLICK_TO_CALL, DISPLAY_AND_VIDEO_360_FLOODLIGHT, FIREBASE, FIREBASE_SEARCH_ADS_360, FLOODLIGHT, GOOGLE_ATTRIBUTION, GOOGLE_HOSTED, GOOGLE_PLAY, IOS_FIRST_OPEN, IOS_IN_APP, SALESFORCE, SEARCH_ADS_360, STORE_SALES, STORE_SALES_CRM, STORE_SALES_DIRECT_UPLOAD, STORE_SALES_PAYMENT_NETWORK, STORE_VISITS, THIRD_PARTY_APP_ANALYTICS, UNKNOWN, UPLOAD, UPLOAD_CALLS, WEBPAGE, WEBSITE_CALL_METRICS.

Month Date SEGMENT Month as represented by the date of the first day of a month. Formatted as
MonthOfYear String SEGMENT Month of the year, for example, January.

The allowed values are APRIL, AUGUST, DECEMBER, FEBRUARY, JANUARY, JULY, JUNE, MARCH, MAY, NOVEMBER, OCTOBER, SEPTEMBER, UNKNOWN.

Period String SEGMENT Predefined date range.

The allowed values are TODAY, YESTERDAY, LAST_7_DAYS, LAST_BUSINESS_WEEK, THIS_MONTH, LAST_MONTH, LAST_14_DAYS, LAST_30_DAYS, THIS_WEEK_SUN_TODAY, THIS_WEEK_MON_TODAY, LAST_WEEK_SUN_SAT, LAST_WEEK_MON_SUN.

Quarter Date SEGMENT Quarter as represented by the date of the first day of a quarter.
Webpage String SEGMENT Resource name of the ad group criterion that represents webpage criterion.
Week Date SEGMENT Week as defined as Monday through Sunday, and represented by the date of
Year Int SEGMENT Year, formatted as yyyy.

Pseudo-Columns

Pseudo column fields are used in the WHERE clause of SELECT statements and offer more granular control over the data returned from the data source.

Name Type Description
ManagerId Long Id of the manager account on behalf of which you are requesting customer data.

CData Python Connector for Google Ads

ExpandedLandingPageView

A landing page view with metrics aggregated at the expanded final URL

View-Specific Information

Select

Google Ads does not allow every column to be selected in a single query, as some data conflicts if selected together. Therefore, when issuing a query that selects all columns, only the default metrics, segments, and attributes are returned. In general, these defaults are the same fields that are exposed through the Ads console. To use the nondefault fields, explicitly select them in your query.

Filters can also be used in the WHERE clause using the following supported operators: =, !=, >, >=, <, <=, LIKE, NOT LIKE, IN, NOT IN . Note that all filters must be joined by AND, as OR is not supported by the Ads API.

Columns

Name Type Behavior Description
AdGroupId Long SEGMENT Output only. The ID of the ad group.
CampaignId Long SEGMENT Output only. The ID of the campaign.
CustomerId Long ATTRIBUTE Output only. The ID of the customer.
ExpandedLandingPageViewExpandedFinalUrl String ATTRIBUTE Output only. The final URL that clicks are directed to.
ExpandedLandingPageViewResourceName String ATTRIBUTE Output only. The resource name of the expanded landing page view.
ActiveViewCpm Double METRIC Average cost of viewable impressions (active_view_impressions).
ActiveViewCtr Double METRIC Active view measurable clicks divided by active view viewable impressions.
ActiveViewImpressions Long METRIC A measurement of how often your ad has become viewable on a Display
ActiveViewMeasurability Double METRIC The ratio of impressions that could be measured by Active View over the
ActiveViewMeasurableCostMicros Long METRIC The cost of the impressions you received that were measurable by Active
ActiveViewMeasurableImpressions Long METRIC The number of times your ads are appearing on placements in positions
ActiveViewViewability Double METRIC The percentage of time when your ad appeared on an Active View enabled site
AllConversions Double METRIC The total number of conversions. This includes all conversions regardless
AllConversionsFromInteractionsRate Double METRIC All conversions from interactions (as oppose to view through conversions)
AllConversionsFromInteractionsValuePerInteraction Double METRIC The value of all conversions from interactions divided by the total number
AllConversionsValue Double METRIC The value of all conversions.
AllConversionsValuePerCost Double METRIC The value of all conversions divided by the total cost of ad interactions
AverageCost Double METRIC The average amount you pay per interaction. This amount is the total cost
AverageCpc Double METRIC The total cost of all clicks divided by the total number of clicks
AverageCpe Double METRIC The average amount that you've been charged for an ad engagement. This
AverageCpm Double METRIC Average cost-per-thousand impressions (CPM).
Clicks Long METRIC The number of clicks.
Conversions Double METRIC The number of conversions. This only includes conversion actions which
ConversionsFromInteractionsRate Double METRIC Conversions from interactions divided by the number of ad interactions
ConversionsFromInteractionsValuePerInteraction Double METRIC The value of conversions from interactions divided by the number of ad
ConversionsValue Double METRIC The value of conversions. This only includes conversion actions which
ConversionsValuePerCost Double METRIC The value of conversions divided by the cost of ad interactions. This only
CostMicros Long METRIC The sum of your cost-per-click (CPC) and cost-per-thousand impressions
CostPerAllConversions Double METRIC The cost of ad interactions divided by all conversions.
CostPerConversion Double METRIC The cost of ad interactions divided by conversions. This only includes
CrossDeviceConversions Double METRIC Conversions from when a customer clicks on a Google Ads ad on one device,
Ctr Double METRIC The number of clicks your ad receives (Clicks) divided by the number
EngagementRate Double METRIC How often people engage with your ad after it's shown to them. This is the
Engagements Long METRIC The number of engagements.
Impressions Long METRIC Count of how often your ad has appeared on a search results page or
InteractionEventTypes String METRIC The types of payable and free interactions.

The allowed values are CLICK, ENGAGEMENT, NONE, UNKNOWN, VIDEO_VIEW.

InteractionRate Double METRIC How often people interact with your ad after it is shown to them.
Interactions Long METRIC The number of interactions.
MobileFriendlyClicksPercentage Double METRIC The percentage of mobile clicks that go to a mobile-friendly page.
SpeedScore Long METRIC A measure of how quickly your page loads after clicks on your mobile ads.
TrueviewAverageCpv Double METRIC The average amount you pay each time someone views your ad.
ValidAcceleratedMobilePagesClicksPercentage Double METRIC The percentage of ad clicks to Accelerated Mobile Pages (AMP) landing pages
ValuePerAllConversions Double METRIC The value of all conversions divided by the number of all conversions.
ValuePerConversion Double METRIC The value of conversions divided by the number of conversions. This only
VideoTrueviewViewRate Double METRIC The number of TrueView views your video ad receives divided by its number
VideoTrueviewViews Long METRIC The number of TrueView views your video ads received.
AdNetworkType String SEGMENT Ad network type.

The allowed values are CONTENT, DISCOVER, GMAIL, GOOGLE_OWNED_CHANNELS, GOOGLE_TV, MAPS, MIXED, SEARCH, SEARCH_PARTNERS, UNKNOWN, YOUTUBE.

AdSubNetworkType String SEGMENT Ad sub network type. Currently only available for ads running as part of

The allowed values are UNKNOWN, UNSEGMENTED, YOUTUBE_INFEED, YOUTUBE_INSTREAM, YOUTUBE_SHORTS.

ClickType String SEGMENT Click type.

The allowed values are AD_IMAGE, APP_DEEPLINK, BREADCRUMBS, BROADBAND_PLAN, CALLS, CALL_TRACKING, CLICK_ON_ENGAGEMENT_AD, CLICK_TO_MESSAGE_LANDING_PAGE_CLICK, CLICK_TO_MESSAGE_THIRD_PARTY_CLICK, CROSS_NETWORK, GET_DIRECTIONS, HOTEL_BOOK_ON_GOOGLE_ROOM_SELECTION, HOTEL_PRICE, LOCATION_EXPANSION, LOCATION_FORMAT_CALL, LOCATION_FORMAT_DIRECTIONS, LOCATION_FORMAT_IMAGE, LOCATION_FORMAT_LANDING_PAGE, LOCATION_FORMAT_MAP, LOCATION_FORMAT_STORE_INFO, LOCATION_FORMAT_TEXT, MOBILE_CALL_TRACKING, OFFER_PRINTS, OTHER, PRICE_EXTENSION, PRODUCT_AD_APP_DEEPLINK, PRODUCT_ASSETS, PRODUCT_EXTENSION_CLICKS, PRODUCT_LISTING_ADS_COUPON, PRODUCT_LISTING_AD_CLICKS, PRODUCT_LISTING_AD_LOCAL, PRODUCT_LISTING_AD_MULTICHANNEL_LOCAL, PRODUCT_LISTING_AD_MULTICHANNEL_ONLINE, PRODUCT_LISTING_AD_TRANSACTABLE, PROMOTION_EXTENSION, SHOPPING_COMPARISON_LISTING, SHOWCASE_AD_CATEGORY_LINK, SHOWCASE_AD_LOCAL_PRODUCT_LINK, SHOWCASE_AD_LOCAL_STOREFRONT_LINK, SHOWCASE_AD_ONLINE_PRODUCT_LINK, SITELINKS, STORE_LOCATOR, SWIPEABLE_GALLERY_AD_HEADLINE, SWIPEABLE_GALLERY_AD_SEE_MORE, SWIPEABLE_GALLERY_AD_SITELINK_FIVE, SWIPEABLE_GALLERY_AD_SITELINK_FOUR, SWIPEABLE_GALLERY_AD_SITELINK_ONE, SWIPEABLE_GALLERY_AD_SITELINK_THREE, SWIPEABLE_GALLERY_AD_SITELINK_TWO, SWIPEABLE_GALLERY_AD_SWIPES, TRAVEL_ASSETS, UNKNOWN, URL_CLICKS, VEHICLE_ASSETS, VIDEO_APP_STORE_CLICKS, VIDEO_CALL_TO_ACTION_CLICKS, VIDEO_CARD_ACTION_HEADLINE_CLICKS, VIDEO_CHANNEL_CLICK, VIDEO_END_CAP_CLICKS, VIDEO_RELATED_VIDEOS_CLICK, VIDEO_WEBSITE_CLICKS, VISUAL_SITELINKS, WIRELESS_PLAN.

ConversionAction String SEGMENT Resource name of the conversion action.
ConversionActionCategory String SEGMENT Conversion action category.

The allowed values are ADD_TO_CART, BEGIN_CHECKOUT, BOOK_APPOINTMENT, CONTACT, CONVERTED_LEAD, DEFAULT, DOWNLOAD, ENGAGEMENT, GET_DIRECTIONS, IMPORTED_LEAD, OUTBOUND_CLICK, PAGE_VIEW, PHONE_CALL_LEAD, PURCHASE, QUALIFIED_LEAD, REQUEST_QUOTE, SIGNUP, STORE_SALE, STORE_VISIT, SUBMIT_LEAD_FORM, SUBSCRIBE_PAID, UNKNOWN, YOUTUBE_FOLLOW_ON_VIEWS.

ConversionActionName String SEGMENT Conversion action name.
Date Date SEGMENT Date to which metrics apply.
DayOfWeek String SEGMENT Day of the week, for example, MONDAY.

The allowed values are FRIDAY, MONDAY, SATURDAY, SUNDAY, THURSDAY, TUESDAY, UNKNOWN, WEDNESDAY.

Device String SEGMENT Device to which metrics apply.

The allowed values are CONNECTED_TV, DESKTOP, MOBILE, OTHER, TABLET, UNKNOWN.

ExternalConversionSource String SEGMENT External conversion source.

The allowed values are AD_CALL_METRICS, ANALYTICS, ANALYTICS_SEARCH_ADS_360, ANDROID_FIRST_OPEN, ANDROID_IN_APP, APP_UNSPECIFIED, CLICK_TO_CALL, DISPLAY_AND_VIDEO_360_FLOODLIGHT, FIREBASE, FIREBASE_SEARCH_ADS_360, FLOODLIGHT, GOOGLE_ATTRIBUTION, GOOGLE_HOSTED, GOOGLE_PLAY, IOS_FIRST_OPEN, IOS_IN_APP, SALESFORCE, SEARCH_ADS_360, STORE_SALES, STORE_SALES_CRM, STORE_SALES_DIRECT_UPLOAD, STORE_SALES_PAYMENT_NETWORK, STORE_VISITS, THIRD_PARTY_APP_ANALYTICS, UNKNOWN, UPLOAD, UPLOAD_CALLS, WEBPAGE, WEBSITE_CALL_METRICS.

LandingPageSource String SEGMENT The source of a landing page in the landing page report.

The allowed values are ADVERTISER, AUTOMATIC, UNKNOWN.

Month Date SEGMENT Month as represented by the date of the first day of a month. Formatted as
MonthOfYear String SEGMENT Month of the year, for example, January.

The allowed values are APRIL, AUGUST, DECEMBER, FEBRUARY, JANUARY, JULY, JUNE, MARCH, MAY, NOVEMBER, OCTOBER, SEPTEMBER, UNKNOWN.

Period String SEGMENT Predefined date range.

The allowed values are TODAY, YESTERDAY, LAST_7_DAYS, LAST_BUSINESS_WEEK, THIS_MONTH, LAST_MONTH, LAST_14_DAYS, LAST_30_DAYS, THIS_WEEK_SUN_TODAY, THIS_WEEK_MON_TODAY, LAST_WEEK_SUN_SAT, LAST_WEEK_MON_SUN.

Quarter Date SEGMENT Quarter as represented by the date of the first day of a quarter.
Slot String SEGMENT Position of the ad.

The allowed values are CONTENT, MIXED, SEARCH_OTHER, SEARCH_PARTNER_OTHER, SEARCH_PARTNER_TOP, SEARCH_SIDE, SEARCH_TOP, UNKNOWN.

Week Date SEGMENT Week as defined as Monday through Sunday, and represented by the date of
Year Int SEGMENT Year, formatted as yyyy.

Pseudo-Columns

Pseudo column fields are used in the WHERE clause of SELECT statements and offer more granular control over the data returned from the data source.

Name Type Description
ManagerId Long Id of the manager account on behalf of which you are requesting customer data.

CData Python Connector for Google Ads

Experiment

A Google ads experiment for users to experiment changes on multiple

Columns

Name Type Behavior Description
CustomerId Long ATTRIBUTE Output only. The ID of the customer.
ExperimentDescription String ATTRIBUTE The description of the experiment. It must have a minimum length of 1 and
ExperimentEndDate String ATTRIBUTE Date when the experiment ends. By default, the experiment ends on
ExperimentExperimentId Long ATTRIBUTE Output only. The ID of the experiment. Read only.
ExperimentGoals String ATTRIBUTE The goals of this experiment.
ExperimentLongRunningOperation String ATTRIBUTE Output only. The resource name of the long-running operation that can be
ExperimentName String ATTRIBUTE Required. The name of the experiment. It must have a minimum length of 1
ExperimentPromoteStatus String ATTRIBUTE Output only. The status of the experiment promotion process.

The allowed values are COMPLETED, COMPLETED_WITH_WARNING, FAILED, IN_PROGRESS, NOT_STARTED, UNKNOWN.

ExperimentResourceName String ATTRIBUTE Immutable. The resource name of the experiment.
ExperimentStartDate String ATTRIBUTE Date when the experiment starts. By default, the experiment starts
ExperimentStatus String ATTRIBUTE The Advertiser-chosen status of this experiment.

The allowed values are ENABLED, GRADUATED, HALTED, INITIATED, PROMOTED, REMOVED, SETUP, UNKNOWN.

ExperimentSuffix String ATTRIBUTE For system managed experiments, the advertiser must provide a suffix during
ExperimentSyncEnabled Bool ATTRIBUTE Immutable. Set to true if changes to base campaigns should be synced to the
ExperimentType String ATTRIBUTE Required. The product/feature that uses this experiment.

The allowed values are AD_VARIATION, DISPLAY_AND_VIDEO_360, DISPLAY_AUTOMATED_BIDDING_STRATEGY, DISPLAY_CUSTOM, HOTEL_CUSTOM, SEARCH_AUTOMATED_BIDDING_STRATEGY, SEARCH_CUSTOM, SHOPPING_AUTOMATED_BIDDING_STRATEGY, SMART_MATCHING, UNKNOWN, YOUTUBE_CUSTOM.

Pseudo-Columns

Pseudo column fields are used in the WHERE clause of SELECT statements and offer more granular control over the data returned from the data source.

Name Type Description
ManagerId Long Id of the manager account on behalf of which you are requesting customer data.

CData Python Connector for Google Ads

ExperimentArm

A Google ads experiment for users to experiment changes on multiple

Columns

Name Type Behavior Description
CustomerId Long ATTRIBUTE Output only. The ID of the customer.
ExperimentArmCampaigns String ATTRIBUTE List of campaigns in the trial arm. The max length is one.
ExperimentArmControl Bool ATTRIBUTE Whether this arm is a control arm. A control arm is the arm against
ExperimentArmExperiment String ATTRIBUTE Immutable. The experiment to which the ExperimentArm belongs.
ExperimentArmInDesignCampaigns String ATTRIBUTE Output only. The in design campaigns in the treatment experiment arm.
ExperimentArmName String ATTRIBUTE Required. The name of the experiment arm. It must have a minimum length of
ExperimentArmResourceName String ATTRIBUTE Immutable. The resource name of the experiment arm.
ExperimentArmTrafficSplit Long ATTRIBUTE Traffic split of the trial arm. The value should be between 1 and 100

Pseudo-Columns

Pseudo column fields are used in the WHERE clause of SELECT statements and offer more granular control over the data returned from the data source.

Name Type Description
ManagerId Long Id of the manager account on behalf of which you are requesting customer data.

CData Python Connector for Google Ads

FinalUrlExpansionAssetView

FinalUrlExpansionAssetView Resource.

Columns

Name Type Behavior Description
CustomerId Long ATTRIBUTE Output only. The ID of the customer.
FinalUrlExpansionAssetViewAdGroup String ATTRIBUTE Output only. Ad Group in which FinalUrlExpansionAsset served.
FinalUrlExpansionAssetViewAsset String ATTRIBUTE Output only. The ID of the asset.
FinalUrlExpansionAssetViewAssetGroup String ATTRIBUTE Output only. Asset Group in which FinalUrlExpansionAsset served.
FinalUrlExpansionAssetViewCampaign String ATTRIBUTE Output only. Campaign in which the asset served.
FinalUrlExpansionAssetViewFieldType String ATTRIBUTE Output only. The field type of the asset.

The allowed values are AD_IMAGE, BOOK_ON_GOOGLE, BUSINESS_LOGO, BUSINESS_MESSAGE, BUSINESS_NAME, CALL, CALLOUT, CALL_TO_ACTION, CALL_TO_ACTION_SELECTION, DEMAND_GEN_CAROUSEL_CARD, DESCRIPTION, HEADLINE, HOTEL_CALLOUT, HOTEL_PROPERTY, LANDING_PAGE_PREVIEW, LANDSCAPE_LOGO, LEAD_FORM, LOGO, LONG_DESCRIPTION, LONG_HEADLINE, MANDATORY_AD_TEXT, MARKETING_IMAGE, MEDIA_BUNDLE, MOBILE_APP, PORTRAIT_MARKETING_IMAGE, PRICE, PROMOTION, RELATED_YOUTUBE_VIDEOS, SITELINK, SQUARE_MARKETING_IMAGE, STRUCTURED_SNIPPET, TALL_PORTRAIT_MARKETING_IMAGE, UNKNOWN, VIDEO, YOUTUBE_VIDEO.

FinalUrlExpansionAssetViewFinalUrl String ATTRIBUTE Output only. Final URL of the FinalUrlExpansionAsset.
FinalUrlExpansionAssetViewResourceName String ATTRIBUTE Output only. The resource name of the FinalUrlExpansionAsset.
FinalUrlExpansionAssetViewStatus String ATTRIBUTE Output only. Status of the FinalUrlExpansionAsset.

The allowed values are ENABLED, PAUSED, REMOVED, UNKNOWN.

Conversions Double METRIC The number of conversions. This only includes conversion actions which
ConversionsValue Double METRIC The value of conversions. This only includes conversion actions which
Impressions Long METRIC Count of how often your ad has appeared on a search results page or
Date Date SEGMENT Date to which metrics apply.
DayOfWeek String SEGMENT Day of the week, for example, MONDAY.

The allowed values are FRIDAY, MONDAY, SATURDAY, SUNDAY, THURSDAY, TUESDAY, UNKNOWN, WEDNESDAY.

Month Date SEGMENT Month as represented by the date of the first day of a month. Formatted as
Period String SEGMENT Predefined date range.

The allowed values are TODAY, YESTERDAY, LAST_7_DAYS, LAST_BUSINESS_WEEK, THIS_MONTH, LAST_MONTH, LAST_14_DAYS, LAST_30_DAYS, THIS_WEEK_SUN_TODAY, THIS_WEEK_MON_TODAY, LAST_WEEK_SUN_SAT, LAST_WEEK_MON_SUN.

Quarter Date SEGMENT Quarter as represented by the date of the first day of a quarter.
Week Date SEGMENT Week as defined as Monday through Sunday, and represented by the date of
Year Int SEGMENT Year, formatted as yyyy.

Pseudo-Columns

Pseudo column fields are used in the WHERE clause of SELECT statements and offer more granular control over the data returned from the data source.

Name Type Description
ManagerId Long Id of the manager account on behalf of which you are requesting customer data.

CData Python Connector for Google Ads

GenderView

A gender view.

View-Specific Information

Select

Google Ads does not allow every column to be selected in a single query, as some data conflicts if selected together. Therefore, when issuing a query that selects all columns, only the default metrics, segments, and attributes are returned. In general, these defaults are the same fields that are exposed through the Ads console. To use the nondefault fields, explicitly select them in your query.

Filters can also be used in the WHERE clause using the following supported operators: =, !=, >, >=, <, <=, LIKE, NOT LIKE, IN, NOT IN . Note that all filters must be joined by AND, as OR is not supported by the Ads API.

Columns

Name Type Behavior Description
BiddingStrategyId Long SEGMENT Output only. The ID of the bidding strategy.
CustomerId Long ATTRIBUTE Output only. The ID of the customer.
GenderViewResourceName String ATTRIBUTE Output only. The resource name of the gender view.
ActiveViewCpm Double METRIC Average cost of viewable impressions (active_view_impressions).
ActiveViewCtr Double METRIC Active view measurable clicks divided by active view viewable impressions.
ActiveViewImpressions Long METRIC A measurement of how often your ad has become viewable on a Display
ActiveViewMeasurability Double METRIC The ratio of impressions that could be measured by Active View over the
ActiveViewMeasurableCostMicros Long METRIC The cost of the impressions you received that were measurable by Active
ActiveViewMeasurableImpressions Long METRIC The number of times your ads are appearing on placements in positions
ActiveViewViewability Double METRIC The percentage of time when your ad appeared on an Active View enabled site
AllConversions Double METRIC The total number of conversions. This includes all conversions regardless
AllConversionsFromInteractionsRate Double METRIC All conversions from interactions (as oppose to view through conversions)
AllConversionsFromInteractionsValuePerInteraction Double METRIC The value of all conversions from interactions divided by the total number
AllConversionsValue Double METRIC The value of all conversions.
AllConversionsValuePerCost Double METRIC The value of all conversions divided by the total cost of ad interactions
AverageCost Double METRIC The average amount you pay per interaction. This amount is the total cost
AverageCpc Double METRIC The total cost of all clicks divided by the total number of clicks
AverageCpe Double METRIC The average amount that you've been charged for an ad engagement. This
AverageCpm Double METRIC Average cost-per-thousand impressions (CPM).
Clicks Long METRIC The number of clicks.
Conversions Double METRIC The number of conversions. This only includes conversion actions which
ConversionsFromInteractionsRate Double METRIC Conversions from interactions divided by the number of ad interactions
ConversionsValue Double METRIC The value of conversions. This only includes conversion actions which
CostMicros Long METRIC The sum of your cost-per-click (CPC) and cost-per-thousand impressions
CostPerAllConversions Double METRIC The cost of ad interactions divided by all conversions.
CostPerConversion Double METRIC The cost of ad interactions divided by conversions. This only includes
CrossDeviceConversions Double METRIC Conversions from when a customer clicks on a Google Ads ad on one device,
Ctr Double METRIC The number of clicks your ad receives (Clicks) divided by the number
EngagementRate Double METRIC How often people engage with your ad after it's shown to them. This is the
Engagements Long METRIC The number of engagements.
GmailForwards Long METRIC The number of times the ad was forwarded to someone else as a message.
GmailSaves Long METRIC The number of times someone has saved your Gmail ad to their inbox as a
GmailSecondaryClicks Long METRIC The number of clicks to the landing page on the expanded state of Gmail
Impressions Long METRIC Count of how often your ad has appeared on a search results page or
InteractionEventTypes String METRIC The types of payable and free interactions.

The allowed values are CLICK, ENGAGEMENT, NONE, UNKNOWN, VIDEO_VIEW.

InteractionRate Double METRIC How often people interact with your ad after it is shown to them.
Interactions Long METRIC The number of interactions.
SearchImpressionShare Double METRIC The impressions you've received on the Search Network divided
TrueviewAverageCpv Double METRIC The average amount you pay each time someone views your ad.
ValuePerAllConversions Double METRIC The value of all conversions divided by the number of all conversions.
ValuePerConversion Double METRIC The value of conversions divided by the number of conversions. This only
VideoQuartileP100Rate Double METRIC Percentage of impressions where the viewer watched all of your video.
VideoQuartileP25Rate Double METRIC Percentage of impressions where the viewer watched 25% of your video.
VideoQuartileP50Rate Double METRIC Percentage of impressions where the viewer watched 50% of your video.
VideoQuartileP75Rate Double METRIC Percentage of impressions where the viewer watched 75% of your video.
VideoTrueviewViewRate Double METRIC The number of TrueView views your video ad receives divided by its number
VideoTrueviewViews Long METRIC The number of TrueView views your video ads received.
ViewThroughConversions Long METRIC The total number of view-through conversions.
AdNetworkType String SEGMENT Ad network type.

The allowed values are CONTENT, DISCOVER, GMAIL, GOOGLE_OWNED_CHANNELS, GOOGLE_TV, MAPS, MIXED, SEARCH, SEARCH_PARTNERS, UNKNOWN, YOUTUBE.

AdSubNetworkType String SEGMENT Ad sub network type. Currently only available for ads running as part of

The allowed values are UNKNOWN, UNSEGMENTED, YOUTUBE_INFEED, YOUTUBE_INSTREAM, YOUTUBE_SHORTS.

ClickType String SEGMENT Click type.

The allowed values are AD_IMAGE, APP_DEEPLINK, BREADCRUMBS, BROADBAND_PLAN, CALLS, CALL_TRACKING, CLICK_ON_ENGAGEMENT_AD, CLICK_TO_MESSAGE_LANDING_PAGE_CLICK, CLICK_TO_MESSAGE_THIRD_PARTY_CLICK, CROSS_NETWORK, GET_DIRECTIONS, HOTEL_BOOK_ON_GOOGLE_ROOM_SELECTION, HOTEL_PRICE, LOCATION_EXPANSION, LOCATION_FORMAT_CALL, LOCATION_FORMAT_DIRECTIONS, LOCATION_FORMAT_IMAGE, LOCATION_FORMAT_LANDING_PAGE, LOCATION_FORMAT_MAP, LOCATION_FORMAT_STORE_INFO, LOCATION_FORMAT_TEXT, MOBILE_CALL_TRACKING, OFFER_PRINTS, OTHER, PRICE_EXTENSION, PRODUCT_AD_APP_DEEPLINK, PRODUCT_ASSETS, PRODUCT_EXTENSION_CLICKS, PRODUCT_LISTING_ADS_COUPON, PRODUCT_LISTING_AD_CLICKS, PRODUCT_LISTING_AD_LOCAL, PRODUCT_LISTING_AD_MULTICHANNEL_LOCAL, PRODUCT_LISTING_AD_MULTICHANNEL_ONLINE, PRODUCT_LISTING_AD_TRANSACTABLE, PROMOTION_EXTENSION, SHOPPING_COMPARISON_LISTING, SHOWCASE_AD_CATEGORY_LINK, SHOWCASE_AD_LOCAL_PRODUCT_LINK, SHOWCASE_AD_LOCAL_STOREFRONT_LINK, SHOWCASE_AD_ONLINE_PRODUCT_LINK, SITELINKS, STORE_LOCATOR, SWIPEABLE_GALLERY_AD_HEADLINE, SWIPEABLE_GALLERY_AD_SEE_MORE, SWIPEABLE_GALLERY_AD_SITELINK_FIVE, SWIPEABLE_GALLERY_AD_SITELINK_FOUR, SWIPEABLE_GALLERY_AD_SITELINK_ONE, SWIPEABLE_GALLERY_AD_SITELINK_THREE, SWIPEABLE_GALLERY_AD_SITELINK_TWO, SWIPEABLE_GALLERY_AD_SWIPES, TRAVEL_ASSETS, UNKNOWN, URL_CLICKS, VEHICLE_ASSETS, VIDEO_APP_STORE_CLICKS, VIDEO_CALL_TO_ACTION_CLICKS, VIDEO_CARD_ACTION_HEADLINE_CLICKS, VIDEO_CHANNEL_CLICK, VIDEO_END_CAP_CLICKS, VIDEO_RELATED_VIDEOS_CLICK, VIDEO_WEBSITE_CLICKS, VISUAL_SITELINKS, WIRELESS_PLAN.

ConversionAction String SEGMENT Resource name of the conversion action.
ConversionActionCategory String SEGMENT Conversion action category.

The allowed values are ADD_TO_CART, BEGIN_CHECKOUT, BOOK_APPOINTMENT, CONTACT, CONVERTED_LEAD, DEFAULT, DOWNLOAD, ENGAGEMENT, GET_DIRECTIONS, IMPORTED_LEAD, OUTBOUND_CLICK, PAGE_VIEW, PHONE_CALL_LEAD, PURCHASE, QUALIFIED_LEAD, REQUEST_QUOTE, SIGNUP, STORE_SALE, STORE_VISIT, SUBMIT_LEAD_FORM, SUBSCRIBE_PAID, UNKNOWN, YOUTUBE_FOLLOW_ON_VIEWS.

ConversionActionName String SEGMENT Conversion action name.
Date Date SEGMENT Date to which metrics apply.
DayOfWeek String SEGMENT Day of the week, for example, MONDAY.

The allowed values are FRIDAY, MONDAY, SATURDAY, SUNDAY, THURSDAY, TUESDAY, UNKNOWN, WEDNESDAY.

Device String SEGMENT Device to which metrics apply.

The allowed values are CONNECTED_TV, DESKTOP, MOBILE, OTHER, TABLET, UNKNOWN.

ExternalConversionSource String SEGMENT External conversion source.

The allowed values are AD_CALL_METRICS, ANALYTICS, ANALYTICS_SEARCH_ADS_360, ANDROID_FIRST_OPEN, ANDROID_IN_APP, APP_UNSPECIFIED, CLICK_TO_CALL, DISPLAY_AND_VIDEO_360_FLOODLIGHT, FIREBASE, FIREBASE_SEARCH_ADS_360, FLOODLIGHT, GOOGLE_ATTRIBUTION, GOOGLE_HOSTED, GOOGLE_PLAY, IOS_FIRST_OPEN, IOS_IN_APP, SALESFORCE, SEARCH_ADS_360, STORE_SALES, STORE_SALES_CRM, STORE_SALES_DIRECT_UPLOAD, STORE_SALES_PAYMENT_NETWORK, STORE_VISITS, THIRD_PARTY_APP_ANALYTICS, UNKNOWN, UPLOAD, UPLOAD_CALLS, WEBPAGE, WEBSITE_CALL_METRICS.

Month Date SEGMENT Month as represented by the date of the first day of a month. Formatted as
MonthOfYear String SEGMENT Month of the year, for example, January.

The allowed values are APRIL, AUGUST, DECEMBER, FEBRUARY, JANUARY, JULY, JUNE, MARCH, MAY, NOVEMBER, OCTOBER, SEPTEMBER, UNKNOWN.

Period String SEGMENT Predefined date range.

The allowed values are TODAY, YESTERDAY, LAST_7_DAYS, LAST_BUSINESS_WEEK, THIS_MONTH, LAST_MONTH, LAST_14_DAYS, LAST_30_DAYS, THIS_WEEK_SUN_TODAY, THIS_WEEK_MON_TODAY, LAST_WEEK_SUN_SAT, LAST_WEEK_MON_SUN.

Quarter Date SEGMENT Quarter as represented by the date of the first day of a quarter.
Week Date SEGMENT Week as defined as Monday through Sunday, and represented by the date of
Year Int SEGMENT Year, formatted as yyyy.

Pseudo-Columns

Pseudo column fields are used in the WHERE clause of SELECT statements and offer more granular control over the data returned from the data source.

Name Type Description
ManagerId Long Id of the manager account on behalf of which you are requesting customer data.

CData Python Connector for Google Ads

GeographicView

A geographic view.

View-Specific Information

Select

Google Ads does not allow every column to be selected in a single query, as some data conflicts if selected together. Therefore, when issuing a query that selects all columns, only the default metrics, segments, and attributes are returned. In general, these defaults are the same fields that are exposed through the Ads console. To use the nondefault fields, explicitly select them in your query.

Filters can also be used in the WHERE clause using the following supported operators: =, !=, >, >=, <, <=, LIKE, NOT LIKE, IN, NOT IN . Note that all filters must be joined by AND, as OR is not supported by the Ads API.

Columns

Name Type Behavior Description
AdGroupId Long SEGMENT Output only. The ID of the ad group.
CampaignId Long SEGMENT Output only. The ID of the campaign.
CustomerId Long ATTRIBUTE Output only. The ID of the customer.
GeographicViewCountryCriterionId Long ATTRIBUTE Output only. Criterion Id for the country.
GeographicViewLocationType String ATTRIBUTE Output only. Type of the geo targeting of the campaign.

The allowed values are AREA_OF_INTEREST, LOCATION_OF_PRESENCE, UNKNOWN.

GeographicViewResourceName String ATTRIBUTE Output only. The resource name of the geographic view.
AbsoluteTopImpressionPercentage Double METRIC Search absolute top impression share is the percentage of your Search ad
AllConversions Double METRIC The total number of conversions. This includes all conversions regardless
AllConversionsByConversionDate Double METRIC The total number of conversions. This includes all conversions regardless
AllConversionsFromInteractionsRate Double METRIC All conversions from interactions (as oppose to view through conversions)
AllConversionsValue Double METRIC The value of all conversions.
AllConversionsValueByConversionDate Double METRIC The value of all conversions. When this column is selected with date, the
AverageCost Double METRIC The average amount you pay per interaction. This amount is the total cost
AverageCpc Double METRIC The total cost of all clicks divided by the total number of clicks
AverageCpm Double METRIC Average cost-per-thousand impressions (CPM).
Clicks Long METRIC The number of clicks.
Conversions Double METRIC The number of conversions. This only includes conversion actions which
ConversionsByConversionDate Double METRIC The number of conversions. This only includes conversion actions which
ConversionsFromInteractionsRate Double METRIC Conversions from interactions divided by the number of ad interactions
ConversionsValue Double METRIC The value of conversions. This only includes conversion actions which
ConversionsValueByConversionDate Double METRIC The value of conversions. This only includes conversion actions which
CostMicros Long METRIC The sum of your cost-per-click (CPC) and cost-per-thousand impressions
CostPerAllConversions Double METRIC The cost of ad interactions divided by all conversions.
CostPerConversion Double METRIC The cost of ad interactions divided by conversions. This only includes
CrossDeviceConversions Double METRIC Conversions from when a customer clicks on a Google Ads ad on one device,
CrossDeviceConversionsByConversionDate Double METRIC The number of cross-device conversions by conversion date.
CrossDeviceConversionsValueByConversionDate Double METRIC The sum of cross-device conversions value by conversion date.
Ctr Double METRIC The number of clicks your ad receives (Clicks) divided by the number
Impressions Long METRIC Count of how often your ad has appeared on a search results page or
InteractionEventTypes String METRIC The types of payable and free interactions.

The allowed values are CLICK, ENGAGEMENT, NONE, UNKNOWN, VIDEO_VIEW.

InteractionRate Double METRIC How often people interact with your ad after it is shown to them.
Interactions Long METRIC The number of interactions.
TopImpressionPercentage Double METRIC The percent of your ad impressions that are shown adjacent to the top
TrueviewAverageCpv Double METRIC The average amount you pay each time someone views your ad.
ValuePerAllConversions Double METRIC The value of all conversions divided by the number of all conversions.
ValuePerAllConversionsByConversionDate Double METRIC The value of all conversions divided by the number of all conversions. When
ValuePerConversion Double METRIC The value of conversions divided by the number of conversions. This only
ValuePerConversionsByConversionDate Double METRIC The value of conversions divided by the number of conversions. This only
VideoTrueviewViewRate Double METRIC The number of TrueView views your video ad receives divided by its number
VideoTrueviewViews Long METRIC The number of TrueView views your video ads received.
ViewThroughConversions Long METRIC The total number of view-through conversions.
AdNetworkType String SEGMENT Ad network type.

The allowed values are CONTENT, DISCOVER, GMAIL, GOOGLE_OWNED_CHANNELS, GOOGLE_TV, MAPS, MIXED, SEARCH, SEARCH_PARTNERS, UNKNOWN, YOUTUBE.

AdSubNetworkType String SEGMENT Ad sub network type. Currently only available for ads running as part of

The allowed values are UNKNOWN, UNSEGMENTED, YOUTUBE_INFEED, YOUTUBE_INSTREAM, YOUTUBE_SHORTS.

ConversionAction String SEGMENT Resource name of the conversion action.
ConversionActionCategory String SEGMENT Conversion action category.

The allowed values are ADD_TO_CART, BEGIN_CHECKOUT, BOOK_APPOINTMENT, CONTACT, CONVERTED_LEAD, DEFAULT, DOWNLOAD, ENGAGEMENT, GET_DIRECTIONS, IMPORTED_LEAD, OUTBOUND_CLICK, PAGE_VIEW, PHONE_CALL_LEAD, PURCHASE, QUALIFIED_LEAD, REQUEST_QUOTE, SIGNUP, STORE_SALE, STORE_VISIT, SUBMIT_LEAD_FORM, SUBSCRIBE_PAID, UNKNOWN, YOUTUBE_FOLLOW_ON_VIEWS.

ConversionActionName String SEGMENT Conversion action name.
Date Date SEGMENT Date to which metrics apply.
DayOfWeek String SEGMENT Day of the week, for example, MONDAY.

The allowed values are FRIDAY, MONDAY, SATURDAY, SUNDAY, THURSDAY, TUESDAY, UNKNOWN, WEDNESDAY.

Device String SEGMENT Device to which metrics apply.

The allowed values are CONNECTED_TV, DESKTOP, MOBILE, OTHER, TABLET, UNKNOWN.

ExternalConversionSource String SEGMENT External conversion source.

The allowed values are AD_CALL_METRICS, ANALYTICS, ANALYTICS_SEARCH_ADS_360, ANDROID_FIRST_OPEN, ANDROID_IN_APP, APP_UNSPECIFIED, CLICK_TO_CALL, DISPLAY_AND_VIDEO_360_FLOODLIGHT, FIREBASE, FIREBASE_SEARCH_ADS_360, FLOODLIGHT, GOOGLE_ATTRIBUTION, GOOGLE_HOSTED, GOOGLE_PLAY, IOS_FIRST_OPEN, IOS_IN_APP, SALESFORCE, SEARCH_ADS_360, STORE_SALES, STORE_SALES_CRM, STORE_SALES_DIRECT_UPLOAD, STORE_SALES_PAYMENT_NETWORK, STORE_VISITS, THIRD_PARTY_APP_ANALYTICS, UNKNOWN, UPLOAD, UPLOAD_CALLS, WEBPAGE, WEBSITE_CALL_METRICS.

GeoTargetAirport String SEGMENT Resource name of the geo target constant that represents an airport.
GeoTargetCanton String SEGMENT Resource name of the geo target constant that represents a canton.
GeoTargetCity String SEGMENT Resource name of the geo target constant that represents a city.
GeoTargetCounty String SEGMENT Resource name of the geo target constant that represents a county.
GeoTargetDistrict String SEGMENT Resource name of the geo target constant that represents a district.
GeoTargetMetro String SEGMENT Resource name of the geo target constant that represents a metro.
GeoTargetMostSpecificLocation String SEGMENT Resource name of the geo target constant that represents the most
GeoTargetPostalCode String SEGMENT Resource name of the geo target constant that represents a postal code.
GeoTargetProvince String SEGMENT Resource name of the geo target constant that represents a province.
GeoTargetRegion String SEGMENT Resource name of the geo target constant that represents a region.
GeoTargetState String SEGMENT Resource name of the geo target constant that represents a state.
Month Date SEGMENT Month as represented by the date of the first day of a month. Formatted as
MonthOfYear String SEGMENT Month of the year, for example, January.

The allowed values are APRIL, AUGUST, DECEMBER, FEBRUARY, JANUARY, JULY, JUNE, MARCH, MAY, NOVEMBER, OCTOBER, SEPTEMBER, UNKNOWN.

Period String SEGMENT Predefined date range.

The allowed values are TODAY, YESTERDAY, LAST_7_DAYS, LAST_BUSINESS_WEEK, THIS_MONTH, LAST_MONTH, LAST_14_DAYS, LAST_30_DAYS, THIS_WEEK_SUN_TODAY, THIS_WEEK_MON_TODAY, LAST_WEEK_SUN_SAT, LAST_WEEK_MON_SUN.

Quarter Date SEGMENT Quarter as represented by the date of the first day of a quarter.
Week Date SEGMENT Week as defined as Monday through Sunday, and represented by the date of
Year Int SEGMENT Year, formatted as yyyy.

Pseudo-Columns

Pseudo column fields are used in the WHERE clause of SELECT statements and offer more granular control over the data returned from the data source.

Name Type Description
ManagerId Long Id of the manager account on behalf of which you are requesting customer data.

CData Python Connector for Google Ads

GeoTargetConstant

A geo target constant.

Columns

Name Type Behavior Description
CustomerId Long ATTRIBUTE Output only. The ID of the customer.
GeoTargetConstantCanonicalName String ATTRIBUTE Output only. The fully qualified English name, consisting of the target's
GeoTargetConstantCountryCode String ATTRIBUTE Output only. The ISO-3166-1 alpha-2 country code that is associated with
GeoTargetConstantId Long ATTRIBUTE Output only. The ID of the geo target constant.
GeoTargetConstantName String ATTRIBUTE Output only. Geo target constant English name.
GeoTargetConstantParentGeoTarget String ATTRIBUTE Output only. The resource name of the parent geo target constant.
GeoTargetConstantResourceName String ATTRIBUTE Output only. The resource name of the geo target constant.
GeoTargetConstantStatus String ATTRIBUTE Output only. Geo target constant status.

The allowed values are ENABLED, REMOVAL_PLANNED, UNKNOWN.

GeoTargetConstantTargetType String ATTRIBUTE Output only. Geo target constant target type.

Pseudo-Columns

Pseudo column fields are used in the WHERE clause of SELECT statements and offer more granular control over the data returned from the data source.

Name Type Description
ManagerId Long Id of the manager account on behalf of which you are requesting customer data.

CData Python Connector for Google Ads

Goal

Representation of goals.

Columns

Name Type Behavior Description
CustomerId Long ATTRIBUTE Output only. The ID of the customer.
GoalGoalId Long ATTRIBUTE Output only. The ID of this goal.
GoalGoalType String ATTRIBUTE Output only. The type of this goal.

The allowed values are CUSTOMER_RETENTION, UNKNOWN.

GoalOptimizationEligibility String ATTRIBUTE Output only. Indicates if this goal is eligible for campaign optimization.

The allowed values are ELIGIBLE, INELIGIBLE, UNKNOWN.

GoalOwnerCustomer String ATTRIBUTE Output only. The resource name of the goal owner customer.
GoalResourceName String ATTRIBUTE Immutable. The resource name of the goal.
GoalRetentionGoalSettingsValueSettingsAdditionalHighLifetimeValue Double ATTRIBUTE High lifetime value of the lifecycle goal. For example, for customer acquisition goals, high lifetime value is the incremental conversion value for lapsed customers who are of high value. High lifetime value should be greater than value, if set.
GoalRetentionGoalSettingsValueSettingsAdditionalValue Double ATTRIBUTE Value of the lifecycle goal. For example, for retention goals, value is the incremental conversion value for lapsed customers who are not of high value.

Pseudo-Columns

Pseudo column fields are used in the WHERE clause of SELECT statements and offer more granular control over the data returned from the data source.

Name Type Description
ManagerId Long Id of the manager account on behalf of which you are requesting customer data.

CData Python Connector for Google Ads

GroupContentSuitabilityPlacementView

A group content suitability placement view.

Columns

Name Type Behavior Description
AdGroupId Long SEGMENT Output only. The ID of the ad group.
CampaignId Long SEGMENT Output only. The ID of the campaign.
CustomerId Long ATTRIBUTE Output only. The ID of the customer.
GroupContentSuitabilityPlacementViewDisplayName String ATTRIBUTE Output only. The display name is URL for websites, YouTube video name for
GroupContentSuitabilityPlacementViewPlacement String ATTRIBUTE Output only. The automatic placement string at group level, for example.
GroupContentSuitabilityPlacementViewPlacementType String ATTRIBUTE Output only. Represents the type of the placement, for example, Website,

The allowed values are GOOGLE_PRODUCTS, MOBILE_APPLICATION, MOBILE_APP_CATEGORY, UNKNOWN, WEBSITE, YOUTUBE_CHANNEL, YOUTUBE_VIDEO.

GroupContentSuitabilityPlacementViewResourceName String ATTRIBUTE Output only. The resource name of the group content suitability placement
GroupContentSuitabilityPlacementViewTargetUrl String ATTRIBUTE Output only. URL of the placement, for example, website, link to the mobile
Impressions Long METRIC Count of how often your ad has appeared on a search results page or
Date Date SEGMENT Date to which metrics apply.
Period String SEGMENT Predefined date range.

The allowed values are TODAY, YESTERDAY, LAST_7_DAYS, LAST_BUSINESS_WEEK, THIS_MONTH, LAST_MONTH, LAST_14_DAYS, LAST_30_DAYS, THIS_WEEK_SUN_TODAY, THIS_WEEK_MON_TODAY, LAST_WEEK_SUN_SAT, LAST_WEEK_MON_SUN.

Pseudo-Columns

Pseudo column fields are used in the WHERE clause of SELECT statements and offer more granular control over the data returned from the data source.

Name Type Description
ManagerId Long Id of the manager account on behalf of which you are requesting customer data.

CData Python Connector for Google Ads

GroupPlacementView

A group placement view.

View-Specific Information

Select

Google Ads does not allow every column to be selected in a single query, as some data conflicts if selected together. Therefore, when issuing a query that selects all columns, only the default metrics, segments, and attributes are returned. In general, these defaults are the same fields that are exposed through the Ads console. To use the nondefault fields, explicitly select them in your query.

Filters can also be used in the WHERE clause using the following supported operators: =, !=, >, >=, <, <=, LIKE, NOT LIKE, IN, NOT IN . Note that all filters must be joined by AND, as OR is not supported by the Ads API.

Columns

Name Type Behavior Description
CustomerId Long ATTRIBUTE Output only. The ID of the customer.
GroupPlacementViewDisplayName String ATTRIBUTE Output only. Domain name for websites and YouTube channel name for YouTube
GroupPlacementViewPlacement String ATTRIBUTE Output only. The automatic placement string at group level, e. g. web
GroupPlacementViewPlacementType String ATTRIBUTE Output only. Type of the placement, for example, Website, YouTube Channel,

The allowed values are GOOGLE_PRODUCTS, MOBILE_APPLICATION, MOBILE_APP_CATEGORY, UNKNOWN, WEBSITE, YOUTUBE_CHANNEL, YOUTUBE_VIDEO.

GroupPlacementViewResourceName String ATTRIBUTE Output only. The resource name of the group placement view.
GroupPlacementViewTargetUrl String ATTRIBUTE Output only. URL of the group placement, for example, domain, link to the
ActiveViewCpm Double METRIC Average cost of viewable impressions (active_view_impressions).
ActiveViewCtr Double METRIC Active view measurable clicks divided by active view viewable impressions.
ActiveViewImpressions Long METRIC A measurement of how often your ad has become viewable on a Display
ActiveViewMeasurability Double METRIC The ratio of impressions that could be measured by Active View over the
ActiveViewMeasurableCostMicros Long METRIC The cost of the impressions you received that were measurable by Active
ActiveViewMeasurableImpressions Long METRIC The number of times your ads are appearing on placements in positions
ActiveViewViewability Double METRIC The percentage of time when your ad appeared on an Active View enabled site
AllConversions Double METRIC The total number of conversions. This includes all conversions regardless
AllConversionsFromInteractionsRate Double METRIC All conversions from interactions (as oppose to view through conversions)
AllConversionsValue Double METRIC The value of all conversions.
AllConversionsValuePerCost Double METRIC The value of all conversions divided by the total cost of ad interactions
AverageCost Double METRIC The average amount you pay per interaction. This amount is the total cost
AverageCpc Double METRIC The total cost of all clicks divided by the total number of clicks
AverageCpe Double METRIC The average amount that you've been charged for an ad engagement. This
AverageCpm Double METRIC Average cost-per-thousand impressions (CPM).
Clicks Long METRIC The number of clicks.
Conversions Double METRIC The number of conversions. This only includes conversion actions which
ConversionsFromInteractionsRate Double METRIC Conversions from interactions divided by the number of ad interactions
ConversionsValue Double METRIC The value of conversions. This only includes conversion actions which
CostMicros Long METRIC The sum of your cost-per-click (CPC) and cost-per-thousand impressions
CostPerAllConversions Double METRIC The cost of ad interactions divided by all conversions.
CostPerConversion Double METRIC The cost of ad interactions divided by conversions. This only includes
CrossDeviceConversions Double METRIC Conversions from when a customer clicks on a Google Ads ad on one device,
Ctr Double METRIC The number of clicks your ad receives (Clicks) divided by the number
EngagementRate Double METRIC How often people engage with your ad after it's shown to them. This is the
Engagements Long METRIC The number of engagements.
Impressions Long METRIC Count of how often your ad has appeared on a search results page or
InteractionEventTypes String METRIC The types of payable and free interactions.

The allowed values are CLICK, ENGAGEMENT, NONE, UNKNOWN, VIDEO_VIEW.

InteractionRate Double METRIC How often people interact with your ad after it is shown to them.
Interactions Long METRIC The number of interactions.
TrueviewAverageCpv Double METRIC The average amount you pay each time someone views your ad.
ValuePerAllConversions Double METRIC The value of all conversions divided by the number of all conversions.
ValuePerConversion Double METRIC The value of conversions divided by the number of conversions. This only
VideoTrueviewViewRate Double METRIC The number of TrueView views your video ad receives divided by its number
VideoTrueviewViews Long METRIC The number of TrueView views your video ads received.
ViewThroughConversions Long METRIC The total number of view-through conversions.
AdNetworkType String SEGMENT Ad network type.

The allowed values are CONTENT, DISCOVER, GMAIL, GOOGLE_OWNED_CHANNELS, GOOGLE_TV, MAPS, MIXED, SEARCH, SEARCH_PARTNERS, UNKNOWN, YOUTUBE.

AdSubNetworkType String SEGMENT Ad sub network type. Currently only available for ads running as part of

The allowed values are UNKNOWN, UNSEGMENTED, YOUTUBE_INFEED, YOUTUBE_INSTREAM, YOUTUBE_SHORTS.

ClickType String SEGMENT Click type.

The allowed values are AD_IMAGE, APP_DEEPLINK, BREADCRUMBS, BROADBAND_PLAN, CALLS, CALL_TRACKING, CLICK_ON_ENGAGEMENT_AD, CLICK_TO_MESSAGE_LANDING_PAGE_CLICK, CLICK_TO_MESSAGE_THIRD_PARTY_CLICK, CROSS_NETWORK, GET_DIRECTIONS, HOTEL_BOOK_ON_GOOGLE_ROOM_SELECTION, HOTEL_PRICE, LOCATION_EXPANSION, LOCATION_FORMAT_CALL, LOCATION_FORMAT_DIRECTIONS, LOCATION_FORMAT_IMAGE, LOCATION_FORMAT_LANDING_PAGE, LOCATION_FORMAT_MAP, LOCATION_FORMAT_STORE_INFO, LOCATION_FORMAT_TEXT, MOBILE_CALL_TRACKING, OFFER_PRINTS, OTHER, PRICE_EXTENSION, PRODUCT_AD_APP_DEEPLINK, PRODUCT_ASSETS, PRODUCT_EXTENSION_CLICKS, PRODUCT_LISTING_ADS_COUPON, PRODUCT_LISTING_AD_CLICKS, PRODUCT_LISTING_AD_LOCAL, PRODUCT_LISTING_AD_MULTICHANNEL_LOCAL, PRODUCT_LISTING_AD_MULTICHANNEL_ONLINE, PRODUCT_LISTING_AD_TRANSACTABLE, PROMOTION_EXTENSION, SHOPPING_COMPARISON_LISTING, SHOWCASE_AD_CATEGORY_LINK, SHOWCASE_AD_LOCAL_PRODUCT_LINK, SHOWCASE_AD_LOCAL_STOREFRONT_LINK, SHOWCASE_AD_ONLINE_PRODUCT_LINK, SITELINKS, STORE_LOCATOR, SWIPEABLE_GALLERY_AD_HEADLINE, SWIPEABLE_GALLERY_AD_SEE_MORE, SWIPEABLE_GALLERY_AD_SITELINK_FIVE, SWIPEABLE_GALLERY_AD_SITELINK_FOUR, SWIPEABLE_GALLERY_AD_SITELINK_ONE, SWIPEABLE_GALLERY_AD_SITELINK_THREE, SWIPEABLE_GALLERY_AD_SITELINK_TWO, SWIPEABLE_GALLERY_AD_SWIPES, TRAVEL_ASSETS, UNKNOWN, URL_CLICKS, VEHICLE_ASSETS, VIDEO_APP_STORE_CLICKS, VIDEO_CALL_TO_ACTION_CLICKS, VIDEO_CARD_ACTION_HEADLINE_CLICKS, VIDEO_CHANNEL_CLICK, VIDEO_END_CAP_CLICKS, VIDEO_RELATED_VIDEOS_CLICK, VIDEO_WEBSITE_CLICKS, VISUAL_SITELINKS, WIRELESS_PLAN.

ConversionAction String SEGMENT Resource name of the conversion action.
ConversionActionCategory String SEGMENT Conversion action category.

The allowed values are ADD_TO_CART, BEGIN_CHECKOUT, BOOK_APPOINTMENT, CONTACT, CONVERTED_LEAD, DEFAULT, DOWNLOAD, ENGAGEMENT, GET_DIRECTIONS, IMPORTED_LEAD, OUTBOUND_CLICK, PAGE_VIEW, PHONE_CALL_LEAD, PURCHASE, QUALIFIED_LEAD, REQUEST_QUOTE, SIGNUP, STORE_SALE, STORE_VISIT, SUBMIT_LEAD_FORM, SUBSCRIBE_PAID, UNKNOWN, YOUTUBE_FOLLOW_ON_VIEWS.

ConversionActionName String SEGMENT Conversion action name.
Date Date SEGMENT Date to which metrics apply.
DayOfWeek String SEGMENT Day of the week, for example, MONDAY.

The allowed values are FRIDAY, MONDAY, SATURDAY, SUNDAY, THURSDAY, TUESDAY, UNKNOWN, WEDNESDAY.

Device String SEGMENT Device to which metrics apply.

The allowed values are CONNECTED_TV, DESKTOP, MOBILE, OTHER, TABLET, UNKNOWN.

ExternalConversionSource String SEGMENT External conversion source.

The allowed values are AD_CALL_METRICS, ANALYTICS, ANALYTICS_SEARCH_ADS_360, ANDROID_FIRST_OPEN, ANDROID_IN_APP, APP_UNSPECIFIED, CLICK_TO_CALL, DISPLAY_AND_VIDEO_360_FLOODLIGHT, FIREBASE, FIREBASE_SEARCH_ADS_360, FLOODLIGHT, GOOGLE_ATTRIBUTION, GOOGLE_HOSTED, GOOGLE_PLAY, IOS_FIRST_OPEN, IOS_IN_APP, SALESFORCE, SEARCH_ADS_360, STORE_SALES, STORE_SALES_CRM, STORE_SALES_DIRECT_UPLOAD, STORE_SALES_PAYMENT_NETWORK, STORE_VISITS, THIRD_PARTY_APP_ANALYTICS, UNKNOWN, UPLOAD, UPLOAD_CALLS, WEBPAGE, WEBSITE_CALL_METRICS.

Month Date SEGMENT Month as represented by the date of the first day of a month. Formatted as
MonthOfYear String SEGMENT Month of the year, for example, January.

The allowed values are APRIL, AUGUST, DECEMBER, FEBRUARY, JANUARY, JULY, JUNE, MARCH, MAY, NOVEMBER, OCTOBER, SEPTEMBER, UNKNOWN.

Period String SEGMENT Predefined date range.

The allowed values are TODAY, YESTERDAY, LAST_7_DAYS, LAST_BUSINESS_WEEK, THIS_MONTH, LAST_MONTH, LAST_14_DAYS, LAST_30_DAYS, THIS_WEEK_SUN_TODAY, THIS_WEEK_MON_TODAY, LAST_WEEK_SUN_SAT, LAST_WEEK_MON_SUN.

Quarter Date SEGMENT Quarter as represented by the date of the first day of a quarter.
Week Date SEGMENT Week as defined as Monday through Sunday, and represented by the date of
Year Int SEGMENT Year, formatted as yyyy.

Pseudo-Columns

Pseudo column fields are used in the WHERE clause of SELECT statements and offer more granular control over the data returned from the data source.

Name Type Description
ManagerId Long Id of the manager account on behalf of which you are requesting customer data.

CData Python Connector for Google Ads

HotelGroupView

A hotel group view.

View-Specific Information

Select

Google Ads does not allow every column to be selected in a single query, as some data conflicts if selected together. Therefore, when issuing a query that selects all columns, only the default metrics, segments, and attributes are returned. In general, these defaults are the same fields that are exposed through the Ads console. To use the nondefault fields, explicitly select them in your query.

Filters can also be used in the WHERE clause using the following supported operators: =, !=, >, >=, <, <=, LIKE, NOT LIKE, IN, NOT IN . Note that all filters must be joined by AND, as OR is not supported by the Ads API.

Columns

Name Type Behavior Description
CustomerId Long ATTRIBUTE Output only. The ID of the customer.
HotelGroupViewResourceName String ATTRIBUTE Output only. The resource name of the hotel group view.
AllConversions Double METRIC The total number of conversions. This includes all conversions regardless
AllConversionsFromInteractionsRate Double METRIC All conversions from interactions (as oppose to view through conversions)
AllConversionsFromInteractionsValuePerInteraction Double METRIC The value of all conversions from interactions divided by the total number
AllConversionsValue Double METRIC The value of all conversions.
AllConversionsValuePerCost Double METRIC The value of all conversions divided by the total cost of ad interactions
AverageCpc Double METRIC The total cost of all clicks divided by the total number of clicks
AverageCpm Double METRIC Average cost-per-thousand impressions (CPM).
Clicks Long METRIC The number of clicks.
Conversions Double METRIC The number of conversions. This only includes conversion actions which
ConversionsFromInteractionsRate Double METRIC Conversions from interactions divided by the number of ad interactions
ConversionsFromInteractionsValuePerInteraction Double METRIC The value of conversions from interactions divided by the number of ad
ConversionsValue Double METRIC The value of conversions. This only includes conversion actions which
ConversionsValuePerCost Double METRIC The value of conversions divided by the cost of ad interactions. This only
CostMicros Long METRIC The sum of your cost-per-click (CPC) and cost-per-thousand impressions
CostPerAllConversions Double METRIC The cost of ad interactions divided by all conversions.
CostPerConversion Double METRIC The cost of ad interactions divided by conversions. This only includes
CrossDeviceConversions Double METRIC Conversions from when a customer clicks on a Google Ads ad on one device,
Ctr Double METRIC The number of clicks your ad receives (Clicks) divided by the number
HotelAverageLeadValueMicros Double METRIC Average lead value based on clicks.
HotelEligibleImpressions Long METRIC The number of impressions that hotel partners could have had given their
Impressions Long METRIC Count of how often your ad has appeared on a search results page or
SearchAbsoluteTopImpressionShare Double METRIC The percentage of the customer's Shopping or Search ad impressions that are
SearchBudgetLostAbsoluteTopImpressionShare Double METRIC The number estimating how often your ad wasn't the very first ad among the
SearchBudgetLostImpressionShare Double METRIC The estimated percent of times that your ad was eligible to show on the
SearchBudgetLostTopImpressionShare Double METRIC The number estimating how often your ad didn't show adjacent to the top
SearchClickShare Double METRIC The number of clicks you've received on the Search Network
SearchImpressionShare Double METRIC The impressions you've received on the Search Network divided
SearchRankLostAbsoluteTopImpressionShare Double METRIC The number estimating how often your ad wasn't the very first ad among the
SearchRankLostImpressionShare Double METRIC The estimated percentage of impressions on the Search Network
SearchRankLostTopImpressionShare Double METRIC The number estimating how often your ad didn't show adjacent to the top
SearchTopImpressionShare Double METRIC The impressions you've received among the top ads compared to the estimated
ValuePerAllConversions Double METRIC The value of all conversions divided by the number of all conversions.
ValuePerConversion Double METRIC The value of conversions divided by the number of conversions. This only
Date Date SEGMENT Date to which metrics apply.
DayOfWeek String SEGMENT Day of the week, for example, MONDAY.

The allowed values are FRIDAY, MONDAY, SATURDAY, SUNDAY, THURSDAY, TUESDAY, UNKNOWN, WEDNESDAY.

Hour Int SEGMENT Hour of day as a number between 0 and 23, inclusive.
Month Date SEGMENT Month as represented by the date of the first day of a month. Formatted as
Period String SEGMENT Predefined date range.

The allowed values are TODAY, YESTERDAY, LAST_7_DAYS, LAST_BUSINESS_WEEK, THIS_MONTH, LAST_MONTH, LAST_14_DAYS, LAST_30_DAYS, THIS_WEEK_SUN_TODAY, THIS_WEEK_MON_TODAY, LAST_WEEK_SUN_SAT, LAST_WEEK_MON_SUN.

Quarter Date SEGMENT Quarter as represented by the date of the first day of a quarter.
Week Date SEGMENT Week as defined as Monday through Sunday, and represented by the date of
Year Int SEGMENT Year, formatted as yyyy.

Pseudo-Columns

Pseudo column fields are used in the WHERE clause of SELECT statements and offer more granular control over the data returned from the data source.

Name Type Description
ManagerId Long Id of the manager account on behalf of which you are requesting customer data.

CData Python Connector for Google Ads

HotelPerformanceView

A hotel performance view.

View-Specific Information

Select

Google Ads does not allow every column to be selected in a single query, as some data conflicts if selected together. Therefore, when issuing a query that selects all columns, only the default metrics, segments, and attributes are returned. In general, these defaults are the same fields that are exposed through the Ads console. To use the nondefault fields, explicitly select them in your query.

Filters can also be used in the WHERE clause using the following supported operators: =, !=, >, >=, <, <=, LIKE, NOT LIKE, IN, NOT IN . Note that all filters must be joined by AND, as OR is not supported by the Ads API.

Columns

Name Type Behavior Description
AdGroupId Long SEGMENT Output only. The ID of the ad group.
CampaignId Long SEGMENT Output only. The ID of the campaign.
CustomerId Long ATTRIBUTE Output only. The ID of the customer.
HotelPerformanceViewResourceName String ATTRIBUTE Output only. The resource name of the hotel performance view.
AllConversions Double METRIC The total number of conversions. This includes all conversions regardless
AllConversionsFromInteractionsRate Double METRIC All conversions from interactions (as oppose to view through conversions)
AllConversionsFromInteractionsValuePerInteraction Double METRIC The value of all conversions from interactions divided by the total number
AllConversionsValue Double METRIC The value of all conversions.
AllConversionsValuePerCost Double METRIC The value of all conversions divided by the total cost of ad interactions
AverageCpc Double METRIC The total cost of all clicks divided by the total number of clicks
AverageCpm Double METRIC Average cost-per-thousand impressions (CPM).
Clicks Long METRIC The number of clicks.
Conversions Double METRIC The number of conversions. This only includes conversion actions which
ConversionsFromInteractionsRate Double METRIC Conversions from interactions divided by the number of ad interactions
ConversionsFromInteractionsValuePerInteraction Double METRIC The value of conversions from interactions divided by the number of ad
ConversionsValue Double METRIC The value of conversions. This only includes conversion actions which
ConversionsValuePerCost Double METRIC The value of conversions divided by the cost of ad interactions. This only
CostMicros Long METRIC The sum of your cost-per-click (CPC) and cost-per-thousand impressions
CostPerAllConversions Double METRIC The cost of ad interactions divided by all conversions.
CostPerConversion Double METRIC The cost of ad interactions divided by conversions. This only includes
CrossDeviceConversions Double METRIC Conversions from when a customer clicks on a Google Ads ad on one device,
Ctr Double METRIC The number of clicks your ad receives (Clicks) divided by the number
HotelAverageLeadValueMicros Double METRIC Average lead value based on clicks.
HotelEligibleImpressions Long METRIC The number of impressions that hotel partners could have had given their
HotelPriceDifferencePercentage Double METRIC The average price difference between the price offered by reporting hotel
Impressions Long METRIC Count of how often your ad has appeared on a search results page or
SearchAbsoluteTopImpressionShare Double METRIC The percentage of the customer's Shopping or Search ad impressions that are
SearchBudgetLostAbsoluteTopImpressionShare Double METRIC The number estimating how often your ad wasn't the very first ad among the
SearchBudgetLostImpressionShare Double METRIC The estimated percent of times that your ad was eligible to show on the
SearchBudgetLostTopImpressionShare Double METRIC The number estimating how often your ad didn't show adjacent to the top
SearchClickShare Double METRIC The number of clicks you've received on the Search Network
SearchImpressionShare Double METRIC The impressions you've received on the Search Network divided
SearchRankLostAbsoluteTopImpressionShare Double METRIC The number estimating how often your ad wasn't the very first ad among the
SearchRankLostImpressionShare Double METRIC The estimated percentage of impressions on the Search Network
SearchRankLostTopImpressionShare Double METRIC The number estimating how often your ad didn't show adjacent to the top
SearchTopImpressionShare Double METRIC The impressions you've received among the top ads compared to the estimated
ValuePerAllConversions Double METRIC The value of all conversions divided by the number of all conversions.
ValuePerConversion Double METRIC The value of conversions divided by the number of conversions. This only
AdNetworkType String SEGMENT Ad network type.

The allowed values are CONTENT, DISCOVER, GMAIL, GOOGLE_OWNED_CHANNELS, GOOGLE_TV, MAPS, MIXED, SEARCH, SEARCH_PARTNERS, UNKNOWN, YOUTUBE.

AdSubNetworkType String SEGMENT Ad sub network type. Currently only available for ads running as part of

The allowed values are UNKNOWN, UNSEGMENTED, YOUTUBE_INFEED, YOUTUBE_INSTREAM, YOUTUBE_SHORTS.

ClickType String SEGMENT Click type.

The allowed values are AD_IMAGE, APP_DEEPLINK, BREADCRUMBS, BROADBAND_PLAN, CALLS, CALL_TRACKING, CLICK_ON_ENGAGEMENT_AD, CLICK_TO_MESSAGE_LANDING_PAGE_CLICK, CLICK_TO_MESSAGE_THIRD_PARTY_CLICK, CROSS_NETWORK, GET_DIRECTIONS, HOTEL_BOOK_ON_GOOGLE_ROOM_SELECTION, HOTEL_PRICE, LOCATION_EXPANSION, LOCATION_FORMAT_CALL, LOCATION_FORMAT_DIRECTIONS, LOCATION_FORMAT_IMAGE, LOCATION_FORMAT_LANDING_PAGE, LOCATION_FORMAT_MAP, LOCATION_FORMAT_STORE_INFO, LOCATION_FORMAT_TEXT, MOBILE_CALL_TRACKING, OFFER_PRINTS, OTHER, PRICE_EXTENSION, PRODUCT_AD_APP_DEEPLINK, PRODUCT_ASSETS, PRODUCT_EXTENSION_CLICKS, PRODUCT_LISTING_ADS_COUPON, PRODUCT_LISTING_AD_CLICKS, PRODUCT_LISTING_AD_LOCAL, PRODUCT_LISTING_AD_MULTICHANNEL_LOCAL, PRODUCT_LISTING_AD_MULTICHANNEL_ONLINE, PRODUCT_LISTING_AD_TRANSACTABLE, PROMOTION_EXTENSION, SHOPPING_COMPARISON_LISTING, SHOWCASE_AD_CATEGORY_LINK, SHOWCASE_AD_LOCAL_PRODUCT_LINK, SHOWCASE_AD_LOCAL_STOREFRONT_LINK, SHOWCASE_AD_ONLINE_PRODUCT_LINK, SITELINKS, STORE_LOCATOR, SWIPEABLE_GALLERY_AD_HEADLINE, SWIPEABLE_GALLERY_AD_SEE_MORE, SWIPEABLE_GALLERY_AD_SITELINK_FIVE, SWIPEABLE_GALLERY_AD_SITELINK_FOUR, SWIPEABLE_GALLERY_AD_SITELINK_ONE, SWIPEABLE_GALLERY_AD_SITELINK_THREE, SWIPEABLE_GALLERY_AD_SITELINK_TWO, SWIPEABLE_GALLERY_AD_SWIPES, TRAVEL_ASSETS, UNKNOWN, URL_CLICKS, VEHICLE_ASSETS, VIDEO_APP_STORE_CLICKS, VIDEO_CALL_TO_ACTION_CLICKS, VIDEO_CARD_ACTION_HEADLINE_CLICKS, VIDEO_CHANNEL_CLICK, VIDEO_END_CAP_CLICKS, VIDEO_RELATED_VIDEOS_CLICK, VIDEO_WEBSITE_CLICKS, VISUAL_SITELINKS, WIRELESS_PLAN.

Date Date SEGMENT Date to which metrics apply.
DayOfWeek String SEGMENT Day of the week, for example, MONDAY.

The allowed values are FRIDAY, MONDAY, SATURDAY, SUNDAY, THURSDAY, TUESDAY, UNKNOWN, WEDNESDAY.

Device String SEGMENT Device to which metrics apply.

The allowed values are CONNECTED_TV, DESKTOP, MOBILE, OTHER, TABLET, UNKNOWN.

GeoTargetCountry String SEGMENT Resource name of the geo target constant that represents a country.
HotelBookingWindowDays Long SEGMENT Hotel booking window in days.
HotelCenterId Long SEGMENT Hotel center ID.
HotelCheckInDate Date SEGMENT Hotel check-in date. Formatted as yyyy-MM-dd.
HotelCheckInDayOfWeek String SEGMENT Hotel check-in day of week.

The allowed values are FRIDAY, MONDAY, SATURDAY, SUNDAY, THURSDAY, TUESDAY, UNKNOWN, WEDNESDAY.

HotelCity String SEGMENT Hotel city.
HotelClass Int SEGMENT Hotel class.
HotelCountry String SEGMENT Hotel country.
HotelDateSelectionType String SEGMENT Hotel date selection type.

The allowed values are DEFAULT_SELECTION, UNKNOWN, USER_SELECTED.

HotelLengthOfStay Int SEGMENT Hotel length of stay.
HotelPriceBucket String SEGMENT Hotel price bucket.

The allowed values are LOWEST_TIED, LOWEST_UNIQUE, NOT_LOWEST, ONLY_PARTNER_SHOWN, UNKNOWN.

HotelRateRuleId String SEGMENT Hotel rate rule ID.
HotelRateType String SEGMENT Hotel rate type.

The allowed values are PRIVATE_RATE, PUBLIC_RATE, QUALIFIED_RATE, UNAVAILABLE, UNKNOWN.

HotelState String SEGMENT Hotel state.
Hour Int SEGMENT Hour of day as a number between 0 and 23, inclusive.
Month Date SEGMENT Month as represented by the date of the first day of a month. Formatted as
PartnerHotelId String SEGMENT Partner hotel ID.
Period String SEGMENT Predefined date range.

The allowed values are TODAY, YESTERDAY, LAST_7_DAYS, LAST_BUSINESS_WEEK, THIS_MONTH, LAST_MONTH, LAST_14_DAYS, LAST_30_DAYS, THIS_WEEK_SUN_TODAY, THIS_WEEK_MON_TODAY, LAST_WEEK_SUN_SAT, LAST_WEEK_MON_SUN.

Quarter Date SEGMENT Quarter as represented by the date of the first day of a quarter.
Week Date SEGMENT Week as defined as Monday through Sunday, and represented by the date of
Year Int SEGMENT Year, formatted as yyyy.

Pseudo-Columns

Pseudo column fields are used in the WHERE clause of SELECT statements and offer more granular control over the data returned from the data source.

Name Type Description
ManagerId Long Id of the manager account on behalf of which you are requesting customer data.

CData Python Connector for Google Ads

HotelReconciliation

A hotel reconciliation. It contains conversion information from Hotel

Columns

Name Type Behavior Description
CustomerId Long ATTRIBUTE Output only. The ID of the customer.
HotelReconciliationBilled Bool ATTRIBUTE Output only. Whether a given booking has been billed. Once billed, a
HotelReconciliationCampaign String ATTRIBUTE Output only. The resource name for the Campaign associated with the
HotelReconciliationCheckInDate Date ATTRIBUTE Output only. Check-in date recorded when the booking is made. If the
HotelReconciliationCheckOutDate Date ATTRIBUTE Output only. Check-out date recorded when the booking is made. If the
HotelReconciliationCommissionId String ATTRIBUTE Required. Output only. The commission ID is Google's ID for this booking.
HotelReconciliationHotelCenterId Long ATTRIBUTE Output only. Identifier for the Hotel Center account which provides the
HotelReconciliationHotelId String ATTRIBUTE Output only. Unique identifier for the booked property, as provided in the
HotelReconciliationOrderId String ATTRIBUTE Output only. The order ID is the identifier for this booking as provided in
HotelReconciliationReconciledValueMicros Long ATTRIBUTE Required. Output only. Reconciled value is the final value of a booking as
HotelReconciliationResourceName String ATTRIBUTE Immutable. The resource name of the hotel reconciliation.
HotelReconciliationStatus String ATTRIBUTE Required. Output only. Current status of a booking with regards to

The allowed values are CANCELED, RECONCILED, RECONCILIATION_NEEDED, RESERVATION_ENABLED, UNKNOWN.

HotelCommissionRateMicros Long METRIC Commission bid rate in micros. A 20% commission is represented as
HotelExpectedCommissionCost Double METRIC Expected commission cost. The result of multiplying the commission value
ValuePerConversionsByConversionDate Double METRIC The value of conversions divided by the number of conversions. This only
Date Date SEGMENT Date to which metrics apply.
Period String SEGMENT Predefined date range.

The allowed values are TODAY, YESTERDAY, LAST_7_DAYS, LAST_BUSINESS_WEEK, THIS_MONTH, LAST_MONTH, LAST_14_DAYS, LAST_30_DAYS, THIS_WEEK_SUN_TODAY, THIS_WEEK_MON_TODAY, LAST_WEEK_SUN_SAT, LAST_WEEK_MON_SUN.

Pseudo-Columns

Pseudo column fields are used in the WHERE clause of SELECT statements and offer more granular control over the data returned from the data source.

Name Type Description
ManagerId Long Id of the manager account on behalf of which you are requesting customer data.

CData Python Connector for Google Ads

IncomeRangeView

An income range view.

Columns

Name Type Behavior Description
CustomerId Long ATTRIBUTE Output only. The ID of the customer.
IncomeRangeViewResourceName String ATTRIBUTE Output only. The resource name of the income range view.
ActiveViewCpm Double METRIC Average cost of viewable impressions (active_view_impressions).
ActiveViewCtr Double METRIC Active view measurable clicks divided by active view viewable impressions.
ActiveViewImpressions Long METRIC A measurement of how often your ad has become viewable on a Display
ActiveViewMeasurability Double METRIC The ratio of impressions that could be measured by Active View over the
ActiveViewMeasurableCostMicros Long METRIC The cost of the impressions you received that were measurable by Active
ActiveViewMeasurableImpressions Long METRIC The number of times your ads are appearing on placements in positions
ActiveViewViewability Double METRIC The percentage of time when your ad appeared on an Active View enabled site
AllConversions Double METRIC The total number of conversions. This includes all conversions regardless
AllConversionsFromInteractionsRate Double METRIC All conversions from interactions (as oppose to view through conversions)
AllConversionsFromInteractionsValuePerInteraction Double METRIC The value of all conversions from interactions divided by the total number
AllConversionsValue Double METRIC The value of all conversions.
AllConversionsValuePerCost Double METRIC The value of all conversions divided by the total cost of ad interactions
AverageCost Double METRIC The average amount you pay per interaction. This amount is the total cost
AverageCpc Double METRIC The total cost of all clicks divided by the total number of clicks
AverageCpe Double METRIC The average amount that you've been charged for an ad engagement. This
AverageCpm Double METRIC Average cost-per-thousand impressions (CPM).
Clicks Long METRIC The number of clicks.
Conversions Double METRIC The number of conversions. This only includes conversion actions which
ConversionsFromInteractionsRate Double METRIC Conversions from interactions divided by the number of ad interactions
ConversionsValue Double METRIC The value of conversions. This only includes conversion actions which
CostMicros Long METRIC The sum of your cost-per-click (CPC) and cost-per-thousand impressions
CostPerAllConversions Double METRIC The cost of ad interactions divided by all conversions.
CostPerConversion Double METRIC The cost of ad interactions divided by conversions. This only includes
CrossDeviceConversions Double METRIC Conversions from when a customer clicks on a Google Ads ad on one device,
Ctr Double METRIC The number of clicks your ad receives (Clicks) divided by the number
EngagementRate Double METRIC How often people engage with your ad after it's shown to them. This is the
Engagements Long METRIC The number of engagements.
GmailForwards Long METRIC The number of times the ad was forwarded to someone else as a message.
GmailSaves Long METRIC The number of times someone has saved your Gmail ad to their inbox as a
GmailSecondaryClicks Long METRIC The number of clicks to the landing page on the expanded state of Gmail
Impressions Long METRIC Count of how often your ad has appeared on a search results page or
InteractionEventTypes String METRIC The types of payable and free interactions.

The allowed values are CLICK, ENGAGEMENT, NONE, UNKNOWN, VIDEO_VIEW.

InteractionRate Double METRIC How often people interact with your ad after it is shown to them.
Interactions Long METRIC The number of interactions.
TrueviewAverageCpv Double METRIC The average amount you pay each time someone views your ad.
ValuePerAllConversions Double METRIC The value of all conversions divided by the number of all conversions.
ValuePerConversion Double METRIC The value of conversions divided by the number of conversions. This only
VideoQuartileP100Rate Double METRIC Percentage of impressions where the viewer watched all of your video.
VideoQuartileP25Rate Double METRIC Percentage of impressions where the viewer watched 25% of your video.
VideoQuartileP50Rate Double METRIC Percentage of impressions where the viewer watched 50% of your video.
VideoQuartileP75Rate Double METRIC Percentage of impressions where the viewer watched 75% of your video.
VideoTrueviewViewRate Double METRIC The number of TrueView views your video ad receives divided by its number
VideoTrueviewViews Long METRIC The number of TrueView views your video ads received.
ViewThroughConversions Long METRIC The total number of view-through conversions.
AdNetworkType String SEGMENT Ad network type.

The allowed values are CONTENT, DISCOVER, GMAIL, GOOGLE_OWNED_CHANNELS, GOOGLE_TV, MAPS, MIXED, SEARCH, SEARCH_PARTNERS, UNKNOWN, YOUTUBE.

AdSubNetworkType String SEGMENT Ad sub network type. Currently only available for ads running as part of

The allowed values are UNKNOWN, UNSEGMENTED, YOUTUBE_INFEED, YOUTUBE_INSTREAM, YOUTUBE_SHORTS.

ClickType String SEGMENT Click type.

The allowed values are AD_IMAGE, APP_DEEPLINK, BREADCRUMBS, BROADBAND_PLAN, CALLS, CALL_TRACKING, CLICK_ON_ENGAGEMENT_AD, CLICK_TO_MESSAGE_LANDING_PAGE_CLICK, CLICK_TO_MESSAGE_THIRD_PARTY_CLICK, CROSS_NETWORK, GET_DIRECTIONS, HOTEL_BOOK_ON_GOOGLE_ROOM_SELECTION, HOTEL_PRICE, LOCATION_EXPANSION, LOCATION_FORMAT_CALL, LOCATION_FORMAT_DIRECTIONS, LOCATION_FORMAT_IMAGE, LOCATION_FORMAT_LANDING_PAGE, LOCATION_FORMAT_MAP, LOCATION_FORMAT_STORE_INFO, LOCATION_FORMAT_TEXT, MOBILE_CALL_TRACKING, OFFER_PRINTS, OTHER, PRICE_EXTENSION, PRODUCT_AD_APP_DEEPLINK, PRODUCT_ASSETS, PRODUCT_EXTENSION_CLICKS, PRODUCT_LISTING_ADS_COUPON, PRODUCT_LISTING_AD_CLICKS, PRODUCT_LISTING_AD_LOCAL, PRODUCT_LISTING_AD_MULTICHANNEL_LOCAL, PRODUCT_LISTING_AD_MULTICHANNEL_ONLINE, PRODUCT_LISTING_AD_TRANSACTABLE, PROMOTION_EXTENSION, SHOPPING_COMPARISON_LISTING, SHOWCASE_AD_CATEGORY_LINK, SHOWCASE_AD_LOCAL_PRODUCT_LINK, SHOWCASE_AD_LOCAL_STOREFRONT_LINK, SHOWCASE_AD_ONLINE_PRODUCT_LINK, SITELINKS, STORE_LOCATOR, SWIPEABLE_GALLERY_AD_HEADLINE, SWIPEABLE_GALLERY_AD_SEE_MORE, SWIPEABLE_GALLERY_AD_SITELINK_FIVE, SWIPEABLE_GALLERY_AD_SITELINK_FOUR, SWIPEABLE_GALLERY_AD_SITELINK_ONE, SWIPEABLE_GALLERY_AD_SITELINK_THREE, SWIPEABLE_GALLERY_AD_SITELINK_TWO, SWIPEABLE_GALLERY_AD_SWIPES, TRAVEL_ASSETS, UNKNOWN, URL_CLICKS, VEHICLE_ASSETS, VIDEO_APP_STORE_CLICKS, VIDEO_CALL_TO_ACTION_CLICKS, VIDEO_CARD_ACTION_HEADLINE_CLICKS, VIDEO_CHANNEL_CLICK, VIDEO_END_CAP_CLICKS, VIDEO_RELATED_VIDEOS_CLICK, VIDEO_WEBSITE_CLICKS, VISUAL_SITELINKS, WIRELESS_PLAN.

ConversionAction String SEGMENT Resource name of the conversion action.
ConversionActionCategory String SEGMENT Conversion action category.

The allowed values are ADD_TO_CART, BEGIN_CHECKOUT, BOOK_APPOINTMENT, CONTACT, CONVERTED_LEAD, DEFAULT, DOWNLOAD, ENGAGEMENT, GET_DIRECTIONS, IMPORTED_LEAD, OUTBOUND_CLICK, PAGE_VIEW, PHONE_CALL_LEAD, PURCHASE, QUALIFIED_LEAD, REQUEST_QUOTE, SIGNUP, STORE_SALE, STORE_VISIT, SUBMIT_LEAD_FORM, SUBSCRIBE_PAID, UNKNOWN, YOUTUBE_FOLLOW_ON_VIEWS.

ConversionActionName String SEGMENT Conversion action name.
Date Date SEGMENT Date to which metrics apply.
DayOfWeek String SEGMENT Day of the week, for example, MONDAY.

The allowed values are FRIDAY, MONDAY, SATURDAY, SUNDAY, THURSDAY, TUESDAY, UNKNOWN, WEDNESDAY.

Device String SEGMENT Device to which metrics apply.

The allowed values are CONNECTED_TV, DESKTOP, MOBILE, OTHER, TABLET, UNKNOWN.

ExternalConversionSource String SEGMENT External conversion source.

The allowed values are AD_CALL_METRICS, ANALYTICS, ANALYTICS_SEARCH_ADS_360, ANDROID_FIRST_OPEN, ANDROID_IN_APP, APP_UNSPECIFIED, CLICK_TO_CALL, DISPLAY_AND_VIDEO_360_FLOODLIGHT, FIREBASE, FIREBASE_SEARCH_ADS_360, FLOODLIGHT, GOOGLE_ATTRIBUTION, GOOGLE_HOSTED, GOOGLE_PLAY, IOS_FIRST_OPEN, IOS_IN_APP, SALESFORCE, SEARCH_ADS_360, STORE_SALES, STORE_SALES_CRM, STORE_SALES_DIRECT_UPLOAD, STORE_SALES_PAYMENT_NETWORK, STORE_VISITS, THIRD_PARTY_APP_ANALYTICS, UNKNOWN, UPLOAD, UPLOAD_CALLS, WEBPAGE, WEBSITE_CALL_METRICS.

Month Date SEGMENT Month as represented by the date of the first day of a month. Formatted as
MonthOfYear String SEGMENT Month of the year, for example, January.

The allowed values are APRIL, AUGUST, DECEMBER, FEBRUARY, JANUARY, JULY, JUNE, MARCH, MAY, NOVEMBER, OCTOBER, SEPTEMBER, UNKNOWN.

Period String SEGMENT Predefined date range.

The allowed values are TODAY, YESTERDAY, LAST_7_DAYS, LAST_BUSINESS_WEEK, THIS_MONTH, LAST_MONTH, LAST_14_DAYS, LAST_30_DAYS, THIS_WEEK_SUN_TODAY, THIS_WEEK_MON_TODAY, LAST_WEEK_SUN_SAT, LAST_WEEK_MON_SUN.

Quarter Date SEGMENT Quarter as represented by the date of the first day of a quarter.
Week Date SEGMENT Week as defined as Monday through Sunday, and represented by the date of
Year Int SEGMENT Year, formatted as yyyy.

Pseudo-Columns

Pseudo column fields are used in the WHERE clause of SELECT statements and offer more granular control over the data returned from the data source.

Name Type Description
ManagerId Long Id of the manager account on behalf of which you are requesting customer data.

CData Python Connector for Google Ads

KeywordPlan

A Keyword Planner plan.

Columns

Name Type Behavior Description
CustomerId Long ATTRIBUTE Output only. The ID of the customer.
KeywordPlanForecastPeriod String ATTRIBUTE The date period used for forecasting the plan.
KeywordPlanId Long ATTRIBUTE Output only. The ID of the keyword plan.
KeywordPlanName String ATTRIBUTE The name of the keyword plan.
KeywordPlanResourceName String ATTRIBUTE Immutable. The resource name of the Keyword Planner plan.

Pseudo-Columns

Pseudo column fields are used in the WHERE clause of SELECT statements and offer more granular control over the data returned from the data source.

Name Type Description
ManagerId Long Id of the manager account on behalf of which you are requesting customer data.

CData Python Connector for Google Ads

KeywordPlanAdGroup

A Keyword Planner ad group.

Columns

Name Type Behavior Description
CustomerId Long ATTRIBUTE Output only. The ID of the customer.
KeywordPlanAdGroupCpcBidMicros Long ATTRIBUTE A default ad group max cpc bid in micros in account currency for all
KeywordPlanAdGroupId Long ATTRIBUTE Output only. The ID of the keyword plan ad group.
KeywordPlanAdGroupKeywordPlanCampaign String ATTRIBUTE The keyword plan campaign to which this ad group belongs.
KeywordPlanAdGroupName String ATTRIBUTE The name of the keyword plan ad group.
KeywordPlanAdGroupResourceName String ATTRIBUTE Immutable. The resource name of the Keyword Planner ad group.

Pseudo-Columns

Pseudo column fields are used in the WHERE clause of SELECT statements and offer more granular control over the data returned from the data source.

Name Type Description
ManagerId Long Id of the manager account on behalf of which you are requesting customer data.

CData Python Connector for Google Ads

KeywordPlanAdGroupKeyword

A Keyword Plan ad group keyword.

Columns

Name Type Behavior Description
CustomerId Long ATTRIBUTE Output only. The ID of the customer.
KeywordPlanAdGroupKeywordCpcBidMicros Long ATTRIBUTE A keyword level max cpc bid in micros (for example, $1 = 1mm). The currency
KeywordPlanAdGroupKeywordId Long ATTRIBUTE Output only. The ID of the Keyword Plan keyword.
KeywordPlanAdGroupKeywordKeywordPlanAdGroup String ATTRIBUTE The Keyword Plan ad group to which this keyword belongs.
KeywordPlanAdGroupKeywordMatchType String ATTRIBUTE The keyword match type.

The allowed values are BROAD, EXACT, PHRASE, UNKNOWN.

KeywordPlanAdGroupKeywordNegative Bool ATTRIBUTE Immutable. If true, the keyword is negative.
KeywordPlanAdGroupKeywordResourceName String ATTRIBUTE Immutable. The resource name of the Keyword Plan ad group keyword.
KeywordPlanAdGroupKeywordText String ATTRIBUTE The keyword text.

Pseudo-Columns

Pseudo column fields are used in the WHERE clause of SELECT statements and offer more granular control over the data returned from the data source.

Name Type Description
ManagerId Long Id of the manager account on behalf of which you are requesting customer data.

CData Python Connector for Google Ads

KeywordPlanCampaign

A Keyword Plan campaign.

Columns

Name Type Behavior Description
CustomerId Long ATTRIBUTE Output only. The ID of the customer.
KeywordPlanCampaignCpcBidMicros Long ATTRIBUTE A default max cpc bid in micros, and in the account currency, for all ad
KeywordPlanCampaignGeoTargets String ATTRIBUTE The geo targets.
KeywordPlanCampaignId Long ATTRIBUTE Output only. The ID of the Keyword Plan campaign.
KeywordPlanCampaignKeywordPlan String ATTRIBUTE The keyword plan this campaign belongs to.
KeywordPlanCampaignKeywordPlanNetwork String ATTRIBUTE Targeting network.

The allowed values are GOOGLE_SEARCH, GOOGLE_SEARCH_AND_PARTNERS, UNKNOWN.

KeywordPlanCampaignLanguageConstants String ATTRIBUTE The languages targeted for the Keyword Plan campaign.
KeywordPlanCampaignName String ATTRIBUTE The name of the Keyword Plan campaign.
KeywordPlanCampaignResourceName String ATTRIBUTE Immutable. The resource name of the Keyword Plan campaign.

Pseudo-Columns

Pseudo column fields are used in the WHERE clause of SELECT statements and offer more granular control over the data returned from the data source.

Name Type Description
ManagerId Long Id of the manager account on behalf of which you are requesting customer data.

CData Python Connector for Google Ads

KeywordPlanCampaignKeyword

A Keyword Plan Campaign keyword.

Columns

Name Type Behavior Description
CustomerId Long ATTRIBUTE Output only. The ID of the customer.
KeywordPlanCampaignKeywordId Long ATTRIBUTE Output only. The ID of the Keyword Plan negative keyword.
KeywordPlanCampaignKeywordKeywordPlanCampaign String ATTRIBUTE The Keyword Plan campaign to which this negative keyword belongs.
KeywordPlanCampaignKeywordMatchType String ATTRIBUTE The keyword match type.

The allowed values are BROAD, EXACT, PHRASE, UNKNOWN.

KeywordPlanCampaignKeywordNegative Bool ATTRIBUTE Immutable. If true, the keyword is negative.
KeywordPlanCampaignKeywordResourceName String ATTRIBUTE Immutable. The resource name of the Keyword Plan Campaign keyword.
KeywordPlanCampaignKeywordText String ATTRIBUTE The keyword text.

Pseudo-Columns

Pseudo column fields are used in the WHERE clause of SELECT statements and offer more granular control over the data returned from the data source.

Name Type Description
ManagerId Long Id of the manager account on behalf of which you are requesting customer data.

CData Python Connector for Google Ads

KeywordStatsReport

Keyword-level performance stats by Ad Network and Device. Daily data is returned with a default date range of the last 7 days not including today.

Columns

Name Type Behavior Description
CustomerId Long ATTRIBUTE Output only. The ID of the customer.
Date Date SEGMENT Date to which metrics apply. yyyy-MM-dd format, for example, 2018-04-17.
ActiveViewImpressions Long METRIC A measurement of how often your ad has become viewable on a Display Network site.
ActiveViewMeasurability Double METRIC The ratio of impressions that could be measured by Active View over the number of served impressions.
ActiveViewMeasurableCostMicros Long METRIC The cost of the impressions you received that were measurable by Active View.
ActiveViewMeasurableImpressions Long METRIC The number of times your ads are appearing on placements in positions where they can be seen.
ActiveViewViewability Double METRIC The percentage of time when your ad appeared on an Active View enabled site (measurable impressions) and was viewable (viewable impressions).
AdGroupBaseAdGroup String ATTRIBUTE Output only. For draft or experiment ad groups, this field is the resource name of the base ad group from which this ad group was created. If a draft or experiment ad group does not have a base ad group, then this field is null. For base ad groups, this field equals the ad group resource name. This field is read-only.
AdGroupCriterionCriterionId Long ATTRIBUTE Output only. The ID of the criterion. This field is ignored for mutates.
AdGroupId Long ATTRIBUTE Output only. The ID of the ad group.
AdNetworkType String SEGMENT Ad network type.

The allowed values are CONTENT, GOOGLE_OWNED_CHANNELS, GOOGLE_TV, MIXED, SEARCH, SEARCH_PARTNERS, UNKNOWN, YOUTUBE.

CampaignBaseCampaign String ATTRIBUTE Output only. The resource name of the base campaign of a draft or experiment campaign. For base campaigns, this is equal to resource_name. This field is read-only.
CampaignId Long ATTRIBUTE Output only. The ID of the campaign.
Clicks Long METRIC The number of clicks.
Conversions Double METRIC The number of conversions. This only includes conversion actions which include_in_conversions_metric attribute is set to true. If you use conversion-based bidding, your bid strategies will optimize for these conversions.
ConversionsValue Double METRIC The value of conversions. This only includes conversion actions which include_in_conversions_metric attribute is set to true. If you use conversion-based bidding, your bid strategies will optimize for these conversions.
CostMicros Long METRIC The sum of your cost-per-click (CPC) and cost-per-thousand impressions (CPM) costs during this period.
Device String SEGMENT Device to which metrics apply.

The allowed values are CONNECTED_TV, DESKTOP, MOBILE, OTHER, TABLET, UNKNOWN.

Impressions Long METRIC Count of how often your ad has appeared on a search results page or website on the Google Network.
InteractionEventTypes String METRIC The types of payable and free interactions.

The allowed values are UNKNOWN, CLICK, ENGAGEMENT, VIDEO_VIEW, NONE.

Interactions Long METRIC The number of interactions. An interaction is the main user action associated with an ad format-clicks for text and shopping ads, views for video ads, and so on.
ViewThroughConversions Long METRIC The total number of view-through conversions. These happen when a customer sees an image or rich media ad, then later completes a conversion on your site without interacting with (for example, clicking on) another ad.

CData Python Connector for Google Ads

KeywordThemeConstant

A Smart Campaign keyword theme constant.

Columns

Name Type Behavior Description
CustomerId Long ATTRIBUTE Output only. The ID of the customer.
KeywordThemeConstantCountryCode String ATTRIBUTE Output only. The ISO-3166 Alpha-2 country code of the constant, eg. 'US'.
KeywordThemeConstantDisplayName String ATTRIBUTE Output only. The display name of the keyword theme or sub keyword theme.
KeywordThemeConstantLanguageCode String ATTRIBUTE Output only. The ISO-639-1 language code with 2 letters of the constant,
KeywordThemeConstantResourceName String ATTRIBUTE Output only. The resource name of the keyword theme constant.

Pseudo-Columns

Pseudo column fields are used in the WHERE clause of SELECT statements and offer more granular control over the data returned from the data source.

Name Type Description
ManagerId Long Id of the manager account on behalf of which you are requesting customer data.

CData Python Connector for Google Ads

KeywordView

A keyword view.

View-Specific Information

Select

Google Ads does not allow every column to be selected in a single query, as some data conflicts if selected together. Therefore, when issuing a query that selects all columns, only the default metrics, segments, and attributes are returned. In general, these defaults are the same fields that are exposed through the Ads console. To use the nondefault fields, explicitly select them in your query.

Filters can also be used in the WHERE clause using the following supported operators: =, !=, >, >=, <, <=, LIKE, NOT LIKE, IN, NOT IN . Note that all filters must be joined by AND, as OR is not supported by the Ads API.

Columns

Name Type Behavior Description
CustomerId Long ATTRIBUTE Output only. The ID of the customer.
KeywordViewResourceName String ATTRIBUTE Output only. The resource name of the keyword view.
AbsoluteTopImpressionPercentage Double METRIC Search absolute top impression share is the percentage of your Search ad
ActiveViewCpm Double METRIC Average cost of viewable impressions (active_view_impressions).
ActiveViewCtr Double METRIC Active view measurable clicks divided by active view viewable impressions.
ActiveViewImpressions Long METRIC A measurement of how often your ad has become viewable on a Display
ActiveViewMeasurability Double METRIC The ratio of impressions that could be measured by Active View over the
ActiveViewMeasurableCostMicros Long METRIC The cost of the impressions you received that were measurable by Active
ActiveViewMeasurableImpressions Long METRIC The number of times your ads are appearing on placements in positions
ActiveViewViewability Double METRIC The percentage of time when your ad appeared on an Active View enabled site
AllConversions Double METRIC The total number of conversions. This includes all conversions regardless
AllConversionsByConversionDate Double METRIC The total number of conversions. This includes all conversions regardless
AllConversionsFromInteractionsRate Double METRIC All conversions from interactions (as oppose to view through conversions)
AllConversionsFromInteractionsValuePerInteraction Double METRIC The value of all conversions from interactions divided by the total number
AllConversionsValue Double METRIC The value of all conversions.
AllConversionsValueByConversionDate Double METRIC The value of all conversions. When this column is selected with date, the
AllConversionsValuePerCost Double METRIC The value of all conversions divided by the total cost of ad interactions
AverageCartSize Double METRIC Average cart size is the average number of products in each order
AverageCost Double METRIC The average amount you pay per interaction. This amount is the total cost
AverageCpc Double METRIC The total cost of all clicks divided by the total number of clicks
AverageCpe Double METRIC The average amount that you've been charged for an ad engagement. This
AverageCpm Double METRIC Average cost-per-thousand impressions (CPM).
AverageOrderValueMicros Long METRIC Average order value is the average revenue you made per order attributed to
AveragePageViews Double METRIC Average number of pages viewed per session.
AverageTimeOnSite Double METRIC Total duration of all sessions (in seconds) / number of sessions. Imported
BounceRate Double METRIC Percentage of clicks where the user only visited a single page on your
Clicks Long METRIC The number of clicks.
Conversions Double METRIC The number of conversions. This only includes conversion actions which
ConversionsByConversionDate Double METRIC The number of conversions. This only includes conversion actions which
ConversionsFromInteractionsRate Double METRIC Conversions from interactions divided by the number of ad interactions
ConversionsValue Double METRIC The value of conversions. This only includes conversion actions which
ConversionsValueByConversionDate Double METRIC The value of conversions. This only includes conversion actions which
ConversionsValuePerCost Double METRIC The value of conversions divided by the cost of ad interactions. This only
CostMicros Long METRIC The sum of your cost-per-click (CPC) and cost-per-thousand impressions
CostOfGoodsSoldMicros Long METRIC Cost of goods sold (COGS) is the total cost of the products you sold in
CostPerAllConversions Double METRIC The cost of ad interactions divided by all conversions.
CostPerConversion Double METRIC The cost of ad interactions divided by conversions. This only includes
CostPerCurrentModelAttributedConversion Double METRIC The cost of ad interactions divided by current model attributed
CrossDeviceConversions Double METRIC Conversions from when a customer clicks on a Google Ads ad on one device,
CrossDeviceConversionsValueMicros Long METRIC The sum of the value of cross-device conversions, in micros.
CrossSellCostOfGoodsSoldMicros Long METRIC Cross-sell cost of goods sold (COGS) is the total cost of products sold as
CrossSellGrossProfitMicros Long METRIC Cross-sell gross profit is the profit you made from products sold as a
CrossSellRevenueMicros Long METRIC Cross-sell revenue is the total amount you made from products sold as a
CrossSellUnitsSold Double METRIC Cross-sell units sold is the total number of products sold as a result of
Ctr Double METRIC The number of clicks your ad receives (Clicks) divided by the number
CurrentModelAttributedConversions Double METRIC Shows how your historic conversions data would look under the attribution
CurrentModelAttributedConversionsValue Double METRIC The value of current model attributed conversions. This only includes
EngagementRate Double METRIC How often people engage with your ad after it's shown to them. This is the
Engagements Long METRIC The number of engagements.
GmailForwards Long METRIC The number of times the ad was forwarded to someone else as a message.
GmailSaves Long METRIC The number of times someone has saved your Gmail ad to their inbox as a
GmailSecondaryClicks Long METRIC The number of clicks to the landing page on the expanded state of Gmail
GrossProfitMargin Double METRIC Gross profit margin is the percentage gross profit you made from orders
GrossProfitMicros Long METRIC Gross profit is the profit you made from orders attributed to your ads
HistoricalCreativeQualityScore String METRIC The creative historical quality score.

The allowed values are ABOVE_AVERAGE, AVERAGE, BELOW_AVERAGE, UNKNOWN.

HistoricalLandingPageQualityScore String METRIC The quality of historical landing page experience.

The allowed values are ABOVE_AVERAGE, AVERAGE, BELOW_AVERAGE, UNKNOWN.

HistoricalQualityScore Long METRIC The historical quality score.
HistoricalSearchPredictedCtr String METRIC The historical search predicted click through rate (CTR).

The allowed values are ABOVE_AVERAGE, AVERAGE, BELOW_AVERAGE, UNKNOWN.

Impressions Long METRIC Count of how often your ad has appeared on a search results page or
InteractionEventTypes String METRIC The types of payable and free interactions.

The allowed values are CLICK, ENGAGEMENT, NONE, UNKNOWN, VIDEO_VIEW.

InteractionRate Double METRIC How often people interact with your ad after it is shown to them.
Interactions Long METRIC The number of interactions.
LeadCostOfGoodsSoldMicros Long METRIC Lead cost of goods sold (COGS) is the total cost of products sold as a
LeadGrossProfitMicros Long METRIC Lead gross profit is the profit you made from products sold as a result of
LeadRevenueMicros Long METRIC Lead revenue is the total amount you made from products sold as a result of
LeadUnitsSold Double METRIC Lead units sold is the total number of products sold as a result of
Orders Double METRIC Orders is the total number of purchase conversions you received attributed
PercentNewVisitors Double METRIC Percentage of first-time sessions (from people who had never visited your
PhoneCalls Long METRIC Number of offline phone calls.
RevenueMicros Long METRIC Revenue is the total amount you made from orders attributed to your ads.
SearchAbsoluteTopImpressionShare Double METRIC The percentage of the customer's Shopping or Search ad impressions that are
SearchBudgetLostAbsoluteTopImpressionShare Double METRIC The number estimating how often your ad wasn't the very first ad among the
SearchBudgetLostTopImpressionShare Double METRIC The number estimating how often your ad didn't show adjacent to the top
SearchClickShare Double METRIC The number of clicks you've received on the Search Network
SearchExactMatchImpressionShare Double METRIC The impressions you've received divided by the estimated number of
SearchImpressionShare Double METRIC The impressions you've received on the Search Network divided
SearchRankLostAbsoluteTopImpressionShare Double METRIC The number estimating how often your ad wasn't the very first ad among the
SearchRankLostImpressionShare Double METRIC The estimated percentage of impressions on the Search Network
SearchRankLostTopImpressionShare Double METRIC The number estimating how often your ad didn't show adjacent to the top
SearchTopImpressionShare Double METRIC The impressions you've received among the top ads compared to the estimated
TopImpressionPercentage Double METRIC The percent of your ad impressions that are shown adjacent to the top
TrueviewAverageCpv Double METRIC The average amount you pay each time someone views your ad.
UnitsSold Double METRIC Units sold is the total number of products sold from orders attributed to
ValuePerAllConversions Double METRIC The value of all conversions divided by the number of all conversions.
ValuePerAllConversionsByConversionDate Double METRIC The value of all conversions divided by the number of all conversions. When
ValuePerConversion Double METRIC The value of conversions divided by the number of conversions. This only
ValuePerConversionsByConversionDate Double METRIC The value of conversions divided by the number of conversions. This only
ValuePerCurrentModelAttributedConversion Double METRIC The value of current model attributed conversions divided by the number of
VideoQuartileP100Rate Double METRIC Percentage of impressions where the viewer watched all of your video.
VideoQuartileP25Rate Double METRIC Percentage of impressions where the viewer watched 25% of your video.
VideoQuartileP50Rate Double METRIC Percentage of impressions where the viewer watched 50% of your video.
VideoQuartileP75Rate Double METRIC Percentage of impressions where the viewer watched 75% of your video.
VideoTrueviewViewRate Double METRIC The number of TrueView views your video ad receives divided by its number
VideoTrueviewViews Long METRIC The number of TrueView views your video ads received.
ViewThroughConversions Long METRIC The total number of view-through conversions.
AdNetworkType String SEGMENT Ad network type.

The allowed values are CONTENT, DISCOVER, GMAIL, GOOGLE_OWNED_CHANNELS, GOOGLE_TV, MAPS, MIXED, SEARCH, SEARCH_PARTNERS, UNKNOWN, YOUTUBE.

AdSubNetworkType String SEGMENT Ad sub network type. Currently only available for ads running as part of

The allowed values are UNKNOWN, UNSEGMENTED, YOUTUBE_INFEED, YOUTUBE_INSTREAM, YOUTUBE_SHORTS.

AuctionInsightDomain String SEGMENT Domain (visible URL) of a participant in the Auction Insights report.
ClickType String SEGMENT Click type.

The allowed values are AD_IMAGE, APP_DEEPLINK, BREADCRUMBS, BROADBAND_PLAN, CALLS, CALL_TRACKING, CLICK_ON_ENGAGEMENT_AD, CLICK_TO_MESSAGE_LANDING_PAGE_CLICK, CLICK_TO_MESSAGE_THIRD_PARTY_CLICK, CROSS_NETWORK, GET_DIRECTIONS, HOTEL_BOOK_ON_GOOGLE_ROOM_SELECTION, HOTEL_PRICE, LOCATION_EXPANSION, LOCATION_FORMAT_CALL, LOCATION_FORMAT_DIRECTIONS, LOCATION_FORMAT_IMAGE, LOCATION_FORMAT_LANDING_PAGE, LOCATION_FORMAT_MAP, LOCATION_FORMAT_STORE_INFO, LOCATION_FORMAT_TEXT, MOBILE_CALL_TRACKING, OFFER_PRINTS, OTHER, PRICE_EXTENSION, PRODUCT_AD_APP_DEEPLINK, PRODUCT_ASSETS, PRODUCT_EXTENSION_CLICKS, PRODUCT_LISTING_ADS_COUPON, PRODUCT_LISTING_AD_CLICKS, PRODUCT_LISTING_AD_LOCAL, PRODUCT_LISTING_AD_MULTICHANNEL_LOCAL, PRODUCT_LISTING_AD_MULTICHANNEL_ONLINE, PRODUCT_LISTING_AD_TRANSACTABLE, PROMOTION_EXTENSION, SHOPPING_COMPARISON_LISTING, SHOWCASE_AD_CATEGORY_LINK, SHOWCASE_AD_LOCAL_PRODUCT_LINK, SHOWCASE_AD_LOCAL_STOREFRONT_LINK, SHOWCASE_AD_ONLINE_PRODUCT_LINK, SITELINKS, STORE_LOCATOR, SWIPEABLE_GALLERY_AD_HEADLINE, SWIPEABLE_GALLERY_AD_SEE_MORE, SWIPEABLE_GALLERY_AD_SITELINK_FIVE, SWIPEABLE_GALLERY_AD_SITELINK_FOUR, SWIPEABLE_GALLERY_AD_SITELINK_ONE, SWIPEABLE_GALLERY_AD_SITELINK_THREE, SWIPEABLE_GALLERY_AD_SITELINK_TWO, SWIPEABLE_GALLERY_AD_SWIPES, TRAVEL_ASSETS, UNKNOWN, URL_CLICKS, VEHICLE_ASSETS, VIDEO_APP_STORE_CLICKS, VIDEO_CALL_TO_ACTION_CLICKS, VIDEO_CARD_ACTION_HEADLINE_CLICKS, VIDEO_CHANNEL_CLICK, VIDEO_END_CAP_CLICKS, VIDEO_RELATED_VIDEOS_CLICK, VIDEO_WEBSITE_CLICKS, VISUAL_SITELINKS, WIRELESS_PLAN.

ConversionAction String SEGMENT Resource name of the conversion action.
ConversionActionCategory String SEGMENT Conversion action category.

The allowed values are ADD_TO_CART, BEGIN_CHECKOUT, BOOK_APPOINTMENT, CONTACT, CONVERTED_LEAD, DEFAULT, DOWNLOAD, ENGAGEMENT, GET_DIRECTIONS, IMPORTED_LEAD, OUTBOUND_CLICK, PAGE_VIEW, PHONE_CALL_LEAD, PURCHASE, QUALIFIED_LEAD, REQUEST_QUOTE, SIGNUP, STORE_SALE, STORE_VISIT, SUBMIT_LEAD_FORM, SUBSCRIBE_PAID, UNKNOWN, YOUTUBE_FOLLOW_ON_VIEWS.

ConversionActionName String SEGMENT Conversion action name.
ConversionAdjustment Bool SEGMENT This segments your conversion columns by the original conversion and
ConversionLagBucket String SEGMENT An enum value representing the number of days between the impression and

The allowed values are EIGHT_TO_NINE_DAYS, ELEVEN_TO_TWELVE_DAYS, FIVE_TO_SIX_DAYS, FORTY_FIVE_TO_SIXTY_DAYS, FOURTEEN_TO_TWENTY_ONE_DAYS, FOUR_TO_FIVE_DAYS, LESS_THAN_ONE_DAY, NINE_TO_TEN_DAYS, ONE_TO_TWO_DAYS, SEVEN_TO_EIGHT_DAYS, SIXTY_TO_NINETY_DAYS, SIX_TO_SEVEN_DAYS, TEN_TO_ELEVEN_DAYS, THIRTEEN_TO_FOURTEEN_DAYS, THIRTY_TO_FORTY_FIVE_DAYS, THREE_TO_FOUR_DAYS, TWELVE_TO_THIRTEEN_DAYS, TWENTY_ONE_TO_THIRTY_DAYS, TWO_TO_THREE_DAYS, UNKNOWN.

ConversionOrAdjustmentLagBucket String SEGMENT An enum value representing the number of days between the impression and

The allowed values are ADJUSTMENT_EIGHT_TO_NINE_DAYS, ADJUSTMENT_ELEVEN_TO_TWELVE_DAYS, ADJUSTMENT_FIVE_TO_SIX_DAYS, ADJUSTMENT_FORTY_FIVE_TO_SIXTY_DAYS, ADJUSTMENT_FOURTEEN_TO_TWENTY_ONE_DAYS, ADJUSTMENT_FOUR_TO_FIVE_DAYS, ADJUSTMENT_LESS_THAN_ONE_DAY, ADJUSTMENT_NINETY_TO_ONE_HUNDRED_AND_FORTY_FIVE_DAYS, ADJUSTMENT_NINE_TO_TEN_DAYS, ADJUSTMENT_ONE_TO_TWO_DAYS, ADJUSTMENT_SEVEN_TO_EIGHT_DAYS, ADJUSTMENT_SIXTY_TO_NINETY_DAYS, ADJUSTMENT_SIX_TO_SEVEN_DAYS, ADJUSTMENT_TEN_TO_ELEVEN_DAYS, ADJUSTMENT_THIRTEEN_TO_FOURTEEN_DAYS, ADJUSTMENT_THIRTY_TO_FORTY_FIVE_DAYS, ADJUSTMENT_THREE_TO_FOUR_DAYS, ADJUSTMENT_TWELVE_TO_THIRTEEN_DAYS, ADJUSTMENT_TWENTY_ONE_TO_THIRTY_DAYS, ADJUSTMENT_TWO_TO_THREE_DAYS, ADJUSTMENT_UNKNOWN, CONVERSION_EIGHT_TO_NINE_DAYS, CONVERSION_ELEVEN_TO_TWELVE_DAYS, CONVERSION_FIVE_TO_SIX_DAYS, CONVERSION_FORTY_FIVE_TO_SIXTY_DAYS, CONVERSION_FOURTEEN_TO_TWENTY_ONE_DAYS, CONVERSION_FOUR_TO_FIVE_DAYS, CONVERSION_LESS_THAN_ONE_DAY, CONVERSION_NINE_TO_TEN_DAYS, CONVERSION_ONE_TO_TWO_DAYS, CONVERSION_SEVEN_TO_EIGHT_DAYS, CONVERSION_SIXTY_TO_NINETY_DAYS, CONVERSION_SIX_TO_SEVEN_DAYS, CONVERSION_TEN_TO_ELEVEN_DAYS, CONVERSION_THIRTEEN_TO_FOURTEEN_DAYS, CONVERSION_THIRTY_TO_FORTY_FIVE_DAYS, CONVERSION_THREE_TO_FOUR_DAYS, CONVERSION_TWELVE_TO_THIRTEEN_DAYS, CONVERSION_TWENTY_ONE_TO_THIRTY_DAYS, CONVERSION_TWO_TO_THREE_DAYS, CONVERSION_UNKNOWN, UNKNOWN.

Date Date SEGMENT Date to which metrics apply.
DayOfWeek String SEGMENT Day of the week, for example, MONDAY.

The allowed values are FRIDAY, MONDAY, SATURDAY, SUNDAY, THURSDAY, TUESDAY, UNKNOWN, WEDNESDAY.

Device String SEGMENT Device to which metrics apply.

The allowed values are CONNECTED_TV, DESKTOP, MOBILE, OTHER, TABLET, UNKNOWN.

ExternalConversionSource String SEGMENT External conversion source.

The allowed values are AD_CALL_METRICS, ANALYTICS, ANALYTICS_SEARCH_ADS_360, ANDROID_FIRST_OPEN, ANDROID_IN_APP, APP_UNSPECIFIED, CLICK_TO_CALL, DISPLAY_AND_VIDEO_360_FLOODLIGHT, FIREBASE, FIREBASE_SEARCH_ADS_360, FLOODLIGHT, GOOGLE_ATTRIBUTION, GOOGLE_HOSTED, GOOGLE_PLAY, IOS_FIRST_OPEN, IOS_IN_APP, SALESFORCE, SEARCH_ADS_360, STORE_SALES, STORE_SALES_CRM, STORE_SALES_DIRECT_UPLOAD, STORE_SALES_PAYMENT_NETWORK, STORE_VISITS, THIRD_PARTY_APP_ANALYTICS, UNKNOWN, UPLOAD, UPLOAD_CALLS, WEBPAGE, WEBSITE_CALL_METRICS.

MatchType String SEGMENT The match type of the keyword that triggered the ad. This segment is for

The allowed values are AI_MAX, BROAD, EXACT, PHRASE, UNKNOWN.

Month Date SEGMENT Month as represented by the date of the first day of a month. Formatted as
MonthOfYear String SEGMENT Month of the year, for example, January.

The allowed values are APRIL, AUGUST, DECEMBER, FEBRUARY, JANUARY, JULY, JUNE, MARCH, MAY, NOVEMBER, OCTOBER, SEPTEMBER, UNKNOWN.

NewVersusReturningCustomers String SEGMENT This is for segmenting conversions by whether the user is a new customer

The allowed values are NEW, NEW_AND_HIGH_LTV, RETURNING, UNKNOWN.

Period String SEGMENT Predefined date range.

The allowed values are TODAY, YESTERDAY, LAST_7_DAYS, LAST_BUSINESS_WEEK, THIS_MONTH, LAST_MONTH, LAST_14_DAYS, LAST_30_DAYS, THIS_WEEK_SUN_TODAY, THIS_WEEK_MON_TODAY, LAST_WEEK_SUN_SAT, LAST_WEEK_MON_SUN.

Quarter Date SEGMENT Quarter as represented by the date of the first day of a quarter.
Slot String SEGMENT Position of the ad.

The allowed values are CONTENT, MIXED, SEARCH_OTHER, SEARCH_PARTNER_OTHER, SEARCH_PARTNER_TOP, SEARCH_SIDE, SEARCH_TOP, UNKNOWN.

Week Date SEGMENT Week as defined as Monday through Sunday, and represented by the date of
Year Int SEGMENT Year, formatted as yyyy.

Pseudo-Columns

Pseudo column fields are used in the WHERE clause of SELECT statements and offer more granular control over the data returned from the data source.

Name Type Description
ManagerId Long Id of the manager account on behalf of which you are requesting customer data.

CData Python Connector for Google Ads

Label

A label.

Columns

Name Type Behavior Description
CustomerId Long ATTRIBUTE Output only. The ID of the customer.
LabelId Long ATTRIBUTE Output only. ID of the label. Read only.
LabelName String ATTRIBUTE The name of the label.
LabelResourceName String ATTRIBUTE Immutable. Name of the resource.
LabelStatus String ATTRIBUTE Output only. Status of the label. Read only.

The allowed values are ENABLED, REMOVED, UNKNOWN.

LabelTextLabelBackgroundColor String ATTRIBUTE Background color of the label in HEX format. This string must match the regular expression '^#([a-fA-F0-9]{6}|[a-fA-F0-9]{3})$'. Note: The background color may not be visible for manager accounts.
LabelTextLabelDescription String ATTRIBUTE A short description of the label. The length must be no more than 200 characters.

Pseudo-Columns

Pseudo column fields are used in the WHERE clause of SELECT statements and offer more granular control over the data returned from the data source.

Name Type Description
ManagerId Long Id of the manager account on behalf of which you are requesting customer data.

CData Python Connector for Google Ads

LandingPageView

A landing page view with metrics aggregated at the unexpanded final URL

View-Specific Information

Select

Google Ads does not allow every column to be selected in a single query, as some data conflicts if selected together. Therefore, when issuing a query that selects all columns, only the default metrics, segments, and attributes are returned. In general, these defaults are the same fields that are exposed through the Ads console. To use the nondefault fields, explicitly select them in your query.

Filters can also be used in the WHERE clause using the following supported operators: =, !=, >, >=, <, <=, LIKE, NOT LIKE, IN, NOT IN . Note that all filters must be joined by AND, as OR is not supported by the Ads API.

Columns

Name Type Behavior Description
AdGroupId Long SEGMENT Output only. The ID of the ad group.
CampaignId Long SEGMENT Output only. The ID of the campaign.
CustomerId Long ATTRIBUTE Output only. The ID of the customer.
LandingPageViewResourceName String ATTRIBUTE Output only. The resource name of the landing page view.
LandingPageViewUnexpandedFinalUrl String ATTRIBUTE Output only. The advertiser-specified final URL.
ActiveViewCpm Double METRIC Average cost of viewable impressions (active_view_impressions).
ActiveViewCtr Double METRIC Active view measurable clicks divided by active view viewable impressions.
ActiveViewImpressions Long METRIC A measurement of how often your ad has become viewable on a Display
ActiveViewMeasurability Double METRIC The ratio of impressions that could be measured by Active View over the
ActiveViewMeasurableCostMicros Long METRIC The cost of the impressions you received that were measurable by Active
ActiveViewMeasurableImpressions Long METRIC The number of times your ads are appearing on placements in positions
ActiveViewViewability Double METRIC The percentage of time when your ad appeared on an Active View enabled site
AllConversions Double METRIC The total number of conversions. This includes all conversions regardless
AllConversionsFromInteractionsRate Double METRIC All conversions from interactions (as oppose to view through conversions)
AllConversionsFromInteractionsValuePerInteraction Double METRIC The value of all conversions from interactions divided by the total number
AllConversionsValue Double METRIC The value of all conversions.
AllConversionsValuePerCost Double METRIC The value of all conversions divided by the total cost of ad interactions
AverageCost Double METRIC The average amount you pay per interaction. This amount is the total cost
AverageCpc Double METRIC The total cost of all clicks divided by the total number of clicks
AverageCpe Double METRIC The average amount that you've been charged for an ad engagement. This
AverageCpm Double METRIC Average cost-per-thousand impressions (CPM).
Clicks Long METRIC The number of clicks.
Conversions Double METRIC The number of conversions. This only includes conversion actions which
ConversionsFromInteractionsRate Double METRIC Conversions from interactions divided by the number of ad interactions
ConversionsFromInteractionsValuePerInteraction Double METRIC The value of conversions from interactions divided by the number of ad
ConversionsValue Double METRIC The value of conversions. This only includes conversion actions which
ConversionsValuePerCost Double METRIC The value of conversions divided by the cost of ad interactions. This only
CostMicros Long METRIC The sum of your cost-per-click (CPC) and cost-per-thousand impressions
CostPerAllConversions Double METRIC The cost of ad interactions divided by all conversions.
CostPerConversion Double METRIC The cost of ad interactions divided by conversions. This only includes
CrossDeviceConversions Double METRIC Conversions from when a customer clicks on a Google Ads ad on one device,
Ctr Double METRIC The number of clicks your ad receives (Clicks) divided by the number
EngagementRate Double METRIC How often people engage with your ad after it's shown to them. This is the
Engagements Long METRIC The number of engagements.
Impressions Long METRIC Count of how often your ad has appeared on a search results page or
InteractionEventTypes String METRIC The types of payable and free interactions.

The allowed values are CLICK, ENGAGEMENT, NONE, UNKNOWN, VIDEO_VIEW.

InteractionRate Double METRIC How often people interact with your ad after it is shown to them.
Interactions Long METRIC The number of interactions.
MobileFriendlyClicksPercentage Double METRIC The percentage of mobile clicks that go to a mobile-friendly page.
SpeedScore Long METRIC A measure of how quickly your page loads after clicks on your mobile ads.
TrueviewAverageCpv Double METRIC The average amount you pay each time someone views your ad.
ValidAcceleratedMobilePagesClicksPercentage Double METRIC The percentage of ad clicks to Accelerated Mobile Pages (AMP) landing pages
ValuePerAllConversions Double METRIC The value of all conversions divided by the number of all conversions.
ValuePerConversion Double METRIC The value of conversions divided by the number of conversions. This only
VideoTrueviewViewRate Double METRIC The number of TrueView views your video ad receives divided by its number
VideoTrueviewViews Long METRIC The number of TrueView views your video ads received.
AdNetworkType String SEGMENT Ad network type.

The allowed values are CONTENT, DISCOVER, GMAIL, GOOGLE_OWNED_CHANNELS, GOOGLE_TV, MAPS, MIXED, SEARCH, SEARCH_PARTNERS, UNKNOWN, YOUTUBE.

AdSubNetworkType String SEGMENT Ad sub network type. Currently only available for ads running as part of

The allowed values are UNKNOWN, UNSEGMENTED, YOUTUBE_INFEED, YOUTUBE_INSTREAM, YOUTUBE_SHORTS.

ClickType String SEGMENT Click type.

The allowed values are AD_IMAGE, APP_DEEPLINK, BREADCRUMBS, BROADBAND_PLAN, CALLS, CALL_TRACKING, CLICK_ON_ENGAGEMENT_AD, CLICK_TO_MESSAGE_LANDING_PAGE_CLICK, CLICK_TO_MESSAGE_THIRD_PARTY_CLICK, CROSS_NETWORK, GET_DIRECTIONS, HOTEL_BOOK_ON_GOOGLE_ROOM_SELECTION, HOTEL_PRICE, LOCATION_EXPANSION, LOCATION_FORMAT_CALL, LOCATION_FORMAT_DIRECTIONS, LOCATION_FORMAT_IMAGE, LOCATION_FORMAT_LANDING_PAGE, LOCATION_FORMAT_MAP, LOCATION_FORMAT_STORE_INFO, LOCATION_FORMAT_TEXT, MOBILE_CALL_TRACKING, OFFER_PRINTS, OTHER, PRICE_EXTENSION, PRODUCT_AD_APP_DEEPLINK, PRODUCT_ASSETS, PRODUCT_EXTENSION_CLICKS, PRODUCT_LISTING_ADS_COUPON, PRODUCT_LISTING_AD_CLICKS, PRODUCT_LISTING_AD_LOCAL, PRODUCT_LISTING_AD_MULTICHANNEL_LOCAL, PRODUCT_LISTING_AD_MULTICHANNEL_ONLINE, PRODUCT_LISTING_AD_TRANSACTABLE, PROMOTION_EXTENSION, SHOPPING_COMPARISON_LISTING, SHOWCASE_AD_CATEGORY_LINK, SHOWCASE_AD_LOCAL_PRODUCT_LINK, SHOWCASE_AD_LOCAL_STOREFRONT_LINK, SHOWCASE_AD_ONLINE_PRODUCT_LINK, SITELINKS, STORE_LOCATOR, SWIPEABLE_GALLERY_AD_HEADLINE, SWIPEABLE_GALLERY_AD_SEE_MORE, SWIPEABLE_GALLERY_AD_SITELINK_FIVE, SWIPEABLE_GALLERY_AD_SITELINK_FOUR, SWIPEABLE_GALLERY_AD_SITELINK_ONE, SWIPEABLE_GALLERY_AD_SITELINK_THREE, SWIPEABLE_GALLERY_AD_SITELINK_TWO, SWIPEABLE_GALLERY_AD_SWIPES, TRAVEL_ASSETS, UNKNOWN, URL_CLICKS, VEHICLE_ASSETS, VIDEO_APP_STORE_CLICKS, VIDEO_CALL_TO_ACTION_CLICKS, VIDEO_CARD_ACTION_HEADLINE_CLICKS, VIDEO_CHANNEL_CLICK, VIDEO_END_CAP_CLICKS, VIDEO_RELATED_VIDEOS_CLICK, VIDEO_WEBSITE_CLICKS, VISUAL_SITELINKS, WIRELESS_PLAN.

ConversionAction String SEGMENT Resource name of the conversion action.
ConversionActionCategory String SEGMENT Conversion action category.

The allowed values are ADD_TO_CART, BEGIN_CHECKOUT, BOOK_APPOINTMENT, CONTACT, CONVERTED_LEAD, DEFAULT, DOWNLOAD, ENGAGEMENT, GET_DIRECTIONS, IMPORTED_LEAD, OUTBOUND_CLICK, PAGE_VIEW, PHONE_CALL_LEAD, PURCHASE, QUALIFIED_LEAD, REQUEST_QUOTE, SIGNUP, STORE_SALE, STORE_VISIT, SUBMIT_LEAD_FORM, SUBSCRIBE_PAID, UNKNOWN, YOUTUBE_FOLLOW_ON_VIEWS.

ConversionActionName String SEGMENT Conversion action name.
Date Date SEGMENT Date to which metrics apply.
DayOfWeek String SEGMENT Day of the week, for example, MONDAY.

The allowed values are FRIDAY, MONDAY, SATURDAY, SUNDAY, THURSDAY, TUESDAY, UNKNOWN, WEDNESDAY.

Device String SEGMENT Device to which metrics apply.

The allowed values are CONNECTED_TV, DESKTOP, MOBILE, OTHER, TABLET, UNKNOWN.

ExternalConversionSource String SEGMENT External conversion source.

The allowed values are AD_CALL_METRICS, ANALYTICS, ANALYTICS_SEARCH_ADS_360, ANDROID_FIRST_OPEN, ANDROID_IN_APP, APP_UNSPECIFIED, CLICK_TO_CALL, DISPLAY_AND_VIDEO_360_FLOODLIGHT, FIREBASE, FIREBASE_SEARCH_ADS_360, FLOODLIGHT, GOOGLE_ATTRIBUTION, GOOGLE_HOSTED, GOOGLE_PLAY, IOS_FIRST_OPEN, IOS_IN_APP, SALESFORCE, SEARCH_ADS_360, STORE_SALES, STORE_SALES_CRM, STORE_SALES_DIRECT_UPLOAD, STORE_SALES_PAYMENT_NETWORK, STORE_VISITS, THIRD_PARTY_APP_ANALYTICS, UNKNOWN, UPLOAD, UPLOAD_CALLS, WEBPAGE, WEBSITE_CALL_METRICS.

LandingPageSource String SEGMENT The source of a landing page in the landing page report.

The allowed values are ADVERTISER, AUTOMATIC, UNKNOWN.

Month Date SEGMENT Month as represented by the date of the first day of a month. Formatted as
MonthOfYear String SEGMENT Month of the year, for example, January.

The allowed values are APRIL, AUGUST, DECEMBER, FEBRUARY, JANUARY, JULY, JUNE, MARCH, MAY, NOVEMBER, OCTOBER, SEPTEMBER, UNKNOWN.

Period String SEGMENT Predefined date range.

The allowed values are TODAY, YESTERDAY, LAST_7_DAYS, LAST_BUSINESS_WEEK, THIS_MONTH, LAST_MONTH, LAST_14_DAYS, LAST_30_DAYS, THIS_WEEK_SUN_TODAY, THIS_WEEK_MON_TODAY, LAST_WEEK_SUN_SAT, LAST_WEEK_MON_SUN.

Quarter Date SEGMENT Quarter as represented by the date of the first day of a quarter.
Slot String SEGMENT Position of the ad.

The allowed values are CONTENT, MIXED, SEARCH_OTHER, SEARCH_PARTNER_OTHER, SEARCH_PARTNER_TOP, SEARCH_SIDE, SEARCH_TOP, UNKNOWN.

Week Date SEGMENT Week as defined as Monday through Sunday, and represented by the date of
Year Int SEGMENT Year, formatted as yyyy.

Pseudo-Columns

Pseudo column fields are used in the WHERE clause of SELECT statements and offer more granular control over the data returned from the data source.

Name Type Description
ManagerId Long Id of the manager account on behalf of which you are requesting customer data.

CData Python Connector for Google Ads

LanguageConstant

A language.

Columns

Name Type Behavior Description
CustomerId Long ATTRIBUTE Output only. The ID of the customer.
LanguageConstantCode String ATTRIBUTE Output only. The language code, for example, 'en_US', 'en_AU', 'es', 'fr',
LanguageConstantId Long ATTRIBUTE Output only. The ID of the language constant.
LanguageConstantName String ATTRIBUTE Output only. The full name of the language in English, for example,
LanguageConstantResourceName String ATTRIBUTE Output only. The resource name of the language constant.
LanguageConstantTargetable Bool ATTRIBUTE Output only. Whether the language is targetable.

Pseudo-Columns

Pseudo column fields are used in the WHERE clause of SELECT statements and offer more granular control over the data returned from the data source.

Name Type Description
ManagerId Long Id of the manager account on behalf of which you are requesting customer data.

CData Python Connector for Google Ads

LeadFormSubmissionData

Data from lead form submissions.

Columns

Name Type Behavior Description
CustomerId Long ATTRIBUTE Output only. The ID of the customer.
LeadFormSubmissionDataAdGroup String ATTRIBUTE Output only. AdGroup associated with the submitted lead form.
LeadFormSubmissionDataAdGroupAd String ATTRIBUTE Output only. AdGroupAd associated with the submitted lead form.
LeadFormSubmissionDataAsset String ATTRIBUTE Output only. Asset associated with the submitted lead form.
LeadFormSubmissionDataCampaign String ATTRIBUTE Output only. Campaign associated with the submitted lead form.
LeadFormSubmissionDataCustomLeadFormSubmissionFields String ATTRIBUTE Output only. Submission data associated with a custom lead form.
LeadFormSubmissionDataGclid String ATTRIBUTE Output only. Google Click Id associated with the submissed lead form.
LeadFormSubmissionDataId String ATTRIBUTE Output only. ID of this lead form submission.
LeadFormSubmissionDataLeadFormSubmissionFields String ATTRIBUTE Output only. Submission data associated with a lead form.
LeadFormSubmissionDataResourceName String ATTRIBUTE Output only. The resource name of the lead form submission data.
LeadFormSubmissionDataSubmissionDateTime Datetime ATTRIBUTE Output only. The date and time at which the lead form was submitted. The

Pseudo-Columns

Pseudo column fields are used in the WHERE clause of SELECT statements and offer more granular control over the data returned from the data source.

Name Type Description
ManagerId Long Id of the manager account on behalf of which you are requesting customer data.

CData Python Connector for Google Ads

LifeEvent

A life event: a particular interest-based vertical to be targeted to reach

Columns

Name Type Behavior Description
CustomerId Long ATTRIBUTE Output only. The ID of the customer.
LifeEventAvailabilities String ATTRIBUTE Output only. Availability information of the life event.
LifeEventId Long ATTRIBUTE Output only. The ID of the life event.
LifeEventLaunchedToAll Bool ATTRIBUTE Output only. True if the life event is launched to all channels and
LifeEventName String ATTRIBUTE Output only. The name of the life event, for example,'Recently Moved'
LifeEventParent String ATTRIBUTE Output only. The parent of the life_event.
LifeEventResourceName String ATTRIBUTE Output only. The resource name of the life event.

Pseudo-Columns

Pseudo column fields are used in the WHERE clause of SELECT statements and offer more granular control over the data returned from the data source.

Name Type Description
ManagerId Long Id of the manager account on behalf of which you are requesting customer data.

CData Python Connector for Google Ads

LocalServicesEmployee

A local services employee resource.

Columns

Name Type Behavior Description
CustomerId Long ATTRIBUTE Output only. The ID of the customer.
LocalServicesEmployeeCategoryIds String ATTRIBUTE Output only. Category of the employee. A list of Local Services category
LocalServicesEmployeeCreationDateTime Datetime ATTRIBUTE Output only. Timestamp of employee creation.
LocalServicesEmployeeEmailAddress String ATTRIBUTE Output only. Email address of the employee.
LocalServicesEmployeeFellowships String ATTRIBUTE Output only. The institutions where the employee has completed their
LocalServicesEmployeeFirstName String ATTRIBUTE Output only. First name of the employee.
LocalServicesEmployeeId Long ATTRIBUTE Output only. The ID of the employee.
LocalServicesEmployeeJobTitle String ATTRIBUTE Output only. Job title for this employee, such as 'Senior partner' in legal
LocalServicesEmployeeLanguagesSpoken String ATTRIBUTE Output only. Languages that the employee speaks, represented as language
LocalServicesEmployeeLastName String ATTRIBUTE Output only. Last name of the employee.
LocalServicesEmployeeMiddleName String ATTRIBUTE Output only. Middle name of the employee.
LocalServicesEmployeeNationalProviderIdNumber String ATTRIBUTE Output only. NPI id associated with the employee.
LocalServicesEmployeeResidencies String ATTRIBUTE Output only. The institutions where the employee has completed their
LocalServicesEmployeeResourceName String ATTRIBUTE Immutable. The resource name of the Local Services Verification.
LocalServicesEmployeeStatus String ATTRIBUTE Output only. Employee status, such as DELETED or ENABLED.

The allowed values are ENABLED, REMOVED, UNKNOWN.

LocalServicesEmployeeType String ATTRIBUTE Output only. Employee type.

The allowed values are BUSINESS_OWNER, EMPLOYEE, UNKNOWN.

LocalServicesEmployeeUniversityDegrees String ATTRIBUTE Output only. A list of degrees this employee has obtained, and wants to
LocalServicesEmployeeYearStartedPracticing Int ATTRIBUTE Output only. The year that this employee started practicing in this field.

Pseudo-Columns

Pseudo column fields are used in the WHERE clause of SELECT statements and offer more granular control over the data returned from the data source.

Name Type Description
ManagerId Long Id of the manager account on behalf of which you are requesting customer data.

CData Python Connector for Google Ads

LocalServicesLead

Data from Local Services Lead.

Columns

Name Type Behavior Description
CustomerId Long ATTRIBUTE Output only. The ID of the customer.
LocalServicesLeadCategoryId String ATTRIBUTE Output only. Service category of the lead. For example:
LocalServicesLeadContactDetails String ATTRIBUTE Output only. Lead's contact details.
LocalServicesLeadCreationDateTime Datetime ATTRIBUTE Output only. The date time at which lead was created by Local Services Ads.
LocalServicesLeadCreditDetailsCreditState String ATTRIBUTE Output only. Credit state of the lead.

The allowed values are CREDITED, PENDING, UNKNOWN.

LocalServicesLeadCreditDetailsCreditStateLastUpdateDateTime Datetime ATTRIBUTE Output only. The date time when the credit state of the lead was last updated. The format is 'YYYY-MM-DD HH:MM:SS' in the Google Ads account's timezone. Examples: '2018-03-05 09:15:00' or '2018-02-01 14:34:30'
LocalServicesLeadId Long ATTRIBUTE Output only. ID of this Lead.
LocalServicesLeadLeadCharged Bool ATTRIBUTE Output only. True if the advertiser was charged for the lead.
LocalServicesLeadLeadFeedbackSubmitted Bool ATTRIBUTE Output only. True if the advertiser submitted feedback for the lead.
LocalServicesLeadLeadStatus String ATTRIBUTE Output only. Current status of lead.

The allowed values are ACTIVE, BOOKED, CONSUMER_DECLINED, DECLINED, DISABLED, EXPIRED, NEW, UNKNOWN, WIPED_OUT.

LocalServicesLeadLeadType String ATTRIBUTE Output only. Type of Local Services lead: phone, message, booking, etc.

The allowed values are BOOKING, MESSAGE, PHONE_CALL, UNKNOWN.

LocalServicesLeadLocale String ATTRIBUTE Output only. Language used by the Local Services provider linked to lead.
LocalServicesLeadNoteDescription String ATTRIBUTE Output only. Content of lead note.
LocalServicesLeadNoteEditDateTime Datetime ATTRIBUTE Output only. The date time when lead note was edited. The format is 'YYYY-MM-DD HH:MM:SS' in the Google Ads account's timezone. Examples: '2018-03-05 09:15:00' or '2018-02-01 14:34:30'
LocalServicesLeadResourceName String ATTRIBUTE Immutable. The resource name of the local services lead data.
LocalServicesLeadServiceId String ATTRIBUTE Output only. Service for the category. For example: buyer_agent,

Pseudo-Columns

Pseudo column fields are used in the WHERE clause of SELECT statements and offer more granular control over the data returned from the data source.

Name Type Description
ManagerId Long Id of the manager account on behalf of which you are requesting customer data.

CData Python Connector for Google Ads

LocalServicesLeadConversation

Data from Local Services Lead Conversation.

Columns

Name Type Behavior Description
CustomerId Long ATTRIBUTE Output only. The ID of the customer.
LocalServicesLeadConversationConversationChannel String ATTRIBUTE Output only. Type of GLS lead conversation, EMAIL, MESSAGE, PHONE_CALL,

The allowed values are ADS_API, BOOKING, EMAIL, MESSAGE, PHONE_CALL, SMS, UNKNOWN, WHATSAPP.

LocalServicesLeadConversationEventDateTime Datetime ATTRIBUTE Output only. The date time at which lead conversation was created by Local
LocalServicesLeadConversationId Long ATTRIBUTE Output only. ID of this Lead Conversation.
LocalServicesLeadConversationLead String ATTRIBUTE Output only. Resource name of Lead associated to the Lead Conversation.
LocalServicesLeadConversationMessageDetailsAttachmentUrls String ATTRIBUTE Output only. URL to the SMS or email attachments. These URLs can be used to download the contents of the attachment by using the developer token.
LocalServicesLeadConversationMessageDetailsText String ATTRIBUTE Output only. Textual content of the message.
LocalServicesLeadConversationParticipantType String ATTRIBUTE Output only. Type of participant in the lead conversation, ADVERTISER or

The allowed values are ADVERTISER, CONSUMER, UNKNOWN.

LocalServicesLeadConversationPhoneCallDetailsCallDurationMillis Long ATTRIBUTE Output only. The duration (in milliseconds) of the phone call (end to end).
LocalServicesLeadConversationPhoneCallDetailsCallRecordingUrl String ATTRIBUTE Output only. URL to the call recording audio file.
LocalServicesLeadConversationResourceName String ATTRIBUTE Output only. The resource name of the local services lead conversation

Pseudo-Columns

Pseudo column fields are used in the WHERE clause of SELECT statements and offer more granular control over the data returned from the data source.

Name Type Description
ManagerId Long Id of the manager account on behalf of which you are requesting customer data.

CData Python Connector for Google Ads

LocalServicesVerificationArtifact

A local services verification resource.

Columns

Name Type Behavior Description
CustomerId Long ATTRIBUTE Output only. The ID of the customer.
LocalServicesVerificationArtifactArtifactType String ATTRIBUTE Output only. The type of the verification artifact.

The allowed values are BACKGROUND_CHECK, BUSINESS_REGISTRATION_CHECK, INSURANCE, LICENSE, UNKNOWN.

LocalServicesVerificationArtifactBackgroundCheckVerificationArtifactCaseUrl String ATTRIBUTE Output only. URL to access background case.
LocalServicesVerificationArtifactBackgroundCheckVerificationArtifactFinalAdjudicationDateTime Datetime ATTRIBUTE Output only. The timestamp when this background check case result was adjudicated. The format is 'YYYY-MM-DD HH:MM:SS' in the Google Ads account's timezone. Examples: '2018-03-05 09:15:00' or '2018-02-01 14:34:30'
LocalServicesVerificationArtifactBusinessRegistrationCheckVerificationArtifactCheckId String ATTRIBUTE Output only. The id of the check, such as vat_tax_id, representing 'VAT Tax ID' requirement.
LocalServicesVerificationArtifactBusinessRegistrationCheckVerificationArtifactRegistrationDocumentDocumentReadonlyDocumentUrl String ATTRIBUTE URL to access an already uploaded Local Services document.
LocalServicesVerificationArtifactBusinessRegistrationCheckVerificationArtifactRegistrationNumberNumber String ATTRIBUTE Output only. Government-issued number for the business.
LocalServicesVerificationArtifactBusinessRegistrationCheckVerificationArtifactRegistrationType String ATTRIBUTE Output only. The type of business registration check (number, document).

The allowed values are DOCUMENT, NUMBER, UNKNOWN.

LocalServicesVerificationArtifactBusinessRegistrationCheckVerificationArtifactRejectionReason String ATTRIBUTE Output only. Registration document rejection reason.

The allowed values are BUSINESS_DETAILS_MISMATCH, BUSINESS_NAME_MISMATCH, DOCUMENT_EXPIRED, DOCUMENT_INVALID, DOCUMENT_TYPE_MISMATCH, DOCUMENT_UNVERIFIABLE, ID_NOT_FOUND, OTHER, POOR_DOCUMENT_IMAGE_QUALITY, UNKNOWN.

LocalServicesVerificationArtifactCreationDateTime Datetime ATTRIBUTE Output only. The timestamp when this verification artifact was created.
LocalServicesVerificationArtifactId Long ATTRIBUTE Output only. The ID of the verification artifact.
LocalServicesVerificationArtifactInsuranceVerificationArtifactAmountMicros Long ATTRIBUTE Output only. Insurance amount. This is measured in 'micros' of the currency mentioned in the insurance document.
LocalServicesVerificationArtifactInsuranceVerificationArtifactExpirationDateTime Datetime ATTRIBUTE Output only. The timestamp when this insurance expires. The format is 'YYYY-MM-DD HH:MM:SS' in the Google Ads account's timezone. Examples: '2018-03-05 09:15:00' or '2018-02-01 14:34:30'
LocalServicesVerificationArtifactInsuranceVerificationArtifactInsuranceDocumentReadonlyDocumentUrl String ATTRIBUTE URL to access an already uploaded Local Services document.
LocalServicesVerificationArtifactInsuranceVerificationArtifactRejectionReason String ATTRIBUTE Output only. Insurance document's rejection reason.

The allowed values are BUSINESS_NAME_MISMATCH, CATEGORY_MISMATCH, EDITABLE_FORMAT, EXPIRED, INSURANCE_AMOUNT_INSUFFICIENT, MISSING_EXPIRATION_DATE, NON_FINAL, NO_COMMERCIAL_GENERAL_LIABILITY, NO_POLICY_NUMBER, NO_SIGNATURE, OTHER, POOR_QUALITY, POTENTIALLY_EDITED, UNKNOWN, WRONG_DOCUMENT_TYPE.

LocalServicesVerificationArtifactLicenseVerificationArtifactExpirationDateTime Datetime ATTRIBUTE Output only. The timestamp when this license expires. The format is 'YYYY-MM-DD HH:MM:SS' in the Google Ads account's timezone. Examples: '2018-03-05 09:15:00' or '2018-02-01 14:34:30'
LocalServicesVerificationArtifactLicenseVerificationArtifactLicenseDocumentReadonlyDocumentUrl String ATTRIBUTE URL to access an already uploaded Local Services document.
LocalServicesVerificationArtifactLicenseVerificationArtifactLicenseNumber String ATTRIBUTE Output only. License number.
LocalServicesVerificationArtifactLicenseVerificationArtifactLicenseType String ATTRIBUTE Output only. License type / name.
LocalServicesVerificationArtifactLicenseVerificationArtifactLicenseeFirstName String ATTRIBUTE Output only. First name of the licensee.
LocalServicesVerificationArtifactLicenseVerificationArtifactLicenseeLastName String ATTRIBUTE Output only. Last name of the licensee.
LocalServicesVerificationArtifactLicenseVerificationArtifactRejectionReason String ATTRIBUTE Output only. License rejection reason.

The allowed values are BUSINESS_NAME_MISMATCH, EXPIRED, OTHER, POOR_QUALITY, UNAUTHORIZED, UNKNOWN, UNVERIFIABLE, WRONG_DOCUMENT_OR_ID.

LocalServicesVerificationArtifactResourceName String ATTRIBUTE Immutable. The resource name of the Local Services Verification.
LocalServicesVerificationArtifactStatus String ATTRIBUTE Output only. The status of the verification artifact.

The allowed values are CANCELLED, FAILED, NO_SUBMISSION, PASSED, PENDING, UNKNOWN.

Pseudo-Columns

Pseudo column fields are used in the WHERE clause of SELECT statements and offer more granular control over the data returned from the data source.

Name Type Description
ManagerId Long Id of the manager account on behalf of which you are requesting customer data.

CData Python Connector for Google Ads

LocationInterestView

A location interest view summarizes the performance of adgroup location

Columns

Name Type Behavior Description
CustomerId Long ATTRIBUTE Output only. The ID of the customer.
LocationInterestViewResourceName String ATTRIBUTE Output only. The resource name of the location interest view.
AbsoluteTopImpressionPercentage Double METRIC Search absolute top impression share is the percentage of your Search ad
AllConversions Double METRIC The total number of conversions. This includes all conversions regardless
AllConversionsFromInteractionsRate Double METRIC All conversions from interactions (as oppose to view through conversions)
AllConversionsValue Double METRIC The value of all conversions.
AverageCost Double METRIC The average amount you pay per interaction. This amount is the total cost
AverageCpc Double METRIC The total cost of all clicks divided by the total number of clicks
AverageCpm Double METRIC Average cost-per-thousand impressions (CPM).
Clicks Long METRIC The number of clicks.
Conversions Double METRIC The number of conversions. This only includes conversion actions which
ConversionsFromInteractionsRate Double METRIC Conversions from interactions divided by the number of ad interactions
ConversionsValue Double METRIC The value of conversions. This only includes conversion actions which
CostMicros Long METRIC The sum of your cost-per-click (CPC) and cost-per-thousand impressions
CostPerAllConversions Double METRIC The cost of ad interactions divided by all conversions.
CostPerConversion Double METRIC The cost of ad interactions divided by conversions. This only includes
CrossDeviceConversions Double METRIC Conversions from when a customer clicks on a Google Ads ad on one device,
Ctr Double METRIC The number of clicks your ad receives (Clicks) divided by the number
Impressions Long METRIC Count of how often your ad has appeared on a search results page or
InteractionEventTypes String METRIC The types of payable and free interactions.

The allowed values are CLICK, ENGAGEMENT, NONE, UNKNOWN, VIDEO_VIEW.

InteractionRate Double METRIC How often people interact with your ad after it is shown to them.
Interactions Long METRIC The number of interactions.
TopImpressionPercentage Double METRIC The percent of your ad impressions that are shown adjacent to the top
TrueviewAverageCpv Double METRIC The average amount you pay each time someone views your ad.
ValuePerAllConversions Double METRIC The value of all conversions divided by the number of all conversions.
ValuePerConversion Double METRIC The value of conversions divided by the number of conversions. This only
VideoTrueviewViewRate Double METRIC The number of TrueView views your video ad receives divided by its number
VideoTrueviewViews Long METRIC The number of TrueView views your video ads received.
ViewThroughConversions Long METRIC The total number of view-through conversions.
AdNetworkType String SEGMENT Ad network type.

The allowed values are CONTENT, DISCOVER, GMAIL, GOOGLE_OWNED_CHANNELS, GOOGLE_TV, MAPS, MIXED, SEARCH, SEARCH_PARTNERS, UNKNOWN, YOUTUBE.

AdSubNetworkType String SEGMENT Ad sub network type. Currently only available for ads running as part of

The allowed values are UNKNOWN, UNSEGMENTED, YOUTUBE_INFEED, YOUTUBE_INSTREAM, YOUTUBE_SHORTS.

ConversionAction String SEGMENT Resource name of the conversion action.
ConversionActionCategory String SEGMENT Conversion action category.

The allowed values are ADD_TO_CART, BEGIN_CHECKOUT, BOOK_APPOINTMENT, CONTACT, CONVERTED_LEAD, DEFAULT, DOWNLOAD, ENGAGEMENT, GET_DIRECTIONS, IMPORTED_LEAD, OUTBOUND_CLICK, PAGE_VIEW, PHONE_CALL_LEAD, PURCHASE, QUALIFIED_LEAD, REQUEST_QUOTE, SIGNUP, STORE_SALE, STORE_VISIT, SUBMIT_LEAD_FORM, SUBSCRIBE_PAID, UNKNOWN, YOUTUBE_FOLLOW_ON_VIEWS.

ConversionActionName String SEGMENT Conversion action name.
ConversionValueRulePrimaryDimension String SEGMENT Primary dimension of applied conversion value rules.

The allowed values are AUDIENCE, DEVICE, GEO_LOCATION, ITINERARY, MULTIPLE, NEW_VS_RETURNING_USER, NO_RULE_APPLIED, ORIGINAL, UNKNOWN.

Date Date SEGMENT Date to which metrics apply.
Device String SEGMENT Device to which metrics apply.

The allowed values are CONNECTED_TV, DESKTOP, MOBILE, OTHER, TABLET, UNKNOWN.

ExternalConversionSource String SEGMENT External conversion source.

The allowed values are AD_CALL_METRICS, ANALYTICS, ANALYTICS_SEARCH_ADS_360, ANDROID_FIRST_OPEN, ANDROID_IN_APP, APP_UNSPECIFIED, CLICK_TO_CALL, DISPLAY_AND_VIDEO_360_FLOODLIGHT, FIREBASE, FIREBASE_SEARCH_ADS_360, FLOODLIGHT, GOOGLE_ATTRIBUTION, GOOGLE_HOSTED, GOOGLE_PLAY, IOS_FIRST_OPEN, IOS_IN_APP, SALESFORCE, SEARCH_ADS_360, STORE_SALES, STORE_SALES_CRM, STORE_SALES_DIRECT_UPLOAD, STORE_SALES_PAYMENT_NETWORK, STORE_VISITS, THIRD_PARTY_APP_ANALYTICS, UNKNOWN, UPLOAD, UPLOAD_CALLS, WEBPAGE, WEBSITE_CALL_METRICS.

Month Date SEGMENT Month as represented by the date of the first day of a month. Formatted as
NewVersusReturningCustomers String SEGMENT This is for segmenting conversions by whether the user is a new customer

The allowed values are NEW, NEW_AND_HIGH_LTV, RETURNING, UNKNOWN.

Period String SEGMENT Predefined date range.

The allowed values are TODAY, YESTERDAY, LAST_7_DAYS, LAST_BUSINESS_WEEK, THIS_MONTH, LAST_MONTH, LAST_14_DAYS, LAST_30_DAYS, THIS_WEEK_SUN_TODAY, THIS_WEEK_MON_TODAY, LAST_WEEK_SUN_SAT, LAST_WEEK_MON_SUN.

Quarter Date SEGMENT Quarter as represented by the date of the first day of a quarter.
Week Date SEGMENT Week as defined as Monday through Sunday, and represented by the date of
Year Int SEGMENT Year, formatted as yyyy.

Pseudo-Columns

Pseudo column fields are used in the WHERE clause of SELECT statements and offer more granular control over the data returned from the data source.

Name Type Description
ManagerId Long Id of the manager account on behalf of which you are requesting customer data.

CData Python Connector for Google Ads

LocationView

A location view summarizes the performance of campaigns by a Location

View-Specific Information

Select

Google Ads does not allow every column to be selected in a single query, as some data conflicts if selected together. Therefore, when issuing a query that selects all columns, only the default metrics, segments, and attributes are returned. In general, these defaults are the same fields that are exposed through the Ads console. To use the nondefault fields, explicitly select them in your query.

Filters can also be used in the WHERE clause using the following supported operators: =, !=, >, >=, <, <=, LIKE, NOT LIKE, IN, NOT IN . Note that all filters must be joined by AND, as OR is not supported by the Ads API.

Columns

Name Type Behavior Description
CustomerId Long ATTRIBUTE Output only. The ID of the customer.
LocationViewResourceName String ATTRIBUTE Output only. The resource name of the location view.
AllConversions Double METRIC The total number of conversions. This includes all conversions regardless
AllConversionsFromInteractionsRate Double METRIC All conversions from interactions (as oppose to view through conversions)
AllConversionsValue Double METRIC The value of all conversions.
AverageCost Double METRIC The average amount you pay per interaction. This amount is the total cost
AverageCpc Double METRIC The total cost of all clicks divided by the total number of clicks
AverageCpe Double METRIC The average amount that you've been charged for an ad engagement. This
AverageCpm Double METRIC Average cost-per-thousand impressions (CPM).
Clicks Long METRIC The number of clicks.
Conversions Double METRIC The number of conversions. This only includes conversion actions which
ConversionsFromInteractionsRate Double METRIC Conversions from interactions divided by the number of ad interactions
ConversionsValue Double METRIC The value of conversions. This only includes conversion actions which
CostMicros Long METRIC The sum of your cost-per-click (CPC) and cost-per-thousand impressions
CostPerAllConversions Double METRIC The cost of ad interactions divided by all conversions.
CostPerConversion Double METRIC The cost of ad interactions divided by conversions. This only includes
CrossDeviceConversions Double METRIC Conversions from when a customer clicks on a Google Ads ad on one device,
Ctr Double METRIC The number of clicks your ad receives (Clicks) divided by the number
EngagementRate Double METRIC How often people engage with your ad after it's shown to them. This is the
Engagements Long METRIC The number of engagements.
Impressions Long METRIC Count of how often your ad has appeared on a search results page or
InteractionEventTypes String METRIC The types of payable and free interactions.

The allowed values are CLICK, ENGAGEMENT, NONE, UNKNOWN, VIDEO_VIEW.

InteractionRate Double METRIC How often people interact with your ad after it is shown to them.
Interactions Long METRIC The number of interactions.
TrueviewAverageCpv Double METRIC The average amount you pay each time someone views your ad.
ValuePerAllConversions Double METRIC The value of all conversions divided by the number of all conversions.
ValuePerConversion Double METRIC The value of conversions divided by the number of conversions. This only
VideoTrueviewViewRate Double METRIC The number of TrueView views your video ad receives divided by its number
VideoTrueviewViews Long METRIC The number of TrueView views your video ads received.
ViewThroughConversions Long METRIC The total number of view-through conversions.
ConversionAction String SEGMENT Resource name of the conversion action.
ConversionActionCategory String SEGMENT Conversion action category.

The allowed values are ADD_TO_CART, BEGIN_CHECKOUT, BOOK_APPOINTMENT, CONTACT, CONVERTED_LEAD, DEFAULT, DOWNLOAD, ENGAGEMENT, GET_DIRECTIONS, IMPORTED_LEAD, OUTBOUND_CLICK, PAGE_VIEW, PHONE_CALL_LEAD, PURCHASE, QUALIFIED_LEAD, REQUEST_QUOTE, SIGNUP, STORE_SALE, STORE_VISIT, SUBMIT_LEAD_FORM, SUBSCRIBE_PAID, UNKNOWN, YOUTUBE_FOLLOW_ON_VIEWS.

ConversionActionName String SEGMENT Conversion action name.
Date Date SEGMENT Date to which metrics apply.
ExternalConversionSource String SEGMENT External conversion source.

The allowed values are AD_CALL_METRICS, ANALYTICS, ANALYTICS_SEARCH_ADS_360, ANDROID_FIRST_OPEN, ANDROID_IN_APP, APP_UNSPECIFIED, CLICK_TO_CALL, DISPLAY_AND_VIDEO_360_FLOODLIGHT, FIREBASE, FIREBASE_SEARCH_ADS_360, FLOODLIGHT, GOOGLE_ATTRIBUTION, GOOGLE_HOSTED, GOOGLE_PLAY, IOS_FIRST_OPEN, IOS_IN_APP, SALESFORCE, SEARCH_ADS_360, STORE_SALES, STORE_SALES_CRM, STORE_SALES_DIRECT_UPLOAD, STORE_SALES_PAYMENT_NETWORK, STORE_VISITS, THIRD_PARTY_APP_ANALYTICS, UNKNOWN, UPLOAD, UPLOAD_CALLS, WEBPAGE, WEBSITE_CALL_METRICS.

Month Date SEGMENT Month as represented by the date of the first day of a month. Formatted as
MonthOfYear String SEGMENT Month of the year, for example, January.

The allowed values are APRIL, AUGUST, DECEMBER, FEBRUARY, JANUARY, JULY, JUNE, MARCH, MAY, NOVEMBER, OCTOBER, SEPTEMBER, UNKNOWN.

NewVersusReturningCustomers String SEGMENT This is for segmenting conversions by whether the user is a new customer

The allowed values are NEW, NEW_AND_HIGH_LTV, RETURNING, UNKNOWN.

Period String SEGMENT Predefined date range.

The allowed values are TODAY, YESTERDAY, LAST_7_DAYS, LAST_BUSINESS_WEEK, THIS_MONTH, LAST_MONTH, LAST_14_DAYS, LAST_30_DAYS, THIS_WEEK_SUN_TODAY, THIS_WEEK_MON_TODAY, LAST_WEEK_SUN_SAT, LAST_WEEK_MON_SUN.

Quarter Date SEGMENT Quarter as represented by the date of the first day of a quarter.
Week Date SEGMENT Week as defined as Monday through Sunday, and represented by the date of
Year Int SEGMENT Year, formatted as yyyy.

Pseudo-Columns

Pseudo column fields are used in the WHERE clause of SELECT statements and offer more granular control over the data returned from the data source.

Name Type Description
ManagerId Long Id of the manager account on behalf of which you are requesting customer data.

CData Python Connector for Google Ads

ManagedPlacementView

A managed placement view.

View-Specific Information

Select

Google Ads does not allow every column to be selected in a single query, as some data conflicts if selected together. Therefore, when issuing a query that selects all columns, only the default metrics, segments, and attributes are returned. In general, these defaults are the same fields that are exposed through the Ads console. To use the nondefault fields, explicitly select them in your query.

Filters can also be used in the WHERE clause using the following supported operators: =, !=, >, >=, <, <=, LIKE, NOT LIKE, IN, NOT IN . Note that all filters must be joined by AND, as OR is not supported by the Ads API.

Columns

Name Type Behavior Description
BiddingStrategyId Long SEGMENT Output only. The ID of the bidding strategy.
CustomerId Long ATTRIBUTE Output only. The ID of the customer.
ManagedPlacementViewResourceName String ATTRIBUTE Output only. The resource name of the Managed Placement view.
ActiveViewCpm Double METRIC Average cost of viewable impressions (active_view_impressions).
ActiveViewCtr Double METRIC Active view measurable clicks divided by active view viewable impressions.
ActiveViewImpressions Long METRIC A measurement of how often your ad has become viewable on a Display
ActiveViewMeasurability Double METRIC The ratio of impressions that could be measured by Active View over the
ActiveViewMeasurableCostMicros Long METRIC The cost of the impressions you received that were measurable by Active
ActiveViewMeasurableImpressions Long METRIC The number of times your ads are appearing on placements in positions
ActiveViewViewability Double METRIC The percentage of time when your ad appeared on an Active View enabled site
AllConversions Double METRIC The total number of conversions. This includes all conversions regardless
AllConversionsFromInteractionsRate Double METRIC All conversions from interactions (as oppose to view through conversions)
AllConversionsFromInteractionsValuePerInteraction Double METRIC The value of all conversions from interactions divided by the total number
AllConversionsValue Double METRIC The value of all conversions.
AllConversionsValuePerCost Double METRIC The value of all conversions divided by the total cost of ad interactions
AverageCost Double METRIC The average amount you pay per interaction. This amount is the total cost
AverageCpc Double METRIC The total cost of all clicks divided by the total number of clicks
AverageCpe Double METRIC The average amount that you've been charged for an ad engagement. This
AverageCpm Double METRIC Average cost-per-thousand impressions (CPM).
Clicks Long METRIC The number of clicks.
Conversions Double METRIC The number of conversions. This only includes conversion actions which
ConversionsFromInteractionsRate Double METRIC Conversions from interactions divided by the number of ad interactions
ConversionsValue Double METRIC The value of conversions. This only includes conversion actions which
CostMicros Long METRIC The sum of your cost-per-click (CPC) and cost-per-thousand impressions
CostPerAllConversions Double METRIC The cost of ad interactions divided by all conversions.
CostPerConversion Double METRIC The cost of ad interactions divided by conversions. This only includes
CrossDeviceConversions Double METRIC Conversions from when a customer clicks on a Google Ads ad on one device,
Ctr Double METRIC The number of clicks your ad receives (Clicks) divided by the number
EngagementRate Double METRIC How often people engage with your ad after it's shown to them. This is the
Engagements Long METRIC The number of engagements.
GmailForwards Long METRIC The number of times the ad was forwarded to someone else as a message.
GmailSaves Long METRIC The number of times someone has saved your Gmail ad to their inbox as a
GmailSecondaryClicks Long METRIC The number of clicks to the landing page on the expanded state of Gmail
Impressions Long METRIC Count of how often your ad has appeared on a search results page or
InteractionEventTypes String METRIC The types of payable and free interactions.

The allowed values are CLICK, ENGAGEMENT, NONE, UNKNOWN, VIDEO_VIEW.

InteractionRate Double METRIC How often people interact with your ad after it is shown to them.
Interactions Long METRIC The number of interactions.
TrueviewAverageCpv Double METRIC The average amount you pay each time someone views your ad.
ValuePerAllConversions Double METRIC The value of all conversions divided by the number of all conversions.
ValuePerConversion Double METRIC The value of conversions divided by the number of conversions. This only
VideoQuartileP100Rate Double METRIC Percentage of impressions where the viewer watched all of your video.
VideoQuartileP25Rate Double METRIC Percentage of impressions where the viewer watched 25% of your video.
VideoQuartileP50Rate Double METRIC Percentage of impressions where the viewer watched 50% of your video.
VideoQuartileP75Rate Double METRIC Percentage of impressions where the viewer watched 75% of your video.
VideoTrueviewViewRate Double METRIC The number of TrueView views your video ad receives divided by its number
VideoTrueviewViews Long METRIC The number of TrueView views your video ads received.
ViewThroughConversions Long METRIC The total number of view-through conversions.
AdNetworkType String SEGMENT Ad network type.

The allowed values are CONTENT, DISCOVER, GMAIL, GOOGLE_OWNED_CHANNELS, GOOGLE_TV, MAPS, MIXED, SEARCH, SEARCH_PARTNERS, UNKNOWN, YOUTUBE.

AdSubNetworkType String SEGMENT Ad sub network type. Currently only available for ads running as part of

The allowed values are UNKNOWN, UNSEGMENTED, YOUTUBE_INFEED, YOUTUBE_INSTREAM, YOUTUBE_SHORTS.

ClickType String SEGMENT Click type.

The allowed values are AD_IMAGE, APP_DEEPLINK, BREADCRUMBS, BROADBAND_PLAN, CALLS, CALL_TRACKING, CLICK_ON_ENGAGEMENT_AD, CLICK_TO_MESSAGE_LANDING_PAGE_CLICK, CLICK_TO_MESSAGE_THIRD_PARTY_CLICK, CROSS_NETWORK, GET_DIRECTIONS, HOTEL_BOOK_ON_GOOGLE_ROOM_SELECTION, HOTEL_PRICE, LOCATION_EXPANSION, LOCATION_FORMAT_CALL, LOCATION_FORMAT_DIRECTIONS, LOCATION_FORMAT_IMAGE, LOCATION_FORMAT_LANDING_PAGE, LOCATION_FORMAT_MAP, LOCATION_FORMAT_STORE_INFO, LOCATION_FORMAT_TEXT, MOBILE_CALL_TRACKING, OFFER_PRINTS, OTHER, PRICE_EXTENSION, PRODUCT_AD_APP_DEEPLINK, PRODUCT_ASSETS, PRODUCT_EXTENSION_CLICKS, PRODUCT_LISTING_ADS_COUPON, PRODUCT_LISTING_AD_CLICKS, PRODUCT_LISTING_AD_LOCAL, PRODUCT_LISTING_AD_MULTICHANNEL_LOCAL, PRODUCT_LISTING_AD_MULTICHANNEL_ONLINE, PRODUCT_LISTING_AD_TRANSACTABLE, PROMOTION_EXTENSION, SHOPPING_COMPARISON_LISTING, SHOWCASE_AD_CATEGORY_LINK, SHOWCASE_AD_LOCAL_PRODUCT_LINK, SHOWCASE_AD_LOCAL_STOREFRONT_LINK, SHOWCASE_AD_ONLINE_PRODUCT_LINK, SITELINKS, STORE_LOCATOR, SWIPEABLE_GALLERY_AD_HEADLINE, SWIPEABLE_GALLERY_AD_SEE_MORE, SWIPEABLE_GALLERY_AD_SITELINK_FIVE, SWIPEABLE_GALLERY_AD_SITELINK_FOUR, SWIPEABLE_GALLERY_AD_SITELINK_ONE, SWIPEABLE_GALLERY_AD_SITELINK_THREE, SWIPEABLE_GALLERY_AD_SITELINK_TWO, SWIPEABLE_GALLERY_AD_SWIPES, TRAVEL_ASSETS, UNKNOWN, URL_CLICKS, VEHICLE_ASSETS, VIDEO_APP_STORE_CLICKS, VIDEO_CALL_TO_ACTION_CLICKS, VIDEO_CARD_ACTION_HEADLINE_CLICKS, VIDEO_CHANNEL_CLICK, VIDEO_END_CAP_CLICKS, VIDEO_RELATED_VIDEOS_CLICK, VIDEO_WEBSITE_CLICKS, VISUAL_SITELINKS, WIRELESS_PLAN.

ConversionAction String SEGMENT Resource name of the conversion action.
ConversionActionCategory String SEGMENT Conversion action category.

The allowed values are ADD_TO_CART, BEGIN_CHECKOUT, BOOK_APPOINTMENT, CONTACT, CONVERTED_LEAD, DEFAULT, DOWNLOAD, ENGAGEMENT, GET_DIRECTIONS, IMPORTED_LEAD, OUTBOUND_CLICK, PAGE_VIEW, PHONE_CALL_LEAD, PURCHASE, QUALIFIED_LEAD, REQUEST_QUOTE, SIGNUP, STORE_SALE, STORE_VISIT, SUBMIT_LEAD_FORM, SUBSCRIBE_PAID, UNKNOWN, YOUTUBE_FOLLOW_ON_VIEWS.

ConversionActionName String SEGMENT Conversion action name.
Date Date SEGMENT Date to which metrics apply.
DayOfWeek String SEGMENT Day of the week, for example, MONDAY.

The allowed values are FRIDAY, MONDAY, SATURDAY, SUNDAY, THURSDAY, TUESDAY, UNKNOWN, WEDNESDAY.

Device String SEGMENT Device to which metrics apply.

The allowed values are CONNECTED_TV, DESKTOP, MOBILE, OTHER, TABLET, UNKNOWN.

ExternalConversionSource String SEGMENT External conversion source.

The allowed values are AD_CALL_METRICS, ANALYTICS, ANALYTICS_SEARCH_ADS_360, ANDROID_FIRST_OPEN, ANDROID_IN_APP, APP_UNSPECIFIED, CLICK_TO_CALL, DISPLAY_AND_VIDEO_360_FLOODLIGHT, FIREBASE, FIREBASE_SEARCH_ADS_360, FLOODLIGHT, GOOGLE_ATTRIBUTION, GOOGLE_HOSTED, GOOGLE_PLAY, IOS_FIRST_OPEN, IOS_IN_APP, SALESFORCE, SEARCH_ADS_360, STORE_SALES, STORE_SALES_CRM, STORE_SALES_DIRECT_UPLOAD, STORE_SALES_PAYMENT_NETWORK, STORE_VISITS, THIRD_PARTY_APP_ANALYTICS, UNKNOWN, UPLOAD, UPLOAD_CALLS, WEBPAGE, WEBSITE_CALL_METRICS.

Month Date SEGMENT Month as represented by the date of the first day of a month. Formatted as
MonthOfYear String SEGMENT Month of the year, for example, January.

The allowed values are APRIL, AUGUST, DECEMBER, FEBRUARY, JANUARY, JULY, JUNE, MARCH, MAY, NOVEMBER, OCTOBER, SEPTEMBER, UNKNOWN.

Period String SEGMENT Predefined date range.

The allowed values are TODAY, YESTERDAY, LAST_7_DAYS, LAST_BUSINESS_WEEK, THIS_MONTH, LAST_MONTH, LAST_14_DAYS, LAST_30_DAYS, THIS_WEEK_SUN_TODAY, THIS_WEEK_MON_TODAY, LAST_WEEK_SUN_SAT, LAST_WEEK_MON_SUN.

Quarter Date SEGMENT Quarter as represented by the date of the first day of a quarter.
Week Date SEGMENT Week as defined as Monday through Sunday, and represented by the date of
Year Int SEGMENT Year, formatted as yyyy.

Pseudo-Columns

Pseudo column fields are used in the WHERE clause of SELECT statements and offer more granular control over the data returned from the data source.

Name Type Description
ManagerId Long Id of the manager account on behalf of which you are requesting customer data.

CData Python Connector for Google Ads

MatchedLocationInterestView

A view that reports metrics for locations where users showed interest, and

Columns

Name Type Behavior Description
AdGroupId Long SEGMENT Output only. The ID of the ad group.
CampaignId Long SEGMENT Output only. The ID of the campaign.
CustomerId Long ATTRIBUTE Output only. The ID of the customer.
MatchedLocationInterestViewResourceName String ATTRIBUTE Output only. The resource name of the matched location interest view.
AllConversions Double METRIC The total number of conversions. This includes all conversions regardless
AllConversionsFromInteractionsRate Double METRIC All conversions from interactions (as oppose to view through conversions)
AllConversionsValue Double METRIC The value of all conversions.
AverageCost Double METRIC The average amount you pay per interaction. This amount is the total cost
AverageCpc Double METRIC The total cost of all clicks divided by the total number of clicks
AverageCpm Double METRIC Average cost-per-thousand impressions (CPM).
Clicks Long METRIC The number of clicks.
Conversions Double METRIC The number of conversions. This only includes conversion actions which
ConversionsFromInteractionsRate Double METRIC Conversions from interactions divided by the number of ad interactions
ConversionsValue Double METRIC The value of conversions. This only includes conversion actions which
CostMicros Long METRIC The sum of your cost-per-click (CPC) and cost-per-thousand impressions
CostPerAllConversions Double METRIC The cost of ad interactions divided by all conversions.
CostPerConversion Double METRIC The cost of ad interactions divided by conversions. This only includes
Ctr Double METRIC The number of clicks your ad receives (Clicks) divided by the number
Impressions Long METRIC Count of how often your ad has appeared on a search results page or
InteractionEventTypes String METRIC The types of payable and free interactions.

The allowed values are CLICK, ENGAGEMENT, NONE, UNKNOWN, VIDEO_VIEW.

InteractionRate Double METRIC How often people interact with your ad after it is shown to them.
Interactions Long METRIC The number of interactions.
ValuePerAllConversions Double METRIC The value of all conversions divided by the number of all conversions.
ValuePerConversion Double METRIC The value of conversions divided by the number of conversions. This only
AdNetworkType String SEGMENT Ad network type.

The allowed values are CONTENT, DISCOVER, GMAIL, GOOGLE_OWNED_CHANNELS, GOOGLE_TV, MAPS, MIXED, SEARCH, SEARCH_PARTNERS, UNKNOWN, YOUTUBE.

AdSubNetworkType String SEGMENT Ad sub network type. Currently only available for ads running as part of

The allowed values are UNKNOWN, UNSEGMENTED, YOUTUBE_INFEED, YOUTUBE_INSTREAM, YOUTUBE_SHORTS.

ConversionAction String SEGMENT Resource name of the conversion action.
ConversionActionCategory String SEGMENT Conversion action category.

The allowed values are ADD_TO_CART, BEGIN_CHECKOUT, BOOK_APPOINTMENT, CONTACT, CONVERTED_LEAD, DEFAULT, DOWNLOAD, ENGAGEMENT, GET_DIRECTIONS, IMPORTED_LEAD, OUTBOUND_CLICK, PAGE_VIEW, PHONE_CALL_LEAD, PURCHASE, QUALIFIED_LEAD, REQUEST_QUOTE, SIGNUP, STORE_SALE, STORE_VISIT, SUBMIT_LEAD_FORM, SUBSCRIBE_PAID, UNKNOWN, YOUTUBE_FOLLOW_ON_VIEWS.

ConversionActionName String SEGMENT Conversion action name.
Date Date SEGMENT Date to which metrics apply.
DayOfWeek String SEGMENT Day of the week, for example, MONDAY.

The allowed values are FRIDAY, MONDAY, SATURDAY, SUNDAY, THURSDAY, TUESDAY, UNKNOWN, WEDNESDAY.

Device String SEGMENT Device to which metrics apply.

The allowed values are CONNECTED_TV, DESKTOP, MOBILE, OTHER, TABLET, UNKNOWN.

ExternalConversionSource String SEGMENT External conversion source.

The allowed values are AD_CALL_METRICS, ANALYTICS, ANALYTICS_SEARCH_ADS_360, ANDROID_FIRST_OPEN, ANDROID_IN_APP, APP_UNSPECIFIED, CLICK_TO_CALL, DISPLAY_AND_VIDEO_360_FLOODLIGHT, FIREBASE, FIREBASE_SEARCH_ADS_360, FLOODLIGHT, GOOGLE_ATTRIBUTION, GOOGLE_HOSTED, GOOGLE_PLAY, IOS_FIRST_OPEN, IOS_IN_APP, SALESFORCE, SEARCH_ADS_360, STORE_SALES, STORE_SALES_CRM, STORE_SALES_DIRECT_UPLOAD, STORE_SALES_PAYMENT_NETWORK, STORE_VISITS, THIRD_PARTY_APP_ANALYTICS, UNKNOWN, UPLOAD, UPLOAD_CALLS, WEBPAGE, WEBSITE_CALL_METRICS.

GeoTargetAirport String SEGMENT Resource name of the geo target constant that represents an airport.
GeoTargetCanton String SEGMENT Resource name of the geo target constant that represents a canton.
GeoTargetCity String SEGMENT Resource name of the geo target constant that represents a city.
GeoTargetCounty String SEGMENT Resource name of the geo target constant that represents a county.
GeoTargetDistrict String SEGMENT Resource name of the geo target constant that represents a district.
GeoTargetMetro String SEGMENT Resource name of the geo target constant that represents a metro.
GeoTargetMostSpecificLocation String SEGMENT Resource name of the geo target constant that represents the most
GeoTargetPostalCode String SEGMENT Resource name of the geo target constant that represents a postal code.
GeoTargetProvince String SEGMENT Resource name of the geo target constant that represents a province.
GeoTargetRegion String SEGMENT Resource name of the geo target constant that represents a region.
GeoTargetState String SEGMENT Resource name of the geo target constant that represents a state.
Month Date SEGMENT Month as represented by the date of the first day of a month. Formatted as
MonthOfYear String SEGMENT Month of the year, for example, January.

The allowed values are APRIL, AUGUST, DECEMBER, FEBRUARY, JANUARY, JULY, JUNE, MARCH, MAY, NOVEMBER, OCTOBER, SEPTEMBER, UNKNOWN.

Period String SEGMENT Predefined date range.

The allowed values are TODAY, YESTERDAY, LAST_7_DAYS, LAST_BUSINESS_WEEK, THIS_MONTH, LAST_MONTH, LAST_14_DAYS, LAST_30_DAYS, THIS_WEEK_SUN_TODAY, THIS_WEEK_MON_TODAY, LAST_WEEK_SUN_SAT, LAST_WEEK_MON_SUN.

Quarter Date SEGMENT Quarter as represented by the date of the first day of a quarter.
Week Date SEGMENT Week as defined as Monday through Sunday, and represented by the date of
Year Int SEGMENT Year, formatted as yyyy.

Pseudo-Columns

Pseudo column fields are used in the WHERE clause of SELECT statements and offer more granular control over the data returned from the data source.

Name Type Description
ManagerId Long Id of the manager account on behalf of which you are requesting customer data.

CData Python Connector for Google Ads

MediaFile

A media file.

Columns

Name Type Behavior Description
CustomerId Long ATTRIBUTE Output only. The ID of the customer.
MediaFileAudioAdDurationMillis Long ATTRIBUTE Output only. The duration of the Audio in milliseconds.
MediaFileFileSize Long ATTRIBUTE Output only. The size of the media file in bytes.
MediaFileId Long ATTRIBUTE Output only. The ID of the media file.
MediaFileImageFullSizeImageUrl String ATTRIBUTE Output only. The url to the full size version of the image.
MediaFileImagePreviewSizeImageUrl String ATTRIBUTE Output only. The url to the preview size version of the image.
MediaFileMediaBundleUrl String ATTRIBUTE Output only. The url to access the uploaded zipped data. For example, https://tpc.googlesyndication.com/simgad/123 This field is read-only.
MediaFileMimeType String ATTRIBUTE Output only. The mime type of the media file.

The allowed values are AUDIO_MP3, AUDIO_WAV, FLASH, HTML5_AD_ZIP, IMAGE_GIF, IMAGE_JPEG, IMAGE_PNG, MSEXCEL, MSWORD, PDF, RTF, TEXT_HTML, UNKNOWN.

MediaFileName String ATTRIBUTE Immutable. The name of the media file. The name can be used by clients to
MediaFileResourceName String ATTRIBUTE Immutable. The resource name of the media file.
MediaFileSourceUrl String ATTRIBUTE Immutable. The URL of where the original media file was downloaded from (or
MediaFileType String ATTRIBUTE Immutable. Type of the media file.

The allowed values are AUDIO, DYNAMIC_IMAGE, ICON, IMAGE, MEDIA_BUNDLE, UNKNOWN, VIDEO.

MediaFileVideoAdDurationMillis Long ATTRIBUTE Output only. The duration of the Video in milliseconds.
MediaFileVideoAdvertisingIdCode String ATTRIBUTE Output only. The Advertising Digital Identification code for this video, as defined by the American Association of Advertising Agencies, used mainly for television commercials.
MediaFileVideoIsciCode String ATTRIBUTE Output only. The Industry Standard Commercial Identifier code for this video, used mainly for television commercials.
MediaFileVideoYoutubeVideoId String ATTRIBUTE Immutable. The YouTube video ID (as seen in YouTube URLs). Adding prefix 'https://www.youtube.com/watch?v=' to this ID will get the YouTube streaming URL for this video.

Pseudo-Columns

Pseudo column fields are used in the WHERE clause of SELECT statements and offer more granular control over the data returned from the data source.

Name Type Description
ManagerId Long Id of the manager account on behalf of which you are requesting customer data.

CData Python Connector for Google Ads

MobileAppCategoryConstant

A mobile application category constant.

Columns

Name Type Behavior Description
CustomerId Long ATTRIBUTE Output only. The ID of the customer.
MobileAppCategoryConstantId Int ATTRIBUTE Output only. The ID of the mobile app category constant.
MobileAppCategoryConstantName String ATTRIBUTE Output only. Mobile app category name.
MobileAppCategoryConstantResourceName String ATTRIBUTE Output only. The resource name of the mobile app category constant.

Pseudo-Columns

Pseudo column fields are used in the WHERE clause of SELECT statements and offer more granular control over the data returned from the data source.

Name Type Description
ManagerId Long Id of the manager account on behalf of which you are requesting customer data.

CData Python Connector for Google Ads

MobileDeviceConstant

A mobile device constant.

Columns

Name Type Behavior Description
CustomerId Long ATTRIBUTE Output only. The ID of the customer.
MobileDeviceConstantId Long ATTRIBUTE Output only. The ID of the mobile device constant.
MobileDeviceConstantManufacturerName String ATTRIBUTE Output only. The manufacturer of the mobile device.
MobileDeviceConstantName String ATTRIBUTE Output only. The name of the mobile device.
MobileDeviceConstantOperatingSystemName String ATTRIBUTE Output only. The operating system of the mobile device.
MobileDeviceConstantResourceName String ATTRIBUTE Output only. The resource name of the mobile device constant.
MobileDeviceConstantType String ATTRIBUTE Output only. The type of mobile device.

The allowed values are MOBILE, TABLET, UNKNOWN.

Pseudo-Columns

Pseudo column fields are used in the WHERE clause of SELECT statements and offer more granular control over the data returned from the data source.

Name Type Description
ManagerId Long Id of the manager account on behalf of which you are requesting customer data.

CData Python Connector for Google Ads

OfflineConversionUploadClientSummary

Offline conversion upload summary at customer level.

Columns

Name Type Behavior Description
CustomerId Long ATTRIBUTE Output only. The ID of the customer.
OfflineConversionUploadClientSummaryAlerts String ATTRIBUTE Output only. Details for each error code. Alerts are generated from most
OfflineConversionUploadClientSummaryClient String ATTRIBUTE Output only. Client type of the upload event.

The allowed values are ADS_DATA_CONNECTOR, GOOGLE_ADS_API, GOOGLE_ADS_WEB_CLIENT, UNKNOWN.

OfflineConversionUploadClientSummaryDailySummaries String ATTRIBUTE Output only. Summary of history stats by last N days.
OfflineConversionUploadClientSummaryJobSummaries String ATTRIBUTE Output only. Summary of history stats by last N jobs.
OfflineConversionUploadClientSummaryLastUploadDateTime Datetime ATTRIBUTE Output only. Date for the latest upload batch. The format is 'yyyy-mm-dd
OfflineConversionUploadClientSummaryPendingEventCount Long ATTRIBUTE Output only. Total count of pending uploaded events.
OfflineConversionUploadClientSummaryPendingRate Double ATTRIBUTE Output only. The ratio of total pending events to total events.
OfflineConversionUploadClientSummaryResourceName String ATTRIBUTE Output only. The resource name of the offline conversion upload summary at
OfflineConversionUploadClientSummaryStatus String ATTRIBUTE Output only. Overall status for offline conversion client summary. Status

The allowed values are EXCELLENT, GOOD, NEEDS_ATTENTION, NO_RECENT_UPLOAD, UNKNOWN.

OfflineConversionUploadClientSummarySuccessRate Double ATTRIBUTE Output only. Successful rate.
OfflineConversionUploadClientSummarySuccessfulEventCount Long ATTRIBUTE Output only. Total count of successful uploaded events.
OfflineConversionUploadClientSummaryTotalEventCount Long ATTRIBUTE Output only. Total count of uploaded events.

Pseudo-Columns

Pseudo column fields are used in the WHERE clause of SELECT statements and offer more granular control over the data returned from the data source.

Name Type Description
ManagerId Long Id of the manager account on behalf of which you are requesting customer data.

CData Python Connector for Google Ads

OfflineConversionUploadConversionActionSummary

Offline conversion upload summary at conversion action level.

Columns

Name Type Behavior Description
CustomerId Long ATTRIBUTE Output only. The ID of the customer.
OfflineConversionUploadConversionActionSummaryAlerts String ATTRIBUTE Output only. Details for each error code. Alerts are generated from most
OfflineConversionUploadConversionActionSummaryClient String ATTRIBUTE Output only. Client type of the upload event.

The allowed values are ADS_DATA_CONNECTOR, GOOGLE_ADS_API, GOOGLE_ADS_WEB_CLIENT, UNKNOWN.

OfflineConversionUploadConversionActionSummaryConversionActionId Long ATTRIBUTE Output only. Conversion action id.
OfflineConversionUploadConversionActionSummaryConversionActionName String ATTRIBUTE Output only. The name of the conversion action.
OfflineConversionUploadConversionActionSummaryDailySummaries String ATTRIBUTE Output only. Summary of history stats by last N days.
OfflineConversionUploadConversionActionSummaryJobSummaries String ATTRIBUTE Output only. Summary of history stats by last N jobs.
OfflineConversionUploadConversionActionSummaryLastUploadDateTime Datetime ATTRIBUTE Output only. Date for the latest upload batch. The format is 'yyyy-mm-dd
OfflineConversionUploadConversionActionSummaryPendingEventCount Long ATTRIBUTE Output only. Total count of pending uploaded events.
OfflineConversionUploadConversionActionSummaryResourceName String ATTRIBUTE Output only. The resource name of the offline conversion upload summary at
OfflineConversionUploadConversionActionSummaryStatus String ATTRIBUTE Output only. Overall status for offline conversion upload conversion action

The allowed values are EXCELLENT, GOOD, NEEDS_ATTENTION, NO_RECENT_UPLOAD, UNKNOWN.

OfflineConversionUploadConversionActionSummarySuccessfulEventCount Long ATTRIBUTE Output only. Total count of successful uploaded events.
OfflineConversionUploadConversionActionSummaryTotalEventCount Long ATTRIBUTE Output only. Total count of uploaded events.

Pseudo-Columns

Pseudo column fields are used in the WHERE clause of SELECT statements and offer more granular control over the data returned from the data source.

Name Type Description
ManagerId Long Id of the manager account on behalf of which you are requesting customer data.

CData Python Connector for Google Ads

OfflineUserDataJob

A job containing offline user data of store visitors, or user list members

Columns

Name Type Behavior Description
CustomerId Long ATTRIBUTE Output only. The ID of the customer.
OfflineUserDataJobCustomerMatchUserListMetadataUserList String ATTRIBUTE The resource name of remarketing list to update data. Required for job of CUSTOMER_MATCH_USER_LIST type.
OfflineUserDataJobExternalId Long ATTRIBUTE Immutable. User specified job ID.
OfflineUserDataJobFailureReason String ATTRIBUTE Output only. Reason for the processing failure, if status is FAILED.

The allowed values are HIGH_AVERAGE_TRANSACTION_VALUE, INSUFFICIENT_MATCHED_TRANSACTIONS, INSUFFICIENT_TRANSACTIONS, LOW_AVERAGE_TRANSACTION_VALUE, NEWLY_OBSERVED_CURRENCY_CODE, UNKNOWN.

OfflineUserDataJobId Long ATTRIBUTE Output only. ID of this offline user data job.
OfflineUserDataJobOperationMetadataMatchRateRange String ATTRIBUTE Output only. Match rate of the Customer Match user list upload. Describes the estimated match rate when the status of the job is 'RUNNING' and final match rate when the final match rate is available after the status of the job is 'SUCCESS/FAILED'.

The allowed values are MATCH_RANGE_20_TO_30, MATCH_RANGE_31_TO_40, MATCH_RANGE_41_TO_50, MATCH_RANGE_51_TO_60, MATCH_RANGE_61_TO_70, MATCH_RANGE_71_TO_80, MATCH_RANGE_81_TO_90, MATCH_RANGE_91_TO_100, MATCH_RANGE_LESS_THAN_20, UNKNOWN.

OfflineUserDataJobResourceName String ATTRIBUTE Immutable. The resource name of the offline user data job.
OfflineUserDataJobStatus String ATTRIBUTE Output only. Status of the job.

The allowed values are FAILED, PENDING, RUNNING, SUCCESS, UNKNOWN.

OfflineUserDataJobStoreSalesMetadataLoyaltyFraction Double ATTRIBUTE This is the fraction of all transactions that are identifiable (for example, associated with any form of customer information). Required. The fraction needs to be between 0 and 1 (excluding 0).
OfflineUserDataJobStoreSalesMetadataThirdPartyMetadataAdvertiserUploadDateTime Datetime ATTRIBUTE Time the advertiser uploaded the data to the partner. Required. The format is 'YYYY-MM-DD HH:MM:SS'. Examples: '2018-03-05 09:15:00' or '2018-02-01 14:34:30'
OfflineUserDataJobStoreSalesMetadataThirdPartyMetadataBridgeMapVersionId String ATTRIBUTE Version of partner IDs to be used for uploads. Required.
OfflineUserDataJobStoreSalesMetadataThirdPartyMetadataPartnerId Long ATTRIBUTE ID of the third party partner updating the transaction feed.
OfflineUserDataJobStoreSalesMetadataThirdPartyMetadataPartnerMatchFraction Double ATTRIBUTE The fraction of valid transactions that are matched to a third party assigned user ID on the partner side. Required. The fraction needs to be between 0 and 1 (excluding 0).
OfflineUserDataJobStoreSalesMetadataThirdPartyMetadataPartnerUploadFraction Double ATTRIBUTE The fraction of valid transactions that are uploaded by the partner to Google. Required. The fraction needs to be between 0 and 1 (excluding 0).
OfflineUserDataJobStoreSalesMetadataThirdPartyMetadataValidTransactionFraction Double ATTRIBUTE The fraction of transactions that are valid. Invalid transactions may include invalid formats or values. Required. The fraction needs to be between 0 and 1 (excluding 0).
OfflineUserDataJobStoreSalesMetadataTransactionUploadFraction Double ATTRIBUTE This is the ratio of sales being uploaded compared to the overall sales that can be associated with a customer. Required. The fraction needs to be between 0 and 1 (excluding 0). For example, if you upload half the sales that you are able to associate with a customer, this would be 0.5.
OfflineUserDataJobType String ATTRIBUTE Immutable. Type of the job.

The allowed values are CUSTOMER_MATCH_USER_LIST, CUSTOMER_MATCH_WITH_ATTRIBUTES, STORE_SALES_UPLOAD_FIRST_PARTY, STORE_SALES_UPLOAD_THIRD_PARTY, UNKNOWN.

Pseudo-Columns

Pseudo column fields are used in the WHERE clause of SELECT statements and offer more granular control over the data returned from the data source.

Name Type Description
ManagerId Long Id of the manager account on behalf of which you are requesting customer data.

CData Python Connector for Google Ads

OperatingSystemVersionConstant

A mobile operating system version or a range of versions, depending on

Columns

Name Type Behavior Description
CustomerId Long ATTRIBUTE Output only. The ID of the customer.
OperatingSystemVersionConstantId Long ATTRIBUTE Output only. The ID of the operating system version.
OperatingSystemVersionConstantName String ATTRIBUTE Output only. Name of the operating system.
OperatingSystemVersionConstantOperatorType String ATTRIBUTE Output only. Determines whether this constant represents a single version

The allowed values are EQUALS_TO, GREATER_THAN_EQUALS_TO, UNKNOWN.

OperatingSystemVersionConstantOsMajorVersion Int ATTRIBUTE Output only. The OS Major Version number.
OperatingSystemVersionConstantOsMinorVersion Int ATTRIBUTE Output only. The OS Minor Version number.
OperatingSystemVersionConstantResourceName String ATTRIBUTE Output only. The resource name of the operating system version constant.

Pseudo-Columns

Pseudo column fields are used in the WHERE clause of SELECT statements and offer more granular control over the data returned from the data source.

Name Type Description
ManagerId Long Id of the manager account on behalf of which you are requesting customer data.

CData Python Connector for Google Ads

PaidOrganicSearchTermView

A paid organic search term view providing a view of search stats across

View-Specific Information

Select

Google Ads does not allow every column to be selected in a single query, as some data conflicts if selected together. Therefore, when issuing a query that selects all columns, only the default metrics, segments, and attributes are returned. In general, these defaults are the same fields that are exposed through the Ads console. To use the nondefault fields, explicitly select them in your query.

Filters can also be used in the WHERE clause using the following supported operators: =, !=, >, >=, <, <=, LIKE, NOT LIKE, IN, NOT IN . Note that all filters must be joined by AND, as OR is not supported by the Ads API.

Columns

Name Type Behavior Description
CustomerId Long ATTRIBUTE Output only. The ID of the customer.
PaidOrganicSearchTermViewResourceName String ATTRIBUTE Output only. The resource name of the search term view.
PaidOrganicSearchTermViewSearchTerm String ATTRIBUTE Output only. The search term.
AverageCpc Double METRIC The total cost of all clicks divided by the total number of clicks
Clicks Long METRIC The number of clicks.
CombinedClicks Long METRIC The number of times your ad or your site's listing in the unpaid
CombinedClicksPerQuery Double METRIC The number of times your ad or your site's listing in the unpaid
CombinedQueries Long METRIC The number of searches that returned pages from your site in the unpaid
Ctr Double METRIC The number of clicks your ad receives (Clicks) divided by the number
Impressions Long METRIC Count of how often your ad has appeared on a search results page or
OrganicClicks Long METRIC The number of times someone clicked your site's listing in the unpaid
OrganicClicksPerQuery Double METRIC The number of times someone clicked your site's listing in the unpaid
OrganicImpressions Long METRIC The number of listings for your site in the unpaid search results. See the
OrganicImpressionsPerQuery Double METRIC The number of times a page from your site was listed in the unpaid search
OrganicQueries Long METRIC The total number of searches that returned your site's listing in the
Date Date SEGMENT Date to which metrics apply.
DayOfWeek String SEGMENT Day of the week, for example, MONDAY.

The allowed values are FRIDAY, MONDAY, SATURDAY, SUNDAY, THURSDAY, TUESDAY, UNKNOWN, WEDNESDAY.

Device String SEGMENT Device to which metrics apply.

The allowed values are CONNECTED_TV, DESKTOP, MOBILE, OTHER, TABLET, UNKNOWN.

KeywordAdGroupCriterion String SEGMENT The AdGroupCriterion resource name.
KeywordInfoMatchType String SEGMENT The match type of the keyword.

The allowed values are BROAD, EXACT, PHRASE, UNKNOWN.

KeywordInfoText String SEGMENT The text of the keyword (at most 80 characters and 10 words).
Month Date SEGMENT Month as represented by the date of the first day of a month. Formatted as
MonthOfYear String SEGMENT Month of the year, for example, January.

The allowed values are APRIL, AUGUST, DECEMBER, FEBRUARY, JANUARY, JULY, JUNE, MARCH, MAY, NOVEMBER, OCTOBER, SEPTEMBER, UNKNOWN.

Period String SEGMENT Predefined date range.

The allowed values are TODAY, YESTERDAY, LAST_7_DAYS, LAST_BUSINESS_WEEK, THIS_MONTH, LAST_MONTH, LAST_14_DAYS, LAST_30_DAYS, THIS_WEEK_SUN_TODAY, THIS_WEEK_MON_TODAY, LAST_WEEK_SUN_SAT, LAST_WEEK_MON_SUN.

Quarter Date SEGMENT Quarter as represented by the date of the first day of a quarter.
SearchEngineResultsPageType String SEGMENT Type of the search engine results page.

The allowed values are ADS_AND_ORGANIC, ADS_ONLY, ORGANIC_ONLY, UNKNOWN.

Week Date SEGMENT Week as defined as Monday through Sunday, and represented by the date of
Year Int SEGMENT Year, formatted as yyyy.

Pseudo-Columns

Pseudo column fields are used in the WHERE clause of SELECT statements and offer more granular control over the data returned from the data source.

Name Type Description
ManagerId Long Id of the manager account on behalf of which you are requesting customer data.

CData Python Connector for Google Ads

ParentalStatusView

A parental status view.

View-Specific Information

Select

Google Ads does not allow every column to be selected in a single query, as some data conflicts if selected together. Therefore, when issuing a query that selects all columns, only the default metrics, segments, and attributes are returned. In general, these defaults are the same fields that are exposed through the Ads console. To use the nondefault fields, explicitly select them in your query.

Filters can also be used in the WHERE clause using the following supported operators: =, !=, >, >=, <, <=, LIKE, NOT LIKE, IN, NOT IN . Note that all filters must be joined by AND, as OR is not supported by the Ads API.

Columns

Name Type Behavior Description
CustomerId Long ATTRIBUTE Output only. The ID of the customer.
ParentalStatusViewResourceName String ATTRIBUTE Output only. The resource name of the parental status view.
ActiveViewCpm Double METRIC Average cost of viewable impressions (active_view_impressions).
ActiveViewCtr Double METRIC Active view measurable clicks divided by active view viewable impressions.
ActiveViewImpressions Long METRIC A measurement of how often your ad has become viewable on a Display
ActiveViewMeasurability Double METRIC The ratio of impressions that could be measured by Active View over the
ActiveViewMeasurableCostMicros Long METRIC The cost of the impressions you received that were measurable by Active
ActiveViewMeasurableImpressions Long METRIC The number of times your ads are appearing on placements in positions
ActiveViewViewability Double METRIC The percentage of time when your ad appeared on an Active View enabled site
AllConversions Double METRIC The total number of conversions. This includes all conversions regardless
AllConversionsFromInteractionsRate Double METRIC All conversions from interactions (as oppose to view through conversions)
AllConversionsFromInteractionsValuePerInteraction Double METRIC The value of all conversions from interactions divided by the total number
AllConversionsValue Double METRIC The value of all conversions.
AllConversionsValuePerCost Double METRIC The value of all conversions divided by the total cost of ad interactions
AverageCost Double METRIC The average amount you pay per interaction. This amount is the total cost
AverageCpc Double METRIC The total cost of all clicks divided by the total number of clicks
AverageCpe Double METRIC The average amount that you've been charged for an ad engagement. This
AverageCpm Double METRIC Average cost-per-thousand impressions (CPM).
Clicks Long METRIC The number of clicks.
Conversions Double METRIC The number of conversions. This only includes conversion actions which
ConversionsFromInteractionsRate Double METRIC Conversions from interactions divided by the number of ad interactions
ConversionsValue Double METRIC The value of conversions. This only includes conversion actions which
CostMicros Long METRIC The sum of your cost-per-click (CPC) and cost-per-thousand impressions
CostPerAllConversions Double METRIC The cost of ad interactions divided by all conversions.
CostPerConversion Double METRIC The cost of ad interactions divided by conversions. This only includes
CrossDeviceConversions Double METRIC Conversions from when a customer clicks on a Google Ads ad on one device,
Ctr Double METRIC The number of clicks your ad receives (Clicks) divided by the number
EngagementRate Double METRIC How often people engage with your ad after it's shown to them. This is the
Engagements Long METRIC The number of engagements.
GmailForwards Long METRIC The number of times the ad was forwarded to someone else as a message.
GmailSaves Long METRIC The number of times someone has saved your Gmail ad to their inbox as a
GmailSecondaryClicks Long METRIC The number of clicks to the landing page on the expanded state of Gmail
Impressions Long METRIC Count of how often your ad has appeared on a search results page or
InteractionEventTypes String METRIC The types of payable and free interactions.

The allowed values are CLICK, ENGAGEMENT, NONE, UNKNOWN, VIDEO_VIEW.

InteractionRate Double METRIC How often people interact with your ad after it is shown to them.
Interactions Long METRIC The number of interactions.
TrueviewAverageCpv Double METRIC The average amount you pay each time someone views your ad.
ValuePerAllConversions Double METRIC The value of all conversions divided by the number of all conversions.
ValuePerConversion Double METRIC The value of conversions divided by the number of conversions. This only
VideoQuartileP100Rate Double METRIC Percentage of impressions where the viewer watched all of your video.
VideoQuartileP25Rate Double METRIC Percentage of impressions where the viewer watched 25% of your video.
VideoQuartileP50Rate Double METRIC Percentage of impressions where the viewer watched 50% of your video.
VideoQuartileP75Rate Double METRIC Percentage of impressions where the viewer watched 75% of your video.
VideoTrueviewViewRate Double METRIC The number of TrueView views your video ad receives divided by its number
VideoTrueviewViews Long METRIC The number of TrueView views your video ads received.
ViewThroughConversions Long METRIC The total number of view-through conversions.
AdNetworkType String SEGMENT Ad network type.

The allowed values are CONTENT, DISCOVER, GMAIL, GOOGLE_OWNED_CHANNELS, GOOGLE_TV, MAPS, MIXED, SEARCH, SEARCH_PARTNERS, UNKNOWN, YOUTUBE.

AdSubNetworkType String SEGMENT Ad sub network type. Currently only available for ads running as part of

The allowed values are UNKNOWN, UNSEGMENTED, YOUTUBE_INFEED, YOUTUBE_INSTREAM, YOUTUBE_SHORTS.

ClickType String SEGMENT Click type.

The allowed values are AD_IMAGE, APP_DEEPLINK, BREADCRUMBS, BROADBAND_PLAN, CALLS, CALL_TRACKING, CLICK_ON_ENGAGEMENT_AD, CLICK_TO_MESSAGE_LANDING_PAGE_CLICK, CLICK_TO_MESSAGE_THIRD_PARTY_CLICK, CROSS_NETWORK, GET_DIRECTIONS, HOTEL_BOOK_ON_GOOGLE_ROOM_SELECTION, HOTEL_PRICE, LOCATION_EXPANSION, LOCATION_FORMAT_CALL, LOCATION_FORMAT_DIRECTIONS, LOCATION_FORMAT_IMAGE, LOCATION_FORMAT_LANDING_PAGE, LOCATION_FORMAT_MAP, LOCATION_FORMAT_STORE_INFO, LOCATION_FORMAT_TEXT, MOBILE_CALL_TRACKING, OFFER_PRINTS, OTHER, PRICE_EXTENSION, PRODUCT_AD_APP_DEEPLINK, PRODUCT_ASSETS, PRODUCT_EXTENSION_CLICKS, PRODUCT_LISTING_ADS_COUPON, PRODUCT_LISTING_AD_CLICKS, PRODUCT_LISTING_AD_LOCAL, PRODUCT_LISTING_AD_MULTICHANNEL_LOCAL, PRODUCT_LISTING_AD_MULTICHANNEL_ONLINE, PRODUCT_LISTING_AD_TRANSACTABLE, PROMOTION_EXTENSION, SHOPPING_COMPARISON_LISTING, SHOWCASE_AD_CATEGORY_LINK, SHOWCASE_AD_LOCAL_PRODUCT_LINK, SHOWCASE_AD_LOCAL_STOREFRONT_LINK, SHOWCASE_AD_ONLINE_PRODUCT_LINK, SITELINKS, STORE_LOCATOR, SWIPEABLE_GALLERY_AD_HEADLINE, SWIPEABLE_GALLERY_AD_SEE_MORE, SWIPEABLE_GALLERY_AD_SITELINK_FIVE, SWIPEABLE_GALLERY_AD_SITELINK_FOUR, SWIPEABLE_GALLERY_AD_SITELINK_ONE, SWIPEABLE_GALLERY_AD_SITELINK_THREE, SWIPEABLE_GALLERY_AD_SITELINK_TWO, SWIPEABLE_GALLERY_AD_SWIPES, TRAVEL_ASSETS, UNKNOWN, URL_CLICKS, VEHICLE_ASSETS, VIDEO_APP_STORE_CLICKS, VIDEO_CALL_TO_ACTION_CLICKS, VIDEO_CARD_ACTION_HEADLINE_CLICKS, VIDEO_CHANNEL_CLICK, VIDEO_END_CAP_CLICKS, VIDEO_RELATED_VIDEOS_CLICK, VIDEO_WEBSITE_CLICKS, VISUAL_SITELINKS, WIRELESS_PLAN.

ConversionAction String SEGMENT Resource name of the conversion action.
ConversionActionCategory String SEGMENT Conversion action category.

The allowed values are ADD_TO_CART, BEGIN_CHECKOUT, BOOK_APPOINTMENT, CONTACT, CONVERTED_LEAD, DEFAULT, DOWNLOAD, ENGAGEMENT, GET_DIRECTIONS, IMPORTED_LEAD, OUTBOUND_CLICK, PAGE_VIEW, PHONE_CALL_LEAD, PURCHASE, QUALIFIED_LEAD, REQUEST_QUOTE, SIGNUP, STORE_SALE, STORE_VISIT, SUBMIT_LEAD_FORM, SUBSCRIBE_PAID, UNKNOWN, YOUTUBE_FOLLOW_ON_VIEWS.

ConversionActionName String SEGMENT Conversion action name.
Date Date SEGMENT Date to which metrics apply.
DayOfWeek String SEGMENT Day of the week, for example, MONDAY.

The allowed values are FRIDAY, MONDAY, SATURDAY, SUNDAY, THURSDAY, TUESDAY, UNKNOWN, WEDNESDAY.

Device String SEGMENT Device to which metrics apply.

The allowed values are CONNECTED_TV, DESKTOP, MOBILE, OTHER, TABLET, UNKNOWN.

ExternalConversionSource String SEGMENT External conversion source.

The allowed values are AD_CALL_METRICS, ANALYTICS, ANALYTICS_SEARCH_ADS_360, ANDROID_FIRST_OPEN, ANDROID_IN_APP, APP_UNSPECIFIED, CLICK_TO_CALL, DISPLAY_AND_VIDEO_360_FLOODLIGHT, FIREBASE, FIREBASE_SEARCH_ADS_360, FLOODLIGHT, GOOGLE_ATTRIBUTION, GOOGLE_HOSTED, GOOGLE_PLAY, IOS_FIRST_OPEN, IOS_IN_APP, SALESFORCE, SEARCH_ADS_360, STORE_SALES, STORE_SALES_CRM, STORE_SALES_DIRECT_UPLOAD, STORE_SALES_PAYMENT_NETWORK, STORE_VISITS, THIRD_PARTY_APP_ANALYTICS, UNKNOWN, UPLOAD, UPLOAD_CALLS, WEBPAGE, WEBSITE_CALL_METRICS.

Month Date SEGMENT Month as represented by the date of the first day of a month. Formatted as
MonthOfYear String SEGMENT Month of the year, for example, January.

The allowed values are APRIL, AUGUST, DECEMBER, FEBRUARY, JANUARY, JULY, JUNE, MARCH, MAY, NOVEMBER, OCTOBER, SEPTEMBER, UNKNOWN.

Period String SEGMENT Predefined date range.

The allowed values are TODAY, YESTERDAY, LAST_7_DAYS, LAST_BUSINESS_WEEK, THIS_MONTH, LAST_MONTH, LAST_14_DAYS, LAST_30_DAYS, THIS_WEEK_SUN_TODAY, THIS_WEEK_MON_TODAY, LAST_WEEK_SUN_SAT, LAST_WEEK_MON_SUN.

Quarter Date SEGMENT Quarter as represented by the date of the first day of a quarter.
Week Date SEGMENT Week as defined as Monday through Sunday, and represented by the date of
Year Int SEGMENT Year, formatted as yyyy.

Pseudo-Columns

Pseudo column fields are used in the WHERE clause of SELECT statements and offer more granular control over the data returned from the data source.

Name Type Description
ManagerId Long Id of the manager account on behalf of which you are requesting customer data.

CData Python Connector for Google Ads

PerformanceMaxPlacementView

A view with impression metrics for Performance Max campaign placements.

Columns

Name Type Behavior Description
CampaignId Long SEGMENT Output only. The ID of the campaign.
CustomerId Long ATTRIBUTE Output only. The ID of the customer.
PerformanceMaxPlacementViewDisplayName String ATTRIBUTE Output only. The name displayed to represent the placement, such as the URL
PerformanceMaxPlacementViewPlacement String ATTRIBUTE Output only. The default placement string, such as the website URL, mobile
PerformanceMaxPlacementViewPlacementType String ATTRIBUTE Output only. Type of the placement. Possible values for Performance Max

The allowed values are GOOGLE_PRODUCTS, MOBILE_APPLICATION, MOBILE_APP_CATEGORY, UNKNOWN, WEBSITE, YOUTUBE_CHANNEL, YOUTUBE_VIDEO.

PerformanceMaxPlacementViewResourceName String ATTRIBUTE Output only. The resource name of the Performance Max placement view.
PerformanceMaxPlacementViewTargetUrl String ATTRIBUTE Output only. URL of the placement, for example, website, link to the mobile
Impressions Long METRIC Count of how often your ad has appeared on a search results page or
Date Date SEGMENT Date to which metrics apply.
Period String SEGMENT Predefined date range.

The allowed values are TODAY, YESTERDAY, LAST_7_DAYS, LAST_BUSINESS_WEEK, THIS_MONTH, LAST_MONTH, LAST_14_DAYS, LAST_30_DAYS, THIS_WEEK_SUN_TODAY, THIS_WEEK_MON_TODAY, LAST_WEEK_SUN_SAT, LAST_WEEK_MON_SUN.

Pseudo-Columns

Pseudo column fields are used in the WHERE clause of SELECT statements and offer more granular control over the data returned from the data source.

Name Type Description
ManagerId Long Id of the manager account on behalf of which you are requesting customer data.

CData Python Connector for Google Ads

PerStoreView

A per store view.

Columns

Name Type Behavior Description
CampaignId Long SEGMENT Output only. The ID of the campaign.
CustomerId Long ATTRIBUTE Output only. The ID of the customer.
PerStoreViewAddress1 String ATTRIBUTE Output only. First line of the store's address.
PerStoreViewAddress2 String ATTRIBUTE Output only. Second line of the store's address.
PerStoreViewBusinessName String ATTRIBUTE Output only. The name of the business.
PerStoreViewCity String ATTRIBUTE Output only. The city where the store is located.
PerStoreViewCountryCode String ATTRIBUTE Output only. The two-letter country code for the store's location (e.g.,
PerStoreViewPhoneNumber String ATTRIBUTE Output only. The phone number of the store.
PerStoreViewPlaceId String ATTRIBUTE Output only. The place ID of the per store view.
PerStoreViewPostalCode String ATTRIBUTE Output only. The postal code of the store's address.
PerStoreViewProvince String ATTRIBUTE Output only. The province or state of the store's address.
PerStoreViewResourceName String ATTRIBUTE Output only. The resource name of the per store view.
AllConversionsFromLocationAssetClickToCall Double METRIC Number of call button clicks on any location surface after a chargeable ad
AllConversionsFromLocationAssetDirections Double METRIC Number of driving directions clicks on any location surface after a
AllConversionsFromLocationAssetMenu Double METRIC Number of menu link clicks on any location surface after a chargeable ad
AllConversionsFromLocationAssetOrder Double METRIC Number of order clicks on any location surface after a chargeable ad event
AllConversionsFromLocationAssetOtherEngagement Double METRIC Number of other types of local action clicks on any location surface after
AllConversionsFromLocationAssetStoreVisits Double METRIC Estimated number of visits to the business after a chargeable
AllConversionsFromLocationAssetWebsite Double METRIC Number of website URL clicks on any location surface after a chargeable ad
EligibleImpressionsFromLocationAssetStoreReach Long METRIC Number of impressions in which the business location was shown or the
ViewThroughConversionsFromLocationAssetClickToCall Double METRIC Number of call button clicks on any location surface after an impression.
ViewThroughConversionsFromLocationAssetDirections Double METRIC Number of driving directions clicks on any location surface after an
ViewThroughConversionsFromLocationAssetMenu Double METRIC Number of menu link clicks on any location surface after an impression.
ViewThroughConversionsFromLocationAssetOrder Double METRIC Number of order clicks on any location surface after an impression. This
ViewThroughConversionsFromLocationAssetOtherEngagement Double METRIC Number of other types of local action clicks on any location surface after
ViewThroughConversionsFromLocationAssetStoreVisits Double METRIC Estimated number of visits to the business after an impression.
ViewThroughConversionsFromLocationAssetWebsite Double METRIC Number of website URL clicks on any location surface after an impression.
AdNetworkType String SEGMENT Ad network type.

The allowed values are CONTENT, DISCOVER, GMAIL, GOOGLE_OWNED_CHANNELS, GOOGLE_TV, MAPS, MIXED, SEARCH, SEARCH_PARTNERS, UNKNOWN, YOUTUBE.

AdSubNetworkType String SEGMENT Ad sub network type. Currently only available for ads running as part of

The allowed values are UNKNOWN, UNSEGMENTED, YOUTUBE_INFEED, YOUTUBE_INSTREAM, YOUTUBE_SHORTS.

Date Date SEGMENT Date to which metrics apply.
DayOfWeek String SEGMENT Day of the week, for example, MONDAY.

The allowed values are FRIDAY, MONDAY, SATURDAY, SUNDAY, THURSDAY, TUESDAY, UNKNOWN, WEDNESDAY.

Month Date SEGMENT Month as represented by the date of the first day of a month. Formatted as
MonthOfYear String SEGMENT Month of the year, for example, January.

The allowed values are APRIL, AUGUST, DECEMBER, FEBRUARY, JANUARY, JULY, JUNE, MARCH, MAY, NOVEMBER, OCTOBER, SEPTEMBER, UNKNOWN.

Period String SEGMENT Predefined date range.

The allowed values are TODAY, YESTERDAY, LAST_7_DAYS, LAST_BUSINESS_WEEK, THIS_MONTH, LAST_MONTH, LAST_14_DAYS, LAST_30_DAYS, THIS_WEEK_SUN_TODAY, THIS_WEEK_MON_TODAY, LAST_WEEK_SUN_SAT, LAST_WEEK_MON_SUN.

Quarter Date SEGMENT Quarter as represented by the date of the first day of a quarter.
Week Date SEGMENT Week as defined as Monday through Sunday, and represented by the date of
Year Int SEGMENT Year, formatted as yyyy.

Pseudo-Columns

Pseudo column fields are used in the WHERE clause of SELECT statements and offer more granular control over the data returned from the data source.

Name Type Description
ManagerId Long Id of the manager account on behalf of which you are requesting customer data.

CData Python Connector for Google Ads

ProductCategoryConstant

A Product Category.

Columns

Name Type Behavior Description
CustomerId Long ATTRIBUTE Output only. The ID of the customer.
ProductCategoryConstantCategoryId Long ATTRIBUTE Output only. The ID of the product category.
ProductCategoryConstantLevel String ATTRIBUTE Output only. Level of the product category.

The allowed values are LEVEL1, LEVEL2, LEVEL3, LEVEL4, LEVEL5, UNKNOWN.

ProductCategoryConstantLocalizations String ATTRIBUTE Output only. List of all available localizations of the product category.
ProductCategoryConstantProductCategoryConstantParent String ATTRIBUTE Output only. Resource name of the parent product category.
ProductCategoryConstantResourceName String ATTRIBUTE Output only. The resource name of the product category.
ProductCategoryConstantState String ATTRIBUTE Output only. State of the product category.

The allowed values are ENABLED, OBSOLETE, UNKNOWN.

Pseudo-Columns

Pseudo column fields are used in the WHERE clause of SELECT statements and offer more granular control over the data returned from the data source.

Name Type Description
ManagerId Long Id of the manager account on behalf of which you are requesting customer data.

CData Python Connector for Google Ads

ProductGroupView

A product group view.

View-Specific Information

Select

Google Ads does not allow every column to be selected in a single query, as some data conflicts if selected together. Therefore, when issuing a query that selects all columns, only the default metrics, segments, and attributes are returned. In general, these defaults are the same fields that are exposed through the Ads console. To use the nondefault fields, explicitly select them in your query.

Filters can also be used in the WHERE clause using the following supported operators: =, !=, >, >=, <, <=, LIKE, NOT LIKE, IN, NOT IN . Note that all filters must be joined by AND, as OR is not supported by the Ads API.

Columns

Name Type Behavior Description
CustomerId Long ATTRIBUTE Output only. The ID of the customer.
ProductGroupViewResourceName String ATTRIBUTE Output only. The resource name of the product group view.
AllConversions Double METRIC The total number of conversions. This includes all conversions regardless
AllConversionsFromInteractionsRate Double METRIC All conversions from interactions (as oppose to view through conversions)
AllConversionsValue Double METRIC The value of all conversions.
AverageCartSize Double METRIC Average cart size is the average number of products in each order
AverageCpc Double METRIC The total cost of all clicks divided by the total number of clicks
AverageCpm Double METRIC Average cost-per-thousand impressions (CPM).
AverageOrderValueMicros Long METRIC Average order value is the average revenue you made per order attributed to
BenchmarkAverageMaxCpc Double METRIC An indication of how other advertisers are bidding on similar products.
BenchmarkCtr Double METRIC An indication on how other advertisers' Shopping ads for similar products
Clicks Long METRIC The number of clicks.
Conversions Double METRIC The number of conversions. This only includes conversion actions which
ConversionsFromInteractionsRate Double METRIC Conversions from interactions divided by the number of ad interactions
ConversionsValue Double METRIC The value of conversions. This only includes conversion actions which
CostMicros Long METRIC The sum of your cost-per-click (CPC) and cost-per-thousand impressions
CostOfGoodsSoldMicros Long METRIC Cost of goods sold (COGS) is the total cost of the products you sold in
CostPerAllConversions Double METRIC The cost of ad interactions divided by all conversions.
CostPerConversion Double METRIC The cost of ad interactions divided by conversions. This only includes
CrossDeviceConversions Double METRIC Conversions from when a customer clicks on a Google Ads ad on one device,
CrossDeviceConversionsValueMicros Long METRIC The sum of the value of cross-device conversions, in micros.
CrossSellCostOfGoodsSoldMicros Long METRIC Cross-sell cost of goods sold (COGS) is the total cost of products sold as
CrossSellGrossProfitMicros Long METRIC Cross-sell gross profit is the profit you made from products sold as a
CrossSellRevenueMicros Long METRIC Cross-sell revenue is the total amount you made from products sold as a
CrossSellUnitsSold Double METRIC Cross-sell units sold is the total number of products sold as a result of
Ctr Double METRIC The number of clicks your ad receives (Clicks) divided by the number
GrossProfitMargin Double METRIC Gross profit margin is the percentage gross profit you made from orders
GrossProfitMicros Long METRIC Gross profit is the profit you made from orders attributed to your ads
Impressions Long METRIC Count of how often your ad has appeared on a search results page or
LeadCostOfGoodsSoldMicros Long METRIC Lead cost of goods sold (COGS) is the total cost of products sold as a
LeadGrossProfitMicros Long METRIC Lead gross profit is the profit you made from products sold as a result of
LeadRevenueMicros Long METRIC Lead revenue is the total amount you made from products sold as a result of
LeadUnitsSold Double METRIC Lead units sold is the total number of products sold as a result of
Orders Double METRIC Orders is the total number of purchase conversions you received attributed
RevenueMicros Long METRIC Revenue is the total amount you made from orders attributed to your ads.
SearchAbsoluteTopImpressionShare Double METRIC The percentage of the customer's Shopping or Search ad impressions that are
SearchClickShare Double METRIC The number of clicks you've received on the Search Network
SearchImpressionShare Double METRIC The impressions you've received on the Search Network divided
UnitsSold Double METRIC Units sold is the total number of products sold from orders attributed to
ValuePerAllConversions Double METRIC The value of all conversions divided by the number of all conversions.
ValuePerConversion Double METRIC The value of conversions divided by the number of conversions. This only
ViewThroughConversions Long METRIC The total number of view-through conversions.
AdNetworkType String SEGMENT Ad network type.

The allowed values are CONTENT, DISCOVER, GMAIL, GOOGLE_OWNED_CHANNELS, GOOGLE_TV, MAPS, MIXED, SEARCH, SEARCH_PARTNERS, UNKNOWN, YOUTUBE.

AdSubNetworkType String SEGMENT Ad sub network type. Currently only available for ads running as part of

The allowed values are UNKNOWN, UNSEGMENTED, YOUTUBE_INFEED, YOUTUBE_INSTREAM, YOUTUBE_SHORTS.

ClickType String SEGMENT Click type.

The allowed values are AD_IMAGE, APP_DEEPLINK, BREADCRUMBS, BROADBAND_PLAN, CALLS, CALL_TRACKING, CLICK_ON_ENGAGEMENT_AD, CLICK_TO_MESSAGE_LANDING_PAGE_CLICK, CLICK_TO_MESSAGE_THIRD_PARTY_CLICK, CROSS_NETWORK, GET_DIRECTIONS, HOTEL_BOOK_ON_GOOGLE_ROOM_SELECTION, HOTEL_PRICE, LOCATION_EXPANSION, LOCATION_FORMAT_CALL, LOCATION_FORMAT_DIRECTIONS, LOCATION_FORMAT_IMAGE, LOCATION_FORMAT_LANDING_PAGE, LOCATION_FORMAT_MAP, LOCATION_FORMAT_STORE_INFO, LOCATION_FORMAT_TEXT, MOBILE_CALL_TRACKING, OFFER_PRINTS, OTHER, PRICE_EXTENSION, PRODUCT_AD_APP_DEEPLINK, PRODUCT_ASSETS, PRODUCT_EXTENSION_CLICKS, PRODUCT_LISTING_ADS_COUPON, PRODUCT_LISTING_AD_CLICKS, PRODUCT_LISTING_AD_LOCAL, PRODUCT_LISTING_AD_MULTICHANNEL_LOCAL, PRODUCT_LISTING_AD_MULTICHANNEL_ONLINE, PRODUCT_LISTING_AD_TRANSACTABLE, PROMOTION_EXTENSION, SHOPPING_COMPARISON_LISTING, SHOWCASE_AD_CATEGORY_LINK, SHOWCASE_AD_LOCAL_PRODUCT_LINK, SHOWCASE_AD_LOCAL_STOREFRONT_LINK, SHOWCASE_AD_ONLINE_PRODUCT_LINK, SITELINKS, STORE_LOCATOR, SWIPEABLE_GALLERY_AD_HEADLINE, SWIPEABLE_GALLERY_AD_SEE_MORE, SWIPEABLE_GALLERY_AD_SITELINK_FIVE, SWIPEABLE_GALLERY_AD_SITELINK_FOUR, SWIPEABLE_GALLERY_AD_SITELINK_ONE, SWIPEABLE_GALLERY_AD_SITELINK_THREE, SWIPEABLE_GALLERY_AD_SITELINK_TWO, SWIPEABLE_GALLERY_AD_SWIPES, TRAVEL_ASSETS, UNKNOWN, URL_CLICKS, VEHICLE_ASSETS, VIDEO_APP_STORE_CLICKS, VIDEO_CALL_TO_ACTION_CLICKS, VIDEO_CARD_ACTION_HEADLINE_CLICKS, VIDEO_CHANNEL_CLICK, VIDEO_END_CAP_CLICKS, VIDEO_RELATED_VIDEOS_CLICK, VIDEO_WEBSITE_CLICKS, VISUAL_SITELINKS, WIRELESS_PLAN.

ConversionAction String SEGMENT Resource name of the conversion action.
ConversionActionCategory String SEGMENT Conversion action category.

The allowed values are ADD_TO_CART, BEGIN_CHECKOUT, BOOK_APPOINTMENT, CONTACT, CONVERTED_LEAD, DEFAULT, DOWNLOAD, ENGAGEMENT, GET_DIRECTIONS, IMPORTED_LEAD, OUTBOUND_CLICK, PAGE_VIEW, PHONE_CALL_LEAD, PURCHASE, QUALIFIED_LEAD, REQUEST_QUOTE, SIGNUP, STORE_SALE, STORE_VISIT, SUBMIT_LEAD_FORM, SUBSCRIBE_PAID, UNKNOWN, YOUTUBE_FOLLOW_ON_VIEWS.

ConversionActionName String SEGMENT Conversion action name.
Date Date SEGMENT Date to which metrics apply.
DayOfWeek String SEGMENT Day of the week, for example, MONDAY.

The allowed values are FRIDAY, MONDAY, SATURDAY, SUNDAY, THURSDAY, TUESDAY, UNKNOWN, WEDNESDAY.

Device String SEGMENT Device to which metrics apply.

The allowed values are CONNECTED_TV, DESKTOP, MOBILE, OTHER, TABLET, UNKNOWN.

ExternalConversionSource String SEGMENT External conversion source.

The allowed values are AD_CALL_METRICS, ANALYTICS, ANALYTICS_SEARCH_ADS_360, ANDROID_FIRST_OPEN, ANDROID_IN_APP, APP_UNSPECIFIED, CLICK_TO_CALL, DISPLAY_AND_VIDEO_360_FLOODLIGHT, FIREBASE, FIREBASE_SEARCH_ADS_360, FLOODLIGHT, GOOGLE_ATTRIBUTION, GOOGLE_HOSTED, GOOGLE_PLAY, IOS_FIRST_OPEN, IOS_IN_APP, SALESFORCE, SEARCH_ADS_360, STORE_SALES, STORE_SALES_CRM, STORE_SALES_DIRECT_UPLOAD, STORE_SALES_PAYMENT_NETWORK, STORE_VISITS, THIRD_PARTY_APP_ANALYTICS, UNKNOWN, UPLOAD, UPLOAD_CALLS, WEBPAGE, WEBSITE_CALL_METRICS.

Month Date SEGMENT Month as represented by the date of the first day of a month. Formatted as
MonthOfYear String SEGMENT Month of the year, for example, January.

The allowed values are APRIL, AUGUST, DECEMBER, FEBRUARY, JANUARY, JULY, JUNE, MARCH, MAY, NOVEMBER, OCTOBER, SEPTEMBER, UNKNOWN.

Period String SEGMENT Predefined date range.

The allowed values are TODAY, YESTERDAY, LAST_7_DAYS, LAST_BUSINESS_WEEK, THIS_MONTH, LAST_MONTH, LAST_14_DAYS, LAST_30_DAYS, THIS_WEEK_SUN_TODAY, THIS_WEEK_MON_TODAY, LAST_WEEK_SUN_SAT, LAST_WEEK_MON_SUN.

Quarter Date SEGMENT Quarter as represented by the date of the first day of a quarter.
Week Date SEGMENT Week as defined as Monday through Sunday, and represented by the date of
Year Int SEGMENT Year, formatted as yyyy.

Pseudo-Columns

Pseudo column fields are used in the WHERE clause of SELECT statements and offer more granular control over the data returned from the data source.

Name Type Description
ManagerId Long Id of the manager account on behalf of which you are requesting customer data.

CData Python Connector for Google Ads

ProductLink

CData Python Connector for Google Ads

ProductLinkInvitation

Represents an invitation for data sharing connection between a Google Ads

Columns

Name Type Behavior Description
CustomerId Long ATTRIBUTE Output only. The ID of the customer.
ProductLinkInvitationAdvertisingPartnerCustomer String ATTRIBUTE Immutable. The resource name of the advertising partner Google Ads account. This field is read only.
ProductLinkInvitationAdvertisingPartnerPropertiesAllowedDomain String ATTRIBUTE Immutable. The allowed domain for the Advertising Partner link invitation. The advertising partner will only be able to advertise on this domain. The field is immutable after the creation of the link invitation.
ProductLinkInvitationHotelCenterHotelCenterId Long ATTRIBUTE Output only. The hotel center id of the hotel account. This field is read only
ProductLinkInvitationMerchantCenterMerchantCenterId Long ATTRIBUTE Output only. The Merchant Center id of the Merchant account. This field is read only
ProductLinkInvitationProductLinkInvitationId Long ATTRIBUTE Output only. The ID of the product link invitation.
ProductLinkInvitationResourceName String ATTRIBUTE Immutable. The resource name of a product link invitation.
ProductLinkInvitationStatus String ATTRIBUTE Output only. The status of the product link invitation.

The allowed values are ACCEPTED, EXPIRED, PENDING_APPROVAL, REJECTED, REQUESTED, REVOKED, UNKNOWN.

ProductLinkInvitationType String ATTRIBUTE Output only. The type of the invited account.

The allowed values are ADVERTISING_PARTNER, DATA_PARTNER, GOOGLE_ADS, HOTEL_CENTER, MERCHANT_CENTER, UNKNOWN.

Pseudo-Columns

Pseudo column fields are used in the WHERE clause of SELECT statements and offer more granular control over the data returned from the data source.

Name Type Description
ManagerId Long Id of the manager account on behalf of which you are requesting customer data.

CData Python Connector for Google Ads

QualifyingQuestion

Qualifying Questions for Lead Form.

Columns

Name Type Behavior Description
CustomerId Long ATTRIBUTE Output only. The ID of the customer.
QualifyingQuestionLocale String ATTRIBUTE Output only. The locale of the qualifying question.
QualifyingQuestionQualifyingQuestionId Long ATTRIBUTE Output only. The id of the qualifying question.
QualifyingQuestionResourceName String ATTRIBUTE Output only. The resource name of the qualifying question.
QualifyingQuestionText String ATTRIBUTE Output only. The qualifying question.

Pseudo-Columns

Pseudo column fields are used in the WHERE clause of SELECT statements and offer more granular control over the data returned from the data source.

Name Type Description
ManagerId Long Id of the manager account on behalf of which you are requesting customer data.

CData Python Connector for Google Ads

Recommendation

A recommendation.

Columns

Name Type Behavior Description
CustomerId Long ATTRIBUTE Output only. The ID of the customer.
RecommendationAdGroup String ATTRIBUTE Output only. The ad group targeted by this recommendation. This will be set
RecommendationCallAssetRecommendation String ATTRIBUTE Output only. The call asset recommendation.
RecommendationCalloutAssetRecommendation String ATTRIBUTE Output only. The callout asset recommendation.
RecommendationCampaign String ATTRIBUTE Output only. The campaign targeted by this recommendation.
RecommendationCampaignBudget String ATTRIBUTE Output only. The budget targeted by this recommendation. This will be set
RecommendationCampaignBudgetRecommendation String ATTRIBUTE Output only. The campaign budget recommendation.
RecommendationCampaigns String ATTRIBUTE Output only. The campaigns targeted by this recommendation.
RecommendationCustomAudienceOptInRecommendation String ATTRIBUTE Output only. The custom audience opt in recommendation.
RecommendationDismissed Bool ATTRIBUTE Output only. Whether the recommendation is dismissed or not.
RecommendationDisplayExpansionOptInRecommendation String ATTRIBUTE Output only. The Display Expansion opt-in recommendation.
RecommendationDynamicImageExtensionOptInRecommendation String ATTRIBUTE Output only. Recommendation to enable dynamic image extensions on the
RecommendationEnhancedCpcOptInRecommendation String ATTRIBUTE Output only. The Enhanced Cost-Per-Click Opt-In recommendation.
RecommendationForecastingCampaignBudgetRecommendation String ATTRIBUTE Output only. The forecasting campaign budget recommendation.
RecommendationForecastingSetTargetCpaRecommendation String ATTRIBUTE Output only. The forecasting set target CPA recommendation.
RecommendationForecastingSetTargetRoasRecommendation String ATTRIBUTE Output only. The forecasting set target ROAS recommendation.
RecommendationImpact String ATTRIBUTE Output only. The impact on account performance as a result of applying the
RecommendationImproveDemandGenAdStrengthRecommendation String ATTRIBUTE Output only. The improve Demand Gen ad strength recommendation.
RecommendationImproveGoogleTagCoverageRecommendation String ATTRIBUTE Output only. Recommendation to deploy Google Tag on more pages.
RecommendationImprovePerformanceMaxAdStrengthRecommendation String ATTRIBUTE Output only. The improve Performance Max ad strength recommendation.
RecommendationKeywordMatchTypeRecommendation String ATTRIBUTE Output only. The keyword match type recommendation.
RecommendationKeywordRecommendation String ATTRIBUTE Output only. The keyword recommendation.
RecommendationLeadFormAssetRecommendation String ATTRIBUTE Output only. The lead form asset recommendation.
RecommendationLowerTargetRoasRecommendation String ATTRIBUTE Output only. Recommendation to lower Target ROAS.
RecommendationMarginalRoiCampaignBudgetRecommendation String ATTRIBUTE Output only. The marginal ROI campaign budget recommendation.
RecommendationMaximizeClicksOptInRecommendation String ATTRIBUTE Output only. The MaximizeClicks Opt-In recommendation.
RecommendationMaximizeConversionValueOptInRecommendation String ATTRIBUTE Output only. The Maximize Conversion Value opt-in recommendation.
RecommendationMaximizeConversionsOptInRecommendation String ATTRIBUTE Output only. The MaximizeConversions Opt-In recommendation.
RecommendationMigrateDynamicSearchAdsCampaignToPerformanceMaxRecommendation String ATTRIBUTE Output only. The Dynamic Search Ads to Performance Max migration
RecommendationMoveUnusedBudgetRecommendation String ATTRIBUTE Output only. The move unused budget recommendation.
RecommendationOptimizeAdRotationRecommendation String ATTRIBUTE Output only. The Optimize Ad Rotation recommendation.
RecommendationPerformanceMaxFinalUrlOptInRecommendation String ATTRIBUTE Output only. Recommendation to turn on Final URL expansion for your
RecommendationPerformanceMaxOptInRecommendation String ATTRIBUTE Output only. The Performance Max Opt In recommendation.
RecommendationRaiseTargetCpaBidTooLowRecommendation String ATTRIBUTE Output only. The raise target CPA bid too low recommendation.
RecommendationRaiseTargetCpaRecommendation String ATTRIBUTE Output only. Recommendation to raise Target CPA.
RecommendationRefreshCustomerMatchListRecommendation String ATTRIBUTE Output only. The refresh customer list recommendation.
RecommendationResourceName String ATTRIBUTE Immutable. The resource name of the recommendation.
RecommendationResponsiveSearchAdAssetRecommendation String ATTRIBUTE Output only. The responsive search ad asset recommendation.
RecommendationResponsiveSearchAdImproveAdStrengthRecommendation String ATTRIBUTE Output only. The responsive search ad improve ad strength recommendation.
RecommendationResponsiveSearchAdRecommendation String ATTRIBUTE Output only. The add responsive search ad recommendation.
RecommendationSearchPartnersOptInRecommendation String ATTRIBUTE Output only. The Search Partners Opt-In recommendation.
RecommendationSetTargetCpaRecommendation String ATTRIBUTE Output only. The set target CPA recommendation.
RecommendationSetTargetRoasRecommendation String ATTRIBUTE Output only. The set target ROAS recommendation.
RecommendationShoppingAddAgeGroupRecommendation String ATTRIBUTE Output only. The shopping add age group recommendation.
RecommendationShoppingAddColorRecommendation String ATTRIBUTE Output only. The shopping add color recommendation.
RecommendationShoppingAddGenderRecommendation String ATTRIBUTE Output only. The shopping add gender recommendation.
RecommendationShoppingAddGtinRecommendation String ATTRIBUTE Output only. The shopping add GTIN recommendation.
RecommendationShoppingAddMoreIdentifiersRecommendation String ATTRIBUTE Output only. The shopping add more identifiers recommendation.
RecommendationShoppingAddProductsToCampaignRecommendation String ATTRIBUTE Output only. The shopping add products to campaign recommendation.
RecommendationShoppingAddSizeRecommendation String ATTRIBUTE Output only. The shopping add size recommendation.
RecommendationShoppingFixDisapprovedProductsRecommendation String ATTRIBUTE Output only. The shopping fix disapproved products recommendation.
RecommendationShoppingFixMerchantCenterAccountSuspensionWarningRecommendation String ATTRIBUTE Output only. The shopping fix Merchant Center account suspension warning
RecommendationShoppingFixSuspendedMerchantCenterAccountRecommendation String ATTRIBUTE Output only. The shopping fix suspended Merchant Center account
RecommendationShoppingMigrateRegularShoppingCampaignOffersToPerformanceMaxRecommendation String ATTRIBUTE Output only. The shopping migrate Regular Shopping Campaign offers to
RecommendationShoppingTargetAllOffersRecommendation String ATTRIBUTE Output only. The shopping target all offers recommendation.
RecommendationSitelinkAssetRecommendation String ATTRIBUTE Output only. The sitelink asset recommendation.
RecommendationTargetCpaOptInRecommendation String ATTRIBUTE Output only. The TargetCPA opt-in recommendation.
RecommendationTargetRoasOptInRecommendation String ATTRIBUTE Output only. The Target ROAS opt-in recommendation.
RecommendationTextAdRecommendation String ATTRIBUTE Output only. Add expanded text ad recommendation.
RecommendationType String ATTRIBUTE Output only. The type of recommendation.

The allowed values are CALLOUT_ASSET, CALL_ASSET, CAMPAIGN_BUDGET, CUSTOM_AUDIENCE_OPT_IN, DISPLAY_EXPANSION_OPT_IN, DYNAMIC_IMAGE_EXTENSION_OPT_IN, ENHANCED_CPC_OPT_IN, FORECASTING_CAMPAIGN_BUDGET, FORECASTING_SET_TARGET_CPA, FORECASTING_SET_TARGET_ROAS, IMPROVE_DEMAND_GEN_AD_STRENGTH, IMPROVE_GOOGLE_TAG_COVERAGE, IMPROVE_PERFORMANCE_MAX_AD_STRENGTH, KEYWORD, KEYWORD_MATCH_TYPE, LEAD_FORM_ASSET, LOWER_TARGET_ROAS, MARGINAL_ROI_CAMPAIGN_BUDGET, MAXIMIZE_CLICKS_OPT_IN, MAXIMIZE_CONVERSIONS_OPT_IN, MAXIMIZE_CONVERSION_VALUE_OPT_IN, MIGRATE_DYNAMIC_SEARCH_ADS_CAMPAIGN_TO_PERFORMANCE_MAX, MOVE_UNUSED_BUDGET, OPTIMIZE_AD_ROTATION, PERFORMANCE_MAX_FINAL_URL_OPT_IN, PERFORMANCE_MAX_OPT_IN, RAISE_TARGET_CPA, RAISE_TARGET_CPA_BID_TOO_LOW, REFRESH_CUSTOMER_MATCH_LIST, RESPONSIVE_SEARCH_AD, RESPONSIVE_SEARCH_AD_ASSET, RESPONSIVE_SEARCH_AD_IMPROVE_AD_STRENGTH, SEARCH_PARTNERS_OPT_IN, SET_TARGET_CPA, SET_TARGET_ROAS, SHOPPING_ADD_AGE_GROUP, SHOPPING_ADD_COLOR, SHOPPING_ADD_GENDER, SHOPPING_ADD_GTIN, SHOPPING_ADD_MORE_IDENTIFIERS, SHOPPING_ADD_PRODUCTS_TO_CAMPAIGN, SHOPPING_ADD_SIZE, SHOPPING_FIX_DISAPPROVED_PRODUCTS, SHOPPING_FIX_MERCHANT_CENTER_ACCOUNT_SUSPENSION_WARNING, SHOPPING_FIX_SUSPENDED_MERCHANT_CENTER_ACCOUNT, SHOPPING_MIGRATE_REGULAR_SHOPPING_CAMPAIGN_OFFERS_TO_PERFORMANCE_MAX, SHOPPING_TARGET_ALL_OFFERS, SITELINK_ASSET, TARGET_CPA_OPT_IN, TARGET_ROAS_OPT_IN, TEXT_AD, UNKNOWN, UPGRADE_LOCAL_CAMPAIGN_TO_PERFORMANCE_MAX, UPGRADE_SMART_SHOPPING_CAMPAIGN_TO_PERFORMANCE_MAX, USE_BROAD_MATCH_KEYWORD.

RecommendationUpgradeLocalCampaignToPerformanceMaxRecommendation String ATTRIBUTE Output only. The upgrade a Local campaign to a Performance Max campaign
RecommendationUpgradeSmartShoppingCampaignToPerformanceMaxRecommendation String ATTRIBUTE Output only. The upgrade a Smart Shopping campaign to a Performance Max
RecommendationUseBroadMatchKeywordRecommendation String ATTRIBUTE Output only. The use broad match keyword recommendation.

Pseudo-Columns

Pseudo column fields are used in the WHERE clause of SELECT statements and offer more granular control over the data returned from the data source.

Name Type Description
ManagerId Long Id of the manager account on behalf of which you are requesting customer data.

CData Python Connector for Google Ads

RecommendationSubscription

Recommendation Subscription resource

Columns

Name Type Behavior Description
CustomerId Long ATTRIBUTE Output only. The ID of the customer.
RecommendationSubscriptionCreateDateTime Datetime ATTRIBUTE Output only. Time in seconds when the subscription was first created. The
RecommendationSubscriptionModifyDateTime Datetime ATTRIBUTE Output only. Contains the time in microseconds, when the Recommendation
RecommendationSubscriptionResourceName String ATTRIBUTE Immutable. The resource name of the recommendation subscription.
RecommendationSubscriptionStatus String ATTRIBUTE Required. Status of the subscription, either enabled or paused.

The allowed values are ENABLED, PAUSED, UNKNOWN.

RecommendationSubscriptionType String ATTRIBUTE Required. Immutable. The type of recommendation subscribed to.

The allowed values are CALLOUT_ASSET, CALL_ASSET, CAMPAIGN_BUDGET, CUSTOM_AUDIENCE_OPT_IN, DISPLAY_EXPANSION_OPT_IN, DYNAMIC_IMAGE_EXTENSION_OPT_IN, ENHANCED_CPC_OPT_IN, FORECASTING_CAMPAIGN_BUDGET, FORECASTING_SET_TARGET_CPA, FORECASTING_SET_TARGET_ROAS, IMPROVE_DEMAND_GEN_AD_STRENGTH, IMPROVE_GOOGLE_TAG_COVERAGE, IMPROVE_PERFORMANCE_MAX_AD_STRENGTH, KEYWORD, KEYWORD_MATCH_TYPE, LEAD_FORM_ASSET, LOWER_TARGET_ROAS, MARGINAL_ROI_CAMPAIGN_BUDGET, MAXIMIZE_CLICKS_OPT_IN, MAXIMIZE_CONVERSIONS_OPT_IN, MAXIMIZE_CONVERSION_VALUE_OPT_IN, MIGRATE_DYNAMIC_SEARCH_ADS_CAMPAIGN_TO_PERFORMANCE_MAX, MOVE_UNUSED_BUDGET, OPTIMIZE_AD_ROTATION, PERFORMANCE_MAX_FINAL_URL_OPT_IN, PERFORMANCE_MAX_OPT_IN, RAISE_TARGET_CPA, RAISE_TARGET_CPA_BID_TOO_LOW, REFRESH_CUSTOMER_MATCH_LIST, RESPONSIVE_SEARCH_AD, RESPONSIVE_SEARCH_AD_ASSET, RESPONSIVE_SEARCH_AD_IMPROVE_AD_STRENGTH, SEARCH_PARTNERS_OPT_IN, SET_TARGET_CPA, SET_TARGET_ROAS, SHOPPING_ADD_AGE_GROUP, SHOPPING_ADD_COLOR, SHOPPING_ADD_GENDER, SHOPPING_ADD_GTIN, SHOPPING_ADD_MORE_IDENTIFIERS, SHOPPING_ADD_PRODUCTS_TO_CAMPAIGN, SHOPPING_ADD_SIZE, SHOPPING_FIX_DISAPPROVED_PRODUCTS, SHOPPING_FIX_MERCHANT_CENTER_ACCOUNT_SUSPENSION_WARNING, SHOPPING_FIX_SUSPENDED_MERCHANT_CENTER_ACCOUNT, SHOPPING_MIGRATE_REGULAR_SHOPPING_CAMPAIGN_OFFERS_TO_PERFORMANCE_MAX, SHOPPING_TARGET_ALL_OFFERS, SITELINK_ASSET, TARGET_CPA_OPT_IN, TARGET_ROAS_OPT_IN, TEXT_AD, UNKNOWN, UPGRADE_LOCAL_CAMPAIGN_TO_PERFORMANCE_MAX, UPGRADE_SMART_SHOPPING_CAMPAIGN_TO_PERFORMANCE_MAX, USE_BROAD_MATCH_KEYWORD.

Pseudo-Columns

Pseudo column fields are used in the WHERE clause of SELECT statements and offer more granular control over the data returned from the data source.

Name Type Description
ManagerId Long Id of the manager account on behalf of which you are requesting customer data.

CData Python Connector for Google Ads

RemarketingAction

A remarketing action. A snippet of JavaScript code that will collect the

Columns

Name Type Behavior Description
CustomerId Long ATTRIBUTE Output only. The ID of the customer.
RemarketingActionId Long ATTRIBUTE Output only. Id of the remarketing action.
RemarketingActionName String ATTRIBUTE The name of the remarketing action.
RemarketingActionResourceName String ATTRIBUTE Immutable. The resource name of the remarketing action.
RemarketingActionTagSnippets String ATTRIBUTE Output only. The snippets used for tracking remarketing actions.

Pseudo-Columns

Pseudo column fields are used in the WHERE clause of SELECT statements and offer more granular control over the data returned from the data source.

Name Type Description
ManagerId Long Id of the manager account on behalf of which you are requesting customer data.

CData Python Connector for Google Ads

Resources

List of resources that can be used in order to generate new Reports or re-generate the old one.

Columns

Name Type Behavior Description
ReportName String The name of the report generated from this resource.
ResourceName String The name of the resource.
AttributeResources String A comma separated list of the attribute resources.
SegmentingResources String A comma separated list of the segmenting resources.
Description String The description of the current report.

Pseudo-Columns

Pseudo column fields are used in the WHERE clause of SELECT statements and offer more granular control over the data returned from the data source.

Name Type Description
ManagerId Long Id of the manager account on behalf of which you are requesting customer data.

CData Python Connector for Google Ads

SearchTermView

A search term view with metrics aggregated by search term at the ad group

View-Specific Information

Select

Google Ads does not allow every column to be selected in a single query, as some data conflicts if selected together. Therefore, when issuing a query that selects all columns, only the default metrics, segments, and attributes are returned. In general, these defaults are the same fields that are exposed through the Ads console. To use the nondefault fields, explicitly select them in your query.

Filters can also be used in the WHERE clause using the following supported operators: =, !=, >, >=, <, <=, LIKE, NOT LIKE, IN, NOT IN . Note that all filters must be joined by AND, as OR is not supported by the Ads API.

Columns

Name Type Behavior Description
CustomerId Long ATTRIBUTE Output only. The ID of the customer.
SearchTermViewAdGroup String ATTRIBUTE Output only. The ad group the search term served in.
SearchTermViewResourceName String ATTRIBUTE Output only. The resource name of the search term view.
SearchTermViewSearchTerm String ATTRIBUTE Output only. The search term.
SearchTermViewStatus String ATTRIBUTE Output only. Indicates whether the search term is currently one of your

The allowed values are ADDED, ADDED_EXCLUDED, EXCLUDED, NONE, UNKNOWN.

AbsoluteTopImpressionPercentage Double METRIC Search absolute top impression share is the percentage of your Search ad
AllConversions Double METRIC The total number of conversions. This includes all conversions regardless
AllConversionsFromInteractionsRate Double METRIC All conversions from interactions (as oppose to view through conversions)
AllConversionsFromInteractionsValuePerInteraction Double METRIC The value of all conversions from interactions divided by the total number
AllConversionsValue Double METRIC The value of all conversions.
AllConversionsValuePerCost Double METRIC The value of all conversions divided by the total cost of ad interactions
AverageCost Double METRIC The average amount you pay per interaction. This amount is the total cost
AverageCpc Double METRIC The total cost of all clicks divided by the total number of clicks
AverageCpe Double METRIC The average amount that you've been charged for an ad engagement. This
AverageCpm Double METRIC Average cost-per-thousand impressions (CPM).
Clicks Long METRIC The number of clicks.
Conversions Double METRIC The number of conversions. This only includes conversion actions which
ConversionsFromInteractionsRate Double METRIC Conversions from interactions divided by the number of ad interactions
ConversionsFromInteractionsValuePerInteraction Double METRIC The value of conversions from interactions divided by the number of ad
ConversionsValue Double METRIC The value of conversions. This only includes conversion actions which
ConversionsValuePerCost Double METRIC The value of conversions divided by the cost of ad interactions. This only
CostMicros Long METRIC The sum of your cost-per-click (CPC) and cost-per-thousand impressions
CostPerAllConversions Double METRIC The cost of ad interactions divided by all conversions.
CostPerConversion Double METRIC The cost of ad interactions divided by conversions. This only includes
CrossDeviceConversions Double METRIC Conversions from when a customer clicks on a Google Ads ad on one device,
Ctr Double METRIC The number of clicks your ad receives (Clicks) divided by the number
EngagementRate Double METRIC How often people engage with your ad after it's shown to them. This is the
Engagements Long METRIC The number of engagements.
Impressions Long METRIC Count of how often your ad has appeared on a search results page or
InteractionEventTypes String METRIC The types of payable and free interactions.

The allowed values are CLICK, ENGAGEMENT, NONE, UNKNOWN, VIDEO_VIEW.

InteractionRate Double METRIC How often people interact with your ad after it is shown to them.
Interactions Long METRIC The number of interactions.
TopImpressionPercentage Double METRIC The percent of your ad impressions that are shown adjacent to the top
TrueviewAverageCpv Double METRIC The average amount you pay each time someone views your ad.
ValuePerAllConversions Double METRIC The value of all conversions divided by the number of all conversions.
ValuePerConversion Double METRIC The value of conversions divided by the number of conversions. This only
VideoQuartileP100Rate Double METRIC Percentage of impressions where the viewer watched all of your video.
VideoQuartileP25Rate Double METRIC Percentage of impressions where the viewer watched 25% of your video.
VideoQuartileP50Rate Double METRIC Percentage of impressions where the viewer watched 50% of your video.
VideoQuartileP75Rate Double METRIC Percentage of impressions where the viewer watched 75% of your video.
VideoTrueviewViewRate Double METRIC The number of TrueView views your video ad receives divided by its number
VideoTrueviewViews Long METRIC The number of TrueView views your video ads received.
ViewThroughConversions Long METRIC The total number of view-through conversions.
AdNetworkType String SEGMENT Ad network type.

The allowed values are CONTENT, DISCOVER, GMAIL, GOOGLE_OWNED_CHANNELS, GOOGLE_TV, MAPS, MIXED, SEARCH, SEARCH_PARTNERS, UNKNOWN, YOUTUBE.

AdSubNetworkType String SEGMENT Ad sub network type. Currently only available for ads running as part of

The allowed values are UNKNOWN, UNSEGMENTED, YOUTUBE_INFEED, YOUTUBE_INSTREAM, YOUTUBE_SHORTS.

ConversionAction String SEGMENT Resource name of the conversion action.
ConversionActionCategory String SEGMENT Conversion action category.

The allowed values are ADD_TO_CART, BEGIN_CHECKOUT, BOOK_APPOINTMENT, CONTACT, CONVERTED_LEAD, DEFAULT, DOWNLOAD, ENGAGEMENT, GET_DIRECTIONS, IMPORTED_LEAD, OUTBOUND_CLICK, PAGE_VIEW, PHONE_CALL_LEAD, PURCHASE, QUALIFIED_LEAD, REQUEST_QUOTE, SIGNUP, STORE_SALE, STORE_VISIT, SUBMIT_LEAD_FORM, SUBSCRIBE_PAID, UNKNOWN, YOUTUBE_FOLLOW_ON_VIEWS.

ConversionActionName String SEGMENT Conversion action name.
Date Date SEGMENT Date to which metrics apply.
DayOfWeek String SEGMENT Day of the week, for example, MONDAY.

The allowed values are FRIDAY, MONDAY, SATURDAY, SUNDAY, THURSDAY, TUESDAY, UNKNOWN, WEDNESDAY.

Device String SEGMENT Device to which metrics apply.

The allowed values are CONNECTED_TV, DESKTOP, MOBILE, OTHER, TABLET, UNKNOWN.

ExternalConversionSource String SEGMENT External conversion source.

The allowed values are AD_CALL_METRICS, ANALYTICS, ANALYTICS_SEARCH_ADS_360, ANDROID_FIRST_OPEN, ANDROID_IN_APP, APP_UNSPECIFIED, CLICK_TO_CALL, DISPLAY_AND_VIDEO_360_FLOODLIGHT, FIREBASE, FIREBASE_SEARCH_ADS_360, FLOODLIGHT, GOOGLE_ATTRIBUTION, GOOGLE_HOSTED, GOOGLE_PLAY, IOS_FIRST_OPEN, IOS_IN_APP, SALESFORCE, SEARCH_ADS_360, STORE_SALES, STORE_SALES_CRM, STORE_SALES_DIRECT_UPLOAD, STORE_SALES_PAYMENT_NETWORK, STORE_VISITS, THIRD_PARTY_APP_ANALYTICS, UNKNOWN, UPLOAD, UPLOAD_CALLS, WEBPAGE, WEBSITE_CALL_METRICS.

KeywordAdGroupCriterion String SEGMENT The AdGroupCriterion resource name.
KeywordInfoMatchType String SEGMENT The match type of the keyword.

The allowed values are BROAD, EXACT, PHRASE, UNKNOWN.

KeywordInfoText String SEGMENT The text of the keyword (at most 80 characters and 10 words).
Month Date SEGMENT Month as represented by the date of the first day of a month. Formatted as
MonthOfYear String SEGMENT Month of the year, for example, January.

The allowed values are APRIL, AUGUST, DECEMBER, FEBRUARY, JANUARY, JULY, JUNE, MARCH, MAY, NOVEMBER, OCTOBER, SEPTEMBER, UNKNOWN.

Period String SEGMENT Predefined date range.

The allowed values are TODAY, YESTERDAY, LAST_7_DAYS, LAST_BUSINESS_WEEK, THIS_MONTH, LAST_MONTH, LAST_14_DAYS, LAST_30_DAYS, THIS_WEEK_SUN_TODAY, THIS_WEEK_MON_TODAY, LAST_WEEK_SUN_SAT, LAST_WEEK_MON_SUN.

Quarter Date SEGMENT Quarter as represented by the date of the first day of a quarter.
SearchTermMatchSource String SEGMENT Specifies the source for how the search term was matched, which reveals the

The allowed values are ADVERTISER_PROVIDED_KEYWORD, AI_MAX_BROAD_MATCH, AI_MAX_KEYWORDLESS, DYNAMIC_SEARCH_ADS, PERFORMANCE_MAX, UNKNOWN, VERTICAL_ADS_DATA_FEED.

SearchTermMatchType String SEGMENT Match type of the keyword that triggered the ad. This segment is for use

The allowed values are AI_MAX, BROAD, EXACT, NEAR_EXACT, NEAR_PHRASE, PERFORMANCE_MAX, PHRASE, UNKNOWN.

Week Date SEGMENT Week as defined as Monday through Sunday, and represented by the date of
Year Int SEGMENT Year, formatted as yyyy.

Pseudo-Columns

Pseudo column fields are used in the WHERE clause of SELECT statements and offer more granular control over the data returned from the data source.

Name Type Description
ManagerId Long Id of the manager account on behalf of which you are requesting customer data.

CData Python Connector for Google Ads

SharedCriterion

A criterion belonging to a shared set.

Columns

Name Type Behavior Description
CustomerId Long ATTRIBUTE Output only. The ID of the customer.
SharedCriterionBrandDisplayName String ATTRIBUTE Output only. A text representation of a brand.
SharedCriterionBrandEntityId String ATTRIBUTE The Commercial KG MID for the brand.
SharedCriterionBrandPrimaryUrl String ATTRIBUTE Output only. The primary url of a brand.
SharedCriterionBrandRejectionReason String ATTRIBUTE Output only. The rejection reason when a brand status is REJECTED.

The allowed values are EXISTING_BRAND, EXISTING_BRAND_VARIANT, INCORRECT_INFORMATION, NOT_A_BRAND, UNKNOWN.

SharedCriterionBrandStatus String ATTRIBUTE Output only. The status of a brand.

The allowed values are APPROVED, CANCELLED, DEPRECATED, ENABLED, REJECTED, UNKNOWN, UNVERIFIED.

SharedCriterionCriterionId Long ATTRIBUTE Output only. The ID of the criterion.
SharedCriterionKeywordMatchType String ATTRIBUTE The match type of the keyword.

The allowed values are BROAD, EXACT, PHRASE, UNKNOWN.

SharedCriterionKeywordText String ATTRIBUTE The text of the keyword (at most 80 characters and 10 words).
SharedCriterionMobileAppCategoryMobileAppCategoryConstant String ATTRIBUTE The mobile app category constant resource name.
SharedCriterionMobileApplicationAppId String ATTRIBUTE A string that uniquely identifies a mobile application to Google Ads API. The format of this string is '{platform}-{platform_native_id}', where platform is '1' for iOS apps and '2' for Android apps, and where platform_native_id is the mobile application identifier native to the corresponding platform. For iOS, this native identifier is the 9 digit string that appears at the end of an App Store URL (for example, '476943146' for 'Flood-It! 2' whose App Store link is 'http://itunes.apple.com/us/app/flood-it!-2/id476943146'). For Android, this native identifier is the application's package name (for example, 'com.labpixies.colordrips' for 'Color Drips' given Google Play link 'https://play.google.com/store/apps/details?id=com.labpixies.colordrips'). A well formed app id for Google Ads API would thus be '1-476943146' for iOS and '2-com.labpixies.colordrips' for Android. This field is required and must be set in CREATE operations.
SharedCriterionMobileApplicationName String ATTRIBUTE Name of this mobile application.
SharedCriterionNegative Bool ATTRIBUTE Immutable. If true, the criterion is excluded. If false, the criterion is
SharedCriterionPlacementUrl String ATTRIBUTE URL of the placement. For example, 'http://www.domain.com'.
SharedCriterionResourceName String ATTRIBUTE Immutable. The resource name of the shared criterion.
SharedCriterionSharedSet String ATTRIBUTE Immutable. The shared set to which the shared criterion belongs.
SharedCriterionType String ATTRIBUTE Output only. The type of the criterion.

The allowed values are AD_SCHEDULE, AGE_RANGE, APP_PAYMENT_MODEL, AUDIENCE, BRAND, BRAND_LIST, CARRIER, COMBINED_AUDIENCE, CONTENT_LABEL, CUSTOM_AFFINITY, CUSTOM_AUDIENCE, CUSTOM_INTENT, DEVICE, GENDER, INCOME_RANGE, IP_BLOCK, KEYWORD, KEYWORD_THEME, LANGUAGE, LIFE_EVENT, LISTING_GROUP, LISTING_SCOPE, LOCAL_SERVICE_ID, LOCATION, LOCATION_GROUP, MOBILE_APPLICATION, MOBILE_APP_CATEGORY, MOBILE_DEVICE, NEGATIVE_KEYWORD_LIST, OPERATING_SYSTEM_VERSION, PARENTAL_STATUS, PLACEMENT, PLACEMENT_LIST, PROXIMITY, SEARCH_THEME, TOPIC, UNKNOWN, USER_INTEREST, USER_LIST, VERTICAL_ADS_ITEM_GROUP_RULE, VERTICAL_ADS_ITEM_GROUP_RULE_LIST, VIDEO_LINEUP, WEBPAGE, WEBPAGE_LIST, YOUTUBE_CHANNEL, YOUTUBE_VIDEO.

SharedCriterionVerticalAdsItemGroupRuleCityCriterionId String ATTRIBUTE The resource name of the Geo Target Constant for the city.
SharedCriterionVerticalAdsItemGroupRuleCountryCriterionId String ATTRIBUTE The resource name of the Geo Target Constant for the country.
SharedCriterionVerticalAdsItemGroupRuleHotelClass Long ATTRIBUTE Integer value specifying the class rating for a hotel. Ranges from 1 to 5 stars.
SharedCriterionVerticalAdsItemGroupRuleItemCode String ATTRIBUTE The id specifying a particular Vertical Ad listing.
SharedCriterionVerticalAdsItemGroupRuleRegionCriterionId String ATTRIBUTE The resource name of the Geo Target Constant for the region.
SharedCriterionWebpageConditions String ATTRIBUTE Conditions, or logical expressions, for webpage targeting. The list of webpage targeting conditions are and-ed together when evaluated for targeting. An empty list of conditions indicates all pages of the campaign's website are targeted. This field is required for CREATE operations and is prohibited on UPDATE operations.
SharedCriterionWebpageCoveragePercentage Double ATTRIBUTE Website criteria coverage percentage. This is the computed percentage of website coverage based on the website target, negative website target and negative keywords in the ad group and campaign. For instance, when coverage returns as 1, it indicates it has 100% coverage. This field is read-only.
SharedCriterionWebpageCriterionName String ATTRIBUTE The name of the criterion that is defined by this parameter. The name value will be used for identifying, sorting and filtering criteria with this type of parameters. This field is required for CREATE operations and is prohibited on UPDATE operations.
SharedCriterionWebpageSampleSampleUrls String ATTRIBUTE Webpage sample urls
SharedCriterionYoutubeChannelChannelId String ATTRIBUTE The YouTube uploader channel id or the channel code of a YouTube channel.
SharedCriterionYoutubeVideoVideoId String ATTRIBUTE YouTube video id as it appears on the YouTube watch page.

Pseudo-Columns

Pseudo column fields are used in the WHERE clause of SELECT statements and offer more granular control over the data returned from the data source.

Name Type Description
ManagerId Long Id of the manager account on behalf of which you are requesting customer data.

CData Python Connector for Google Ads

SharedSet

SharedSets are used for sharing criterion exclusions across multiple

Columns

Name Type Behavior Description
CampaignId Long SEGMENT Output only. The ID of the campaign.
CustomerId Long ATTRIBUTE Output only. The ID of the customer.
SharedSetId Long ATTRIBUTE Output only. The ID of this shared set. Read only.
SharedSetMemberCount Long ATTRIBUTE Output only. The number of shared criteria within this shared set. Read
SharedSetName String ATTRIBUTE The name of this shared set. Required.
SharedSetReferenceCount Long ATTRIBUTE Output only. The number of campaigns associated with this shared set. Read
SharedSetResourceName String ATTRIBUTE Immutable. The resource name of the shared set.
SharedSetStatus String ATTRIBUTE Output only. The status of this shared set. Read only.

The allowed values are ENABLED, REMOVED, UNKNOWN.

SharedSetType String ATTRIBUTE Immutable. The type of this shared set: each shared set holds only a single

The allowed values are ACCOUNT_LEVEL_NEGATIVE_KEYWORDS, BRANDS, NEGATIVE_KEYWORDS, NEGATIVE_PLACEMENTS, UNKNOWN, VERTICAL_ADS_ITEM_GROUP_RULE_LIST, WEBPAGES.

SharedSetVerticalAdsItemVerticalType String ATTRIBUTE Immutable. Shared sets of type VERTICAL_ADS_ITEM_GROUP_RULE_LIST are

The allowed values are EVENTS, FLIGHTS, HOTELS, RENTAL_CARS, THINGS_TO_DO, UNKNOWN, VACATION_RENTALS.

Pseudo-Columns

Pseudo column fields are used in the WHERE clause of SELECT statements and offer more granular control over the data returned from the data source.

Name Type Description
ManagerId Long Id of the manager account on behalf of which you are requesting customer data.

CData Python Connector for Google Ads

ShoppingPerformanceView

Shopping performance view.

View-Specific Information

Select

Google Ads does not allow every column to be selected in a single query, as some data conflicts if selected together. Therefore, when issuing a query that selects all columns, only the default metrics, segments, and attributes are returned. In general, these defaults are the same fields that are exposed through the Ads console. To use the nondefault fields, explicitly select them in your query.

Filters can also be used in the WHERE clause using the following supported operators: =, !=, >, >=, <, <=, LIKE, NOT LIKE, IN, NOT IN . Note that all filters must be joined by AND, as OR is not supported by the Ads API.

Columns

Name Type Behavior Description
AdGroupId Long SEGMENT Output only. The ID of the ad group.
CampaignId Long SEGMENT Output only. The ID of the campaign.
CustomerId Long ATTRIBUTE Output only. The ID of the customer.
ShoppingPerformanceViewResourceName String ATTRIBUTE Output only. The resource name of the Shopping performance view.
AllConversions Double METRIC The total number of conversions. This includes all conversions regardless
AllConversionsByConversionDate Double METRIC The total number of conversions. This includes all conversions regardless
AllConversionsFromInteractionsRate Double METRIC All conversions from interactions (as oppose to view through conversions)
AllConversionsValue Double METRIC The value of all conversions.
AllConversionsValueByConversionDate Double METRIC The value of all conversions. When this column is selected with date, the
AverageCartSize Double METRIC Average cart size is the average number of products in each order
AverageCpc Double METRIC The total cost of all clicks divided by the total number of clicks
AverageOrderValueMicros Long METRIC Average order value is the average revenue you made per order attributed to
Clicks Long METRIC The number of clicks.
Conversions Double METRIC The number of conversions. This only includes conversion actions which
ConversionsByConversionDate Double METRIC The number of conversions. This only includes conversion actions which
ConversionsFromInteractionsRate Double METRIC Conversions from interactions divided by the number of ad interactions
ConversionsValue Double METRIC The value of conversions. This only includes conversion actions which
ConversionsValueByConversionDate Double METRIC The value of conversions. This only includes conversion actions which
CostMicros Long METRIC The sum of your cost-per-click (CPC) and cost-per-thousand impressions
CostOfGoodsSoldMicros Long METRIC Cost of goods sold (COGS) is the total cost of the products you sold in
CostPerAllConversions Double METRIC The cost of ad interactions divided by all conversions.
CostPerConversion Double METRIC The cost of ad interactions divided by conversions. This only includes
CrossDeviceConversions Double METRIC Conversions from when a customer clicks on a Google Ads ad on one device,
CrossDeviceConversionsValueMicros Long METRIC The sum of the value of cross-device conversions, in micros.
CrossSellCostOfGoodsSoldMicros Long METRIC Cross-sell cost of goods sold (COGS) is the total cost of products sold as
CrossSellGrossProfitMicros Long METRIC Cross-sell gross profit is the profit you made from products sold as a
CrossSellRevenueMicros Long METRIC Cross-sell revenue is the total amount you made from products sold as a
CrossSellUnitsSold Double METRIC Cross-sell units sold is the total number of products sold as a result of
Ctr Double METRIC The number of clicks your ad receives (Clicks) divided by the number
GrossProfitMargin Double METRIC Gross profit margin is the percentage gross profit you made from orders
GrossProfitMicros Long METRIC Gross profit is the profit you made from orders attributed to your ads
Impressions Long METRIC Count of how often your ad has appeared on a search results page or
LeadCostOfGoodsSoldMicros Long METRIC Lead cost of goods sold (COGS) is the total cost of products sold as a
LeadGrossProfitMicros Long METRIC Lead gross profit is the profit you made from products sold as a result of
LeadRevenueMicros Long METRIC Lead revenue is the total amount you made from products sold as a result of
LeadUnitsSold Double METRIC Lead units sold is the total number of products sold as a result of
Orders Double METRIC Orders is the total number of purchase conversions you received attributed
RevenueMicros Long METRIC Revenue is the total amount you made from orders attributed to your ads.
SearchAbsoluteTopImpressionShare Double METRIC The percentage of the customer's Shopping or Search ad impressions that are
SearchBudgetLostAbsoluteTopImpressionShare Double METRIC The number estimating how often your ad wasn't the very first ad among the
SearchBudgetLostImpressionShare Double METRIC The estimated percent of times that your ad was eligible to show on the
SearchClickShare Double METRIC The number of clicks you've received on the Search Network
SearchImpressionShare Double METRIC The impressions you've received on the Search Network divided
SearchRankLostAbsoluteTopImpressionShare Double METRIC The number estimating how often your ad wasn't the very first ad among the
SearchRankLostImpressionShare Double METRIC The estimated percentage of impressions on the Search Network
UnitsSold Double METRIC Units sold is the total number of products sold from orders attributed to
ValuePerAllConversions Double METRIC The value of all conversions divided by the number of all conversions.
ValuePerAllConversionsByConversionDate Double METRIC The value of all conversions divided by the number of all conversions. When
ValuePerConversion Double METRIC The value of conversions divided by the number of conversions. This only
ValuePerConversionsByConversionDate Double METRIC The value of conversions divided by the number of conversions. This only
AdNetworkType String SEGMENT Ad network type.

The allowed values are CONTENT, DISCOVER, GMAIL, GOOGLE_OWNED_CHANNELS, GOOGLE_TV, MAPS, MIXED, SEARCH, SEARCH_PARTNERS, UNKNOWN, YOUTUBE.

AdSubNetworkType String SEGMENT Ad sub network type. Currently only available for ads running as part of

The allowed values are UNKNOWN, UNSEGMENTED, YOUTUBE_INFEED, YOUTUBE_INSTREAM, YOUTUBE_SHORTS.

ClickType String SEGMENT Click type.

The allowed values are AD_IMAGE, APP_DEEPLINK, BREADCRUMBS, BROADBAND_PLAN, CALLS, CALL_TRACKING, CLICK_ON_ENGAGEMENT_AD, CLICK_TO_MESSAGE_LANDING_PAGE_CLICK, CLICK_TO_MESSAGE_THIRD_PARTY_CLICK, CROSS_NETWORK, GET_DIRECTIONS, HOTEL_BOOK_ON_GOOGLE_ROOM_SELECTION, HOTEL_PRICE, LOCATION_EXPANSION, LOCATION_FORMAT_CALL, LOCATION_FORMAT_DIRECTIONS, LOCATION_FORMAT_IMAGE, LOCATION_FORMAT_LANDING_PAGE, LOCATION_FORMAT_MAP, LOCATION_FORMAT_STORE_INFO, LOCATION_FORMAT_TEXT, MOBILE_CALL_TRACKING, OFFER_PRINTS, OTHER, PRICE_EXTENSION, PRODUCT_AD_APP_DEEPLINK, PRODUCT_ASSETS, PRODUCT_EXTENSION_CLICKS, PRODUCT_LISTING_ADS_COUPON, PRODUCT_LISTING_AD_CLICKS, PRODUCT_LISTING_AD_LOCAL, PRODUCT_LISTING_AD_MULTICHANNEL_LOCAL, PRODUCT_LISTING_AD_MULTICHANNEL_ONLINE, PRODUCT_LISTING_AD_TRANSACTABLE, PROMOTION_EXTENSION, SHOPPING_COMPARISON_LISTING, SHOWCASE_AD_CATEGORY_LINK, SHOWCASE_AD_LOCAL_PRODUCT_LINK, SHOWCASE_AD_LOCAL_STOREFRONT_LINK, SHOWCASE_AD_ONLINE_PRODUCT_LINK, SITELINKS, STORE_LOCATOR, SWIPEABLE_GALLERY_AD_HEADLINE, SWIPEABLE_GALLERY_AD_SEE_MORE, SWIPEABLE_GALLERY_AD_SITELINK_FIVE, SWIPEABLE_GALLERY_AD_SITELINK_FOUR, SWIPEABLE_GALLERY_AD_SITELINK_ONE, SWIPEABLE_GALLERY_AD_SITELINK_THREE, SWIPEABLE_GALLERY_AD_SITELINK_TWO, SWIPEABLE_GALLERY_AD_SWIPES, TRAVEL_ASSETS, UNKNOWN, URL_CLICKS, VEHICLE_ASSETS, VIDEO_APP_STORE_CLICKS, VIDEO_CALL_TO_ACTION_CLICKS, VIDEO_CARD_ACTION_HEADLINE_CLICKS, VIDEO_CHANNEL_CLICK, VIDEO_END_CAP_CLICKS, VIDEO_RELATED_VIDEOS_CLICK, VIDEO_WEBSITE_CLICKS, VISUAL_SITELINKS, WIRELESS_PLAN.

ConversionAction String SEGMENT Resource name of the conversion action.
ConversionActionCategory String SEGMENT Conversion action category.

The allowed values are ADD_TO_CART, BEGIN_CHECKOUT, BOOK_APPOINTMENT, CONTACT, CONVERTED_LEAD, DEFAULT, DOWNLOAD, ENGAGEMENT, GET_DIRECTIONS, IMPORTED_LEAD, OUTBOUND_CLICK, PAGE_VIEW, PHONE_CALL_LEAD, PURCHASE, QUALIFIED_LEAD, REQUEST_QUOTE, SIGNUP, STORE_SALE, STORE_VISIT, SUBMIT_LEAD_FORM, SUBSCRIBE_PAID, UNKNOWN, YOUTUBE_FOLLOW_ON_VIEWS.

ConversionActionName String SEGMENT Conversion action name.
Date Date SEGMENT Date to which metrics apply.
DayOfWeek String SEGMENT Day of the week, for example, MONDAY.

The allowed values are FRIDAY, MONDAY, SATURDAY, SUNDAY, THURSDAY, TUESDAY, UNKNOWN, WEDNESDAY.

Device String SEGMENT Device to which metrics apply.

The allowed values are CONNECTED_TV, DESKTOP, MOBILE, OTHER, TABLET, UNKNOWN.

ExternalConversionSource String SEGMENT External conversion source.

The allowed values are AD_CALL_METRICS, ANALYTICS, ANALYTICS_SEARCH_ADS_360, ANDROID_FIRST_OPEN, ANDROID_IN_APP, APP_UNSPECIFIED, CLICK_TO_CALL, DISPLAY_AND_VIDEO_360_FLOODLIGHT, FIREBASE, FIREBASE_SEARCH_ADS_360, FLOODLIGHT, GOOGLE_ATTRIBUTION, GOOGLE_HOSTED, GOOGLE_PLAY, IOS_FIRST_OPEN, IOS_IN_APP, SALESFORCE, SEARCH_ADS_360, STORE_SALES, STORE_SALES_CRM, STORE_SALES_DIRECT_UPLOAD, STORE_SALES_PAYMENT_NETWORK, STORE_VISITS, THIRD_PARTY_APP_ANALYTICS, UNKNOWN, UPLOAD, UPLOAD_CALLS, WEBPAGE, WEBSITE_CALL_METRICS.

Month Date SEGMENT Month as represented by the date of the first day of a month. Formatted as
Period String SEGMENT Predefined date range.

The allowed values are TODAY, YESTERDAY, LAST_7_DAYS, LAST_BUSINESS_WEEK, THIS_MONTH, LAST_MONTH, LAST_14_DAYS, LAST_30_DAYS, THIS_WEEK_SUN_TODAY, THIS_WEEK_MON_TODAY, LAST_WEEK_SUN_SAT, LAST_WEEK_MON_SUN.

ProductAggregatorId Long SEGMENT Aggregator ID of the product.
ProductBrand String SEGMENT Brand of the product.
ProductCategoryLevel1 String SEGMENT Category (level 1) of the product.
ProductCategoryLevel2 String SEGMENT Category (level 2) of the product.
ProductCategoryLevel3 String SEGMENT Category (level 3) of the product.
ProductCategoryLevel4 String SEGMENT Category (level 4) of the product.
ProductCategoryLevel5 String SEGMENT Category (level 5) of the product.
ProductChannel String SEGMENT Channel of the product.

The allowed values are LOCAL, ONLINE, UNKNOWN.

ProductChannelExclusivity String SEGMENT Channel exclusivity of the product.

The allowed values are MULTI_CHANNEL, SINGLE_CHANNEL, UNKNOWN.

ProductCondition String SEGMENT Condition of the product.

The allowed values are NEW, REFURBISHED, UNKNOWN, USED.

ProductCountry String SEGMENT Resource name of the geo target constant for the country of sale of the
ProductCustomAttribute0 String SEGMENT Custom attribute 0 of the product.
ProductCustomAttribute1 String SEGMENT Custom attribute 1 of the product.
ProductCustomAttribute2 String SEGMENT Custom attribute 2 of the product.
ProductCustomAttribute3 String SEGMENT Custom attribute 3 of the product.
ProductCustomAttribute4 String SEGMENT Custom attribute 4 of the product.
ProductFeedLabel String SEGMENT Feed label of the product.
ProductItemId String SEGMENT Item ID of the product.
ProductLanguage String SEGMENT Resource name of the language constant for the language of the product.
ProductMerchantId Long SEGMENT Merchant ID of the product.
ProductStoreId String SEGMENT Store ID of the product.
ProductTitle String SEGMENT Title of the product.
ProductTypeL1 String SEGMENT Type (level 1) of the product.
ProductTypeL2 String SEGMENT Type (level 2) of the product.
ProductTypeL3 String SEGMENT Type (level 3) of the product.
ProductTypeL4 String SEGMENT Type (level 4) of the product.
ProductTypeL5 String SEGMENT Type (level 5) of the product.
Quarter Date SEGMENT Quarter as represented by the date of the first day of a quarter.
Week Date SEGMENT Week as defined as Monday through Sunday, and represented by the date of
Year Int SEGMENT Year, formatted as yyyy.

Pseudo-Columns

Pseudo column fields are used in the WHERE clause of SELECT statements and offer more granular control over the data returned from the data source.

Name Type Description
ManagerId Long Id of the manager account on behalf of which you are requesting customer data.

CData Python Connector for Google Ads

ShoppingProduct

A shopping product from Google Merchant Center that can be advertised by

Columns

Name Type Behavior Description
CustomerId Long ATTRIBUTE Output only. The ID of the customer.
ShoppingProductAdGroup String ATTRIBUTE Output only. An ad group of a campaign that includes the product.
ShoppingProductAvailability String ATTRIBUTE Output only. The availability of the product as provided by the merchant.

The allowed values are IN_STOCK, OUT_OF_STOCK, PREORDER, UNKNOWN.

ShoppingProductBrand String ATTRIBUTE Output only. The brand of the product as provided by the merchant.
ShoppingProductCampaign String ATTRIBUTE Output only. A campaign that includes the product.
ShoppingProductCategoryLevel1 String ATTRIBUTE Output only. The category level 1 of the product.
ShoppingProductCategoryLevel2 String ATTRIBUTE Output only. The category level 2 of the product.
ShoppingProductCategoryLevel3 String ATTRIBUTE Output only. The category level 3 of the product.
ShoppingProductCategoryLevel4 String ATTRIBUTE Output only. The category level 4 of the product.
ShoppingProductCategoryLevel5 String ATTRIBUTE Output only. The category level 5 of the product.
ShoppingProductChannel String ATTRIBUTE Output only. The product channel describing the locality of the product.

The allowed values are LOCAL, ONLINE, UNKNOWN.

ShoppingProductChannelExclusivity String ATTRIBUTE Output only. The channel exclusivity of the product as provided by the

The allowed values are MULTI_CHANNEL, SINGLE_CHANNEL, UNKNOWN.

ShoppingProductCondition String ATTRIBUTE Output only. The condition of the product as provided by the merchant.

The allowed values are NEW, REFURBISHED, UNKNOWN, USED.

ShoppingProductCurrencyCode String ATTRIBUTE Output only. The currency code as provided by the merchant, in ISO 4217
ShoppingProductCustomAttribute0 String ATTRIBUTE Output only. The custom attribute 0 of the product as provided by the
ShoppingProductCustomAttribute1 String ATTRIBUTE Output only. The custom attribute 1 of the product as provided by the
ShoppingProductCustomAttribute2 String ATTRIBUTE Output only. The custom attribute 2 of the product as provided by the
ShoppingProductCustomAttribute3 String ATTRIBUTE Output only. The custom attribute 3 of the product as provided by the
ShoppingProductCustomAttribute4 String ATTRIBUTE Output only. The custom attribute 4 of the product as provided by the
ShoppingProductEffectiveMaxCpcMicros Long ATTRIBUTE Output only. The effective maximum cost-per-click (effective max. CPC) of
ShoppingProductFeedLabel String ATTRIBUTE Output only. The product feed label as provided by the merchant.
ShoppingProductIssues String ATTRIBUTE Output only. The list of issues affecting whether the product can show in
ShoppingProductItemId String ATTRIBUTE Output only. The item id of the product as provided by the merchant.
ShoppingProductLanguageCode String ATTRIBUTE Output only. The language code as provided by the merchant, in BCP 47
ShoppingProductMerchantCenterId Long ATTRIBUTE Output only. The id of the merchant that owns the product.
ShoppingProductMultiClientAccountId Long ATTRIBUTE Output only. The id of the Multi Client Account of the merchant, if
ShoppingProductPriceMicros Long ATTRIBUTE Output only. The price of the product in micros as provided by the
ShoppingProductProductImageUri String ATTRIBUTE Output only. The URI of the product image as provided by the merchant.
ShoppingProductProductTypeLevel1 String ATTRIBUTE Output only. The product type level 1 as provided by the merchant.
ShoppingProductProductTypeLevel2 String ATTRIBUTE Output only. The product type level 2 as provided by the merchant.
ShoppingProductProductTypeLevel3 String ATTRIBUTE Output only. The product type level 3 as provided by the merchant.
ShoppingProductProductTypeLevel4 String ATTRIBUTE Output only. The product type level 4 as provided by the merchant.
ShoppingProductProductTypeLevel5 String ATTRIBUTE Output only. The product type level 5 as provided by the merchant.
ShoppingProductResourceName String ATTRIBUTE Output only. The resource name of the shopping product.
ShoppingProductStatus String ATTRIBUTE Output only. The status that indicates whether the product can show in ads.

The allowed values are ELIGIBLE, ELIGIBLE_LIMITED, NOT_ELIGIBLE, UNKNOWN.

ShoppingProductTargetCountries String ATTRIBUTE Output only. Upper-case two-letter ISO 3166-1 code of the regions where the
ShoppingProductTitle String ATTRIBUTE Output only. The title of the product as provided by the merchant.
AllConversions Double METRIC The total number of conversions. This includes all conversions regardless
AllConversionsFromInteractionsRate Double METRIC All conversions from interactions (as oppose to view through conversions)
AllConversionsFromInteractionsValuePerInteraction Double METRIC The value of all conversions from interactions divided by the total number
AllConversionsValue Double METRIC The value of all conversions.
AllConversionsValuePerCost Double METRIC The value of all conversions divided by the total cost of ad interactions
AverageCartSize Double METRIC Average cart size is the average number of products in each order
AverageCpc Double METRIC The total cost of all clicks divided by the total number of clicks
AverageOrderValueMicros Long METRIC Average order value is the average revenue you made per order attributed to
Clicks Long METRIC The number of clicks.
Conversions Double METRIC The number of conversions. This only includes conversion actions which
ConversionsFromInteractionsRate Double METRIC Conversions from interactions divided by the number of ad interactions
ConversionsFromInteractionsValuePerInteraction Double METRIC The value of conversions from interactions divided by the number of ad
ConversionsValue Double METRIC The value of conversions. This only includes conversion actions which
CostMicros Long METRIC The sum of your cost-per-click (CPC) and cost-per-thousand impressions
CostOfGoodsSoldMicros Long METRIC Cost of goods sold (COGS) is the total cost of the products you sold in
CostPerAllConversions Double METRIC The cost of ad interactions divided by all conversions.
CostPerConversion Double METRIC The cost of ad interactions divided by conversions. This only includes
CrossDeviceConversions Double METRIC Conversions from when a customer clicks on a Google Ads ad on one device,
CrossDeviceConversionsValueMicros Long METRIC The sum of the value of cross-device conversions, in micros.
CrossSellCostOfGoodsSoldMicros Long METRIC Cross-sell cost of goods sold (COGS) is the total cost of products sold as
CrossSellGrossProfitMicros Long METRIC Cross-sell gross profit is the profit you made from products sold as a
CrossSellRevenueMicros Long METRIC Cross-sell revenue is the total amount you made from products sold as a
CrossSellUnitsSold Double METRIC Cross-sell units sold is the total number of products sold as a result of
Ctr Double METRIC The number of clicks your ad receives (Clicks) divided by the number
GrossProfitMargin Double METRIC Gross profit margin is the percentage gross profit you made from orders
GrossProfitMicros Long METRIC Gross profit is the profit you made from orders attributed to your ads
Impressions Long METRIC Count of how often your ad has appeared on a search results page or
LeadCostOfGoodsSoldMicros Long METRIC Lead cost of goods sold (COGS) is the total cost of products sold as a
LeadGrossProfitMicros Long METRIC Lead gross profit is the profit you made from products sold as a result of
LeadRevenueMicros Long METRIC Lead revenue is the total amount you made from products sold as a result of
LeadUnitsSold Double METRIC Lead units sold is the total number of products sold as a result of
Orders Double METRIC Orders is the total number of purchase conversions you received attributed
RevenueMicros Long METRIC Revenue is the total amount you made from orders attributed to your ads.
SearchAbsoluteTopImpressionShare Double METRIC The percentage of the customer's Shopping or Search ad impressions that are
UnitsSold Double METRIC Units sold is the total number of products sold from orders attributed to
ValuePerAllConversions Double METRIC The value of all conversions divided by the number of all conversions.
ValuePerConversion Double METRIC The value of conversions divided by the number of conversions. This only
Date Date SEGMENT Date to which metrics apply.
Month Date SEGMENT Month as represented by the date of the first day of a month. Formatted as
Period String SEGMENT Predefined date range.

The allowed values are TODAY, YESTERDAY, LAST_7_DAYS, LAST_BUSINESS_WEEK, THIS_MONTH, LAST_MONTH, LAST_14_DAYS, LAST_30_DAYS, THIS_WEEK_SUN_TODAY, THIS_WEEK_MON_TODAY, LAST_WEEK_SUN_SAT, LAST_WEEK_MON_SUN.

Quarter Date SEGMENT Quarter as represented by the date of the first day of a quarter.
Week Date SEGMENT Week as defined as Monday through Sunday, and represented by the date of
Year Int SEGMENT Year, formatted as yyyy.

Pseudo-Columns

Pseudo column fields are used in the WHERE clause of SELECT statements and offer more granular control over the data returned from the data source.

Name Type Description
ManagerId Long Id of the manager account on behalf of which you are requesting customer data.

CData Python Connector for Google Ads

SmartCampaignSearchTermView

A Smart campaign search term view.

Columns

Name Type Behavior Description
CustomerId Long ATTRIBUTE Output only. The ID of the customer.
SmartCampaignSearchTermViewCampaign String ATTRIBUTE Output only. The Smart campaign the search term served in.
SmartCampaignSearchTermViewResourceName String ATTRIBUTE Output only. The resource name of the Smart campaign search term view.
SmartCampaignSearchTermViewSearchTerm String ATTRIBUTE Output only. The search term.
Clicks Long METRIC The number of clicks.
CostMicros Long METRIC The sum of your cost-per-click (CPC) and cost-per-thousand impressions
Impressions Long METRIC Count of how often your ad has appeared on a search results page or
Date Date SEGMENT Date to which metrics apply.
DayOfWeek String SEGMENT Day of the week, for example, MONDAY.

The allowed values are FRIDAY, MONDAY, SATURDAY, SUNDAY, THURSDAY, TUESDAY, UNKNOWN, WEDNESDAY.

Month Date SEGMENT Month as represented by the date of the first day of a month. Formatted as
MonthOfYear String SEGMENT Month of the year, for example, January.

The allowed values are APRIL, AUGUST, DECEMBER, FEBRUARY, JANUARY, JULY, JUNE, MARCH, MAY, NOVEMBER, OCTOBER, SEPTEMBER, UNKNOWN.

Period String SEGMENT Predefined date range.

The allowed values are TODAY, YESTERDAY, LAST_7_DAYS, LAST_BUSINESS_WEEK, THIS_MONTH, LAST_MONTH, LAST_14_DAYS, LAST_30_DAYS, THIS_WEEK_SUN_TODAY, THIS_WEEK_MON_TODAY, LAST_WEEK_SUN_SAT, LAST_WEEK_MON_SUN.

Quarter Date SEGMENT Quarter as represented by the date of the first day of a quarter.
Week Date SEGMENT Week as defined as Monday through Sunday, and represented by the date of
Year Int SEGMENT Year, formatted as yyyy.

Pseudo-Columns

Pseudo column fields are used in the WHERE clause of SELECT statements and offer more granular control over the data returned from the data source.

Name Type Description
ManagerId Long Id of the manager account on behalf of which you are requesting customer data.

CData Python Connector for Google Ads

SmartCampaignSetting

Settings for configuring Smart campaigns.

Columns

Name Type Behavior Description
CustomerId Long ATTRIBUTE Output only. The ID of the customer.
SmartCampaignSettingAdOptimizedBusinessProfileSettingIncludeLeadForm Bool ATTRIBUTE Enabling a lead form on your business profile enables prospective customers to contact your business by filling out a simple form, and you'll receive their information through email.
SmartCampaignSettingAdvertisingLanguageCode String ATTRIBUTE The language code to advertise in from the set of
SmartCampaignSettingBusinessName String ATTRIBUTE The name of the business.
SmartCampaignSettingBusinessProfileLocation String ATTRIBUTE The resource name of a Business Profile location.
SmartCampaignSettingCampaign String ATTRIBUTE Output only. The campaign to which these settings apply.
SmartCampaignSettingFinalUrl String ATTRIBUTE The user-provided landing page URL for this Campaign.
SmartCampaignSettingPhoneNumberCountryCode String ATTRIBUTE Upper-case, two-letter country code as defined by ISO-3166.
SmartCampaignSettingPhoneNumberPhoneNumber String ATTRIBUTE Phone number of the smart campaign.
SmartCampaignSettingResourceName String ATTRIBUTE Immutable. The resource name of the Smart campaign setting.

Pseudo-Columns

Pseudo column fields are used in the WHERE clause of SELECT statements and offer more granular control over the data returned from the data source.

Name Type Description
ManagerId Long Id of the manager account on behalf of which you are requesting customer data.

CData Python Connector for Google Ads

TargetingExpansionView

A targeting expansion view with metrics.

Columns

Name Type Behavior Description
AdGroupId Long SEGMENT Output only. The ID of the ad group.
CustomerId Long ATTRIBUTE Output only. The ID of the customer.
TargetingExpansionViewResourceName String ATTRIBUTE Output only. The resource name of the targeting expansion view.
AbsoluteTopImpressionPercentage Double METRIC Search absolute top impression share is the percentage of your Search ad
ActiveViewCpm Double METRIC Average cost of viewable impressions (active_view_impressions).
ActiveViewCtr Double METRIC Active view measurable clicks divided by active view viewable impressions.
ActiveViewImpressions Long METRIC A measurement of how often your ad has become viewable on a Display
ActiveViewMeasurability Double METRIC The ratio of impressions that could be measured by Active View over the
ActiveViewMeasurableCostMicros Long METRIC The cost of the impressions you received that were measurable by Active
ActiveViewMeasurableImpressions Long METRIC The number of times your ads are appearing on placements in positions
ActiveViewViewability Double METRIC The percentage of time when your ad appeared on an Active View enabled site
AllConversions Double METRIC The total number of conversions. This includes all conversions regardless
AllConversionsFromInteractionsRate Double METRIC All conversions from interactions (as oppose to view through conversions)
AllConversionsFromInteractionsValuePerInteraction Double METRIC The value of all conversions from interactions divided by the total number
AllConversionsValue Double METRIC The value of all conversions.
AllConversionsValuePerCost Double METRIC The value of all conversions divided by the total cost of ad interactions
AverageCartSize Double METRIC Average cart size is the average number of products in each order
AverageCost Double METRIC The average amount you pay per interaction. This amount is the total cost
AverageCpc Double METRIC The total cost of all clicks divided by the total number of clicks
AverageCpe Double METRIC The average amount that you've been charged for an ad engagement. This
AverageCpm Double METRIC Average cost-per-thousand impressions (CPM).
AverageOrderValueMicros Long METRIC Average order value is the average revenue you made per order attributed to
AveragePageViews Double METRIC Average number of pages viewed per session.
AverageTimeOnSite Double METRIC Total duration of all sessions (in seconds) / number of sessions. Imported
BounceRate Double METRIC Percentage of clicks where the user only visited a single page on your
Clicks Long METRIC The number of clicks.
Conversions Double METRIC The number of conversions. This only includes conversion actions which
ConversionsFromInteractionsRate Double METRIC Conversions from interactions divided by the number of ad interactions
ConversionsValue Double METRIC The value of conversions. This only includes conversion actions which
ConversionsValuePerCost Double METRIC The value of conversions divided by the cost of ad interactions. This only
CostMicros Long METRIC The sum of your cost-per-click (CPC) and cost-per-thousand impressions
CostOfGoodsSoldMicros Long METRIC Cost of goods sold (COGS) is the total cost of the products you sold in
CostPerAllConversions Double METRIC The cost of ad interactions divided by all conversions.
CostPerConversion Double METRIC The cost of ad interactions divided by conversions. This only includes
CostPerCurrentModelAttributedConversion Double METRIC The cost of ad interactions divided by current model attributed
CrossDeviceConversions Double METRIC Conversions from when a customer clicks on a Google Ads ad on one device,
CrossDeviceConversionsValueMicros Long METRIC The sum of the value of cross-device conversions, in micros.
CrossSellCostOfGoodsSoldMicros Long METRIC Cross-sell cost of goods sold (COGS) is the total cost of products sold as
CrossSellGrossProfitMicros Long METRIC Cross-sell gross profit is the profit you made from products sold as a
CrossSellRevenueMicros Long METRIC Cross-sell revenue is the total amount you made from products sold as a
CrossSellUnitsSold Double METRIC Cross-sell units sold is the total number of products sold as a result of
Ctr Double METRIC The number of clicks your ad receives (Clicks) divided by the number
CurrentModelAttributedConversions Double METRIC Shows how your historic conversions data would look under the attribution
CurrentModelAttributedConversionsValue Double METRIC The value of current model attributed conversions. This only includes
EngagementRate Double METRIC How often people engage with your ad after it's shown to them. This is the
Engagements Long METRIC The number of engagements.
GmailForwards Long METRIC The number of times the ad was forwarded to someone else as a message.
GmailSaves Long METRIC The number of times someone has saved your Gmail ad to their inbox as a
GmailSecondaryClicks Long METRIC The number of clicks to the landing page on the expanded state of Gmail
GrossProfitMargin Double METRIC Gross profit margin is the percentage gross profit you made from orders
GrossProfitMicros Long METRIC Gross profit is the profit you made from orders attributed to your ads
Impressions Long METRIC Count of how often your ad has appeared on a search results page or
InteractionEventTypes String METRIC The types of payable and free interactions.

The allowed values are CLICK, ENGAGEMENT, NONE, UNKNOWN, VIDEO_VIEW.

InteractionRate Double METRIC How often people interact with your ad after it is shown to them.
Interactions Long METRIC The number of interactions.
LeadCostOfGoodsSoldMicros Long METRIC Lead cost of goods sold (COGS) is the total cost of products sold as a
LeadGrossProfitMicros Long METRIC Lead gross profit is the profit you made from products sold as a result of
LeadRevenueMicros Long METRIC Lead revenue is the total amount you made from products sold as a result of
LeadUnitsSold Double METRIC Lead units sold is the total number of products sold as a result of
Orders Double METRIC Orders is the total number of purchase conversions you received attributed
PercentNewVisitors Double METRIC Percentage of first-time sessions (from people who had never visited your
PhoneCalls Long METRIC Number of offline phone calls.
RevenueMicros Long METRIC Revenue is the total amount you made from orders attributed to your ads.
SearchAbsoluteTopImpressionShare Double METRIC The percentage of the customer's Shopping or Search ad impressions that are
SearchBudgetLostAbsoluteTopImpressionShare Double METRIC The number estimating how often your ad wasn't the very first ad among the
SearchBudgetLostTopImpressionShare Double METRIC The number estimating how often your ad didn't show adjacent to the top
SearchClickShare Double METRIC The number of clicks you've received on the Search Network
SearchExactMatchImpressionShare Double METRIC The impressions you've received divided by the estimated number of
SearchImpressionShare Double METRIC The impressions you've received on the Search Network divided
SearchRankLostAbsoluteTopImpressionShare Double METRIC The number estimating how often your ad wasn't the very first ad among the
SearchRankLostImpressionShare Double METRIC The estimated percentage of impressions on the Search Network
SearchRankLostTopImpressionShare Double METRIC The number estimating how often your ad didn't show adjacent to the top
SearchTopImpressionShare Double METRIC The impressions you've received among the top ads compared to the estimated
TopImpressionPercentage Double METRIC The percent of your ad impressions that are shown adjacent to the top
TrueviewAverageCpv Double METRIC The average amount you pay each time someone views your ad.
UnitsSold Double METRIC Units sold is the total number of products sold from orders attributed to
ValuePerAllConversions Double METRIC The value of all conversions divided by the number of all conversions.
ValuePerConversion Double METRIC The value of conversions divided by the number of conversions. This only
ValuePerCurrentModelAttributedConversion Double METRIC The value of current model attributed conversions divided by the number of
ViewThroughConversions Long METRIC The total number of view-through conversions.
AdNetworkType String SEGMENT Ad network type.

The allowed values are CONTENT, DISCOVER, GMAIL, GOOGLE_OWNED_CHANNELS, GOOGLE_TV, MAPS, MIXED, SEARCH, SEARCH_PARTNERS, UNKNOWN, YOUTUBE.

ClickType String SEGMENT Click type.

The allowed values are AD_IMAGE, APP_DEEPLINK, BREADCRUMBS, BROADBAND_PLAN, CALLS, CALL_TRACKING, CLICK_ON_ENGAGEMENT_AD, CLICK_TO_MESSAGE_LANDING_PAGE_CLICK, CLICK_TO_MESSAGE_THIRD_PARTY_CLICK, CROSS_NETWORK, GET_DIRECTIONS, HOTEL_BOOK_ON_GOOGLE_ROOM_SELECTION, HOTEL_PRICE, LOCATION_EXPANSION, LOCATION_FORMAT_CALL, LOCATION_FORMAT_DIRECTIONS, LOCATION_FORMAT_IMAGE, LOCATION_FORMAT_LANDING_PAGE, LOCATION_FORMAT_MAP, LOCATION_FORMAT_STORE_INFO, LOCATION_FORMAT_TEXT, MOBILE_CALL_TRACKING, OFFER_PRINTS, OTHER, PRICE_EXTENSION, PRODUCT_AD_APP_DEEPLINK, PRODUCT_ASSETS, PRODUCT_EXTENSION_CLICKS, PRODUCT_LISTING_ADS_COUPON, PRODUCT_LISTING_AD_CLICKS, PRODUCT_LISTING_AD_LOCAL, PRODUCT_LISTING_AD_MULTICHANNEL_LOCAL, PRODUCT_LISTING_AD_MULTICHANNEL_ONLINE, PRODUCT_LISTING_AD_TRANSACTABLE, PROMOTION_EXTENSION, SHOPPING_COMPARISON_LISTING, SHOWCASE_AD_CATEGORY_LINK, SHOWCASE_AD_LOCAL_PRODUCT_LINK, SHOWCASE_AD_LOCAL_STOREFRONT_LINK, SHOWCASE_AD_ONLINE_PRODUCT_LINK, SITELINKS, STORE_LOCATOR, SWIPEABLE_GALLERY_AD_HEADLINE, SWIPEABLE_GALLERY_AD_SEE_MORE, SWIPEABLE_GALLERY_AD_SITELINK_FIVE, SWIPEABLE_GALLERY_AD_SITELINK_FOUR, SWIPEABLE_GALLERY_AD_SITELINK_ONE, SWIPEABLE_GALLERY_AD_SITELINK_THREE, SWIPEABLE_GALLERY_AD_SITELINK_TWO, SWIPEABLE_GALLERY_AD_SWIPES, TRAVEL_ASSETS, UNKNOWN, URL_CLICKS, VEHICLE_ASSETS, VIDEO_APP_STORE_CLICKS, VIDEO_CALL_TO_ACTION_CLICKS, VIDEO_CARD_ACTION_HEADLINE_CLICKS, VIDEO_CHANNEL_CLICK, VIDEO_END_CAP_CLICKS, VIDEO_RELATED_VIDEOS_CLICK, VIDEO_WEBSITE_CLICKS, VISUAL_SITELINKS, WIRELESS_PLAN.

ConversionAction String SEGMENT Resource name of the conversion action.
ConversionActionCategory String SEGMENT Conversion action category.

The allowed values are ADD_TO_CART, BEGIN_CHECKOUT, BOOK_APPOINTMENT, CONTACT, CONVERTED_LEAD, DEFAULT, DOWNLOAD, ENGAGEMENT, GET_DIRECTIONS, IMPORTED_LEAD, OUTBOUND_CLICK, PAGE_VIEW, PHONE_CALL_LEAD, PURCHASE, QUALIFIED_LEAD, REQUEST_QUOTE, SIGNUP, STORE_SALE, STORE_VISIT, SUBMIT_LEAD_FORM, SUBSCRIBE_PAID, UNKNOWN, YOUTUBE_FOLLOW_ON_VIEWS.

ConversionActionName String SEGMENT Conversion action name.
ConversionAdjustment Bool SEGMENT This segments your conversion columns by the original conversion and
ConversionLagBucket String SEGMENT An enum value representing the number of days between the impression and

The allowed values are EIGHT_TO_NINE_DAYS, ELEVEN_TO_TWELVE_DAYS, FIVE_TO_SIX_DAYS, FORTY_FIVE_TO_SIXTY_DAYS, FOURTEEN_TO_TWENTY_ONE_DAYS, FOUR_TO_FIVE_DAYS, LESS_THAN_ONE_DAY, NINE_TO_TEN_DAYS, ONE_TO_TWO_DAYS, SEVEN_TO_EIGHT_DAYS, SIXTY_TO_NINETY_DAYS, SIX_TO_SEVEN_DAYS, TEN_TO_ELEVEN_DAYS, THIRTEEN_TO_FOURTEEN_DAYS, THIRTY_TO_FORTY_FIVE_DAYS, THREE_TO_FOUR_DAYS, TWELVE_TO_THIRTEEN_DAYS, TWENTY_ONE_TO_THIRTY_DAYS, TWO_TO_THREE_DAYS, UNKNOWN.

ConversionOrAdjustmentLagBucket String SEGMENT An enum value representing the number of days between the impression and

The allowed values are ADJUSTMENT_EIGHT_TO_NINE_DAYS, ADJUSTMENT_ELEVEN_TO_TWELVE_DAYS, ADJUSTMENT_FIVE_TO_SIX_DAYS, ADJUSTMENT_FORTY_FIVE_TO_SIXTY_DAYS, ADJUSTMENT_FOURTEEN_TO_TWENTY_ONE_DAYS, ADJUSTMENT_FOUR_TO_FIVE_DAYS, ADJUSTMENT_LESS_THAN_ONE_DAY, ADJUSTMENT_NINETY_TO_ONE_HUNDRED_AND_FORTY_FIVE_DAYS, ADJUSTMENT_NINE_TO_TEN_DAYS, ADJUSTMENT_ONE_TO_TWO_DAYS, ADJUSTMENT_SEVEN_TO_EIGHT_DAYS, ADJUSTMENT_SIXTY_TO_NINETY_DAYS, ADJUSTMENT_SIX_TO_SEVEN_DAYS, ADJUSTMENT_TEN_TO_ELEVEN_DAYS, ADJUSTMENT_THIRTEEN_TO_FOURTEEN_DAYS, ADJUSTMENT_THIRTY_TO_FORTY_FIVE_DAYS, ADJUSTMENT_THREE_TO_FOUR_DAYS, ADJUSTMENT_TWELVE_TO_THIRTEEN_DAYS, ADJUSTMENT_TWENTY_ONE_TO_THIRTY_DAYS, ADJUSTMENT_TWO_TO_THREE_DAYS, ADJUSTMENT_UNKNOWN, CONVERSION_EIGHT_TO_NINE_DAYS, CONVERSION_ELEVEN_TO_TWELVE_DAYS, CONVERSION_FIVE_TO_SIX_DAYS, CONVERSION_FORTY_FIVE_TO_SIXTY_DAYS, CONVERSION_FOURTEEN_TO_TWENTY_ONE_DAYS, CONVERSION_FOUR_TO_FIVE_DAYS, CONVERSION_LESS_THAN_ONE_DAY, CONVERSION_NINE_TO_TEN_DAYS, CONVERSION_ONE_TO_TWO_DAYS, CONVERSION_SEVEN_TO_EIGHT_DAYS, CONVERSION_SIXTY_TO_NINETY_DAYS, CONVERSION_SIX_TO_SEVEN_DAYS, CONVERSION_TEN_TO_ELEVEN_DAYS, CONVERSION_THIRTEEN_TO_FOURTEEN_DAYS, CONVERSION_THIRTY_TO_FORTY_FIVE_DAYS, CONVERSION_THREE_TO_FOUR_DAYS, CONVERSION_TWELVE_TO_THIRTEEN_DAYS, CONVERSION_TWENTY_ONE_TO_THIRTY_DAYS, CONVERSION_TWO_TO_THREE_DAYS, CONVERSION_UNKNOWN, UNKNOWN.

Date Date SEGMENT Date to which metrics apply.
Device String SEGMENT Device to which metrics apply.

The allowed values are CONNECTED_TV, DESKTOP, MOBILE, OTHER, TABLET, UNKNOWN.

ExternalConversionSource String SEGMENT External conversion source.

The allowed values are AD_CALL_METRICS, ANALYTICS, ANALYTICS_SEARCH_ADS_360, ANDROID_FIRST_OPEN, ANDROID_IN_APP, APP_UNSPECIFIED, CLICK_TO_CALL, DISPLAY_AND_VIDEO_360_FLOODLIGHT, FIREBASE, FIREBASE_SEARCH_ADS_360, FLOODLIGHT, GOOGLE_ATTRIBUTION, GOOGLE_HOSTED, GOOGLE_PLAY, IOS_FIRST_OPEN, IOS_IN_APP, SALESFORCE, SEARCH_ADS_360, STORE_SALES, STORE_SALES_CRM, STORE_SALES_DIRECT_UPLOAD, STORE_SALES_PAYMENT_NETWORK, STORE_VISITS, THIRD_PARTY_APP_ANALYTICS, UNKNOWN, UPLOAD, UPLOAD_CALLS, WEBPAGE, WEBSITE_CALL_METRICS.

Month Date SEGMENT Month as represented by the date of the first day of a month. Formatted as
MonthOfYear String SEGMENT Month of the year, for example, January.

The allowed values are APRIL, AUGUST, DECEMBER, FEBRUARY, JANUARY, JULY, JUNE, MARCH, MAY, NOVEMBER, OCTOBER, SEPTEMBER, UNKNOWN.

NewVersusReturningCustomers String SEGMENT This is for segmenting conversions by whether the user is a new customer

The allowed values are NEW, NEW_AND_HIGH_LTV, RETURNING, UNKNOWN.

Period String SEGMENT Predefined date range.

The allowed values are TODAY, YESTERDAY, LAST_7_DAYS, LAST_BUSINESS_WEEK, THIS_MONTH, LAST_MONTH, LAST_14_DAYS, LAST_30_DAYS, THIS_WEEK_SUN_TODAY, THIS_WEEK_MON_TODAY, LAST_WEEK_SUN_SAT, LAST_WEEK_MON_SUN.

Quarter Date SEGMENT Quarter as represented by the date of the first day of a quarter.
Slot String SEGMENT Position of the ad.

The allowed values are CONTENT, MIXED, SEARCH_OTHER, SEARCH_PARTNER_OTHER, SEARCH_PARTNER_TOP, SEARCH_SIDE, SEARCH_TOP, UNKNOWN.

Year Int SEGMENT Year, formatted as yyyy.

Pseudo-Columns

Pseudo column fields are used in the WHERE clause of SELECT statements and offer more granular control over the data returned from the data source.

Name Type Description
ManagerId Long Id of the manager account on behalf of which you are requesting customer data.

CData Python Connector for Google Ads

ThirdPartyAppAnalyticsLink

CData Python Connector for Google Ads

TopicConstant

Use topics to target or exclude placements in the Google Display Network

Columns

Name Type Behavior Description
CustomerId Long ATTRIBUTE Output only. The ID of the customer.
TopicConstantId Long ATTRIBUTE Output only. The ID of the topic.
TopicConstantPath String ATTRIBUTE Output only. The category to target or exclude. Each subsequent element in
TopicConstantResourceName String ATTRIBUTE Output only. The resource name of the topic constant.
TopicConstantTopicConstantParent String ATTRIBUTE Output only. Resource name of parent of the topic constant.

Pseudo-Columns

Pseudo column fields are used in the WHERE clause of SELECT statements and offer more granular control over the data returned from the data source.

Name Type Description
ManagerId Long Id of the manager account on behalf of which you are requesting customer data.

CData Python Connector for Google Ads

TopicView

A topic view.

View-Specific Information

Select

Google Ads does not allow every column to be selected in a single query, as some data conflicts if selected together. Therefore, when issuing a query that selects all columns, only the default metrics, segments, and attributes are returned. In general, these defaults are the same fields that are exposed through the Ads console. To use the nondefault fields, explicitly select them in your query.

Filters can also be used in the WHERE clause using the following supported operators: =, !=, >, >=, <, <=, LIKE, NOT LIKE, IN, NOT IN . Note that all filters must be joined by AND, as OR is not supported by the Ads API.

Columns

Name Type Behavior Description
BiddingStrategyId Long SEGMENT Output only. The ID of the bidding strategy.
CustomerId Long ATTRIBUTE Output only. The ID of the customer.
TopicViewResourceName String ATTRIBUTE Output only. The resource name of the topic view.
ActiveViewCpm Double METRIC Average cost of viewable impressions (active_view_impressions).
ActiveViewCtr Double METRIC Active view measurable clicks divided by active view viewable impressions.
ActiveViewImpressions Long METRIC A measurement of how often your ad has become viewable on a Display
ActiveViewMeasurability Double METRIC The ratio of impressions that could be measured by Active View over the
ActiveViewMeasurableCostMicros Long METRIC The cost of the impressions you received that were measurable by Active
ActiveViewMeasurableImpressions Long METRIC The number of times your ads are appearing on placements in positions
ActiveViewViewability Double METRIC The percentage of time when your ad appeared on an Active View enabled site
AllConversions Double METRIC The total number of conversions. This includes all conversions regardless
AllConversionsFromInteractionsRate Double METRIC All conversions from interactions (as oppose to view through conversions)
AllConversionsFromInteractionsValuePerInteraction Double METRIC The value of all conversions from interactions divided by the total number
AllConversionsValue Double METRIC The value of all conversions.
AllConversionsValuePerCost Double METRIC The value of all conversions divided by the total cost of ad interactions
AverageCost Double METRIC The average amount you pay per interaction. This amount is the total cost
AverageCpc Double METRIC The total cost of all clicks divided by the total number of clicks
AverageCpe Double METRIC The average amount that you've been charged for an ad engagement. This
AverageCpm Double METRIC Average cost-per-thousand impressions (CPM).
Clicks Long METRIC The number of clicks.
Conversions Double METRIC The number of conversions. This only includes conversion actions which
ConversionsFromInteractionsRate Double METRIC Conversions from interactions divided by the number of ad interactions
ConversionsValue Double METRIC The value of conversions. This only includes conversion actions which
CostMicros Long METRIC The sum of your cost-per-click (CPC) and cost-per-thousand impressions
CostPerAllConversions Double METRIC The cost of ad interactions divided by all conversions.
CostPerConversion Double METRIC The cost of ad interactions divided by conversions. This only includes
CrossDeviceConversions Double METRIC Conversions from when a customer clicks on a Google Ads ad on one device,
Ctr Double METRIC The number of clicks your ad receives (Clicks) divided by the number
EngagementRate Double METRIC How often people engage with your ad after it's shown to them. This is the
Engagements Long METRIC The number of engagements.
GmailForwards Long METRIC The number of times the ad was forwarded to someone else as a message.
GmailSaves Long METRIC The number of times someone has saved your Gmail ad to their inbox as a
GmailSecondaryClicks Long METRIC The number of clicks to the landing page on the expanded state of Gmail
Impressions Long METRIC Count of how often your ad has appeared on a search results page or
InteractionEventTypes String METRIC The types of payable and free interactions.

The allowed values are CLICK, ENGAGEMENT, NONE, UNKNOWN, VIDEO_VIEW.

InteractionRate Double METRIC How often people interact with your ad after it is shown to them.
Interactions Long METRIC The number of interactions.
TrueviewAverageCpv Double METRIC The average amount you pay each time someone views your ad.
ValuePerAllConversions Double METRIC The value of all conversions divided by the number of all conversions.
ValuePerConversion Double METRIC The value of conversions divided by the number of conversions. This only
VideoQuartileP100Rate Double METRIC Percentage of impressions where the viewer watched all of your video.
VideoQuartileP25Rate Double METRIC Percentage of impressions where the viewer watched 25% of your video.
VideoQuartileP50Rate Double METRIC Percentage of impressions where the viewer watched 50% of your video.
VideoQuartileP75Rate Double METRIC Percentage of impressions where the viewer watched 75% of your video.
VideoTrueviewViewRate Double METRIC The number of TrueView views your video ad receives divided by its number
VideoTrueviewViews Long METRIC The number of TrueView views your video ads received.
ViewThroughConversions Long METRIC The total number of view-through conversions.
AdNetworkType String SEGMENT Ad network type.

The allowed values are CONTENT, DISCOVER, GMAIL, GOOGLE_OWNED_CHANNELS, GOOGLE_TV, MAPS, MIXED, SEARCH, SEARCH_PARTNERS, UNKNOWN, YOUTUBE.

AdSubNetworkType String SEGMENT Ad sub network type. Currently only available for ads running as part of

The allowed values are UNKNOWN, UNSEGMENTED, YOUTUBE_INFEED, YOUTUBE_INSTREAM, YOUTUBE_SHORTS.

ClickType String SEGMENT Click type.

The allowed values are AD_IMAGE, APP_DEEPLINK, BREADCRUMBS, BROADBAND_PLAN, CALLS, CALL_TRACKING, CLICK_ON_ENGAGEMENT_AD, CLICK_TO_MESSAGE_LANDING_PAGE_CLICK, CLICK_TO_MESSAGE_THIRD_PARTY_CLICK, CROSS_NETWORK, GET_DIRECTIONS, HOTEL_BOOK_ON_GOOGLE_ROOM_SELECTION, HOTEL_PRICE, LOCATION_EXPANSION, LOCATION_FORMAT_CALL, LOCATION_FORMAT_DIRECTIONS, LOCATION_FORMAT_IMAGE, LOCATION_FORMAT_LANDING_PAGE, LOCATION_FORMAT_MAP, LOCATION_FORMAT_STORE_INFO, LOCATION_FORMAT_TEXT, MOBILE_CALL_TRACKING, OFFER_PRINTS, OTHER, PRICE_EXTENSION, PRODUCT_AD_APP_DEEPLINK, PRODUCT_ASSETS, PRODUCT_EXTENSION_CLICKS, PRODUCT_LISTING_ADS_COUPON, PRODUCT_LISTING_AD_CLICKS, PRODUCT_LISTING_AD_LOCAL, PRODUCT_LISTING_AD_MULTICHANNEL_LOCAL, PRODUCT_LISTING_AD_MULTICHANNEL_ONLINE, PRODUCT_LISTING_AD_TRANSACTABLE, PROMOTION_EXTENSION, SHOPPING_COMPARISON_LISTING, SHOWCASE_AD_CATEGORY_LINK, SHOWCASE_AD_LOCAL_PRODUCT_LINK, SHOWCASE_AD_LOCAL_STOREFRONT_LINK, SHOWCASE_AD_ONLINE_PRODUCT_LINK, SITELINKS, STORE_LOCATOR, SWIPEABLE_GALLERY_AD_HEADLINE, SWIPEABLE_GALLERY_AD_SEE_MORE, SWIPEABLE_GALLERY_AD_SITELINK_FIVE, SWIPEABLE_GALLERY_AD_SITELINK_FOUR, SWIPEABLE_GALLERY_AD_SITELINK_ONE, SWIPEABLE_GALLERY_AD_SITELINK_THREE, SWIPEABLE_GALLERY_AD_SITELINK_TWO, SWIPEABLE_GALLERY_AD_SWIPES, TRAVEL_ASSETS, UNKNOWN, URL_CLICKS, VEHICLE_ASSETS, VIDEO_APP_STORE_CLICKS, VIDEO_CALL_TO_ACTION_CLICKS, VIDEO_CARD_ACTION_HEADLINE_CLICKS, VIDEO_CHANNEL_CLICK, VIDEO_END_CAP_CLICKS, VIDEO_RELATED_VIDEOS_CLICK, VIDEO_WEBSITE_CLICKS, VISUAL_SITELINKS, WIRELESS_PLAN.

ConversionAction String SEGMENT Resource name of the conversion action.
ConversionActionCategory String SEGMENT Conversion action category.

The allowed values are ADD_TO_CART, BEGIN_CHECKOUT, BOOK_APPOINTMENT, CONTACT, CONVERTED_LEAD, DEFAULT, DOWNLOAD, ENGAGEMENT, GET_DIRECTIONS, IMPORTED_LEAD, OUTBOUND_CLICK, PAGE_VIEW, PHONE_CALL_LEAD, PURCHASE, QUALIFIED_LEAD, REQUEST_QUOTE, SIGNUP, STORE_SALE, STORE_VISIT, SUBMIT_LEAD_FORM, SUBSCRIBE_PAID, UNKNOWN, YOUTUBE_FOLLOW_ON_VIEWS.

ConversionActionName String SEGMENT Conversion action name.
Date Date SEGMENT Date to which metrics apply.
DayOfWeek String SEGMENT Day of the week, for example, MONDAY.

The allowed values are FRIDAY, MONDAY, SATURDAY, SUNDAY, THURSDAY, TUESDAY, UNKNOWN, WEDNESDAY.

Device String SEGMENT Device to which metrics apply.

The allowed values are CONNECTED_TV, DESKTOP, MOBILE, OTHER, TABLET, UNKNOWN.

ExternalConversionSource String SEGMENT External conversion source.

The allowed values are AD_CALL_METRICS, ANALYTICS, ANALYTICS_SEARCH_ADS_360, ANDROID_FIRST_OPEN, ANDROID_IN_APP, APP_UNSPECIFIED, CLICK_TO_CALL, DISPLAY_AND_VIDEO_360_FLOODLIGHT, FIREBASE, FIREBASE_SEARCH_ADS_360, FLOODLIGHT, GOOGLE_ATTRIBUTION, GOOGLE_HOSTED, GOOGLE_PLAY, IOS_FIRST_OPEN, IOS_IN_APP, SALESFORCE, SEARCH_ADS_360, STORE_SALES, STORE_SALES_CRM, STORE_SALES_DIRECT_UPLOAD, STORE_SALES_PAYMENT_NETWORK, STORE_VISITS, THIRD_PARTY_APP_ANALYTICS, UNKNOWN, UPLOAD, UPLOAD_CALLS, WEBPAGE, WEBSITE_CALL_METRICS.

Month Date SEGMENT Month as represented by the date of the first day of a month. Formatted as
MonthOfYear String SEGMENT Month of the year, for example, January.

The allowed values are APRIL, AUGUST, DECEMBER, FEBRUARY, JANUARY, JULY, JUNE, MARCH, MAY, NOVEMBER, OCTOBER, SEPTEMBER, UNKNOWN.

Period String SEGMENT Predefined date range.

The allowed values are TODAY, YESTERDAY, LAST_7_DAYS, LAST_BUSINESS_WEEK, THIS_MONTH, LAST_MONTH, LAST_14_DAYS, LAST_30_DAYS, THIS_WEEK_SUN_TODAY, THIS_WEEK_MON_TODAY, LAST_WEEK_SUN_SAT, LAST_WEEK_MON_SUN.

Quarter Date SEGMENT Quarter as represented by the date of the first day of a quarter.
Week Date SEGMENT Week as defined as Monday through Sunday, and represented by the date of
Year Int SEGMENT Year, formatted as yyyy.

Pseudo-Columns

Pseudo column fields are used in the WHERE clause of SELECT statements and offer more granular control over the data returned from the data source.

Name Type Description
ManagerId Long Id of the manager account on behalf of which you are requesting customer data.

CData Python Connector for Google Ads

TravelActivityGroupView

A travel activity group view.

Columns

Name Type Behavior Description
CustomerId Long ATTRIBUTE Output only. The ID of the customer.
TravelActivityGroupViewResourceName String ATTRIBUTE Output only. The resource name of the travel activity group view.
AllConversions Double METRIC The total number of conversions. This includes all conversions regardless
AllConversionsFromInteractionsRate Double METRIC All conversions from interactions (as oppose to view through conversions)
AllConversionsFromInteractionsValuePerInteraction Double METRIC The value of all conversions from interactions divided by the total number
AllConversionsValue Double METRIC The value of all conversions.
AllConversionsValuePerCost Double METRIC The value of all conversions divided by the total cost of ad interactions
AverageCpc Double METRIC The total cost of all clicks divided by the total number of clicks
AverageCpm Double METRIC Average cost-per-thousand impressions (CPM).
Clicks Long METRIC The number of clicks.
Conversions Double METRIC The number of conversions. This only includes conversion actions which
ConversionsFromInteractionsRate Double METRIC Conversions from interactions divided by the number of ad interactions
ConversionsFromInteractionsValuePerInteraction Double METRIC The value of conversions from interactions divided by the number of ad
ConversionsValue Double METRIC The value of conversions. This only includes conversion actions which
ConversionsValuePerCost Double METRIC The value of conversions divided by the cost of ad interactions. This only
CostMicros Long METRIC The sum of your cost-per-click (CPC) and cost-per-thousand impressions
CostPerAllConversions Double METRIC The cost of ad interactions divided by all conversions.
CostPerConversion Double METRIC The cost of ad interactions divided by conversions. This only includes
CrossDeviceConversions Double METRIC Conversions from when a customer clicks on a Google Ads ad on one device,
Ctr Double METRIC The number of clicks your ad receives (Clicks) divided by the number
Impressions Long METRIC Count of how often your ad has appeared on a search results page or
SearchAbsoluteTopImpressionShare Double METRIC The percentage of the customer's Shopping or Search ad impressions that are
SearchBudgetLostAbsoluteTopImpressionShare Double METRIC The number estimating how often your ad wasn't the very first ad among the
SearchBudgetLostImpressionShare Double METRIC The estimated percent of times that your ad was eligible to show on the
SearchBudgetLostTopImpressionShare Double METRIC The number estimating how often your ad didn't show adjacent to the top
SearchImpressionShare Double METRIC The impressions you've received on the Search Network divided
SearchRankLostAbsoluteTopImpressionShare Double METRIC The number estimating how often your ad wasn't the very first ad among the
SearchRankLostImpressionShare Double METRIC The estimated percentage of impressions on the Search Network
SearchRankLostTopImpressionShare Double METRIC The number estimating how often your ad didn't show adjacent to the top
SearchTopImpressionShare Double METRIC The impressions you've received among the top ads compared to the estimated
ValuePerAllConversions Double METRIC The value of all conversions divided by the number of all conversions.
ValuePerConversion Double METRIC The value of conversions divided by the number of conversions. This only
Date Date SEGMENT Date to which metrics apply.
DayOfWeek String SEGMENT Day of the week, for example, MONDAY.

The allowed values are FRIDAY, MONDAY, SATURDAY, SUNDAY, THURSDAY, TUESDAY, UNKNOWN, WEDNESDAY.

Hour Int SEGMENT Hour of day as a number between 0 and 23, inclusive.
Month Date SEGMENT Month as represented by the date of the first day of a month. Formatted as
Period String SEGMENT Predefined date range.

The allowed values are TODAY, YESTERDAY, LAST_7_DAYS, LAST_BUSINESS_WEEK, THIS_MONTH, LAST_MONTH, LAST_14_DAYS, LAST_30_DAYS, THIS_WEEK_SUN_TODAY, THIS_WEEK_MON_TODAY, LAST_WEEK_SUN_SAT, LAST_WEEK_MON_SUN.

Quarter Date SEGMENT Quarter as represented by the date of the first day of a quarter.
Week Date SEGMENT Week as defined as Monday through Sunday, and represented by the date of
Year Int SEGMENT Year, formatted as yyyy.

Pseudo-Columns

Pseudo column fields are used in the WHERE clause of SELECT statements and offer more granular control over the data returned from the data source.

Name Type Description
ManagerId Long Id of the manager account on behalf of which you are requesting customer data.

CData Python Connector for Google Ads

TravelActivityPerformanceView

A travel activity performance view.

Columns

Name Type Behavior Description
AdGroupId Long SEGMENT Output only. The ID of the ad group.
CampaignId Long SEGMENT Output only. The ID of the campaign.
CustomerId Long ATTRIBUTE Output only. The ID of the customer.
TravelActivityPerformanceViewResourceName String ATTRIBUTE Output only. The resource name of the travel activity performance view.
AllConversions Double METRIC The total number of conversions. This includes all conversions regardless
AllConversionsFromInteractionsRate Double METRIC All conversions from interactions (as oppose to view through conversions)
AllConversionsFromInteractionsValuePerInteraction Double METRIC The value of all conversions from interactions divided by the total number
AllConversionsValue Double METRIC The value of all conversions.
AllConversionsValuePerCost Double METRIC The value of all conversions divided by the total cost of ad interactions
AverageCpc Double METRIC The total cost of all clicks divided by the total number of clicks
AverageCpm Double METRIC Average cost-per-thousand impressions (CPM).
Clicks Long METRIC The number of clicks.
Conversions Double METRIC The number of conversions. This only includes conversion actions which
ConversionsFromInteractionsRate Double METRIC Conversions from interactions divided by the number of ad interactions
ConversionsFromInteractionsValuePerInteraction Double METRIC The value of conversions from interactions divided by the number of ad
ConversionsValue Double METRIC The value of conversions. This only includes conversion actions which
ConversionsValuePerCost Double METRIC The value of conversions divided by the cost of ad interactions. This only
CostMicros Long METRIC The sum of your cost-per-click (CPC) and cost-per-thousand impressions
CostPerAllConversions Double METRIC The cost of ad interactions divided by all conversions.
CostPerConversion Double METRIC The cost of ad interactions divided by conversions. This only includes
CrossDeviceConversions Double METRIC Conversions from when a customer clicks on a Google Ads ad on one device,
Ctr Double METRIC The number of clicks your ad receives (Clicks) divided by the number
Impressions Long METRIC Count of how often your ad has appeared on a search results page or
SearchAbsoluteTopImpressionShare Double METRIC The percentage of the customer's Shopping or Search ad impressions that are
SearchBudgetLostAbsoluteTopImpressionShare Double METRIC The number estimating how often your ad wasn't the very first ad among the
SearchBudgetLostImpressionShare Double METRIC The estimated percent of times that your ad was eligible to show on the
SearchBudgetLostTopImpressionShare Double METRIC The number estimating how often your ad didn't show adjacent to the top
SearchImpressionShare Double METRIC The impressions you've received on the Search Network divided
SearchRankLostAbsoluteTopImpressionShare Double METRIC The number estimating how often your ad wasn't the very first ad among the
SearchRankLostImpressionShare Double METRIC The estimated percentage of impressions on the Search Network
SearchRankLostTopImpressionShare Double METRIC The number estimating how often your ad didn't show adjacent to the top
SearchTopImpressionShare Double METRIC The impressions you've received among the top ads compared to the estimated
ValuePerAllConversions Double METRIC The value of all conversions divided by the number of all conversions.
ValuePerConversion Double METRIC The value of conversions divided by the number of conversions. This only
ActivityAccountId Long SEGMENT Activity account ID.
ActivityCity String SEGMENT The city where the travel activity is available.
ActivityCountry String SEGMENT The country where the travel activity is available.
ActivityRating Long SEGMENT Activity rating.
ActivityState String SEGMENT The state where the travel activity is available.
AdNetworkType String SEGMENT Ad network type.

The allowed values are CONTENT, DISCOVER, GMAIL, GOOGLE_OWNED_CHANNELS, GOOGLE_TV, MAPS, MIXED, SEARCH, SEARCH_PARTNERS, UNKNOWN, YOUTUBE.

AdSubNetworkType String SEGMENT Ad sub network type. Currently only available for ads running as part of

The allowed values are UNKNOWN, UNSEGMENTED, YOUTUBE_INFEED, YOUTUBE_INSTREAM, YOUTUBE_SHORTS.

Date Date SEGMENT Date to which metrics apply.
DayOfWeek String SEGMENT Day of the week, for example, MONDAY.

The allowed values are FRIDAY, MONDAY, SATURDAY, SUNDAY, THURSDAY, TUESDAY, UNKNOWN, WEDNESDAY.

Device String SEGMENT Device to which metrics apply.

The allowed values are CONNECTED_TV, DESKTOP, MOBILE, OTHER, TABLET, UNKNOWN.

ExternalActivityId String SEGMENT Advertiser supplied activity ID.
Hour Int SEGMENT Hour of day as a number between 0 and 23, inclusive.
Month Date SEGMENT Month as represented by the date of the first day of a month. Formatted as
Period String SEGMENT Predefined date range.

The allowed values are TODAY, YESTERDAY, LAST_7_DAYS, LAST_BUSINESS_WEEK, THIS_MONTH, LAST_MONTH, LAST_14_DAYS, LAST_30_DAYS, THIS_WEEK_SUN_TODAY, THIS_WEEK_MON_TODAY, LAST_WEEK_SUN_SAT, LAST_WEEK_MON_SUN.

Quarter Date SEGMENT Quarter as represented by the date of the first day of a quarter.
Week Date SEGMENT Week as defined as Monday through Sunday, and represented by the date of
Year Int SEGMENT Year, formatted as yyyy.

Pseudo-Columns

Pseudo column fields are used in the WHERE clause of SELECT statements and offer more granular control over the data returned from the data source.

Name Type Description
ManagerId Long Id of the manager account on behalf of which you are requesting customer data.

CData Python Connector for Google Ads

UserInterest

A user interest: a particular interest-based vertical to be targeted.

Columns

Name Type Behavior Description
CustomerId Long ATTRIBUTE Output only. The ID of the customer.
UserInterestAvailabilities String ATTRIBUTE Output only. Availability information of the user interest.
UserInterestLaunchedToAll Bool ATTRIBUTE Output only. True if the user interest is launched to all channels and
UserInterestName String ATTRIBUTE Output only. The name of the user interest.
UserInterestResourceName String ATTRIBUTE Output only. The resource name of the user interest.
UserInterestTaxonomyType String ATTRIBUTE Output only. Taxonomy type of the user interest.

The allowed values are AFFINITY, IN_MARKET, MOBILE_APP_INSTALL_USER, NEW_SMART_PHONE_USER, UNKNOWN, VERTICAL_GEO.

UserInterestUserInterestId Long ATTRIBUTE Output only. The ID of the user interest.
UserInterestUserInterestParent String ATTRIBUTE Output only. The parent of the user interest.

Pseudo-Columns

Pseudo column fields are used in the WHERE clause of SELECT statements and offer more granular control over the data returned from the data source.

Name Type Description
ManagerId Long Id of the manager account on behalf of which you are requesting customer data.

CData Python Connector for Google Ads

UserList

A user list. This is a list of users a customer may target.

Columns

Name Type Behavior Description
CustomerId Long ATTRIBUTE Output only. The ID of the customer.
UserListAccessReason String ATTRIBUTE Output only. Indicates the reason this account has been granted access to

The allowed values are AFFILIATED, LICENSED, OWNED, SHARED, SUBSCRIBED, UNKNOWN.

UserListAccountUserListStatus String ATTRIBUTE Indicates if this share is still enabled. When a UserList is shared with

The allowed values are DISABLED, ENABLED, UNKNOWN.

UserListBasicUserListActions String ATTRIBUTE Actions associated with this user list.
UserListClosingReason String ATTRIBUTE Indicating the reason why this user list membership status is closed. It is

The allowed values are UNKNOWN, UNUSED.

UserListCrmBasedUserListAppId String ATTRIBUTE A string that uniquely identifies a mobile application from which the data was collected. For iOS, the ID string is the 9 digit string that appears at the end of an App Store URL (for example, '476943146' for 'Flood-It! 2' whose App Store link is http://itunes.apple.com/us/app/flood-it!-2/id476943146). For Android, the ID string is the application's package name (for example, 'com.labpixies.colordrips' for 'Color Drips' given Google Play link https://play.google.com/store/apps/details?id=com.labpixies.colordrips). Required when creating CrmBasedUserList for uploading mobile advertising IDs.
UserListCrmBasedUserListDataSourceType String ATTRIBUTE Data source of the list. Default value is FIRST_PARTY. Only customers on the allow-list can create third-party sourced CRM lists.

The allowed values are FIRST_PARTY, THIRD_PARTY_CREDIT_BUREAU, THIRD_PARTY_PARTNER_DATA, THIRD_PARTY_VOTER_FILE, UNKNOWN.

UserListCrmBasedUserListUploadKeyType String ATTRIBUTE Matching key type of the list. Mixed data types are not allowed on the same list. This field is required for an ADD operation.

The allowed values are CONTACT_INFO, CRM_ID, MOBILE_ADVERTISING_ID, UNKNOWN.

UserListDescription String ATTRIBUTE Description of this user list.
UserListEligibleForDisplay Bool ATTRIBUTE Output only. Indicates this user list is eligible for Google Display
UserListEligibleForSearch Bool ATTRIBUTE Indicates if this user list is eligible for Google Search Network.
UserListId Long ATTRIBUTE Output only. Id of the user list.
UserListIntegrationCode String ATTRIBUTE An ID from external system. It is used by user list sellers to correlate
UserListLogicalUserListRules String ATTRIBUTE Logical list rules that define this user list. The rules are defined as a logical operator (ALL/ANY/NONE) and a list of user lists. All the rules are ANDed when they are evaluated. Required for creating a logical user list.
UserListLookalikeUserListCountryCodes String ATTRIBUTE Countries targeted by the Lookalike. Two-letter country code as defined by ISO-3166
UserListLookalikeUserListExpansionLevel String ATTRIBUTE Expansion level, reflecting the size of the lookalike audience

The allowed values are BALANCED, BROAD, NARROW, UNKNOWN.

UserListLookalikeUserListSeedUserListIds String ATTRIBUTE Seed UserList ID from which this list is derived, provided by user.
UserListMatchRatePercentage Int ATTRIBUTE Output only. Indicates match rate for Customer Match lists. The range of
UserListMembershipLifeSpan Long ATTRIBUTE Number of days a user's cookie stays on your list since its most recent
UserListMembershipStatus String ATTRIBUTE Membership status of this user list. Indicates whether a user list is open

The allowed values are CLOSED, OPEN, UNKNOWN.

UserListName String ATTRIBUTE Name of this user list.
UserListReadOnly Bool ATTRIBUTE Output only. An option that indicates if a user may edit a list. Depends on
UserListResourceName String ATTRIBUTE Immutable. The resource name of the user list.
UserListRuleBasedUserListFlexibleRuleUserListExclusiveOperands String ATTRIBUTE Rules representing users that should be excluded from the user list. These are located on the right side of the AND_NOT operator, and joined together by OR.
UserListRuleBasedUserListFlexibleRuleUserListInclusiveOperands String ATTRIBUTE Rules representing users that should be included in the user list. These are located on the left side of the AND_NOT operator, and joined together by either AND/OR as specified by the inclusive_rule_operator.
UserListRuleBasedUserListFlexibleRuleUserListInclusiveRuleOperator String ATTRIBUTE Operator that defines how the inclusive operands are combined.

The allowed values are AND, OR, UNKNOWN.

UserListRuleBasedUserListPrepopulationStatus String ATTRIBUTE The status of pre-population. The field is default to NONE if not set which means the previous users will not be considered. If set to REQUESTED, past site visitors or app users who match the list definition will be included in the list (works on the Display Network only). This will only add past users from within the last 30 days, depending on the list's membership duration and the date when the remarketing tag is added. The status will be updated to FINISHED once request is processed, or FAILED if the request fails.

The allowed values are FAILED, FINISHED, REQUESTED, UNKNOWN.

UserListSimilarUserListSeedUserList String ATTRIBUTE Seed UserList from which this list is derived.
UserListSizeForDisplay Long ATTRIBUTE Output only. Estimated number of users in this user list, on the Google
UserListSizeForSearch Long ATTRIBUTE Output only. Estimated number of users in this user list in the google.com
UserListSizeRangeForDisplay String ATTRIBUTE Output only. Size range in terms of number of users of the UserList, on the

The allowed values are FIFTY_THOUSAND_TO_ONE_HUNDRED_THOUSAND, FIVE_HUNDRED_THOUSAND_TO_ONE_MILLION, FIVE_MILLION_TO_TEN_MILLION, LESS_THAN_FIVE_HUNDRED, LESS_THAN_ONE_THOUSAND, ONE_HUNDRED_THOUSAND_TO_THREE_HUNDRED_THOUSAND, ONE_MILLION_TO_TWO_MILLION, ONE_THOUSAND_TO_TEN_THOUSAND, OVER_FIFTY_MILLION, TEN_MILLION_TO_TWENTY_MILLION, TEN_THOUSAND_TO_FIFTY_THOUSAND, THIRTY_MILLION_TO_FIFTY_MILLION, THREE_HUNDRED_THOUSAND_TO_FIVE_HUNDRED_THOUSAND, THREE_MILLION_TO_FIVE_MILLION, TWENTY_MILLION_TO_THIRTY_MILLION, TWO_MILLION_TO_THREE_MILLION, UNKNOWN.

UserListSizeRangeForSearch String ATTRIBUTE Output only. Size range in terms of number of users of the UserList, for

The allowed values are FIFTY_THOUSAND_TO_ONE_HUNDRED_THOUSAND, FIVE_HUNDRED_THOUSAND_TO_ONE_MILLION, FIVE_MILLION_TO_TEN_MILLION, LESS_THAN_FIVE_HUNDRED, LESS_THAN_ONE_THOUSAND, ONE_HUNDRED_THOUSAND_TO_THREE_HUNDRED_THOUSAND, ONE_MILLION_TO_TWO_MILLION, ONE_THOUSAND_TO_TEN_THOUSAND, OVER_FIFTY_MILLION, TEN_MILLION_TO_TWENTY_MILLION, TEN_THOUSAND_TO_FIFTY_THOUSAND, THIRTY_MILLION_TO_FIFTY_MILLION, THREE_HUNDRED_THOUSAND_TO_FIVE_HUNDRED_THOUSAND, THREE_MILLION_TO_FIVE_MILLION, TWENTY_MILLION_TO_THIRTY_MILLION, TWO_MILLION_TO_THREE_MILLION, UNKNOWN.

UserListType String ATTRIBUTE Output only. Type of this list.

The allowed values are CRM_BASED, EXTERNAL_REMARKETING, LOGICAL, LOOKALIKE, REMARKETING, RULE_BASED, SIMILAR, UNKNOWN.

Pseudo-Columns

Pseudo column fields are used in the WHERE clause of SELECT statements and offer more granular control over the data returned from the data source.

Name Type Description
ManagerId Long Id of the manager account on behalf of which you are requesting customer data.

CData Python Connector for Google Ads

UserListCustomerType

A user list customer type

Columns

Name Type Behavior Description
CustomerId Long ATTRIBUTE Output only. The ID of the customer.
UserListCustomerTypeCustomerTypeCategory String ATTRIBUTE Immutable. The user list customer type category

The allowed values are ALL_CUSTOMERS, CART_ABANDONERS, CONVERTED_LEADS, DISENGAGED_CUSTOMERS, HIGH_VALUE_CUSTOMERS, LOYALTY_SIGN_UPS, LOYALTY_TIER_1_MEMBERS, LOYALTY_TIER_2_MEMBERS, LOYALTY_TIER_3_MEMBERS, LOYALTY_TIER_4_MEMBERS, LOYALTY_TIER_5_MEMBERS, LOYALTY_TIER_6_MEMBERS, LOYALTY_TIER_7_MEMBERS, PAID_SUBSCRIBERS, PURCHASERS, QUALIFIED_LEADS, UNKNOWN.

UserListCustomerTypeResourceName String ATTRIBUTE Immutable. The resource name of the user list customer type
UserListCustomerTypeUserList String ATTRIBUTE Immutable. The resource name for the user list this user list customer type

Pseudo-Columns

Pseudo column fields are used in the WHERE clause of SELECT statements and offer more granular control over the data returned from the data source.

Name Type Description
ManagerId Long Id of the manager account on behalf of which you are requesting customer data.

CData Python Connector for Google Ads

UserLocationView

A user location view.

View-Specific Information

Select

Google Ads does not allow every column to be selected in a single query, as some data conflicts if selected together. Therefore, when issuing a query that selects all columns, only the default metrics, segments, and attributes are returned. In general, these defaults are the same fields that are exposed through the Ads console. To use the nondefault fields, explicitly select them in your query.

Filters can also be used in the WHERE clause using the following supported operators: =, !=, >, >=, <, <=, LIKE, NOT LIKE, IN, NOT IN . Note that all filters must be joined by AND, as OR is not supported by the Ads API.

Columns

Name Type Behavior Description
AdGroupId Long SEGMENT Output only. The ID of the ad group.
CampaignId Long SEGMENT Output only. The ID of the campaign.
CustomerId Long ATTRIBUTE Output only. The ID of the customer.
UserLocationViewCountryCriterionId Long ATTRIBUTE Output only. Criterion Id for the country.
UserLocationViewResourceName String ATTRIBUTE Output only. The resource name of the user location view.
UserLocationViewTargetingLocation Bool ATTRIBUTE Output only. Indicates whether location was targeted or not.
AllConversions Double METRIC The total number of conversions. This includes all conversions regardless
AllConversionsByConversionDate Double METRIC The total number of conversions. This includes all conversions regardless
AllConversionsFromInteractionsRate Double METRIC All conversions from interactions (as oppose to view through conversions)
AllConversionsValue Double METRIC The value of all conversions.
AllConversionsValueByConversionDate Double METRIC The value of all conversions. When this column is selected with date, the
AverageCost Double METRIC The average amount you pay per interaction. This amount is the total cost
AverageCpc Double METRIC The total cost of all clicks divided by the total number of clicks
AverageCpm Double METRIC Average cost-per-thousand impressions (CPM).
Clicks Long METRIC The number of clicks.
Conversions Double METRIC The number of conversions. This only includes conversion actions which
ConversionsByConversionDate Double METRIC The number of conversions. This only includes conversion actions which
ConversionsFromInteractionsRate Double METRIC Conversions from interactions divided by the number of ad interactions
ConversionsValue Double METRIC The value of conversions. This only includes conversion actions which
ConversionsValueByConversionDate Double METRIC The value of conversions. This only includes conversion actions which
CostMicros Long METRIC The sum of your cost-per-click (CPC) and cost-per-thousand impressions
CostPerAllConversions Double METRIC The cost of ad interactions divided by all conversions.
CostPerConversion Double METRIC The cost of ad interactions divided by conversions. This only includes
CrossDeviceConversions Double METRIC Conversions from when a customer clicks on a Google Ads ad on one device,
CrossDeviceConversionsByConversionDate Double METRIC The number of cross-device conversions by conversion date.
CrossDeviceConversionsValueByConversionDate Double METRIC The sum of cross-device conversions value by conversion date.
Ctr Double METRIC The number of clicks your ad receives (Clicks) divided by the number
Impressions Long METRIC Count of how often your ad has appeared on a search results page or
InteractionEventTypes String METRIC The types of payable and free interactions.

The allowed values are CLICK, ENGAGEMENT, NONE, UNKNOWN, VIDEO_VIEW.

InteractionRate Double METRIC How often people interact with your ad after it is shown to them.
Interactions Long METRIC The number of interactions.
TrueviewAverageCpv Double METRIC The average amount you pay each time someone views your ad.
ValuePerAllConversions Double METRIC The value of all conversions divided by the number of all conversions.
ValuePerAllConversionsByConversionDate Double METRIC The value of all conversions divided by the number of all conversions. When
ValuePerConversion Double METRIC The value of conversions divided by the number of conversions. This only
ValuePerConversionsByConversionDate Double METRIC The value of conversions divided by the number of conversions. This only
VideoTrueviewViewRate Double METRIC The number of TrueView views your video ad receives divided by its number
VideoTrueviewViews Long METRIC The number of TrueView views your video ads received.
ViewThroughConversions Long METRIC The total number of view-through conversions.
AdNetworkType String SEGMENT Ad network type.

The allowed values are CONTENT, DISCOVER, GMAIL, GOOGLE_OWNED_CHANNELS, GOOGLE_TV, MAPS, MIXED, SEARCH, SEARCH_PARTNERS, UNKNOWN, YOUTUBE.

AdSubNetworkType String SEGMENT Ad sub network type. Currently only available for ads running as part of

The allowed values are UNKNOWN, UNSEGMENTED, YOUTUBE_INFEED, YOUTUBE_INSTREAM, YOUTUBE_SHORTS.

ConversionAction String SEGMENT Resource name of the conversion action.
ConversionActionCategory String SEGMENT Conversion action category.

The allowed values are ADD_TO_CART, BEGIN_CHECKOUT, BOOK_APPOINTMENT, CONTACT, CONVERTED_LEAD, DEFAULT, DOWNLOAD, ENGAGEMENT, GET_DIRECTIONS, IMPORTED_LEAD, OUTBOUND_CLICK, PAGE_VIEW, PHONE_CALL_LEAD, PURCHASE, QUALIFIED_LEAD, REQUEST_QUOTE, SIGNUP, STORE_SALE, STORE_VISIT, SUBMIT_LEAD_FORM, SUBSCRIBE_PAID, UNKNOWN, YOUTUBE_FOLLOW_ON_VIEWS.

ConversionActionName String SEGMENT Conversion action name.
Date Date SEGMENT Date to which metrics apply.
DayOfWeek String SEGMENT Day of the week, for example, MONDAY.

The allowed values are FRIDAY, MONDAY, SATURDAY, SUNDAY, THURSDAY, TUESDAY, UNKNOWN, WEDNESDAY.

Device String SEGMENT Device to which metrics apply.

The allowed values are CONNECTED_TV, DESKTOP, MOBILE, OTHER, TABLET, UNKNOWN.

ExternalConversionSource String SEGMENT External conversion source.

The allowed values are AD_CALL_METRICS, ANALYTICS, ANALYTICS_SEARCH_ADS_360, ANDROID_FIRST_OPEN, ANDROID_IN_APP, APP_UNSPECIFIED, CLICK_TO_CALL, DISPLAY_AND_VIDEO_360_FLOODLIGHT, FIREBASE, FIREBASE_SEARCH_ADS_360, FLOODLIGHT, GOOGLE_ATTRIBUTION, GOOGLE_HOSTED, GOOGLE_PLAY, IOS_FIRST_OPEN, IOS_IN_APP, SALESFORCE, SEARCH_ADS_360, STORE_SALES, STORE_SALES_CRM, STORE_SALES_DIRECT_UPLOAD, STORE_SALES_PAYMENT_NETWORK, STORE_VISITS, THIRD_PARTY_APP_ANALYTICS, UNKNOWN, UPLOAD, UPLOAD_CALLS, WEBPAGE, WEBSITE_CALL_METRICS.

GeoTargetAirport String SEGMENT Resource name of the geo target constant that represents an airport.
GeoTargetCanton String SEGMENT Resource name of the geo target constant that represents a canton.
GeoTargetCity String SEGMENT Resource name of the geo target constant that represents a city.
GeoTargetCounty String SEGMENT Resource name of the geo target constant that represents a county.
GeoTargetDistrict String SEGMENT Resource name of the geo target constant that represents a district.
GeoTargetMetro String SEGMENT Resource name of the geo target constant that represents a metro.
GeoTargetMostSpecificLocation String SEGMENT Resource name of the geo target constant that represents the most
GeoTargetPostalCode String SEGMENT Resource name of the geo target constant that represents a postal code.
GeoTargetProvince String SEGMENT Resource name of the geo target constant that represents a province.
GeoTargetRegion String SEGMENT Resource name of the geo target constant that represents a region.
GeoTargetState String SEGMENT Resource name of the geo target constant that represents a state.
Month Date SEGMENT Month as represented by the date of the first day of a month. Formatted as
MonthOfYear String SEGMENT Month of the year, for example, January.

The allowed values are APRIL, AUGUST, DECEMBER, FEBRUARY, JANUARY, JULY, JUNE, MARCH, MAY, NOVEMBER, OCTOBER, SEPTEMBER, UNKNOWN.

Period String SEGMENT Predefined date range.

The allowed values are TODAY, YESTERDAY, LAST_7_DAYS, LAST_BUSINESS_WEEK, THIS_MONTH, LAST_MONTH, LAST_14_DAYS, LAST_30_DAYS, THIS_WEEK_SUN_TODAY, THIS_WEEK_MON_TODAY, LAST_WEEK_SUN_SAT, LAST_WEEK_MON_SUN.

Quarter Date SEGMENT Quarter as represented by the date of the first day of a quarter.
Week Date SEGMENT Week as defined as Monday through Sunday, and represented by the date of
Year Int SEGMENT Year, formatted as yyyy.

Pseudo-Columns

Pseudo column fields are used in the WHERE clause of SELECT statements and offer more granular control over the data returned from the data source.

Name Type Description
ManagerId Long Id of the manager account on behalf of which you are requesting customer data.

CData Python Connector for Google Ads

Video

A video.

View-Specific Information

Select

Google Ads does not allow every column to be selected in a single query, as some data conflicts if selected together. Therefore, when issuing a query that selects all columns, only the default metrics, segments, and attributes are returned. In general, these defaults are the same fields that are exposed through the Ads console. To use the nondefault fields, explicitly select them in your query.

Filters can also be used in the WHERE clause using the following supported operators: =, !=, >, >=, <, <=, LIKE, NOT LIKE, IN, NOT IN . Note that all filters must be joined by AND, as OR is not supported by the Ads API.

Columns

Name Type Behavior Description
AdGroupId Long SEGMENT Output only. The ID of the ad group.
CampaignId Long SEGMENT Output only. The ID of the campaign.
CustomerId Long ATTRIBUTE Output only. The ID of the customer.
VideoChannelId String ATTRIBUTE Output only. The owner channel id of the video.
VideoDurationMillis Long ATTRIBUTE Output only. The duration of the video in milliseconds.
VideoId String ATTRIBUTE Output only. The ID of the video.
VideoResourceName String ATTRIBUTE Output only. The resource name of the video.
VideoTitle String ATTRIBUTE Output only. The title of the video.
ActiveViewAudibilityInvalidGivtMeasurableImpressionsRate Double METRIC The number of impressions for which Active View could measure audibility,
ActiveViewAudibilityInvalidMeasurableImpressionsRate Double METRIC The number of impressions for which Active View could measure audibility,
ActiveViewAudibilityMeasurableImpressions Long METRIC The number of impressions for which Active View could measure if the ad was
ActiveViewAudibilityMeasurableImpressionsRate Double METRIC The number of impressions for which Active View could measure if the ad was
ActiveViewAudibleImpressions Long METRIC The number of impressions that were audible (volume > 0%) at any point
ActiveViewAudibleImpressionsRate Double METRIC The number of impressions that were audible (volume > 0%) at any point
ActiveViewAudibleQuartileP100Rate Double METRIC The number of impressions that were audible at the fourth quartile of the
ActiveViewAudibleQuartileP25Rate Double METRIC The number of impressions that were audible at the first quartile of the
ActiveViewAudibleQuartileP50Rate Double METRIC The number of impressions that were audible at the second quartile of the
ActiveViewAudibleQuartileP75Rate Double METRIC The number of impressions that were audible at the third quartile of the
ActiveViewAudibleThirtySecondsImpressions Long METRIC The number of impressions that were audible for at least 30 seconds
ActiveViewAudibleThirtySecondsImpressionsRate Double METRIC The number of impressions that were audible for at least 30 seconds
ActiveViewAudibleTwoSecondsImpressions Long METRIC The number of impressions that were audible for at least 2 seconds
ActiveViewAudibleTwoSecondsImpressionsRate Double METRIC The number of impressions that were audible for at least 2 seconds
AllConversions Double METRIC The total number of conversions. This includes all conversions regardless
AllConversionsFromInteractionsRate Double METRIC All conversions from interactions (as oppose to view through conversions)
AllConversionsValue Double METRIC The value of all conversions.
AverageCpc Double METRIC The total cost of all clicks divided by the total number of clicks
AverageCpe Double METRIC The average amount that you've been charged for an ad engagement. This
AverageCpm Double METRIC Average cost-per-thousand impressions (CPM).
AverageVideoWatchTimeDurationMillis Long METRIC Average video watch time duration in milliseconds for video impressions
Clicks Long METRIC The number of clicks.
Conversions Double METRIC The number of conversions. This only includes conversion actions which
ConversionsFromInteractionsRate Double METRIC Conversions from interactions divided by the number of ad interactions
ConversionsFromInteractionsValuePerInteraction Double METRIC The value of conversions from interactions divided by the number of ad
ConversionsValue Double METRIC The value of conversions. This only includes conversion actions which
ConversionsValuePerCost Double METRIC The value of conversions divided by the cost of ad interactions. This only
CostConvertedCurrencyPerPlatformComparableConversion Double METRIC The cost of the platform comparable conversion in the currency of the
CostMicros Long METRIC The sum of your cost-per-click (CPC) and cost-per-thousand impressions
CostPerAllConversions Double METRIC The cost of ad interactions divided by all conversions.
CostPerConversion Double METRIC The cost of ad interactions divided by conversions. This only includes
CostPerPlatformComparableConversion Double METRIC The cost of ad interactions divided by the number of platform comparable
CrossDeviceConversions Double METRIC Conversions from when a customer clicks on a Google Ads ad on one device,
Ctr Double METRIC The number of clicks your ad receives (Clicks) divided by the number
EngagementRate Double METRIC How often people engage with your ad after it's shown to them. This is the
Engagements Long METRIC The number of engagements.
Impressions Long METRIC Count of how often your ad has appeared on a search results page or
PlatformComparableConversions Double METRIC The number of platform comparable conversions. This only includes
PlatformComparableConversionsByConversionDate Double METRIC The number of platform comparable conversions. When this metric is
PlatformComparableConversionsFromInteractionsRate Double METRIC Platform comparable conversions from interactions divided by the number of
PlatformComparableConversionsFromInteractionsValuePerInteraction Double METRIC The value of platform comparable conversions from interactions divided by
PlatformComparableConversionsValue Double METRIC The value of platform comparable conversions. This only includes conversion
PlatformComparableConversionsValueByConversionDate Double METRIC The value of platform comparable conversions. When this metric is segmented
PlatformComparableConversionsValuePerCost Double METRIC The value of conversions divided by the cost of ad interactions. This only
TrueviewAverageCpv Double METRIC The average amount you pay each time someone views your ad.
ValuePerAllConversions Double METRIC The value of all conversions divided by the number of all conversions.
ValuePerConversion Double METRIC The value of conversions divided by the number of conversions. This only
ValuePerPlatformComparableConversion Double METRIC The value of platform comparable conversions divided by the number of
ValuePerPlatformComparableConversionsByConversionDate Double METRIC The value of platform comparable conversions divided by the number of
VideoQuartileP100Rate Double METRIC Percentage of impressions where the viewer watched all of your video.
VideoQuartileP25Rate Double METRIC Percentage of impressions where the viewer watched 25% of your video.
VideoQuartileP50Rate Double METRIC Percentage of impressions where the viewer watched 50% of your video.
VideoQuartileP75Rate Double METRIC Percentage of impressions where the viewer watched 75% of your video.
VideoTrueviewViewRate Double METRIC The number of TrueView views your video ad receives divided by its number
VideoTrueviewViewRateInFeed Double METRIC The number of TrueView views divided by number of impressions that can
VideoTrueviewViewRateInStream Double METRIC The number of TrueView views divided by number of impressions that can
VideoTrueviewViewRateShorts Double METRIC The number of TrueView views divided by number of impressions that can
VideoTrueviewViews Long METRIC The number of TrueView views your video ads received.
VideoWatchTimeDurationMillis Long METRIC Total watch time duration in milliseconds for video impressions that
ViewThroughConversions Long METRIC The total number of view-through conversions.
AdFormatType String SEGMENT Ad Format type.

The allowed values are AUDIO, BUMPER, INFEED, INSTREAM_NON_SKIPPABLE, INSTREAM_SKIPPABLE, MASTHEAD, OTHER, OUTSTREAM, PAUSE, SHORTS, TEXT, UNKNOWN, UNSEGMENTED, VERTICAL_ADS_BOOKING_LINK, VERTICAL_ADS_PROMOTION.

AdNetworkType String SEGMENT Ad network type.

The allowed values are CONTENT, DISCOVER, GMAIL, GOOGLE_OWNED_CHANNELS, GOOGLE_TV, MAPS, MIXED, SEARCH, SEARCH_PARTNERS, UNKNOWN, YOUTUBE.

AdSubNetworkType String SEGMENT Ad sub network type. Currently only available for ads running as part of

The allowed values are UNKNOWN, UNSEGMENTED, YOUTUBE_INFEED, YOUTUBE_INSTREAM, YOUTUBE_SHORTS.

ClickType String SEGMENT Click type.

The allowed values are AD_IMAGE, APP_DEEPLINK, BREADCRUMBS, BROADBAND_PLAN, CALLS, CALL_TRACKING, CLICK_ON_ENGAGEMENT_AD, CLICK_TO_MESSAGE_LANDING_PAGE_CLICK, CLICK_TO_MESSAGE_THIRD_PARTY_CLICK, CROSS_NETWORK, GET_DIRECTIONS, HOTEL_BOOK_ON_GOOGLE_ROOM_SELECTION, HOTEL_PRICE, LOCATION_EXPANSION, LOCATION_FORMAT_CALL, LOCATION_FORMAT_DIRECTIONS, LOCATION_FORMAT_IMAGE, LOCATION_FORMAT_LANDING_PAGE, LOCATION_FORMAT_MAP, LOCATION_FORMAT_STORE_INFO, LOCATION_FORMAT_TEXT, MOBILE_CALL_TRACKING, OFFER_PRINTS, OTHER, PRICE_EXTENSION, PRODUCT_AD_APP_DEEPLINK, PRODUCT_ASSETS, PRODUCT_EXTENSION_CLICKS, PRODUCT_LISTING_ADS_COUPON, PRODUCT_LISTING_AD_CLICKS, PRODUCT_LISTING_AD_LOCAL, PRODUCT_LISTING_AD_MULTICHANNEL_LOCAL, PRODUCT_LISTING_AD_MULTICHANNEL_ONLINE, PRODUCT_LISTING_AD_TRANSACTABLE, PROMOTION_EXTENSION, SHOPPING_COMPARISON_LISTING, SHOWCASE_AD_CATEGORY_LINK, SHOWCASE_AD_LOCAL_PRODUCT_LINK, SHOWCASE_AD_LOCAL_STOREFRONT_LINK, SHOWCASE_AD_ONLINE_PRODUCT_LINK, SITELINKS, STORE_LOCATOR, SWIPEABLE_GALLERY_AD_HEADLINE, SWIPEABLE_GALLERY_AD_SEE_MORE, SWIPEABLE_GALLERY_AD_SITELINK_FIVE, SWIPEABLE_GALLERY_AD_SITELINK_FOUR, SWIPEABLE_GALLERY_AD_SITELINK_ONE, SWIPEABLE_GALLERY_AD_SITELINK_THREE, SWIPEABLE_GALLERY_AD_SITELINK_TWO, SWIPEABLE_GALLERY_AD_SWIPES, TRAVEL_ASSETS, UNKNOWN, URL_CLICKS, VEHICLE_ASSETS, VIDEO_APP_STORE_CLICKS, VIDEO_CALL_TO_ACTION_CLICKS, VIDEO_CARD_ACTION_HEADLINE_CLICKS, VIDEO_CHANNEL_CLICK, VIDEO_END_CAP_CLICKS, VIDEO_RELATED_VIDEOS_CLICK, VIDEO_WEBSITE_CLICKS, VISUAL_SITELINKS, WIRELESS_PLAN.

ConversionAction String SEGMENT Resource name of the conversion action.
ConversionActionCategory String SEGMENT Conversion action category.

The allowed values are ADD_TO_CART, BEGIN_CHECKOUT, BOOK_APPOINTMENT, CONTACT, CONVERTED_LEAD, DEFAULT, DOWNLOAD, ENGAGEMENT, GET_DIRECTIONS, IMPORTED_LEAD, OUTBOUND_CLICK, PAGE_VIEW, PHONE_CALL_LEAD, PURCHASE, QUALIFIED_LEAD, REQUEST_QUOTE, SIGNUP, STORE_SALE, STORE_VISIT, SUBMIT_LEAD_FORM, SUBSCRIBE_PAID, UNKNOWN, YOUTUBE_FOLLOW_ON_VIEWS.

ConversionActionName String SEGMENT Conversion action name.
Date Date SEGMENT Date to which metrics apply.
DayOfWeek String SEGMENT Day of the week, for example, MONDAY.

The allowed values are FRIDAY, MONDAY, SATURDAY, SUNDAY, THURSDAY, TUESDAY, UNKNOWN, WEDNESDAY.

Device String SEGMENT Device to which metrics apply.

The allowed values are CONNECTED_TV, DESKTOP, MOBILE, OTHER, TABLET, UNKNOWN.

ExternalConversionSource String SEGMENT External conversion source.

The allowed values are AD_CALL_METRICS, ANALYTICS, ANALYTICS_SEARCH_ADS_360, ANDROID_FIRST_OPEN, ANDROID_IN_APP, APP_UNSPECIFIED, CLICK_TO_CALL, DISPLAY_AND_VIDEO_360_FLOODLIGHT, FIREBASE, FIREBASE_SEARCH_ADS_360, FLOODLIGHT, GOOGLE_ATTRIBUTION, GOOGLE_HOSTED, GOOGLE_PLAY, IOS_FIRST_OPEN, IOS_IN_APP, SALESFORCE, SEARCH_ADS_360, STORE_SALES, STORE_SALES_CRM, STORE_SALES_DIRECT_UPLOAD, STORE_SALES_PAYMENT_NETWORK, STORE_VISITS, THIRD_PARTY_APP_ANALYTICS, UNKNOWN, UPLOAD, UPLOAD_CALLS, WEBPAGE, WEBSITE_CALL_METRICS.

Month Date SEGMENT Month as represented by the date of the first day of a month. Formatted as
MonthOfYear String SEGMENT Month of the year, for example, January.

The allowed values are APRIL, AUGUST, DECEMBER, FEBRUARY, JANUARY, JULY, JUNE, MARCH, MAY, NOVEMBER, OCTOBER, SEPTEMBER, UNKNOWN.

Period String SEGMENT Predefined date range.

The allowed values are TODAY, YESTERDAY, LAST_7_DAYS, LAST_BUSINESS_WEEK, THIS_MONTH, LAST_MONTH, LAST_14_DAYS, LAST_30_DAYS, THIS_WEEK_SUN_TODAY, THIS_WEEK_MON_TODAY, LAST_WEEK_SUN_SAT, LAST_WEEK_MON_SUN.

Quarter Date SEGMENT Quarter as represented by the date of the first day of a quarter.
Week Date SEGMENT Week as defined as Monday through Sunday, and represented by the date of
Year Int SEGMENT Year, formatted as yyyy.

Pseudo-Columns

Pseudo column fields are used in the WHERE clause of SELECT statements and offer more granular control over the data returned from the data source.

Name Type Description
ManagerId Long Id of the manager account on behalf of which you are requesting customer data.

CData Python Connector for Google Ads

VideoEnhancement

Represents a video that can include both advertiser uploaded videos or

Columns

Name Type Behavior Description
AdGroupId Long SEGMENT Output only. The ID of the ad group.
CampaignId Long SEGMENT Output only. The ID of the campaign.
CustomerId Long SEGMENT Output only. The ID of the customer.
VideoId String SEGMENT Output only. The ID of the video.
VideoEnhancementDurationMillis Long ATTRIBUTE Output only. Duration of this video, in milliseconds.
VideoEnhancementResourceName String ATTRIBUTE Output only. The resource name of the video enhancement.
VideoEnhancementSource String ATTRIBUTE Output only. The source of the video (e.g. advertiser or enhanced by Google

The allowed values are ADVERTISER, ENHANCED_BY_GOOGLE_ADS, UNKNOWN.

VideoEnhancementTitle String ATTRIBUTE Output only. Title of this video.
AllConversions Double METRIC The total number of conversions. This includes all conversions regardless
AllConversionsFromInteractionsRate Double METRIC All conversions from interactions (as oppose to view through conversions)
AllConversionsValue Double METRIC The value of all conversions.
AverageCpc Double METRIC The total cost of all clicks divided by the total number of clicks
AverageCpe Double METRIC The average amount that you've been charged for an ad engagement. This
AverageCpm Double METRIC Average cost-per-thousand impressions (CPM).
AverageVideoWatchTimeDurationMillis Long METRIC Average video watch time duration in milliseconds for video impressions
Clicks Long METRIC The number of clicks.
Conversions Double METRIC The number of conversions. This only includes conversion actions which
ConversionsFromInteractionsRate Double METRIC Conversions from interactions divided by the number of ad interactions
ConversionsFromInteractionsValuePerInteraction Double METRIC The value of conversions from interactions divided by the number of ad
ConversionsValue Double METRIC The value of conversions. This only includes conversion actions which
ConversionsValuePerCost Double METRIC The value of conversions divided by the cost of ad interactions. This only
CostConvertedCurrencyPerPlatformComparableConversion Double METRIC The cost of the platform comparable conversion in the currency of the
CostMicros Long METRIC The sum of your cost-per-click (CPC) and cost-per-thousand impressions
CostPerAllConversions Double METRIC The cost of ad interactions divided by all conversions.
CostPerConversion Double METRIC The cost of ad interactions divided by conversions. This only includes
CostPerPlatformComparableConversion Double METRIC The cost of ad interactions divided by the number of platform comparable
CrossDeviceConversions Double METRIC Conversions from when a customer clicks on a Google Ads ad on one device,
Ctr Double METRIC The number of clicks your ad receives (Clicks) divided by the number
EngagementRate Double METRIC How often people engage with your ad after it's shown to them. This is the
Engagements Long METRIC The number of engagements.
Impressions Long METRIC Count of how often your ad has appeared on a search results page or
PlatformComparableConversions Double METRIC The number of platform comparable conversions. This only includes
PlatformComparableConversionsByConversionDate Double METRIC The number of platform comparable conversions. When this metric is
PlatformComparableConversionsFromInteractionsRate Double METRIC Platform comparable conversions from interactions divided by the number of
PlatformComparableConversionsFromInteractionsValuePerInteraction Double METRIC The value of platform comparable conversions from interactions divided by
PlatformComparableConversionsValue Double METRIC The value of platform comparable conversions. This only includes conversion
PlatformComparableConversionsValueByConversionDate Double METRIC The value of platform comparable conversions. When this metric is segmented
PlatformComparableConversionsValuePerCost Double METRIC The value of conversions divided by the cost of ad interactions. This only
TrueviewAverageCpv Double METRIC The average amount you pay each time someone views your ad.
ValuePerAllConversions Double METRIC The value of all conversions divided by the number of all conversions.
ValuePerConversion Double METRIC The value of conversions divided by the number of conversions. This only
ValuePerPlatformComparableConversion Double METRIC The value of platform comparable conversions divided by the number of
ValuePerPlatformComparableConversionsByConversionDate Double METRIC The value of platform comparable conversions divided by the number of
VideoQuartileP100Rate Double METRIC Percentage of impressions where the viewer watched all of your video.
VideoQuartileP25Rate Double METRIC Percentage of impressions where the viewer watched 25% of your video.
VideoQuartileP50Rate Double METRIC Percentage of impressions where the viewer watched 50% of your video.
VideoQuartileP75Rate Double METRIC Percentage of impressions where the viewer watched 75% of your video.
VideoTrueviewViewRate Double METRIC The number of TrueView views your video ad receives divided by its number
VideoTrueviewViewRateInFeed Double METRIC The number of TrueView views divided by number of impressions that can
VideoTrueviewViewRateInStream Double METRIC The number of TrueView views divided by number of impressions that can
VideoTrueviewViewRateShorts Double METRIC The number of TrueView views divided by number of impressions that can
VideoTrueviewViews Long METRIC The number of TrueView views your video ads received.
VideoWatchTimeDurationMillis Long METRIC Total watch time duration in milliseconds for video impressions that
ViewThroughConversions Long METRIC The total number of view-through conversions.
AdFormatType String SEGMENT Ad Format type.

The allowed values are AUDIO, BUMPER, INFEED, INSTREAM_NON_SKIPPABLE, INSTREAM_SKIPPABLE, MASTHEAD, OTHER, OUTSTREAM, PAUSE, SHORTS, TEXT, UNKNOWN, UNSEGMENTED, VERTICAL_ADS_BOOKING_LINK, VERTICAL_ADS_PROMOTION.

AdNetworkType String SEGMENT Ad network type.

The allowed values are CONTENT, DISCOVER, GMAIL, GOOGLE_OWNED_CHANNELS, GOOGLE_TV, MAPS, MIXED, SEARCH, SEARCH_PARTNERS, UNKNOWN, YOUTUBE.

AdSubNetworkType String SEGMENT Ad sub network type. Currently only available for ads running as part of

The allowed values are UNKNOWN, UNSEGMENTED, YOUTUBE_INFEED, YOUTUBE_INSTREAM, YOUTUBE_SHORTS.

ClickType String SEGMENT Click type.

The allowed values are AD_IMAGE, APP_DEEPLINK, BREADCRUMBS, BROADBAND_PLAN, CALLS, CALL_TRACKING, CLICK_ON_ENGAGEMENT_AD, CLICK_TO_MESSAGE_LANDING_PAGE_CLICK, CLICK_TO_MESSAGE_THIRD_PARTY_CLICK, CROSS_NETWORK, GET_DIRECTIONS, HOTEL_BOOK_ON_GOOGLE_ROOM_SELECTION, HOTEL_PRICE, LOCATION_EXPANSION, LOCATION_FORMAT_CALL, LOCATION_FORMAT_DIRECTIONS, LOCATION_FORMAT_IMAGE, LOCATION_FORMAT_LANDING_PAGE, LOCATION_FORMAT_MAP, LOCATION_FORMAT_STORE_INFO, LOCATION_FORMAT_TEXT, MOBILE_CALL_TRACKING, OFFER_PRINTS, OTHER, PRICE_EXTENSION, PRODUCT_AD_APP_DEEPLINK, PRODUCT_ASSETS, PRODUCT_EXTENSION_CLICKS, PRODUCT_LISTING_ADS_COUPON, PRODUCT_LISTING_AD_CLICKS, PRODUCT_LISTING_AD_LOCAL, PRODUCT_LISTING_AD_MULTICHANNEL_LOCAL, PRODUCT_LISTING_AD_MULTICHANNEL_ONLINE, PRODUCT_LISTING_AD_TRANSACTABLE, PROMOTION_EXTENSION, SHOPPING_COMPARISON_LISTING, SHOWCASE_AD_CATEGORY_LINK, SHOWCASE_AD_LOCAL_PRODUCT_LINK, SHOWCASE_AD_LOCAL_STOREFRONT_LINK, SHOWCASE_AD_ONLINE_PRODUCT_LINK, SITELINKS, STORE_LOCATOR, SWIPEABLE_GALLERY_AD_HEADLINE, SWIPEABLE_GALLERY_AD_SEE_MORE, SWIPEABLE_GALLERY_AD_SITELINK_FIVE, SWIPEABLE_GALLERY_AD_SITELINK_FOUR, SWIPEABLE_GALLERY_AD_SITELINK_ONE, SWIPEABLE_GALLERY_AD_SITELINK_THREE, SWIPEABLE_GALLERY_AD_SITELINK_TWO, SWIPEABLE_GALLERY_AD_SWIPES, TRAVEL_ASSETS, UNKNOWN, URL_CLICKS, VEHICLE_ASSETS, VIDEO_APP_STORE_CLICKS, VIDEO_CALL_TO_ACTION_CLICKS, VIDEO_CARD_ACTION_HEADLINE_CLICKS, VIDEO_CHANNEL_CLICK, VIDEO_END_CAP_CLICKS, VIDEO_RELATED_VIDEOS_CLICK, VIDEO_WEBSITE_CLICKS, VISUAL_SITELINKS, WIRELESS_PLAN.

Date Date SEGMENT Date to which metrics apply.
DayOfWeek String SEGMENT Day of the week, for example, MONDAY.

The allowed values are FRIDAY, MONDAY, SATURDAY, SUNDAY, THURSDAY, TUESDAY, UNKNOWN, WEDNESDAY.

Device String SEGMENT Device to which metrics apply.

The allowed values are CONNECTED_TV, DESKTOP, MOBILE, OTHER, TABLET, UNKNOWN.

Month Date SEGMENT Month as represented by the date of the first day of a month. Formatted as
Period String SEGMENT Predefined date range.

The allowed values are TODAY, YESTERDAY, LAST_7_DAYS, LAST_BUSINESS_WEEK, THIS_MONTH, LAST_MONTH, LAST_14_DAYS, LAST_30_DAYS, THIS_WEEK_SUN_TODAY, THIS_WEEK_MON_TODAY, LAST_WEEK_SUN_SAT, LAST_WEEK_MON_SUN.

Quarter Date SEGMENT Quarter as represented by the date of the first day of a quarter.
Week Date SEGMENT Week as defined as Monday through Sunday, and represented by the date of
Year Int SEGMENT Year, formatted as yyyy.

Pseudo-Columns

Pseudo column fields are used in the WHERE clause of SELECT statements and offer more granular control over the data returned from the data source.

Name Type Description
ManagerId Long Id of the manager account on behalf of which you are requesting customer data.

CData Python Connector for Google Ads

WebpageView

A webpage view.

Columns

Name Type Behavior Description
CustomerId Long ATTRIBUTE Output only. The ID of the customer.
WebpageViewResourceName String ATTRIBUTE Output only. The resource name of the webpage view.
AbsoluteTopImpressionPercentage Double METRIC Search absolute top impression share is the percentage of your Search ad
ActiveViewCpm Double METRIC Average cost of viewable impressions (active_view_impressions).
ActiveViewCtr Double METRIC Active view measurable clicks divided by active view viewable impressions.
ActiveViewImpressions Long METRIC A measurement of how often your ad has become viewable on a Display
ActiveViewMeasurability Double METRIC The ratio of impressions that could be measured by Active View over the
ActiveViewMeasurableCostMicros Long METRIC The cost of the impressions you received that were measurable by Active
ActiveViewMeasurableImpressions Long METRIC The number of times your ads are appearing on placements in positions
ActiveViewViewability Double METRIC The percentage of time when your ad appeared on an Active View enabled site
AllConversions Double METRIC The total number of conversions. This includes all conversions regardless
AllConversionsFromInteractionsRate Double METRIC All conversions from interactions (as oppose to view through conversions)
AllConversionsValue Double METRIC The value of all conversions.
AverageCost Double METRIC The average amount you pay per interaction. This amount is the total cost
AverageCpc Double METRIC The total cost of all clicks divided by the total number of clicks
AverageCpe Double METRIC The average amount that you've been charged for an ad engagement. This
AverageCpm Double METRIC Average cost-per-thousand impressions (CPM).
Clicks Long METRIC The number of clicks.
Conversions Double METRIC The number of conversions. This only includes conversion actions which
ConversionsFromInteractionsRate Double METRIC Conversions from interactions divided by the number of ad interactions
ConversionsValue Double METRIC The value of conversions. This only includes conversion actions which
CostMicros Long METRIC The sum of your cost-per-click (CPC) and cost-per-thousand impressions
CostPerAllConversions Double METRIC The cost of ad interactions divided by all conversions.
CostPerConversion Double METRIC The cost of ad interactions divided by conversions. This only includes
CostPerCurrentModelAttributedConversion Double METRIC The cost of ad interactions divided by current model attributed
CrossDeviceConversions Double METRIC Conversions from when a customer clicks on a Google Ads ad on one device,
Ctr Double METRIC The number of clicks your ad receives (Clicks) divided by the number
CurrentModelAttributedConversions Double METRIC Shows how your historic conversions data would look under the attribution
CurrentModelAttributedConversionsValue Double METRIC The value of current model attributed conversions. This only includes
EngagementRate Double METRIC How often people engage with your ad after it's shown to them. This is the
Engagements Long METRIC The number of engagements.
Impressions Long METRIC Count of how often your ad has appeared on a search results page or
InteractionEventTypes String METRIC The types of payable and free interactions.

The allowed values are CLICK, ENGAGEMENT, NONE, UNKNOWN, VIDEO_VIEW.

InteractionRate Double METRIC How often people interact with your ad after it is shown to them.
Interactions Long METRIC The number of interactions.
TopImpressionPercentage Double METRIC The percent of your ad impressions that are shown adjacent to the top
TrueviewAverageCpv Double METRIC The average amount you pay each time someone views your ad.
ValuePerAllConversions Double METRIC The value of all conversions divided by the number of all conversions.
ValuePerConversion Double METRIC The value of conversions divided by the number of conversions. This only
ValuePerCurrentModelAttributedConversion Double METRIC The value of current model attributed conversions divided by the number of
ViewThroughConversions Long METRIC The total number of view-through conversions.
AdNetworkType String SEGMENT Ad network type.

The allowed values are CONTENT, DISCOVER, GMAIL, GOOGLE_OWNED_CHANNELS, GOOGLE_TV, MAPS, MIXED, SEARCH, SEARCH_PARTNERS, UNKNOWN, YOUTUBE.

AdSubNetworkType String SEGMENT Ad sub network type. Currently only available for ads running as part of

The allowed values are UNKNOWN, UNSEGMENTED, YOUTUBE_INFEED, YOUTUBE_INSTREAM, YOUTUBE_SHORTS.

ClickType String SEGMENT Click type.

The allowed values are AD_IMAGE, APP_DEEPLINK, BREADCRUMBS, BROADBAND_PLAN, CALLS, CALL_TRACKING, CLICK_ON_ENGAGEMENT_AD, CLICK_TO_MESSAGE_LANDING_PAGE_CLICK, CLICK_TO_MESSAGE_THIRD_PARTY_CLICK, CROSS_NETWORK, GET_DIRECTIONS, HOTEL_BOOK_ON_GOOGLE_ROOM_SELECTION, HOTEL_PRICE, LOCATION_EXPANSION, LOCATION_FORMAT_CALL, LOCATION_FORMAT_DIRECTIONS, LOCATION_FORMAT_IMAGE, LOCATION_FORMAT_LANDING_PAGE, LOCATION_FORMAT_MAP, LOCATION_FORMAT_STORE_INFO, LOCATION_FORMAT_TEXT, MOBILE_CALL_TRACKING, OFFER_PRINTS, OTHER, PRICE_EXTENSION, PRODUCT_AD_APP_DEEPLINK, PRODUCT_ASSETS, PRODUCT_EXTENSION_CLICKS, PRODUCT_LISTING_ADS_COUPON, PRODUCT_LISTING_AD_CLICKS, PRODUCT_LISTING_AD_LOCAL, PRODUCT_LISTING_AD_MULTICHANNEL_LOCAL, PRODUCT_LISTING_AD_MULTICHANNEL_ONLINE, PRODUCT_LISTING_AD_TRANSACTABLE, PROMOTION_EXTENSION, SHOPPING_COMPARISON_LISTING, SHOWCASE_AD_CATEGORY_LINK, SHOWCASE_AD_LOCAL_PRODUCT_LINK, SHOWCASE_AD_LOCAL_STOREFRONT_LINK, SHOWCASE_AD_ONLINE_PRODUCT_LINK, SITELINKS, STORE_LOCATOR, SWIPEABLE_GALLERY_AD_HEADLINE, SWIPEABLE_GALLERY_AD_SEE_MORE, SWIPEABLE_GALLERY_AD_SITELINK_FIVE, SWIPEABLE_GALLERY_AD_SITELINK_FOUR, SWIPEABLE_GALLERY_AD_SITELINK_ONE, SWIPEABLE_GALLERY_AD_SITELINK_THREE, SWIPEABLE_GALLERY_AD_SITELINK_TWO, SWIPEABLE_GALLERY_AD_SWIPES, TRAVEL_ASSETS, UNKNOWN, URL_CLICKS, VEHICLE_ASSETS, VIDEO_APP_STORE_CLICKS, VIDEO_CALL_TO_ACTION_CLICKS, VIDEO_CARD_ACTION_HEADLINE_CLICKS, VIDEO_CHANNEL_CLICK, VIDEO_END_CAP_CLICKS, VIDEO_RELATED_VIDEOS_CLICK, VIDEO_WEBSITE_CLICKS, VISUAL_SITELINKS, WIRELESS_PLAN.

ConversionAction String SEGMENT Resource name of the conversion action.
ConversionActionCategory String SEGMENT Conversion action category.

The allowed values are ADD_TO_CART, BEGIN_CHECKOUT, BOOK_APPOINTMENT, CONTACT, CONVERTED_LEAD, DEFAULT, DOWNLOAD, ENGAGEMENT, GET_DIRECTIONS, IMPORTED_LEAD, OUTBOUND_CLICK, PAGE_VIEW, PHONE_CALL_LEAD, PURCHASE, QUALIFIED_LEAD, REQUEST_QUOTE, SIGNUP, STORE_SALE, STORE_VISIT, SUBMIT_LEAD_FORM, SUBSCRIBE_PAID, UNKNOWN, YOUTUBE_FOLLOW_ON_VIEWS.

ConversionActionName String SEGMENT Conversion action name.
ConversionLagBucket String SEGMENT An enum value representing the number of days between the impression and

The allowed values are EIGHT_TO_NINE_DAYS, ELEVEN_TO_TWELVE_DAYS, FIVE_TO_SIX_DAYS, FORTY_FIVE_TO_SIXTY_DAYS, FOURTEEN_TO_TWENTY_ONE_DAYS, FOUR_TO_FIVE_DAYS, LESS_THAN_ONE_DAY, NINE_TO_TEN_DAYS, ONE_TO_TWO_DAYS, SEVEN_TO_EIGHT_DAYS, SIXTY_TO_NINETY_DAYS, SIX_TO_SEVEN_DAYS, TEN_TO_ELEVEN_DAYS, THIRTEEN_TO_FOURTEEN_DAYS, THIRTY_TO_FORTY_FIVE_DAYS, THREE_TO_FOUR_DAYS, TWELVE_TO_THIRTEEN_DAYS, TWENTY_ONE_TO_THIRTY_DAYS, TWO_TO_THREE_DAYS, UNKNOWN.

ConversionOrAdjustmentLagBucket String SEGMENT An enum value representing the number of days between the impression and

The allowed values are ADJUSTMENT_EIGHT_TO_NINE_DAYS, ADJUSTMENT_ELEVEN_TO_TWELVE_DAYS, ADJUSTMENT_FIVE_TO_SIX_DAYS, ADJUSTMENT_FORTY_FIVE_TO_SIXTY_DAYS, ADJUSTMENT_FOURTEEN_TO_TWENTY_ONE_DAYS, ADJUSTMENT_FOUR_TO_FIVE_DAYS, ADJUSTMENT_LESS_THAN_ONE_DAY, ADJUSTMENT_NINETY_TO_ONE_HUNDRED_AND_FORTY_FIVE_DAYS, ADJUSTMENT_NINE_TO_TEN_DAYS, ADJUSTMENT_ONE_TO_TWO_DAYS, ADJUSTMENT_SEVEN_TO_EIGHT_DAYS, ADJUSTMENT_SIXTY_TO_NINETY_DAYS, ADJUSTMENT_SIX_TO_SEVEN_DAYS, ADJUSTMENT_TEN_TO_ELEVEN_DAYS, ADJUSTMENT_THIRTEEN_TO_FOURTEEN_DAYS, ADJUSTMENT_THIRTY_TO_FORTY_FIVE_DAYS, ADJUSTMENT_THREE_TO_FOUR_DAYS, ADJUSTMENT_TWELVE_TO_THIRTEEN_DAYS, ADJUSTMENT_TWENTY_ONE_TO_THIRTY_DAYS, ADJUSTMENT_TWO_TO_THREE_DAYS, ADJUSTMENT_UNKNOWN, CONVERSION_EIGHT_TO_NINE_DAYS, CONVERSION_ELEVEN_TO_TWELVE_DAYS, CONVERSION_FIVE_TO_SIX_DAYS, CONVERSION_FORTY_FIVE_TO_SIXTY_DAYS, CONVERSION_FOURTEEN_TO_TWENTY_ONE_DAYS, CONVERSION_FOUR_TO_FIVE_DAYS, CONVERSION_LESS_THAN_ONE_DAY, CONVERSION_NINE_TO_TEN_DAYS, CONVERSION_ONE_TO_TWO_DAYS, CONVERSION_SEVEN_TO_EIGHT_DAYS, CONVERSION_SIXTY_TO_NINETY_DAYS, CONVERSION_SIX_TO_SEVEN_DAYS, CONVERSION_TEN_TO_ELEVEN_DAYS, CONVERSION_THIRTEEN_TO_FOURTEEN_DAYS, CONVERSION_THIRTY_TO_FORTY_FIVE_DAYS, CONVERSION_THREE_TO_FOUR_DAYS, CONVERSION_TWELVE_TO_THIRTEEN_DAYS, CONVERSION_TWENTY_ONE_TO_THIRTY_DAYS, CONVERSION_TWO_TO_THREE_DAYS, CONVERSION_UNKNOWN, UNKNOWN.

Date Date SEGMENT Date to which metrics apply.
DayOfWeek String SEGMENT Day of the week, for example, MONDAY.

The allowed values are FRIDAY, MONDAY, SATURDAY, SUNDAY, THURSDAY, TUESDAY, UNKNOWN, WEDNESDAY.

Device String SEGMENT Device to which metrics apply.

The allowed values are CONNECTED_TV, DESKTOP, MOBILE, OTHER, TABLET, UNKNOWN.

ExternalConversionSource String SEGMENT External conversion source.

The allowed values are AD_CALL_METRICS, ANALYTICS, ANALYTICS_SEARCH_ADS_360, ANDROID_FIRST_OPEN, ANDROID_IN_APP, APP_UNSPECIFIED, CLICK_TO_CALL, DISPLAY_AND_VIDEO_360_FLOODLIGHT, FIREBASE, FIREBASE_SEARCH_ADS_360, FLOODLIGHT, GOOGLE_ATTRIBUTION, GOOGLE_HOSTED, GOOGLE_PLAY, IOS_FIRST_OPEN, IOS_IN_APP, SALESFORCE, SEARCH_ADS_360, STORE_SALES, STORE_SALES_CRM, STORE_SALES_DIRECT_UPLOAD, STORE_SALES_PAYMENT_NETWORK, STORE_VISITS, THIRD_PARTY_APP_ANALYTICS, UNKNOWN, UPLOAD, UPLOAD_CALLS, WEBPAGE, WEBSITE_CALL_METRICS.

Month Date SEGMENT Month as represented by the date of the first day of a month. Formatted as
MonthOfYear String SEGMENT Month of the year, for example, January.

The allowed values are APRIL, AUGUST, DECEMBER, FEBRUARY, JANUARY, JULY, JUNE, MARCH, MAY, NOVEMBER, OCTOBER, SEPTEMBER, UNKNOWN.

Period String SEGMENT Predefined date range.

The allowed values are TODAY, YESTERDAY, LAST_7_DAYS, LAST_BUSINESS_WEEK, THIS_MONTH, LAST_MONTH, LAST_14_DAYS, LAST_30_DAYS, THIS_WEEK_SUN_TODAY, THIS_WEEK_MON_TODAY, LAST_WEEK_SUN_SAT, LAST_WEEK_MON_SUN.

Quarter Date SEGMENT Quarter as represented by the date of the first day of a quarter.
Slot String SEGMENT Position of the ad.

The allowed values are CONTENT, MIXED, SEARCH_OTHER, SEARCH_PARTNER_OTHER, SEARCH_PARTNER_TOP, SEARCH_SIDE, SEARCH_TOP, UNKNOWN.

Week Date SEGMENT Week as defined as Monday through Sunday, and represented by the date of
Year Int SEGMENT Year, formatted as yyyy.

Pseudo-Columns

Pseudo column fields are used in the WHERE clause of SELECT statements and offer more granular control over the data returned from the data source.

Name Type Description
ManagerId Long Id of the manager account on behalf of which you are requesting customer data.

CData Python Connector for Google Ads

YouTubeVideoUpload

Represents a video upload to YouTube using the Google Ads API.

Columns

Name Type Behavior Description
CustomerId Long ATTRIBUTE Output only. The ID of the customer.
YouTubeVideoUploadChannelId String ATTRIBUTE Immutable. The destination YouTube channel ID for the video upload.
YouTubeVideoUploadResourceName String ATTRIBUTE Immutable. Resource name of the YouTube video upload.
YouTubeVideoUploadState String ATTRIBUTE Output only. The current state of the YouTube video upload.

The allowed values are FAILED, PENDING, PROCESSED, REJECTED, UNAVAILABLE, UNKNOWN, UPLOADED.

YouTubeVideoUploadVideoId String ATTRIBUTE Output only. The YouTube video ID of the uploaded video.
YouTubeVideoUploadVideoPrivacy String ATTRIBUTE The privacy state of the video.

The allowed values are PUBLIC, UNKNOWN, UNLISTED.

YouTubeVideoUploadVideoUploadId Long ATTRIBUTE Output only. The unique ID of the YouTube video upload.

Pseudo-Columns

Pseudo column fields are used in the WHERE clause of SELECT statements and offer more granular control over the data returned from the data source.

Name Type Description
ManagerId Long Id of the manager account on behalf of which you are requesting customer data.

CData Python Connector for Google Ads

Stored Procedures

Stored procedures are function-like interfaces that extend the functionality of the connector beyond simple SELECT operations with Google Ads.

Stored procedures accept a list of parameters, perform their intended function, and then return any relevant response data from Google Ads, along with an indication of whether the procedure succeeded or failed.

CData Python Connector for Google Ads Stored Procedures

Name Description
CreateReportSchema Creates a schema file based on the specified report.
GetOAuthAccessToken Obtains the OAuth access token to be used for authentication with various Google services.
GetOAuthAuthorizationURL Obtains the OAuth authorization URL used for authentication with various Google services.
RefreshOAuthAccessToken Obtains the OAuth access token to be used for authentication with various Google services.

CData Python Connector for Google Ads

CreateReportSchema

Creates a schema file based on the specified report.

Use this stored procedure to create a new view, which will include all attributes, metrics, and segments from specific resources. These columns can be from resource attributes (ResourceName), from non-segmenting resources (AttributeResources), or from segmenting resources (SegmentingResources). Below are a few examples:

EXEC CreateReportSchema ResourceName = 'distance_view', ReportName = 'Distance 1', SegmentingResources = 'campaign', OutputFolder = 'C:/Users/Public/Desktop'
EXEC CreateReportSchema ResourceName = 'distance_view', ReportName = 'Distance 2', Description = 'Sample description.'
EXEC CreateReportSchema ResourceName = 'distance_view', ReportName = 'Distance 3', AttributeResources = 'customer', Description = 'Sample description.'
EXEC CreateReportSchema ResourceName = 'distance_view', ReportName = 'Distance 4', SegmentingResources = 'campaign', AttributeResources = 'customer', Description = 'Sample description.'

For the last example, you can not select all the columns in a query, because some metrics do not support some resources. You should instead specify a subset, for example:

SELECT DistanceViewResourceName, CustomerTimeZone, CampaignName, CampaignEndDate, Clicks, Impressions FROM [Distance 4]

Input

Name Type Description
ReportName String The name for the new view. If not set, the name will be generated based on ResourceName.
ResourceName String The API name of the resource you want to use, for example, campaign, ad_group, etc.
AttributeResources String A comma-separated list of API resource names to include in addition to the ResourceName. Fields from these resources may be selected along with ResourceName in your SELECT and WHERE clauses. These fields will not segment metrics in your SELECT clause.
SegmentingResources String A comma-separated list of API resource names to include in addition to the ResourceName. Fields from these resources, when selected along with ResourceName in your SELECT and WHERE clauses, will segment metrics.
Metrics String A comma-separated list of metrics to include in the schema file. For a list of possible metrics values, see https://developers.google.com/google-ads/api/fields/v11/metrics on the Google Ads API website.
Segments String A comma-separated list of segments to include in the schema file. For a list of possible segment values, see https://developers.google.com/google-ads/api/fields/v11/segments on the Google Ads API website.
Description String An optional description for this custom report.
WriteToFile Boolean If set to 'True', the schema file will be written to the directory specified by the Location connection property. If set to 'False', the schema data will either be written to the FileStream or be output as BASE64 encoded data. Defaults to 'True'.

The default value is true.

Result Set Columns

Name Type Description
Success String Whether or not the schema was created successfully.
SchemaFile String The generated schema file.
FileData String The schema's data in BASE64 encoding. Only used if WriteToFile is set to 'False' and FileStream is not set.

CData Python Connector for Google Ads

GetOAuthAccessToken

Obtains the OAuth access token to be used for authentication with various Google services.

NOTE: If, after running this stored procedure, the OAuthRefreshToken was not returned as part of the result set, change the Prompt value to CONSENT and run the procedure again. This forces the app to reauthenticate and send new token information.

Input

Name Type Description
AuthMode String The type of authentication mode to use.

The allowed values are APP, WEB.

The default value is WEB.

Scope String The scope of access to Google APIs. By default, access to all APIs used by this data provider will be specified.

The default value is https://www.googleapis.com/auth/adwords.

Verifier String The verifier code returned by Google after permission for the app to connect has been granted. WEB AuthMode only.
CallbackURL String This field determines where the response is sent. The value of this parameter must exactly match one of the values registered in the APIs Console, including the HTTP or HTTPS schemes, capitalization, and trailing forward slash ('/').
Prompt String This field indicates the prompt to present the user. It accepts one of the following values: NONE, CONSENT, SELECT ACCOUNT. The default is SELECT_ACCOUNT, so a given user will be prompted to select the account to connect to. If it is set to CONSENT, the user will see a consent page every time, even if they have previously given consent to the application for a given set of scopes. Lastly, if it is set to NONE, no authentication or consent screens will be displayed to the user.

The default value is SELECT_ACCOUNT.

AccessType String This field indicates if your application needs to access a Google API when the user is not present at the browser. This parameter defaults to OFFLINE. If your application needs to refresh access tokens when the user is not present at the browser, then use OFFLINE. This will result in your application obtaining a refresh token the first time your application exchanges an authorization code for a user.

The allowed values are ONLINE, OFFLINE.

The default value is OFFLINE.

State String This field indicates any state that may be useful to your application upon receipt of the response. Your application receives the same value it sent, as this parameter makes a round-trip to Google authorization server and back. Uses include redirecting the user to the correct resource in your site, using nonces, and mitigating cross-site request forgery.
PKCEVerifier String The PKCEVerifier returned by GetOAuthAuthorizationURL.

Result Set Columns

Name Type Description
OAuthAccessToken String The authentication token returned from Google. This can be used in subsequent calls to other operations for this particular service.
OAuthRefreshToken String A token that may be used to obtain a new access token.
ExpiresIn String The remaining lifetime on the access token.

CData Python Connector for Google Ads

GetOAuthAuthorizationURL

Obtains the OAuth authorization URL used for authentication with various Google services.

Input

Name Type Description
AuthMode String The type of authentication mode to use.

The allowed values are APP, WEB.

The default value is WEB.

Scope String The scope of access to Google APIs. By default, access to all APIs used by this data provider will be specified.

The default value is https://www.googleapis.com/auth/adwords.

CallbackURL String This field determines where the response is sent. The value of this parameter must exactly match one of the values registered in the APIs Console, including the HTTP or HTTPS schemes, case, and trailing forward slash ('/').
Prompt String This field indicates the prompt to present the user. It accepts one of the following values: NONE, CONSENT, SELECT ACCOUNT. The default is SELECT_ACCOUNT, so a given user will be prompted to select the account to connect to. If it is set to CONSENT, the user will see a consent page every time, even if they have previously given consent to the application for a given set of scopes. Lastly, if it is set to NONE, no authentication or consent screens will be displayed to the user.

The default value is SELECT_ACCOUNT.

AccessType String This field indicates if your application needs to access a Google API when the user is not present at the browser. This parameter defaults to OFFLINE. If your application needs to refresh access tokens when the user is not present at the browser, then use OFFLINE. This will result in your application obtaining a refresh token the first time your application exchanges an authorization code for a user.

The allowed values are ONLINE, OFFLINE.

The default value is OFFLINE.

State String This field indicates any state that may be useful to your application upon receipt of the response. Your application receives the same value it sent, as this parameter makes a round-trip to the Google authorization server and back. Possible uses include redirecting the user to the correct resource in your site, using nonces, and mitigating cross-site request forgery.

Result Set Columns

Name Type Description
URL String The URL to complete user authentication.
PKCEVerifier String A random value used as input for GetOAuthAccessToken in the PKCE flow.

CData Python Connector for Google Ads

RefreshOAuthAccessToken

Obtains the OAuth access token to be used for authentication with various Google services.

Input

Name Type Description
OAuthRefreshToken String The refresh token returned from the original authorization code exchange.

Result Set Columns

Name Type Description
OAuthAccessToken String The authentication token returned from Google. This can be used in subsequent calls to other operations for this particular service.
OAuthRefreshToken String The refresh token returned from Google. This can be used to get a new access token when the access token expires.
ExpiresIn String The remaining lifetime on the access token.

CData Python Connector for Google Ads

System Tables

You can query the system tables described in this section to access schema information, information on data source functionality, and batch operation statistics.

Schema Tables

The following tables return database metadata for Google Ads:

Data Source Tables

The following tables return information about how to connect to and query the data source:

  • sys_connection_props: Returns information on the available connection properties.
  • sys_sqlinfo: Describes the SELECT queries that the connector can offload to the data source.

Query Information Tables

The following table returns query statistics for data modification queries

  • sys_identity: Returns information about batch operations or single updates.

CData Python Connector for Google Ads

sys_catalogs

Lists the available databases.

The following query retrieves all databases determined by the connection string:

SELECT * FROM sys_catalogs

Columns

Name Type Description
CatalogName String The database name.

CData Python Connector for Google Ads

sys_schemas

Lists the available schemas.

The following query retrieves all available schemas:

          SELECT * FROM sys_schemas
          

Columns

Name Type Description
CatalogName String The database name.
SchemaName String The schema name.

CData Python Connector for Google Ads

sys_tables

Lists the available tables.

The following query retrieves the available tables and views:

          SELECT * FROM sys_tables
          

Columns

Name Type Description
CatalogName String The database containing the table or view.
SchemaName String The schema containing the table or view.
TableName String The name of the table or view.
TableType String The table type (table or view).
Description String A description of the table or view.
IsUpdateable Boolean Whether the table can be updated.
IsInsertable Boolean Whether the table can be inserted into.
IsDeleteable Boolean Whether rows can be deleted from the table.

CData Python Connector for Google Ads

sys_tablecolumns

Describes the columns of the available tables and views.

The following query returns the columns and data types for the CampaignPerformance table:

SELECT ColumnName, DataTypeName FROM sys_tablecolumns WHERE TableName = 'CampaignPerformance' 

Columns

Name Type Description
CatalogName String The name of the database containing the table or view.
SchemaName String The schema containing the table or view.
TableName String The name of the table or view containing the column.
ColumnName String The column name.
DataTypeName String The data type name.
DataType Int32 An integer indicating the data type. This value is determined at run time based on the environment.
Length Int32 The storage size of the column.
DisplaySize Int32 The designated column's normal maximum width in characters.
NumericPrecision Int32 The maximum number of digits in numeric data. The column length in characters for character and date-time data.
NumericScale Int32 The column scale or number of digits to the right of the decimal point.
IsNullable Boolean Whether the column can contain null.
Description String A brief description of the column.
Ordinal Int32 The sequence number of the column.
IsAutoIncrement String Whether the column value is assigned in fixed increments.
IsGeneratedColumn String Whether the column is generated.
IsHidden Boolean Whether the column is hidden.
IsArray Boolean Whether the column is an array.
IsReadOnly Boolean Whether the column is read-only.
IsKey Boolean Indicates whether a field returned from sys_tablecolumns is the primary key of the table.
ColumnType String The role or classification of the column in the schema. Possible values include SYSTEM, LINKEDCOLUMN, NAVIGATIONKEY, REFERENCECOLUMN, and NAVIGATIONPARENTCOLUMN.
ColumnCapabilities Int32 A bit mask denoting the column's write capabilities. The value is the sum of the following: 1 if the column is required for INSERTs, 2 if the column is allowed for INSERTs, and 4 if the column is allowed for UPDATEs. A value of 0 indicates that the write capabilities of the column are unknown or that the column is read-only.

CData Python Connector for Google Ads

sys_procedures

Lists the available stored procedures.

The following query retrieves the available stored procedures:

          SELECT * FROM sys_procedures
          

Columns

Name Type Description
CatalogName String The database containing the stored procedure.
SchemaName String The schema containing the stored procedure.
ProcedureName String The name of the stored procedure.
Description String A description of the stored procedure.
ProcedureType String The type of the procedure, such as PROCEDURE or FUNCTION.

CData Python Connector for Google Ads

sys_procedureparameters

Describes stored procedure parameters.

The following query returns information about all of the input parameters for the GetOAuthAccessToken stored procedure:

SELECT * FROM sys_procedureparameters WHERE ProcedureName = 'GetOAuthAccessToken' AND Direction = 1 OR Direction = 2

To include result set columns in addition to the parameters, set the IncludeResultColumns pseudo column to True:

SELECT * FROM sys_procedureparameters WHERE ProcedureName = 'GetOAuthAccessToken' AND IncludeResultColumns='True'

Columns

Name Type Description
CatalogName String The name of the database containing the stored procedure.
SchemaName String The name of the schema containing the stored procedure.
ProcedureName String The name of the stored procedure containing the parameter.
ColumnName String The name of the stored procedure parameter.
Direction Int32 An integer corresponding to the type of the parameter: input (1), input/output (2), or output(4). input/output type parameters can be both input and output parameters.
DataType Int32 An integer indicating the data type. This value is determined at run time based on the environment.
DataTypeName String The name of the data type.
NumericPrecision Int32 The maximum precision for numeric data. The column length in characters for character and date-time data.
Length Int32 The number of characters allowed for character data. The number of digits allowed for numeric data.
NumericScale Int32 The number of digits to the right of the decimal point in numeric data.
IsNullable Boolean Whether the parameter can contain null.
IsRequired Boolean Whether the parameter is required for execution of the procedure.
IsArray Boolean Whether the parameter is an array.
Description String The description of the parameter.
Ordinal Int32 The index of the parameter.
Values String The values you can set in this parameter are limited to those shown in this column. Possible values are comma-separated.
SupportsStreams Boolean Whether the parameter represents a file that you can pass as either a file path or a stream.
IsPath Boolean Whether the parameter is a target path for a schema creation operation.
Default String The value used for this parameter when no value is specified.
SpecificName String A label that, when multiple stored procedures have the same name, uniquely identifies each identically-named stored procedure. If there's only one procedure with a given name, its name is simply reflected here.
IsCDataProvided Boolean Whether the procedure is added/implemented by CData, as opposed to being a native Google Ads procedure.

Pseudo-Columns

Name Type Description
IncludeResultColumns Boolean Whether the output should include columns from the result set in addition to parameters. Defaults to False.

CData Python Connector for Google Ads

sys_keycolumns

Describes the primary and foreign keys.

The following query retrieves the primary key for the CampaignPerformance table:

         SELECT * FROM sys_keycolumns WHERE IsKey='True' AND TableName='CampaignPerformance' 
          

Columns

Name Type Description
CatalogName String The name of the database containing the key.
SchemaName String The name of the schema containing the key.
TableName String The name of the table containing the key.
ColumnName String The name of the key column.
IsKey Boolean Whether the column is a primary key in the table referenced in the TableName field.
IsForeignKey Boolean Whether the column is a foreign key referenced in the TableName field.
PrimaryKeyName String The name of the primary key.
ForeignKeyName String The name of the foreign key.
ReferencedCatalogName String The database containing the primary key.
ReferencedSchemaName String The schema containing the primary key.
ReferencedTableName String The table containing the primary key.
ReferencedColumnName String The column name of the primary key.

CData Python Connector for Google Ads

sys_foreignkeys

Describes the foreign keys.

The following query retrieves all foreign keys which refer to other tables:

         SELECT * FROM sys_foreignkeys WHERE ForeignKeyType = 'FOREIGNKEY_TYPE_IMPORT'
          

Columns

Name Type Description
CatalogName String The name of the database containing the key.
SchemaName String The name of the schema containing the key.
TableName String The name of the table containing the key.
ColumnName String The name of the key column.
PrimaryKeyName String The name of the primary key.
ForeignKeyName String The name of the foreign key.
ReferencedCatalogName String The database containing the primary key.
ReferencedSchemaName String The schema containing the primary key.
ReferencedTableName String The table containing the primary key.
ReferencedColumnName String The column name of the primary key.
ForeignKeyType String Designates whether the foreign key is an import (points to other tables) or export (referenced from other tables) key.

CData Python Connector for Google Ads

sys_primarykeys

Describes the primary keys.

The following query retrieves the primary keys from all tables and views:

         SELECT * FROM sys_primarykeys
          

Columns

Name Type Description
CatalogName String The name of the database containing the key.
SchemaName String The name of the schema containing the key.
TableName String The name of the table containing the key.
ColumnName String The name of the key column.
KeySeq String The sequence number of the primary key.
KeyName String The name of the primary key.

CData Python Connector for Google Ads

sys_indexes

Describes the available indexes. By filtering on indexes, you can write more selective queries with faster query response times.

The following query retrieves all indexes that are not primary keys:

          SELECT * FROM sys_indexes WHERE IsPrimary='false'
          

Columns

Name Type Description
CatalogName String The name of the database containing the index.
SchemaName String The name of the schema containing the index.
TableName String The name of the table containing the index.
IndexName String The index name.
ColumnName String The name of the column associated with the index.
IsUnique Boolean True if the index is unique. False otherwise.
IsPrimary Boolean True if the index is a primary key. False otherwise.
Type Int16 An integer value corresponding to the index type: statistic (0), clustered (1), hashed (2), or other (3).
SortOrder String The sort order: A for ascending or D for descending.
OrdinalPosition Int16 The sequence number of the column in the index.

CData Python Connector for Google Ads

sys_connection_props

Returns information on the available connection properties and those set in the connection string.

The following query retrieves all connection properties that have been set in the connection string or set through a default value:

SELECT * FROM sys_connection_props WHERE Value <> ''

Columns

Name Type Description
Name String The name of the connection property.
ShortDescription String A brief description.
Type String The data type of the connection property.
Default String The default value if one is not explicitly set.
Values String A comma-separated list of possible values. A validation error is thrown if another value is specified.
Value String The value you set or a preconfigured default.
Required Boolean Whether the property is required to connect.
Category String The category of the connection property.
IsSessionProperty String Whether the property is a session property, used to save information about the current connection.
Sensitivity String The sensitivity level of the property. This informs whether the property is obfuscated in logging and authentication forms.
PropertyName String A camel-cased truncated form of the connection property name.
Ordinal Int32 The index of the parameter.
CatOrdinal Int32 The index of the parameter category.
Hierarchy String Shows dependent properties associated that need to be set alongside this one.
Visible Boolean Informs whether the property is visible in the connection UI.
ETC String Various miscellaneous information about the property.

CData Python Connector for Google Ads

sys_sqlinfo

Describes the SELECT query processing that the connector can offload to the data source.

See SQL Compliance for SQL syntax details.

Discovering the Data Source's SELECT Capabilities

Below is an example data set of SQL capabilities. Some aspects of SELECT functionality are returned in a comma-separated list if supported; otherwise, the column contains NO.

NameDescriptionPossible Values
AGGREGATE_FUNCTIONSSupported aggregation functions.AVG, COUNT, MAX, MIN, SUM, DISTINCT
COUNTWhether COUNT function is supported.YES, NO
IDENTIFIER_QUOTE_OPEN_CHARThe opening character used to escape an identifier.[
IDENTIFIER_QUOTE_CLOSE_CHARThe closing character used to escape an identifier.]
SUPPORTED_OPERATORSA list of supported SQL operators.=, >, <, >=, <=, <>, !=, LIKE, NOT LIKE, IN, NOT IN, IS NULL, IS NOT NULL, AND, OR
GROUP_BYWhether GROUP BY is supported, and, if so, the degree of support.NO, NO_RELATION, EQUALS_SELECT, SQL_GB_COLLATE
OJ_CAPABILITIESThe supported varieties of outer joins supported.NO, LEFT, RIGHT, FULL, INNER, NOT_ORDERED, ALL_COMPARISON_OPS
OUTER_JOINSWhether outer joins are supported.YES, NO
SUBQUERIESWhether subqueries are supported, and, if so, the degree of support.NO, COMPARISON, EXISTS, IN, CORRELATED_SUBQUERIES, QUANTIFIED
STRING_FUNCTIONSSupported string functions.LENGTH, CHAR, LOCATE, REPLACE, SUBSTRING, RTRIM, LTRIM, RIGHT, LEFT, UCASE, SPACE, SOUNDEX, LCASE, CONCAT, ASCII, REPEAT, OCTET, BIT, POSITION, INSERT, TRIM, UPPER, REGEXP, LOWER, DIFFERENCE, CHARACTER, SUBSTR, STR, REVERSE, PLAN, UUIDTOSTR, TRANSLATE, TRAILING, TO, STUFF, STRTOUUID, STRING, SPLIT, SORTKEY, SIMILAR, REPLICATE, PATINDEX, LPAD, LEN, LEADING, KEY, INSTR, INSERTSTR, HTML, GRAPHICAL, CONVERT, COLLATION, CHARINDEX, BYTE
NUMERIC_FUNCTIONSSupported numeric functions.ABS, ACOS, ASIN, ATAN, ATAN2, CEILING, COS, COT, EXP, FLOOR, LOG, MOD, SIGN, SIN, SQRT, TAN, PI, RAND, DEGREES, LOG10, POWER, RADIANS, ROUND, TRUNCATE
TIMEDATE_FUNCTIONSSupported date/time functions.NOW, CURDATE, DAYOFMONTH, DAYOFWEEK, DAYOFYEAR, MONTH, QUARTER, WEEK, YEAR, CURTIME, HOUR, MINUTE, SECOND, TIMESTAMPADD, TIMESTAMPDIFF, DAYNAME, MONTHNAME, CURRENT_DATE, CURRENT_TIME, CURRENT_TIMESTAMP, EXTRACT
REPLICATION_SKIP_TABLESIndicates tables skipped during replication.
REPLICATION_TIMECHECK_COLUMNSA string array containing a list of columns which will be used to check for (in the given order) to use as a modified column during replication.
IDENTIFIER_PATTERNString value indicating what string is valid for an identifier.
SUPPORT_TRANSACTIONIndicates if the provider supports transactions such as commit and rollback.YES, NO
DIALECTIndicates the SQL dialect to use.
KEY_PROPERTIESIndicates the properties which identify the uniform database.
SUPPORTS_MULTIPLE_SCHEMASIndicates if multiple schemas may exist for the provider.YES, NO
SUPPORTS_MULTIPLE_CATALOGSIndicates if multiple catalogs may exist for the provider.YES, NO
DATASYNCVERSIONThe CData Data Sync version needed to access this driver.Standard, Starter, Professional, Enterprise
DATASYNCCATEGORYThe CData Data Sync category of this driver.Source, Destination, Cloud Destination
SUPPORTSENHANCEDSQLWhether enhanced SQL functionality beyond what is offered by the API is supported.TRUE, FALSE
SUPPORTS_BATCH_OPERATIONSWhether batch operations are supported.YES, NO
SQL_CAPAll supported SQL capabilities for this driver.SELECT, INSERT, DELETE, UPDATE, TRANSACTIONS, ORDERBY, OAUTH, ASSIGNEDID, LIMIT, LIKE, BULKINSERT, COUNT, BULKDELETE, BULKUPDATE, GROUPBY, HAVING, AGGS, OFFSET, REPLICATE, COUNTDISTINCT, JOINS, DROP, CREATE, DISTINCT, INNERJOINS, SUBQUERIES, ALTER, MULTIPLESCHEMAS, GROUPBYNORELATION, OUTERJOINS, UNIONALL, UNION, UPSERT, GETDELETED, CROSSJOINS, GROUPBYCOLLATE, MULTIPLECATS, FULLOUTERJOIN, MERGE, JSONEXTRACT, BULKUPSERT, SUM, SUBQUERIESFULL, MIN, MAX, JOINSFULL, XMLEXTRACT, AVG, MULTISTATEMENTS, FOREIGNKEYS, CASE, LEFTJOINS, COMMAJOINS, WITH, LITERALS, RENAME, NESTEDTABLES, EXECUTE, BATCH, BASIC, INDEX
PREFERRED_CACHE_OPTIONSA string value specifies the preferred cacheOptions.
ENABLE_EF_ADVANCED_QUERYIndicates if the driver directly supports advanced queries coming from Entity Framework. If not, queries will be handled client side.YES, NO
PSEUDO_COLUMNSA string array indicating the available pseudo columns.
MERGE_ALWAYSIf the value is true, The Merge Mode is forcibly executed in Data Sync.TRUE, FALSE
REPLICATION_MIN_DATE_QUERYA select query to return the replicate start datetime.
REPLICATION_MIN_FUNCTIONAllows a provider to specify the formula name to use for executing a server side min.
REPLICATION_START_DATEAllows a provider to specify a replicate startdate.
REPLICATION_MAX_DATE_QUERYA select query to return the replicate end datetime.
REPLICATION_MAX_FUNCTIONAllows a provider to specify the formula name to use for executing a server side max.
IGNORE_INTERVALS_ON_INITIAL_REPLICATEA list of tables which will skip dividing the replicate into chunks on the initial replicate.
CHECKCACHE_USE_PARENTIDIndicates whether the CheckCache statement should be done against the parent key column.TRUE, FALSE
CREATE_SCHEMA_PROCEDURESIndicates stored procedures that can be used for generating schema files.

The following query retrieves the operators that can be used in the WHERE clause:

SELECT * FROM sys_sqlinfo WHERE Name = 'SUPPORTED_OPERATORS'
Note that individual tables may have different limitations or requirements on the WHERE clause; refer to the Data Model section for more information.

Columns

Name Type Description
NAME String A component of SQL syntax, or a capability that can be processed on the server.
VALUE String Detail on the supported SQL or SQL syntax.

CData Python Connector for Google Ads

sys_identity

Returns information about attempted modifications.

The following query retrieves the Ids of the modified rows in a batch operation:

         SELECT * FROM sys_identity
          

Columns

Name Type Description
Id String The database-generated Id returned from a data modification operation.
Batch String An identifier for the batch. 1 for a single operation.
Operation String The result of the operation in the batch: INSERTED, UPDATED, or DELETED.
Message String SUCCESS or an error message if the update in the batch failed.

CData Python Connector for Google Ads

sys_information

Describes the available system information.

The following query retrieves all columns:

SELECT * FROM sys_information

Columns

NameTypeDescription
ProductStringThe name of the product.
VersionStringThe version number of the product.
DatasourceStringThe name of the datasource the product connects to.
NodeIdStringThe unique identifier of the machine where the product is installed.
HelpURLStringThe URL to the product's help documentation.
LicenseStringThe license information for the product. (If this information is not available, the field may be left blank or marked as 'N/A'.)
LocationStringThe file path location where the product's library is stored.
EnvironmentStringThe version of the environment or rumtine the product is currently running under.
DataSyncVersionStringThe tier of CData Sync required to use this connector.
DataSyncCategoryStringThe category of CData Sync functionality (e.g., Source, Destination).

CData Python Connector for Google Ads

Connection String Options

The connection string properties are the various options that can be used to establish a connection. This section provides a complete list of the options you can configure in the connection string for this provider. Click the links for further details.

For more information on establishing a connection, see Establishing a Connection.

Authentication


PropertyDescription
AuthSchemeSpecifies the authentication method used to connect to Google Ads.
ClientCustomerIdThe client customer Ids of the Google Ads account.
ManagerIdThe Id of the MCC account.
DeveloperTokenThe developer token of the Google Ads account.
APIVersionThe latest Google Ads API version.

OAuth


PropertyDescription
InitiateOAuthSpecifies the process for obtaining or refreshing the OAuth access token, which maintains user access while an authenticated, authorized user is working.
OAuthClientIdSpecifies the client ID (also known as the consumer key) assigned to your custom OAuth application. This ID is required to identify the application to the OAuth authorization server during authentication.
OAuthClientSecretSpecifies the client secret assigned to your custom OAuth application. This confidential value is used to authenticate the application to the OAuth authorization server. (Custom OAuth applications only.).
OAuthAccessTokenSpecifies the OAuth access token used to authenticate requests to the data source. This token is issued by the authorization server after a successful OAuth exchange.
DelegatedServiceAccountsSpecifies a space-delimited list of service account emails for delegated requests.
RequestingServiceAccountSpecifies a service account email to make a delegated request.
OAuthSettingsLocationSpecifies the location of the settings file where OAuth values are saved.
CallbackURLIdentifies the URL users return to after authenticating to Google Ads via OAuth (Custom OAuth applications only).
OAuthVerifierSpecifies a verifier code returned from the OAuthAuthorizationURL . Used when authenticating to OAuth on a headless server, where a browser can't be launched. Requires both OAuthSettingsLocation and OAuthVerifier to be set.
PKCEVerifierThe PKCE code verifier generated from executing the GetOAuthAuthorizationUrl stored procedure for PKCE authentication schemes.
OAuthRefreshTokenSpecifies the OAuth refresh token used to request a new access token after the original has expired.
OAuthExpiresInSpecifies the duration in seconds, of an OAuth Access Token's lifetime. The token can be reissued to keep access alive as long as the user keeps working.
OAuthTokenTimestampDisplays a Unix epoch timestamp in milliseconds that shows how long ago the current access token was created.

JWT OAuth


PropertyDescription
OAuthJWTCertSupplies the name of the client certificate's JWT Certificate store.
OAuthJWTCertTypeIdentifies the type of key store containing the JWT Certificate.
OAuthJWTCertPasswordProvides the password for the OAuth JWT certificate used to access a password-protected certificate store. If the certificate store does not require a password, leave this property blank.
OAuthJWTCertSubjectIdentifies the subject of the OAuth JWT certificate used to locate a matching certificate in the store. Supports partial matches and the wildcard '*' to select the first certificate.
OAuthJWTIssuerThe issuer of the Java Web Token.
OAuthJWTSubjectThe user subject for which the application is requesting delegated access.

SSL


PropertyDescription
SSLServerCertSpecifies the certificate to be accepted from the server when connecting using TLS/SSL.

Firewall


PropertyDescription
FirewallTypeSpecifies the protocol the provider uses to tunnel traffic through a proxy-based firewall.
FirewallServerIdentifies the IP address, DNS name, or host name of a proxy used to traverse a firewall and relay user queries to network resources.
FirewallPortSpecifies the TCP port to be used for a proxy-based firewall.
FirewallUserIdentifies the user ID of the account authenticating to a proxy-based firewall.
FirewallPasswordSpecifies the password of the user account authenticating to a proxy-based firewall.

Proxy


PropertyDescription
ProxyAutoDetectSpecifies whether the provider checks your system proxy settings for existing proxy server configurations, rather than using a manually specified proxy server.
ProxyServerIdentifies the hostname or IP address of the proxy server through which you want to route HTTP traffic.
ProxyPortIdentifies the TCP port on your specified proxy server that has been reserved for routing HTTP traffic to and from the client.
ProxyAuthSchemeSpecifies the authentication method the provider uses when authenticating to the proxy server specified in the ProxyServer connection property.
ProxyUserProvides the username of a user account registered with the proxy server specified in the ProxyServer connection property.
ProxyPasswordSpecifies the password of the user specified in the ProxyUser connection property.
ProxySSLTypeSpecifies the SSL type to use when connecting to the proxy server specified in the ProxyServer connection property.
ProxyExceptionsSpecifies a semicolon-separated list of destination hostnames or IPs that are exempt from connecting through the proxy server set in the ProxyServer connection property.

Logging


PropertyDescription
LogfileSpecifies the file path to the log file where the provider records its activities, such as authentication, query execution, and connection details.
VerbositySpecifies the verbosity level of the log file, which controls the amount of detail logged. Supported values range from 1 to 5.
LogModulesSpecifies the core modules to include in the log file. Use a semicolon-separated list of module names. By default, all modules are logged.
MaxLogFileSizeSpecifies the maximum size of a single log file in bytes. For example, '10 MB'. When the file reaches the limit, the provider creates a new log file with the date and time appended to the name.
MaxLogFileCountSpecifies the maximum number of log files the provider retains. When the limit is reached, the oldest log file is deleted to make space for a new one.

Schema


PropertyDescription
LocationSpecifies the location of a directory containing schema files that define tables, views, and stored procedures. Depending on your service's requirements, this may be expressed as either an absolute path or a relative path.
BrowsableSchemasOptional setting that restricts the schemas reported to a subset of all available schemas. For example, BrowsableSchemas=SchemaA,SchemaB,SchemaC .
TablesOptional setting that restricts the tables reported to a subset of all available tables. For example, Tables=TableA,TableB,TableC .
ViewsOptional setting that restricts the views reported to a subset of the available tables. For example, Views=ViewA,ViewB,ViewC .

Caching


PropertyDescription
AutoCacheSpecifies whether the content of tables targeted by SELECT queries is automatically cached to the specified cache database.
CacheProviderThe namespace of an ADO.NET provider. The specified provider is used as the target database for all caching operations.
CacheDriverThe driver class of a JDBC driver. The specified driver is used to connect to the target database for all caching operations.
CacheConnectionSpecifies the connection string for the specified cache database.
CacheLocationSpecifies the path to the cache when caching to a file.
CacheToleranceNotes the tolerance, in seconds, for stale data in the specified cache database. Requires AutoCache to be set to True.
OfflineGets the data from the specified cache database instead of live Google Ads data.
CacheMetadataDetermines whether the provider caches table metadata to a file-based cache database.

Miscellaneous


PropertyDescription
AWSWorkloadIdentityConfigConfiguration properties to provide when using Workload Identity Federation via AWS.
AzureWorkloadIdentityConfigConfiguration properties to provide when using Workload Identity Federation via Azure.
MaxRowsSpecifies the maximum number of rows returned for queries that do not include either aggregation or GROUP BY.
OtherSpecifies advanced connection properties for specialized scenarios. Use this property only under the guidance of our Support team to address specific issues.
PseudoColumnsSpecifies the pseudocolumns to expose as table columns, expressed as a string in the format 'TableName=ColumnName;TableName=ColumnName'.
QueryPassthroughThis option passes the query to the Google Ads server as is.
RecurseChildrenSet this to false if you want to avoid recursing over customer client ids to get the full hierarchy for CustomerClientLink table.
RTKSpecifies the runtime key for licensing the provider. If unset or invalid, the provider defaults to the standard licensing method. This property is only required in environments where the standard licensing method is unsupported or requires a runtime key.
ServerTimeZoneThe timezone by which the server's DateTime values are represented. The value of this property will affect how DateTime filters and results are converted between the server and the client machine.
SupportEnhancedSQLThis property enhances SQL functionality beyond what can be supported through the API directly, by enabling in-memory client-side processing.
TimeoutSpecifies the maximum time, in seconds, that the provider waits for a server response before throwing a timeout error.
UserDefinedViewsSpecifies a filepath to a JSON configuration file that defines custom views. The provider automatically detects and uses the views specified in this file.
WorkloadPoolIdThe ID of your Workload Identity Federation pool.
WorkloadProjectIdThe ID of the Google Cloud project that hosts your Workload Identity Federation pool.
WorkloadProviderIdThe ID of your Workload Identity Federation pool provider.
CData Python Connector for Google Ads

Authentication

This section provides a complete list of the Authentication properties you can configure in the connection string for this provider.


PropertyDescription
AuthSchemeSpecifies the authentication method used to connect to Google Ads.
ClientCustomerIdThe client customer Ids of the Google Ads account.
ManagerIdThe Id of the MCC account.
DeveloperTokenThe developer token of the Google Ads account.
APIVersionThe latest Google Ads API version.
CData Python Connector for Google Ads

AuthScheme

Specifies the authentication method used to connect to Google Ads.

Possible Values

OAuth, OAuthJWT, GCPInstanceAccount, OAuthPKCE, AWSWorkloadIdentity, AzureWorkloadIdentity

Data Type

string

Default Value

"OAuth"

Remarks

  • OAuth: Set this to perform OAuth authentication using a standard user account.
  • OAuthJWT: Set this to perform OAuth authentication using an OAuth service account.
  • GCPInstanceAccount: Set this to get Access Token from Google Cloud Platform instance.
  • AWSWorkloadIdentity: Set this to authenticate using Workload Identity Federation via AWS. The connector authenticates to AWS according to the AWSWorkloadIdentityConfig and provides Google Security Token Service with an authentication token. The Google STS validates this token and produces an OAuth token that can access Google services.
  • AzureWorkloadIdentity: Set this to authenticate using Workload Identity Federation via Azure. The connector authenticates to Azure according to the AzureWorkloadIdentityConfig and provides Google Security Token Service with an authentication token. The Google STS validates this token and produces an OAuth token that can access Google services.

CData Python Connector for Google Ads

ClientCustomerId

The client customer Ids of the Google Ads account.

Data Type

string

Default Value

""

Remarks

Together with DeveloperToken, this field is used to authenticate against the Google Ads servers and is required for use with Google Ads.

You can find this value in your Google Ads account. This value is not the same as the Id of the MCC account. You need to provide the lowest-level Ids to retrieve data.

A common use for the driver is retrieving data from multiple customer IDs. This is useful when you have a Google Ads MCC account that includes numerous accounts/ClientCustomerIds. You can specify multiple IDs by separating them with a comma or you can get all IDs by setting the value to 'All'. Ex: ClientCustomerId=2055114546,3055114546; or ClientCustomerId=All; Note that not all client customer IDs may be enabled. You can also query and get data from the accounts you want by specifying CustomerId in the WHERE clause, for example:

SELECT * FROM AdGroupAd WHERE CustomerId='3333333333'
SELECT * FROM AdGroupAd WHERE CustomerId IN ('1111111111', '2222222222')
The driver ignores the ClientCustomerId connection property when you specify the CustomerId in the WHERE clauses.

CData Python Connector for Google Ads

ManagerId

The Id of the MCC account.

Data Type

string

Default Value

""

Remarks

The Id of the MCC (MyClientCenter) account.

If access to a client customer account is inherited only through a manager account, this property is required and must be set to the customer ID of the manager account. If your account has access directly to the client customer account as a User, it is not required. In other words, the client customer's Tools & Settings --> Account Access must show your email under the Users tab in order to access the account without this property, otherwise access has been granted via the manager account, under the Managers tab.

CData Python Connector for Google Ads

DeveloperToken

The developer token of the Google Ads account.

Data Type

string

Default Value

""

Remarks

Together with ClientCustomerId, this field is used to authenticate against the Google Ads servers. It is required for use with a Google Ads Custom App.

To retrieve your developer token, sign in to your Google Ads manager account, then navigate to TOOLS & SETTINGS > SETUP > API Center. If your developer token is pending approval, you can start developing immediately with the pending token you received during signup, using a test manager account. However, your pending developer token must be approved before you can use it with production Google Ads data.

CData Python Connector for Google Ads

APIVersion

The latest Google Ads API version.

Data Type

string

Default Value

"v23"

Remarks

The latest Google Ads API version. You can find this information in the API documentation page.

CData Python Connector for Google Ads

OAuth

This section provides a complete list of the OAuth properties you can configure in the connection string for this provider.


PropertyDescription
InitiateOAuthSpecifies the process for obtaining or refreshing the OAuth access token, which maintains user access while an authenticated, authorized user is working.
OAuthClientIdSpecifies the client ID (also known as the consumer key) assigned to your custom OAuth application. This ID is required to identify the application to the OAuth authorization server during authentication.
OAuthClientSecretSpecifies the client secret assigned to your custom OAuth application. This confidential value is used to authenticate the application to the OAuth authorization server. (Custom OAuth applications only.).
OAuthAccessTokenSpecifies the OAuth access token used to authenticate requests to the data source. This token is issued by the authorization server after a successful OAuth exchange.
DelegatedServiceAccountsSpecifies a space-delimited list of service account emails for delegated requests.
RequestingServiceAccountSpecifies a service account email to make a delegated request.
OAuthSettingsLocationSpecifies the location of the settings file where OAuth values are saved.
CallbackURLIdentifies the URL users return to after authenticating to Google Ads via OAuth (Custom OAuth applications only).
OAuthVerifierSpecifies a verifier code returned from the OAuthAuthorizationURL . Used when authenticating to OAuth on a headless server, where a browser can't be launched. Requires both OAuthSettingsLocation and OAuthVerifier to be set.
PKCEVerifierThe PKCE code verifier generated from executing the GetOAuthAuthorizationUrl stored procedure for PKCE authentication schemes.
OAuthRefreshTokenSpecifies the OAuth refresh token used to request a new access token after the original has expired.
OAuthExpiresInSpecifies the duration in seconds, of an OAuth Access Token's lifetime. The token can be reissued to keep access alive as long as the user keeps working.
OAuthTokenTimestampDisplays a Unix epoch timestamp in milliseconds that shows how long ago the current access token was created.
CData Python Connector for Google Ads

InitiateOAuth

Specifies the process for obtaining or refreshing the OAuth access token, which maintains user access while an authenticated, authorized user is working.

Possible Values

OFF, REFRESH, GETANDREFRESH

Data Type

string

Default Value

"OFF"

Remarks

OAuth is an authorization framework that enables applications to obtain limited access to user accounts on an HTTP service. The OAuth flow defines the method to be used for:

  • Logging in users.
  • Exchanging user credentials for an OAuth access token to be used for authentication.
  • Providing limited access to applications.

The options for initiating and maintaining OAuth access are named for the parts of that flow that the connector handles:

OFF The connector provides no automatic OAuth flow initiation. The OAuth flow is handled entirely by the user.
This means that the user must refresh the token manually, and reconnect with an updated OAuthAccessToken property when the current token expires.
GETANDREFRESH The connector handles the entire OAuth flow (both GET and REFRESH). This means that if a token already exists, the connector refreshes it when necessary; if no token currently exists, the connector obtains it by prompting the user to login.
REFRESH The user obtains the OAuth Access Token and sets up the sequence for refreshing the OAuth Access Token. (The user is never prompted to log in to authenticate.) After the user logs in, the connector handles the refresh of the OAuth Access Token.

For more information on how to set up OAuth and use this property when configuring a connection, see Establishing a Connection.

CData Python Connector for Google Ads

OAuthClientId

Specifies the client ID (also known as the consumer key) assigned to your custom OAuth application. This ID is required to identify the application to the OAuth authorization server during authentication.

Data Type

string

Default Value

""

Remarks

This property is required in two cases:

  • When using a custom OAuth application, such as in web-based authentication flows, service-based authentication, or certificate-based flows that require application registration.
  • If the driver does not provide embedded OAuth credentials.

(When the driver provides embedded OAuth credentials, this value may already be provided by the connector and thus not require manual entry.)

OAuthClientId is generally used alongside other OAuth-related properties such as OAuthClientSecret and OAuthSettingsLocation when configuring an authenticated connection.

OAuthClientId is one of the key connection parameters that need to be set before users can authenticate via OAuth. You can usually find this value in your identity provider’s application registration settings. Look for a field labeled Client ID, Application ID, or Consumer Key.

While the client ID is not considered a confidential value like a client secret, it is still part of your application's identity and should be handled carefully. Avoid exposing it in public repositories or shared configuration files.

For more information on how this property is used when configuring a connection, see Establishing a Connection.

CData Python Connector for Google Ads

OAuthClientSecret

Specifies the client secret assigned to your custom OAuth application. This confidential value is used to authenticate the application to the OAuth authorization server. (Custom OAuth applications only.).

Data Type

string

Default Value

""

Remarks

This property (sometimes called the application secret or consumer secret) is required when using a custom OAuth application in any flow that requires secure client authentication, such as web-based OAuth, service-based connections, or certificate-based authorization flows. It is not required when using an embedded OAuth application.

The client secret is used during the token exchange step of the OAuth flow, when the driver requests an access token from the authorization server. If this value is missing or incorrect, authentication fails with either an invalid_client or an unauthorized_client error.

OAuthClientSecret is one of the key connection parameters that need to be set before users can authenticate via OAuth. You can obtain this value from your identity provider when registering the OAuth application.

Notes:

  • This value should be stored securely and never exposed in public repositories, scripts, or unsecured environments.
  • Client secrets may also expire after a set period. Be sure to monitor expiration dates and rotate secrets as needed to maintain uninterrupted access.

For more information on how this property is used when configuring a connection, see Establishing a Connection

CData Python Connector for Google Ads

OAuthAccessToken

Specifies the OAuth access token used to authenticate requests to the data source. This token is issued by the authorization server after a successful OAuth exchange.

Data Type

string

Default Value

""

Remarks

OAuthAccessToken is a temporary credential that authorizes access to protected resources. It is typically returned by the identity provider after the user or client application completes an OAuth authentication flow. This property is most commonly used in automated workflows or custom OAuth implementations where you want to manage token handling outside of the driver.

The OAuth access token has a server-dependent timeout, limiting user access. The timeout is set using the OAuthExpiresIn property. However, it can be reissued between requests to keep access alive as long as the user keeps working.

If InitiateOAuth is set to REFRESH, we recommend that you also set both OAuthExpiresIn and OAuthTokenTimestamp. The connector uses these properties to determine when the token expires so it can refresh most efficiently. If OAuthExpiresIn and OAuthTokenTimestamp are not specified, the connector refreshes the token immediately.

Note: Access tokens should be treated as sensitive credentials and stored securely. Avoid exposing them in logs, scripts, or configuration files that are not access-controlled.

For more information on how this property is used when configuring a connection, see Establishing a Connection.

CData Python Connector for Google Ads

DelegatedServiceAccounts

Specifies a space-delimited list of service account emails for delegated requests.

Data Type

string

Default Value

""

Remarks

The service account emails must be specified in a space-delimited list.

Each service account must be granted the roles/iam.serviceAccountTokenCreator role on its next service account in the chain.

The last service account in the chain must be granted the roles/iam.serviceAccountTokenCreator role on the requesting service account. The requesting service account is the one specified in the RequestingServiceAccount property.

Note that for delegated requests, the requesting service account must have the permission iam.serviceAccounts.getAccessToken, which can also be granted through the serviceAccountTokenCreator role.

CData Python Connector for Google Ads

RequestingServiceAccount

Specifies a service account email to make a delegated request.

Data Type

string

Default Value

""

Remarks

The service account email of the account for which the credentials are requested in a delegated request. With the list of delegated service accounts in DelegatedServiceAccounts, this property is used to make a delegated request.

You must have the IAM permission iam.serviceAccounts.getAccessToken on this service account.

CData Python Connector for Google Ads

OAuthSettingsLocation

Specifies the location of the settings file where OAuth values are saved.

Data Type

string

Default Value

"%APPDATA%\\CData\\GoogleAds Data Provider\\OAuthSettings.txt"

Remarks

Storing OAuth settings in a central location avoids the need for users to enter OAuth connection properties manually each time they log in. It also enables credentials to be shared across connections or processes.

You can store OAuth values in a central file for shared access to those values, in either of the following ways:

  • Set InitiateOAuth to either GETANDREFRESH or REFRESH and specify a filepath to the OAuth settings file.
  • Use memory storage to load the credentials into static memory.

The following sections provide more detail on each of these methods.

Specifying the OAuthSettingsLocation Filepath

The default OAuth setting location is %APPDATA%\\CData\\GoogleAds Data Provider\\OAuthSettings.txt, with %APPDATA% set to the user's configuration directory. Default values vary, depending on the user's operating system.

  • Windows (ODBC and Power BI): registry://%DSN%
  • Windows: %APPDATA%CDataGoogleAds Data Provider\OAuthSettings.txt
  • Mac: %APPDATA%/CData/GoogleAds Data Provider/OAuthSettings.txt
  • Linux: %APPDATA%/CData/GoogleAds Data Provider/OAuthSettings.txt

Loading Credentials Via Memory Storage

Memory locations are specified by using a value starting with memory://, followed by a unique identifier for that set of credentials (for example, memory://user1). The identifier can be anything you choose, but it should be unique to the user.

Unlike file-based storage, where credentials persist across connections, memory storage loads the credentials into static memory and the credentials are shared between connections using the same identifier for the life of the process. To persist credentials outside the current process, you must manually store the credentials prior to closing the connection. This enables you to set them in the connection when the process is started again.

To retrieve OAuth property values, query the sys_connection_props system table. If there are multiple connections using the same credentials, the properties are read from the previously closed connection.

Supported Storage Types

  • memory://: Stores OAuth tokens in-memory (unique identifier, shared within same process, etc.)
  • registry://: Only supported in the Windows ODBC and Power BI editions. Stores OAuth tokens in the registry under the DSN settings. Must end in a DSN name like registry://CData Python Connector for Google Ads Data Source, or registry://%DSN%.
  • %DSN%: The name of the DSN you are connecting with.
  • Default (no prefix): Stores OAuth tokens within files. The value can be either an absolute path, or a path starting with %APPDATA% or %PROGRAMFILES%.

For more information on how this property is used when configuring a connection, see Establishing a Connection.

CData Python Connector for Google Ads

CallbackURL

Identifies the URL users return to after authenticating to Google Ads via OAuth (Custom OAuth applications only).

Data Type

string

Default Value

""

Remarks

If you created a custom OAuth application, the OAuth authorization server redirects the user to this URL during the authentication process. This value must match the callback URL you specified when you configured the custom OAuth application.

CData Python Connector for Google Ads

OAuthVerifier

Specifies a verifier code returned from the OAuthAuthorizationURL . Used when authenticating to OAuth on a headless server, where a browser can't be launched. Requires both OAuthSettingsLocation and OAuthVerifier to be set.

Data Type

string

Default Value

""

Remarks

For detailed instructions about how to obtain the OAuthVerifier value, see Establishing a Connection.

CData Python Connector for Google Ads

PKCEVerifier

The PKCE code verifier generated from executing the GetOAuthAuthorizationUrl stored procedure for PKCE authentication schemes.

Data Type

string

Default Value

""

Remarks

The Proof Key for Code Exchange code verifier generated from executing the GetOAuthAuthorizationUrl stored procedure for PKCE authentication schemes. This can be used on systems where a browser cannot be launched such as headless systems.

Authentication on Headless Machines

See Establishing a Connection to obtain the PKCEVerifier value.

Set OAuthSettingsLocation along with OAuthVerifier and PKCEVerifier. When you connect, the connector exchanges the OAuthVerifier and PKCEVerifier for the OAuth authentication tokens and saves them, encrypted, to the specified location. Set InitiateOAuth to GETANDREFRESH to automate the exchange.

Once the OAuth settings file has been generated, you can remove OAuthVerifier and PKCEVerifier from the connection properties and connect with OAuthSettingsLocation set.

To automatically refresh the OAuth token values, set OAuthSettingsLocation and additionally set InitiateOAuth to REFRESH.

CData Python Connector for Google Ads

OAuthRefreshToken

Specifies the OAuth refresh token used to request a new access token after the original has expired.

Data Type

string

Default Value

""

Remarks

The refresh token is used to obtain a new access token when the current one expires. It enables seamless authentication for long-running or automated workflows without requiring the user to log in again. This property is especially important in headless, CI/CD, or server-based environments where interactive authentication is not possible.

The refresh token is typically obtained during the initial OAuth exchange by calling the GetOAuthAccessToken stored procedure. After that, it can be set using this property to enable automatic token refresh, or passed to the RefreshOAuthAccessTokenproc; stored procedure if you prefer to manage the refresh manually.

When InitiateOAuth is set to REFRESH, the driver uses this token to retrieve a new access token automatically. After the first refresh, the driver saves updated tokens in the location defined by OAuthSettingsLocation, and uses those values for subsequent connections.

Note: The OAuthRefreshToken should be handled securely and stored in a trusted location. Like access tokens, refresh tokens can expire or be revoked depending on the identity provider’s policies.

For more information on how this property is used when configuring a connection, see Establishing a Connection.

CData Python Connector for Google Ads

OAuthExpiresIn

Specifies the duration in seconds, of an OAuth Access Token's lifetime. The token can be reissued to keep access alive as long as the user keeps working.

Data Type

string

Default Value

""

Remarks

The OAuth Access Token is assigned to an authenticated user, granting that user access to the network for a specified period of time. The access token is used in place of the user's login ID and password, which stay on the server.

An access token created by the server is only valid for a limited time. OAuthExpiresIn is the number of seconds the token is valid from when it was created. For example, a token generated at 2024-01-29 20:00:00 UTC that expires at 2024-01-29 21:00:00 UTC (an hour later) would have an OAuthExpiresIn value of 3600, no matter what the current time is.

To determine how long the user has before the Access Token will expire, check OAuthTokenTimestamp.

CData Python Connector for Google Ads

OAuthTokenTimestamp

Displays a Unix epoch timestamp in milliseconds that shows how long ago the current access token was created.

Data Type

string

Default Value

""

Remarks

The OAuth access token is assigned to an authenticated user, granting that user access to the network for a specified period of time. The access token is used in place of the user's login ID and password, which stay on the server.

An access token created by the server is only valid for a limited time. OAuthTokenTimestamp is the Unix timestamp when the server created the token. For example, OAuthTokenTimestamp=1706558400 indicates the OAuthAccessToken was generated by the server at 2024-01-29 20:00:00 UTC.

CData Python Connector for Google Ads

JWT OAuth

This section provides a complete list of the JWT OAuth properties you can configure in the connection string for this provider.


PropertyDescription
OAuthJWTCertSupplies the name of the client certificate's JWT Certificate store.
OAuthJWTCertTypeIdentifies the type of key store containing the JWT Certificate.
OAuthJWTCertPasswordProvides the password for the OAuth JWT certificate used to access a password-protected certificate store. If the certificate store does not require a password, leave this property blank.
OAuthJWTCertSubjectIdentifies the subject of the OAuth JWT certificate used to locate a matching certificate in the store. Supports partial matches and the wildcard '*' to select the first certificate.
OAuthJWTIssuerThe issuer of the Java Web Token.
OAuthJWTSubjectThe user subject for which the application is requesting delegated access.
CData Python Connector for Google Ads

OAuthJWTCert

Supplies the name of the client certificate's JWT Certificate store.

Data Type

string

Default Value

""

Remarks

The OAuthJWTCertType field specifies the type of the certificate store specified in OAuthJWTCert. If the store is password-protected, use OAuthJWTCertPassword to supply the password..

OAuthJWTCert is used in conjunction with the OAuthJWTCertSubject field in order to specify client certificates. If OAuthJWTCert has a value, and OAuthJWTCertSubject is set, the CData Python Connector for Google Ads initiates a search for a certificate. For further information, see OAuthJWTCertSubject.

Designations of certificate stores are platform-dependent.

Notes

  • The most common User and Machine certificate stores in Windows include:
    • MY: A certificate store holding personal certificates with their associated private keys.
    • CA: Certifying authority certificates.
    • ROOT: Root certificates.
    • SPC: Software publisher certificates.
  • In Java, the certificate store normally is a file containing certificates and optional private keys.
  • When the certificate store type is PFXFile, this property must be set to the name of the file.
  • When the type is PFXBlob, the property must be set to the binary contents of a PFX file (i.e. PKCS12 certificate store).

CData Python Connector for Google Ads

OAuthJWTCertType

Identifies the type of key store containing the JWT Certificate.

Possible Values

USER, MACHINE, PFXFILE, PFXBLOB, JKSFILE, JKSBLOB, PEMKEY_FILE, PEMKEY_BLOB, PUBLIC_KEY_FILE, PUBLIC_KEY_BLOB, SSHPUBLIC_KEY_FILE, SSHPUBLIC_KEY_BLOB, P7BFILE, PPKFILE, XMLFILE, XMLBLOB, BCFKSFILE, BCFKSBLOB, GOOGLEJSON, GOOGLEJSONBLOB

Data Type

string

Default Value

"USER"

Remarks

ValueDescriptionNotes
USERA certificate store owned by the current user. Only available in Windows.
MACHINEA machine store.Not available in Java or other non-Windows environments.
PFXFILEA PFX (PKCS12) file containing certificates.
PFXBLOBA string (base-64-encoded) representing a certificate store in PFX (PKCS12) format.
JKSFILEA Java key store (JKS) file containing certificates.Only available in Java.
JKSBLOBA string (base-64-encoded) representing a certificate store in Java key store (JKS) format. Only available in Java.
PEMKEY_FILEA PEM-encoded file that contains a private key and an optional certificate.
PEMKEY_BLOBA string (base64-encoded) that contains a private key and an optional certificate.
PUBLIC_KEY_FILEA file that contains a PEM- or DER-encoded public key certificate.
PUBLIC_KEY_BLOBA string (base-64-encoded) that contains a PEM- or DER-encoded public key certificate.
SSHPUBLIC_KEY_FILEA file that contains an SSH-style public key.
SSHPUBLIC_KEY_BLOBA string (base-64-encoded) that contains an SSH-style public key.
P7BFILEA PKCS7 file containing certificates.
PPKFILEA file that contains a PPK (PuTTY Private Key).
XMLFILEA file that contains a certificate in XML format.
XMLBLOBAstring that contains a certificate in XML format.
BCFKSFILEA file that contains an Bouncy Castle keystore.
BCFKSBLOBA string (base-64-encoded) that contains a Bouncy Castle keystore.
GOOGLEJSONA JSON file containing the service account information. Only valid when connecting to a Google service.
GOOGLEJSONBLOBA string that contains the service account JSON. Only valid when connecting to a Google service.

CData Python Connector for Google Ads

OAuthJWTCertPassword

Provides the password for the OAuth JWT certificate used to access a password-protected certificate store. If the certificate store does not require a password, leave this property blank.

Data Type

string

Default Value

""

Remarks

This property specifies the password needed to open a password-protected certificate store. To determine if a password is necessary, refer to the documentation or configuration for your specific certificate store.

This is not required when using the GOOGLEJSON OAuthJWTCertType. Google JSON keys are not encrypted.

CData Python Connector for Google Ads

OAuthJWTCertSubject

Identifies the subject of the OAuth JWT certificate used to locate a matching certificate in the store. Supports partial matches and the wildcard '*' to select the first certificate.

Data Type

string

Default Value

"*"

Remarks

The value of this property is used to locate a matching certificate in the store. The search process works as follows:

  • If an exact match for the subject is found, the corresponding certificate is selected.
  • If no exact match is found, the store is searched for certificates whose subjects contain the property value.
  • If no match is found, no certificate is selected.

You can set the value to '*' to automatically select the first certificate in the store. The certificate subject is a comma-separated list of distinguished name fields and values. For example: CN=www.server.com, OU=test, C=US, E=support@cdata.com.

Common fields include:

FieldMeaning
CNCommon Name. This is commonly a host name like www.server.com.
OOrganization
OUOrganizational Unit
LLocality
SState
CCountry
EEmail Address

If a field value contains a comma, enclose it in quotes. For example: "O=ACME, Inc.".

CData Python Connector for Google Ads

OAuthJWTIssuer

The issuer of the Java Web Token.

Data Type

string

Default Value

""

Remarks

The issuer of the Java Web Token. Enter the value of the service account email address.

This is not required when using the GOOGLEJSON OAuthJWTCertType. Google JSON keys contain a copy of the issuer account.

CData Python Connector for Google Ads

OAuthJWTSubject

The user subject for which the application is requesting delegated access.

Data Type

string

Default Value

""

Remarks

The user subject for which the application is requesting delegated access. Enter the email address of the user for which the application is requesting delegated access.

CData Python Connector for Google Ads

SSL

This section provides a complete list of the SSL properties you can configure in the connection string for this provider.


PropertyDescription
SSLServerCertSpecifies the certificate to be accepted from the server when connecting using TLS/SSL.
CData Python Connector for Google Ads

SSLServerCert

Specifies the certificate to be accepted from the server when connecting using TLS/SSL.

Data Type

string

Default Value

""

Remarks

If you are using a TLS/SSL connection, use this property to specify the TLS/SSL certificate to be accepted from the server. If you specify a value for this property, all other certificates that are not trusted by the machine are rejected.

This property can take the following forms:

Description Example
A full PEM Certificate (example shortened for brevity) -----BEGIN CERTIFICATE-----
MIIChTCCAe4CAQAwDQYJKoZIhv......Qw==
-----END CERTIFICATE-----
A path to a local file containing the certificate C:\cert.cer
The public key (example shortened for brevity) -----BEGIN RSA PUBLIC KEY-----
MIGfMA0GCSq......AQAB
-----END RSA PUBLIC KEY-----
The MD5 Thumbprint (hex values can also be either space- or colon-separated) ecadbdda5a1529c58a1e9e09828d70e4
The SHA1 Thumbprint (hex values can also be either space- or colon-separated) 34a929226ae0819f2ec14b4a3d904f801cbb150d

Note: It is possible to use '*' to signify that all certificates should be accepted, but due to security concerns this is not recommended.

CData Python Connector for Google Ads

Firewall

This section provides a complete list of the Firewall properties you can configure in the connection string for this provider.


PropertyDescription
FirewallTypeSpecifies the protocol the provider uses to tunnel traffic through a proxy-based firewall.
FirewallServerIdentifies the IP address, DNS name, or host name of a proxy used to traverse a firewall and relay user queries to network resources.
FirewallPortSpecifies the TCP port to be used for a proxy-based firewall.
FirewallUserIdentifies the user ID of the account authenticating to a proxy-based firewall.
FirewallPasswordSpecifies the password of the user account authenticating to a proxy-based firewall.
CData Python Connector for Google Ads

FirewallType

Specifies the protocol the provider uses to tunnel traffic through a proxy-based firewall.

Possible Values

NONE, TUNNEL, SOCKS4, SOCKS5

Data Type

string

Default Value

"NONE"

Remarks

A proxy-based firewall (or proxy firewall) is a network security device that acts as an intermediary between user requests and the resources they access. The proxy accepts the request of an authenticated user, tunnels through the firewall, and transmits the request to the appropriate server.

Because the proxy evaluates and transfers data backets on behalf of the requesting users, the users never connect directly with the servers, only with the proxy.

Note: By default, the connector connects to the system proxy. To disable this behavior and connect to one of the following proxy types, set ProxyAutoDetect to false.

The following table provides port number information for each of the supported protocols.

Protocol Default Port Description
TUNNEL 80 The port where the connector opens a connection to Google Ads. Traffic flows back and forth via the proxy at this location.
SOCKS4 1080 The port where the connector opens a connection to Google Ads. SOCKS 4 then passes theFirewallUser value to the proxy, which determines whether the connection request should be granted.
SOCKS5 1080 The port where the connector sends data to Google Ads. If the SOCKS 5 proxy requires authentication, set FirewallUser and FirewallPassword to credentials the proxy recognizes.

To connect to HTTP proxies, use ProxyServer and ProxyPort. To authenticate to HTTP proxies, use ProxyAuthScheme, ProxyUser, and ProxyPassword.

CData Python Connector for Google Ads

FirewallServer

Identifies the IP address, DNS name, or host name of a proxy used to traverse a firewall and relay user queries to network resources.

Data Type

string

Default Value

""

Remarks

A proxy-based firewall (or proxy firewall) is a network security device that acts as an intermediary between user requests and the resources they access. The proxy accepts the request of an authenticated user, tunnels through the firewall, and transmits the request to the appropriate server.

Because the proxy evaluates and transfers data backets on behalf of the requesting users, the users never connect directly with the servers, only with the proxy.

CData Python Connector for Google Ads

FirewallPort

Specifies the TCP port to be used for a proxy-based firewall.

Data Type

int

Default Value

0

Remarks

A proxy-based firewall (or proxy firewall) is a network security device that acts as an intermediary between user requests and the resources they access. The proxy accepts the request of an authenticated user, tunnels through the firewall, and transmits the request to the appropriate server.

Because the proxy evaluates and transfers data backets on behalf of the requesting users, the users never connect directly with the servers, only with the proxy.

CData Python Connector for Google Ads

FirewallUser

Identifies the user ID of the account authenticating to a proxy-based firewall.

Data Type

string

Default Value

""

Remarks

A proxy-based firewall (or proxy firewall) is a network security device that acts as an intermediary between user requests and the resources they access. The proxy accepts the request of an authenticated user, tunnels through the firewall, and transmits the request to the appropriate server.

Because the proxy evaluates and transfers data backets on behalf of the requesting users, the users never connect directly with the servers, only with the proxy.

CData Python Connector for Google Ads

FirewallPassword

Specifies the password of the user account authenticating to a proxy-based firewall.

Data Type

string

Default Value

""

Remarks

A proxy-based firewall (or proxy firewall) is a network security device that acts as an intermediary between user requests and the resources they access. The proxy accepts the request of an authenticated user, tunnels through the firewall, and transmits the request to the appropriate server.

Because the proxy evaluates and transfers data backets on behalf of the requesting users, the users never connect directly with the servers, only with the proxy.

CData Python Connector for Google Ads

Proxy

This section provides a complete list of the Proxy properties you can configure in the connection string for this provider.


PropertyDescription
ProxyAutoDetectSpecifies whether the provider checks your system proxy settings for existing proxy server configurations, rather than using a manually specified proxy server.
ProxyServerIdentifies the hostname or IP address of the proxy server through which you want to route HTTP traffic.
ProxyPortIdentifies the TCP port on your specified proxy server that has been reserved for routing HTTP traffic to and from the client.
ProxyAuthSchemeSpecifies the authentication method the provider uses when authenticating to the proxy server specified in the ProxyServer connection property.
ProxyUserProvides the username of a user account registered with the proxy server specified in the ProxyServer connection property.
ProxyPasswordSpecifies the password of the user specified in the ProxyUser connection property.
ProxySSLTypeSpecifies the SSL type to use when connecting to the proxy server specified in the ProxyServer connection property.
ProxyExceptionsSpecifies a semicolon-separated list of destination hostnames or IPs that are exempt from connecting through the proxy server set in the ProxyServer connection property.
CData Python Connector for Google Ads

ProxyAutoDetect

Specifies whether the provider checks your system proxy settings for existing proxy server configurations, rather than using a manually specified proxy server.

Data Type

bool

Default Value

true

Remarks

When this connection property is set to True, the connector checks your system proxy settings for existing proxy server configurations (no need to manually supply proxy server details).

This connection property takes precedence over other proxy settings. If you want to configure the connector to connect to a specific proxy server, set ProxyAutoDetect to False.

On Windows, the connector reads the proxy settings from the Internet Options in the registry, specifically the registry key HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Internet Settings\. On Windows 10 and later, this corresponds to the Proxy Settings found in the Windows Settings.

Note that these settings apply only to the current user of the machine. If you're running an application as a service, the connector does not read your own user's settings. You must instead manually supply the proxy settings in the connector's connection properties.

On Mac, the connector reads proxy settings from the system-configured CFNetwork settings.

On Linux, this property is unsupported, and is set to False by default.

To connect to an HTTP proxy, see ProxyServer. For other proxies, such as SOCKS or tunneling, see FirewallType.

CData Python Connector for Google Ads

ProxyServer

Identifies the hostname or IP address of the proxy server through which you want to route HTTP traffic.

Data Type

string

Default Value

""

Remarks

The connector only routes HTTP traffic through the proxy server specified in this connection property when ProxyAutoDetect is set to False.

If ProxyAutoDetect is set to True (the default), the connector instead routes HTTP traffic through the proxy server specified in your system proxy settings.

CData Python Connector for Google Ads

ProxyPort

Identifies the TCP port on your specified proxy server that has been reserved for routing HTTP traffic to and from the client.

Data Type

int

Default Value

80

Remarks

The connector only routes HTTP traffic through the ProxyServer port specified in this connection property when ProxyAutoDetect is set to False.

If ProxyAutoDetect is set to True (the default), the connector instead routes HTTP traffic through the proxy server port specified in your system proxy settings.

For other proxy types, see FirewallType.

CData Python Connector for Google Ads

ProxyAuthScheme

Specifies the authentication method the provider uses when authenticating to the proxy server specified in the ProxyServer connection property.

Possible Values

BASIC, DIGEST, NONE, NEGOTIATE, NTLM

Data Type

string

Default Value

"BASIC"

Remarks

Note: The connector only uses this ProxyAuthScheme when ProxyAutoDetect is set to False. If ProxyAutoDetect is set to True (the default), the connector instead uses the authentication method specified in your system proxy settings.

Supported authentication types :

  • BASIC: The connector performs HTTP basic authentication.
  • DIGEST: The connector performs HTTP digest authentication.
  • NTLM: The connector retrieves an NTLM token.
  • NEGOTIATE: The connector retrieves an NTLM or Kerberos token based on the applicable protocol for authentication.
  • NONE: Signifies that the ProxyServer does not require authentication.

For all values other than NONE, you must also set the ProxyUser and ProxyPassword connection properties.

If you need to use another authentication type, such as SOCKS 5 authentication, see FirewallType.

CData Python Connector for Google Ads

ProxyUser

Provides the username of a user account registered with the proxy server specified in the ProxyServer connection property.

Data Type

string

Default Value

""

Remarks

The ProxyUser and ProxyPassword connection properties are used to connect and authenticate against the HTTP proxy specified in ProxyServer.

After selecting one of the available authentication types in ProxyAuthScheme, set this property as follows:

ProxyAuthScheme Value Value to set for ProxyUser
BASIC The username of a user registered with the proxy server.
DIGEST The username of a user registered with the proxy server.
NEGOTIATE The username of a Windows user who is a valid user in the domain or trusted domain that the proxy server is part of, in the format user@domain or domain\user.
NTLM The username of a Windows user who is a valid user in the domain or trusted domain that the proxy server is part of, in the format user@domain or domain\user.
NONE Do not set the ProxyPassword connection property.

Note: The connector only uses this username if ProxyAutoDetect is set to False. If ProxyAutoDetect is set to True (the default), the connector instead uses the username specified in your system proxy settings.

CData Python Connector for Google Ads

ProxyPassword

Specifies the password of the user specified in the ProxyUser connection property.

Data Type

string

Default Value

""

Remarks

The ProxyUser and ProxyPassword connection properties are used to connect and authenticate against the HTTP proxy specified in ProxyServer.

After selecting one of the available authentication types in ProxyAuthScheme, set this property as follows:

ProxyAuthScheme Value Value to set for ProxyPassword
BASIC The password associated with the proxy server user specified in ProxyUser.
DIGEST The password associated with the proxy server user specified in ProxyUser.
NEGOTIATE The password associated with the Windows user account specified in ProxyUser.
NTLM The password associated with the Windows user account specified in ProxyUser.
NONE Do not set the ProxyPassword connection property.

For SOCKS 5 authentication or tunneling, see FirewallType.

Note: The connector only uses this password if ProxyAutoDetect is set to False. If ProxyAutoDetect is set to True (the default), the connector instead uses the password specified in your system proxy settings.

CData Python Connector for Google Ads

ProxySSLType

Specifies the SSL type to use when connecting to the proxy server specified in the ProxyServer connection property.

Possible Values

AUTO, ALWAYS, NEVER, TUNNEL

Data Type

string

Default Value

"AUTO"

Remarks

This property determines when to use SSL for the connection to the HTTP proxy specified by ProxyServer. You can set this connection property to the following values :

AUTODefault setting. If ProxyServer is set to an HTTPS URL, the connector uses the TUNNEL option. If ProxyServer is set to an HTTP URL, the component uses the NEVER option.
ALWAYSThe connection is always SSL enabled.
NEVERThe connection is not SSL enabled.
TUNNELThe connection is made through a tunneling proxy. The proxy server opens a connection to the remote host and traffic flows back and forth through the proxy.

CData Python Connector for Google Ads

ProxyExceptions

Specifies a semicolon-separated list of destination hostnames or IPs that are exempt from connecting through the proxy server set in the ProxyServer connection property.

Data Type

string

Default Value

""

Remarks

The ProxyServer is used for all addresses, except for addresses defined in this property. Use semicolons to separate entries.

Note: The connector uses the system proxy settings by default, without further configuration needed. If you want to explicitly configure proxy exceptions for this connection, set ProxyAutoDetect to False.

CData Python Connector for Google Ads

Logging

This section provides a complete list of the Logging properties you can configure in the connection string for this provider.


PropertyDescription
LogfileSpecifies the file path to the log file where the provider records its activities, such as authentication, query execution, and connection details.
VerbositySpecifies the verbosity level of the log file, which controls the amount of detail logged. Supported values range from 1 to 5.
LogModulesSpecifies the core modules to include in the log file. Use a semicolon-separated list of module names. By default, all modules are logged.
MaxLogFileSizeSpecifies the maximum size of a single log file in bytes. For example, '10 MB'. When the file reaches the limit, the provider creates a new log file with the date and time appended to the name.
MaxLogFileCountSpecifies the maximum number of log files the provider retains. When the limit is reached, the oldest log file is deleted to make space for a new one.
CData Python Connector for Google Ads

Logfile

Specifies the file path to the log file where the provider records its activities, such as authentication, query execution, and connection details.

Data Type

string

Default Value

""

Remarks

This property specifies the location and name of the log file where the connector records its operations, including authentication events, query execution, and connection details. If the specified file does not exist, the connector creates it. Ensure that the user or the service running the connector has write access to the specified path or file. Without sufficient permissions, the log file is not created.

Sensitive information from the connection string, such as passwords and tokens, is automatically masked in the logs. However, sensitive information present in the data itself may not be masked.

If you specify a relative path for Logfile, and if the Location property is set, that directory is used as the base path for the log file.

Additional properties allow you to customize logging behavior:

CData Python Connector for Google Ads

Verbosity

Specifies the verbosity level of the log file, which controls the amount of detail logged. Supported values range from 1 to 5.

Data Type

string

Default Value

"1"

Remarks

This property defines the level of detail the connector includes in the log file. Higher verbosity levels increase the detail of the logged information, but may also result in larger log files and slower performance due to the additional data being captured.

The default verbosity level is 1, which is recommended for regular operation. Higher verbosity levels are primarily intended for debugging purposes. For more information on each level, refer to Logging.

When combined with the LogModules property, Verbosity can refine logging to specific categories of information.

CData Python Connector for Google Ads

LogModules

Specifies the core modules to include in the log file. Use a semicolon-separated list of module names. By default, all modules are logged.

Data Type

string

Default Value

""

Remarks

The connector writes details about each operation it performs into the logfile specified by the Logfile connection property.

Each of these logged operations are assigned to a themed category called a module, and each module has a corresponding short code used to labels individual connector operations as belonging to that module.

When this connection property is set to a semicolon-separated list of module codes, only operations belonging to the specified modules are written to the logfile. Note that this only affects which operations are logged moving forward and doesn't retroactively alter the existing contents of the logfile. For example: INFO;EXEC;SSL;META;

By default, logged operations from all modules are included.

You can explicitly exclude a module by prefixing it with a "-". For example: -HTTP

To apply filters to submodules, identify them with the syntax <module name>.<submodule name>. For example, the following value causes the connector to only log actions belonging to the HTTP module, and further refines it to exclude actions belonging to the Res submodule of the HTTP module: HTTP;-HTTP.Res

Note that the logfile filtering triggered by the Verbosity connection property takes precedence over the filtering imposed by this connection property. This means that operations of a higher verbosity level than the level specified in the Verbosity connection property are not printed in the logfile, even if they belong to one of the modules specified in this connection property.

The available modules and submodules are:

Module Name Module Description Submodules
INFO General Information. Includes the connection string, product version (build number), and initial connection messages.
  • Connec – Information related to creating or destroying connections.
  • Messag – Generic label for messages pertaining to connections, the connection string, and product version. These messages are typically specific to the connector, rather than being received and passed along directly from the service.
EXEC Query Execution. Includes execution messages for user-written SQL queries, parsed SQL queries, and normalized SQL queries. Success/failure messages for queries and query pages appear here as well.
  • Messag – Messages pertaining to query execution. These messages are typically specific to the connector, rather than being received and passed along directly from the service.
  • Normlz – Query normalization steps. Query normalization is when the product takes the user-submitted query and rewrites the query to get the same results with optimal performance.
  • Origin – This label applies to any messages recording a user's original query (the exact, unaltered, non-normalized query executed by the user).
  • Page – Messages related to query paging.
  • Parsed – Query parsing steps. Parsing is the process of converting the user-submitted query into a standardized format for easier processing.
HTTP HTTP protocol messages. Includes HTTP requests/responses (including POST messages), as well as Kerberos related messages.
  • KERB – HTTP requests related to Kerberos.
  • Messag – Messages pertaining to HTTP protocols. These messages are typically specific to the connector, rather than being received and passed along directly from the service.
  • Unpack – This label applies to messages about zipped data being returned from the service API and unpacked by the product.
  • Res – Messages containing HTTP responses.
  • Req – Messages containing HTTP requests.
WSDL Messages pertaining to the generation of WSDL/XSD files.
SSL SSL certificate messages.
  • Certif – Messages pertaining to SSL certificates.
AUTH Authentication related failure/success messages.
  • Messag – Messages pertaining to authentication. These messages are typically specific to the connector, rather than being received and passed along directly from the service.
  • OAuth – Messages related to OAuth authentication.
  • Krbros – Kerberos-related authentication messages.
SQL Includes SQL transactions, SQL bulk transfer messages, and SQL result set messages.
  • Bulk – Messages pertaining to bulk query execution.
  • Cache – Messages related to reading row data from and writing row data to the product's cache for better performance.
  • Messag – Messages pertaining to SQL transactions. These messages are typically specific to the connector, rather than being received and passed along directly from the service.
  • ResSet – Query resultsets.
  • Transc – Messages related to handling transactions, including information about the number of jobs executed and backup table handling.
META Metadata cache and schema messages.
  • Cache – Messages related to reading from and modifying column and table definitions in the product's cache for better performance.
  • Schema – Messages related to retrieving metadata from or modifying the service schema.
  • MemSto – Messages related to writing to or reading from in-memory metadata cache.
  • Storag – Messages relating to storing metadata on disk or in an external data store, rather than in memory.
FUNC Information related to executing SQL functions.
  • Errmsg – Error messages related to executing SQL functions.
TCP Incoming and outgoing raw bytes on TCP transport layer messages.
  • Send – Raw data sent via the TCP protocol.
  • Receiv – Raw data received via the TCP protocol.
FTP Messages pertaining to the File Transfer Protocol.
  • Info – Status messages related to communication in the FTP protocol.
  • Client – Messages related to actions taken by the FTP client (the product) during FTP communication.
  • Server – Messages related to actions taken by the FTP server during FTP communication.
SFTP Messages pertaining to the Secure File Transfer Protocol.
  • Info – Status messages related to communication in the SFTP protocol.
  • To_Server – Messages related to actions taken by the SFTP client (the product) during SFTP communication.
  • From_Server – Messages related to actions taken by the SFTP server during SFTP communication.
POP Messages pertaining to data transferred via the Post Office Protocol.
  • Client – Messages related to actions taken by the POP client (the product) during POP communication.
  • Server – Messages related to actions taken by the POP server during POP communication.
  • Status – Status messages related to communication in the POP protocol.
SMTP Messages pertaining to data transferred via the Simple Mail Transfer Protocol.
  • Client – Messages related to actions taken by the SMTP client (the product) during SMTP communication.
  • Server – Messages related to actions taken by the SMTP server during SMTP communication.
  • Status – Status messages related to communication in the SMTP protocol.
CORE Messages relating to various internal product operations not covered by other modules.
DEMN Messages related to SQL remoting.
CLJB Messages about bulk data uploads (cloud job).
  • Commit – Submissions for bulk data uploads.
SRCE Miscellaneous messages produced by the product that don't belong in any other module.
TRANCE Advanced messages concerning low-level product operations.

CData Python Connector for Google Ads

MaxLogFileSize

Specifies the maximum size of a single log file in bytes. For example, '10 MB'. When the file reaches the limit, the provider creates a new log file with the date and time appended to the name.

Data Type

string

Default Value

"100MB"

Remarks

For values lower than 100 KB, the connector uses 100 KB as the minimum allowable size.

To control the total number of log files retained, use the MaxLogFileCount property in conjunction with this property. Together, these properties allow you to manage the size and retention of log files effectively.

CData Python Connector for Google Ads

MaxLogFileCount

Specifies the maximum number of log files the provider retains. When the limit is reached, the oldest log file is deleted to make space for a new one.

Data Type

int

Default Value

-1

Remarks

Each log file name includes the date and time for easier identification.

This property accepts the following values:

  • A value of 2 or higher sets the maximum number of log files retained.
  • A value of 1 retains only one log file. When it reaches the maximum size, the file is deleted and replaced by a new one, leaving no history beyond the current log.
  • A value of 0 or negative indicates no limit on the number of log files, and logging continues indefinitely.

To manage log file size, use the MaxLogFileSize property. The two properties work together to control the size and retention of log files in the logging folder.

CData Python Connector for Google Ads

Schema

This section provides a complete list of the Schema properties you can configure in the connection string for this provider.


PropertyDescription
LocationSpecifies the location of a directory containing schema files that define tables, views, and stored procedures. Depending on your service's requirements, this may be expressed as either an absolute path or a relative path.
BrowsableSchemasOptional setting that restricts the schemas reported to a subset of all available schemas. For example, BrowsableSchemas=SchemaA,SchemaB,SchemaC .
TablesOptional setting that restricts the tables reported to a subset of all available tables. For example, Tables=TableA,TableB,TableC .
ViewsOptional setting that restricts the views reported to a subset of the available tables. For example, Views=ViewA,ViewB,ViewC .
CData Python Connector for Google Ads

Location

Specifies the location of a directory containing schema files that define tables, views, and stored procedures. Depending on your service's requirements, this may be expressed as either an absolute path or a relative path.

Data Type

string

Default Value

"%APPDATA%\\CData\\GoogleAds Data Provider\\Schema"

Remarks

The Location property is only needed if you want to either customize definitions (for example, change a column name, ignore a column, etc.) or extend the data model with new tables, views, or stored procedures.

Note: Since this connector supports multiple schemas, custom schema files for Google Ads should be structured such that:

  • Each schema should have its own folder, named for that schema.
  • All schema folders should be contained in a parent folder.

Location should always be set to the parent folder, and not to an individual schema's folder.

If left unspecified, the default location is %APPDATA%\\CData\\GoogleAds Data Provider\\Schema, where %APPDATA% is set to the user's configuration directory:

Platform %APPDATA%
Windows The value of the APPDATA environment variable
Linux ~/.config

CData Python Connector for Google Ads

BrowsableSchemas

Optional setting that restricts the schemas reported to a subset of all available schemas. For example, BrowsableSchemas=SchemaA,SchemaB,SchemaC .

Data Type

string

Default Value

""

Remarks

Listing all available database schemas can take extra time, thus degrading performance. Providing a list of schemas in the connection string saves time and improves performance.

CData Python Connector for Google Ads

Tables

Optional setting that restricts the tables reported to a subset of all available tables. For example, Tables=TableA,TableB,TableC .

Data Type

string

Default Value

""

Remarks

Listing all available tables from some databases can take extra time, thus degrading performance. Providing a list of tables in the connection string saves time and improves performance.

If there are lots of tables available and you already know which ones you want to work with, you can use this property to restrict your viewing to only those tables. To do this, specify the tables you want in a comma-separated list. Each table should be a valid SQL identifier with any special characters escaped using square brackets, double-quotes or backticks. For example, Tables=TableA,[TableB/WithSlash],WithCatalog.WithSchema.`TableC With Space`.

Note: If you are connecting to a data source with multiple schemas or catalogs, you must specify each table you want to view by its fully qualified name. This avoids ambiguity between tables that may exist in multiple catalogs or schemas.

CData Python Connector for Google Ads

Views

Optional setting that restricts the views reported to a subset of the available tables. For example, Views=ViewA,ViewB,ViewC .

Data Type

string

Default Value

""

Remarks

Listing all available views from some databases can take extra time, thus degrading performance. Providing a list of views in the connection string saves time and improves performance.

If there are lots of views available and you already know which ones you want to work with, you can use this property to restrict your viewing to only those views. To do this, specify the views you want in a comma-separated list. Each view should be a valid SQL identifier with any special characters escaped using square brackets, double-quotes or backticks. For example, Views=ViewA,[ViewB/WithSlash],WithCatalog.WithSchema.`ViewC With Space`.

Note: If you are connecting to a data source with multiple schemas or catalogs, you must specify each view you want to examine by its fully qualified name. This avoids ambiguity between views that may exist in multiple catalogs or schemas.

CData Python Connector for Google Ads

Caching

This section provides a complete list of the Caching properties you can configure in the connection string for this provider.


PropertyDescription
AutoCacheSpecifies whether the content of tables targeted by SELECT queries is automatically cached to the specified cache database.
CacheProviderThe namespace of an ADO.NET provider. The specified provider is used as the target database for all caching operations.
CacheDriverThe driver class of a JDBC driver. The specified driver is used to connect to the target database for all caching operations.
CacheConnectionSpecifies the connection string for the specified cache database.
CacheLocationSpecifies the path to the cache when caching to a file.
CacheToleranceNotes the tolerance, in seconds, for stale data in the specified cache database. Requires AutoCache to be set to True.
OfflineGets the data from the specified cache database instead of live Google Ads data.
CacheMetadataDetermines whether the provider caches table metadata to a file-based cache database.
CData Python Connector for Google Ads

AutoCache

Specifies whether the content of tables targeted by SELECT queries is automatically cached to the specified cache database.

Data Type

bool

Default Value

false

Remarks

When this connection property is set to True, the connector automatically caches the contents of tables targeted by SELECT queries. The content of these tables is cached to the cache database specified by the CacheConnection and CacheProvider connection properties.

See Also

For additional information, see:

  • CacheMetadata: With CacheMetadata enabled, all retrieved metadata is mirrored in the cache database. This means that any subsequent attempts by the connector to discover metadata are much faster, as this metadata is then read directly from the cache database, without needing to spend time requesting metadata from Google Ads.
  • Explicitly Caching Data: This topic provides examples for using AutoCache in Offline mode.
  • CACHE Statements: You can use the CACHE statement to explicitly cache the content of any table targeted by a SELECT query.

CData Python Connector for Google Ads

CacheProvider

The namespace of an ADO.NET provider. The specified provider is used as the target database for all caching operations.

Data Type

string

Default Value

""

Remarks

You can cache to ADO.NET providers saved in your ADO.NET global assembly cache (GAC).

CData ADO.NET providers automatically register themselves with the GAC during installation, so you don't need to do so manually.

Third-party ADO.NET providers may or may not automatically register themselves with the GAC during installation. If you want to cache to a third-party ADO.NET provider, consult the documentation for that provider to determine what steps (if any) you must take to register them with the GAC. Once they have been registered, you can supply their namespace in this connection property.

You must also set the CacheConnection connection property to provide a connection string for the specified ADO.NET provider.

The following sections show connection examples and address other requirements for several popular database providers. Refer to CacheConnection for more information on typical connection properties.

SQLite

You can use the Microsoft ADO.NET Provider for SQLite to cache to SQLite databases.

CacheProvider=Microsoft.Data.Sqlite;CacheConnection='DataSource=C:\\Users\\Public\\cache.db;'InitiateOAuth=GETANDREFRESH;DeveloperToken=myDeveloperToken;ClientCustomerId=myClientCustomerId;

MySQL

To cache to MySQL, you can use the CData ADO.NET Provider for MySQL:
Cache Provider=System.Data.CData.MySQL;Cache Connection='Server=localhost;Port=3306;Database=cache;User=root;Password=123456';User=myUser;Password=myPassword;Security Token=myToken;

SQL Server

You can use the Microsoft .NET Framework Provider for SQL Server, included in the .NET Framework, to cache to SQL Server:

Cache Provider=System.Data.SqlClient;Cache Connection="Server=MyMACHINE\MyInstance;Database=SQLCACHE;User Id=root;Password=admin";InitiateOAuth=GETANDREFRESH;DeveloperToken=myDeveloperToken;ClientCustomerId=myClientCustomerId;

Oracle

To cache to Oracle, you can use the Oracle Data Provider for .NET, as shown in the following example:

Cache Provider=Oracle.DataAccess.Client;Cache Connection='User Id=scott;Password=tiger;Data Source=ORCL';InitiateOAuth=GETANDREFRESH;DeveloperToken=myDeveloperToken;ClientCustomerId=myClientCustomerId;

The Oracle Data Provider for .NET also requires the Oracle Database Client. When you download the Oracle Database Client, ensure that its bitness matches the bitness of your machine. When you install, select either the Runtime or Administrator installation type. The Instant Client is not sufficient.

PostgreSQL

To cache to PostgreSQL, you can use the CData ADO.NET Provider for PostgreSQL:
Cache Provider=System.Data.CData.PostgreSQL;Cache Connection='Server=localhost;Port=5432;Database=cache;User=postgres;Password=123456';User=myUser;Password=myPassword;Security Token=myToken;

CData Python Connector for Google Ads

CacheDriver

The driver class of a JDBC driver. The specified driver is used to connect to the target database for all caching operations.

Data Type

string

Default Value

""

Remarks

You can cache to any database for which you have a JDBC driver, including CData JDBC drivers.

Note: You must add the JAR file of the specified JDBC driver to the classpath. For CData JDBC drivers, you can find this JAR file in the "lib" subfolder of that driver's installation directory.

You must also set the CacheConnection connection property to provide a connection string for the specified JDBC driver.

For Linux systems and macOS, you need to create a config.ini file on the installation path of the driver (site-packages/cdata). The config.ini file has the following format (the driver and the path of the JDBC driver):

[salesforce.cpython-38-x86_64-linux-gnu.so]
CLASSPATH = /home/usrname/Downloads/lib/cdata.jdbc.postgresql.jar

Examples

The following examples show how to cache to several major databases. For more information on the JDBC URL syntax and typical connection properties, see CacheConnection.

Derby and Java DB

Java DB is the Oracle distribution of Derby. You must add the Derby JDBC driver's JAR file, derbytools.jar, to your classpath to cache to Java DB.

The Derby JDBC driver's JAR file is bundled in db-derby-10.17.1.0-bin.zip, which you can download from this page. You can find derbytools.jar in the "lib" subfolder of this zip file.

After adding derbytools.jar to the classpath, you can cache to a Java DB database as follows:

jdbc:googleads:CacheDriver=org.apache.derby.jdbc.EmbeddedDriver;CacheConnection='jdbc:derby:sample';InitiateOAuth=GETANDREFRESH;DeveloperToken=myDeveloperToken;ClientCustomerId=myClientCustomerId;
To cache to an in-memory database, use a JDBC URL like the following:
jdbc:googleads:CacheDriver=org.apache.derby.jdbc.EmbeddedDriver;CacheConnection='jdbc:derby:memory';InitiateOAuth=GETANDREFRESH;DeveloperToken=myDeveloperToken;ClientCustomerId=myClientCustomerId;

SQLite

The following is a JDBC URL for the SQLite JDBC driver:

jdbc:googleads:CacheDriver=org.sqlite.JDBC;CacheConnection='jdbc:sqlite:C:/Temp/sqlite.db';InitiateOAuth=GETANDREFRESH;DeveloperToken=myDeveloperToken;ClientCustomerId=myClientCustomerId;

MySQL

The following is a JDBC URL for the CData JDBC Driver for MySQL:

  jdbc:googleads:Cache Driver=cdata.jdbc.mysql.MySQLDriver;Cache Connection='jdbc:mysql:Server=localhost;Port=3306;Database=cache;User=root;Password=123456';InitiateOAuth=GETANDREFRESH;DeveloperToken=myDeveloperToken;ClientCustomerId=myClientCustomerId;
  

SQL Server

The following JDBC URL uses the Microsoft JDBC Driver for SQL Server:

jdbc:googleads:Cache Driver=com.microsoft.sqlserver.jdbc.SQLServerDriver;Cache Connection='jdbc:sqlserver://localhost\sqlexpress:7437;user=sa;password=123456;databaseName=Cache';InitiateOAuth=GETANDREFRESH;DeveloperToken=myDeveloperToken;ClientCustomerId=myClientCustomerId;

Oracle

The following is a JDBC URL for the Oracle Thin Client:

jdbc:googleads:Cache Driver=oracle.jdbc.OracleDriver;CacheConnection='jdbc:oracle:thin:scott/tiger@localhost:1521:orcldb';InitiateOAuth=GETANDREFRESH;DeveloperToken=myDeveloperToken;ClientCustomerId=myClientCustomerId;
NOTE: If using a version of Oracle older than 9i, the cache driver will instead be oracle.jdbc.driver.OracleDriver .

PostgreSQL

The following JDBC URL uses the official PostgreSQL JDBC driver:

jdbc:googleads:CacheDriver=cdata.jdbc.postgresql.PostgreSQLDriver;CacheConnection='jdbc:postgresql:User=postgres;Password=admin;Database=postgres;Server=localhost;Port=5432;';InitiateOAuth=GETANDREFRESH;DeveloperToken=myDeveloperToken;ClientCustomerId=myClientCustomerId;

CData Python Connector for Google Ads

CacheConnection

Specifies the connection string for the specified cache database.

Data Type

string

Default Value

""

Remarks

The target cache database is determined by a combination of this connection property and the CacheProvider connection property. Both properties are required to use the specified cache database.

The connection string specified in this connection property is passed directly to the specified in the CacheProvider connection property. Consult the documentation for the specified for more information on its available connection properties.

Examples of common cache database settings can be found below.

SQLite

MySQL

The following are typical connection properties:

  • Server: The IP address or domain name of the server hosting the MySQL database that you want to cache to.
  • Port: The port on the specified server where your MySQL instance is running.
  • Database: The name of the MySQL database that you want to cache to. Must match the name of a MySQL database hosted on the specified server.
  • User: The username of a user registered with the selected MySQL database.
  • Password: The password associated with the specified MySQL user.

SQL Server

The following are typical SQL Server connection properties:

  • Server: The name or network address of the computer running SQL Server. To connect to a named instance instead of the default instance, specify the host name and the instance name, separated by a backslash.
  • Port: The port on the specified server where your SQL Server instance is running.
  • Database: The name of the SQL Server database you want to cache to. Must match the name of a SQL Server database hosted on the specified server.
  • Integrated Security: To use the current Windows account for authentication, set this option to True. To authenticate with User and Password instead, set this option to False.
  • User Id: The username of a user registered with the selected SQL Server database. This property is only needed if you are not using integrated security.
  • Password: The password associated with the specified SQL Server user. This property is only needed if you are not using integrated security.

Oracle

The following are typical connection properties:

  • Data Source: The connect descriptor that identifies the Oracle database. This can be a TNS connect descriptor, an Oracle Net Services name that resolves to a connect descriptor, or, after version 11g, an Easy Connect naming (the host name of the Oracle server with an optional port and service name).

  • User Id: The username of a user registered with the selected Oracle database.
  • Password: The password associated with the specified Oracle user.

PostgreSQL

The following are typical connection properties:

  • Host: The address of the server hosting the PostgreSQL database.
  • Port: The port on the specified host server where your PostgreSQL database is hosted.
  • Database: The name of the PostgreSQL database you want to cache to. Must match the name of a PostgreSQL database hosted on the specified server.
  • User name: The username of a user registered with the selected PostgreSQL database.
  • Password: The password associated with the specified user.

CData Python Connector for Google Ads

CacheLocation

Specifies the path to the cache when caching to a file.

Data Type

string

Default Value

"%APPDATA%\\CData\\GoogleAds Data Provider"

Remarks

The CacheLocation is a simple, file-based cache.

If left unspecified, the default location is %APPDATA%\\CData\\GoogleAds Data Provider, where %APPDATA% is set to the user's configuration directory:

Platform %APPDATA%
Windows The value of the APPDATA environment variable
Linux ~/.config

See Also

  • AutoCache: Set to implicitly create and maintain a cache for later offline use.
  • CacheMetadata: Set to persist the Google Ads catalog in CacheLocation.

CData Python Connector for Google Ads

CacheTolerance

Notes the tolerance, in seconds, for stale data in the specified cache database. Requires AutoCache to be set to True.

Data Type

int

Default Value

600

Remarks

When you execute a query for tables in the cache, the connector checks the time elapsed since the last update to the cache.

If the last update to the cache is older than the value of this connection property (measured in seconds), the connector refreshes the cache.

Otherwise, the connector returns data directly from the cache.

CData Python Connector for Google Ads

Offline

Gets the data from the specified cache database instead of live Google Ads data.

Data Type

bool

Default Value

false

Remarks

When this connection property is set to True, all queries execute against the cache database instead of the live Google Ads data.

In this mode, some SQL operations like INSERT, UPDATE, DELETE, and CACHE are disabled.

CData Python Connector for Google Ads

CacheMetadata

Determines whether the provider caches table metadata to a file-based cache database.

Data Type

bool

Default Value

false

Remarks

When this connection property is set to True, as you execute queries, table metadata in the Google Ads catalog is cached to the cache database specified by CacheConnection and CacheProvider, or, if those connection properties are not set, to the user's home directory.

The location of your home directory varies by platform:

PlatformHome Directory
Windows %APPDATA%\\CData\\GoogleAds Data Provider
Mac ~/Library/Application Support/CData/GoogleAds Data Provider
Unix ~/.config/CData/GoogleAds Data Provider

A table's metadata is retrieved only once, when the table is queried for the first time.

When to Use CacheMetadata

When there are a large number of Google Ads tables and columns for the connector to retrieve during metadata discovery, the connector may take a while to list all table metadata.

You may experience slow metadata retrieval when:

  • Your Google Ads instance naturally has a large table count.
  • The connector has been configured, via its connection properties, to discover more tables than it would under its default configuration.
  • You make many short-lived connections to the connector.
With CacheMetadata enabled, all retrieved metadata is mirrored in the cache database. This means that any subsequent attempts by the connector to discover metadata are much faster, as this metadata is then read directly from the cache database, without needing to spend time requesting metadata from Google Ads.

When Not to Use CacheMetadata

The connector automatically persists metadata in memory for up to an hour when you first discover the metadata for a table or view, so CacheMetadata is generally not necessary.

CacheMetadata is not ideal in scenarios where you are working with volatile metadata. The first time you query a table, the connector caches its metadata to the cache database file. This cache is not dynamically updated to reflect updates to the table schema, so you must delete and rebuild the cache database file to pick up new, changed, or deleted columns.

CData Python Connector for Google Ads

Miscellaneous

This section provides a complete list of the Miscellaneous properties you can configure in the connection string for this provider.


PropertyDescription
AWSWorkloadIdentityConfigConfiguration properties to provide when using Workload Identity Federation via AWS.
AzureWorkloadIdentityConfigConfiguration properties to provide when using Workload Identity Federation via Azure.
MaxRowsSpecifies the maximum number of rows returned for queries that do not include either aggregation or GROUP BY.
OtherSpecifies advanced connection properties for specialized scenarios. Use this property only under the guidance of our Support team to address specific issues.
PseudoColumnsSpecifies the pseudocolumns to expose as table columns, expressed as a string in the format 'TableName=ColumnName;TableName=ColumnName'.
QueryPassthroughThis option passes the query to the Google Ads server as is.
RecurseChildrenSet this to false if you want to avoid recursing over customer client ids to get the full hierarchy for CustomerClientLink table.
RTKSpecifies the runtime key for licensing the provider. If unset or invalid, the provider defaults to the standard licensing method. This property is only required in environments where the standard licensing method is unsupported or requires a runtime key.
ServerTimeZoneThe timezone by which the server's DateTime values are represented. The value of this property will affect how DateTime filters and results are converted between the server and the client machine.
SupportEnhancedSQLThis property enhances SQL functionality beyond what can be supported through the API directly, by enabling in-memory client-side processing.
TimeoutSpecifies the maximum time, in seconds, that the provider waits for a server response before throwing a timeout error.
UserDefinedViewsSpecifies a filepath to a JSON configuration file that defines custom views. The provider automatically detects and uses the views specified in this file.
WorkloadPoolIdThe ID of your Workload Identity Federation pool.
WorkloadProjectIdThe ID of the Google Cloud project that hosts your Workload Identity Federation pool.
WorkloadProviderIdThe ID of your Workload Identity Federation pool provider.
CData Python Connector for Google Ads

AWSWorkloadIdentityConfig

Configuration properties to provide when using Workload Identity Federation via AWS.

Data Type

string

Default Value

""

Remarks

The properties are formatted as a semicolon-separated list of Key=Value properties, where the value is optionally quoted. For example, this setting authenticates in AWS using a user's root keys:

AWSWorkloadIdentityConfig="AuthScheme=AwsRootKeys;AccessKey='AKIAABCDEF123456';SecretKey=...;Region=us-east-1"

CData Python Connector for Google Ads

AzureWorkloadIdentityConfig

Configuration properties to provide when using Workload Identity Federation via Azure.

Data Type

string

Default Value

""

Remarks

The properties are formatted as a semicolon-separated list of Key=Value properties, where the value is optionally quoted. For example, this setting authenticates in Azure using client credentials:

AzureWorkloadIdentityConfig="AuthScheme=AzureServicePrincipal;AzureTenant=directory (tenant) id;OAuthClientID=application (client) id;OAuthClientSecret=client secret;AzureResource=application id uri;"

CData Python Connector for Google Ads

MaxRows

Specifies the maximum number of rows returned for queries that do not include either aggregation or GROUP BY.

Data Type

int

Default Value

-1

Remarks

The default value for this property, -1, means that no row limit is enforced unless the query explicitly includes a LIMIT clause. (When a query includes a LIMIT clause, the value specified in the query takes precedence over the MaxRows setting.)

Setting MaxRows to a whole number greater than 0 ensures that queries do not return excessively large result sets by default.

This property is useful for optimizing performance and preventing excessive resource consumption when executing queries that could otherwise return very large datasets.

CData Python Connector for Google Ads

Other

Specifies advanced connection properties for specialized scenarios. Use this property only under the guidance of our Support team to address specific issues.

Data Type

string

Default Value

""

Remarks

This property allows advanced users to configure hidden properties for specialized situations, with the advice of our Support team. These settings are not required for normal use cases but can address unique requirements or provide additional functionality. To define multiple properties, use a semicolon-separated list.

Note: It is strongly recommended to set these properties only when advised by the Support team to address specific scenarios or issues.

Caching Configuration

PropertyDescription
CachePartial=TrueCaches only a subset of columns, which you can specify in your query.
QueryPassthrough=TruePasses the specified query to the cache database instead of using the SQL parser of the connector.

Integration and Formatting

PropertyDescription
DefaultColumnSizeSets the default length of string fields when the data source does not provide column length in the metadata. The default value is 2000.
ConvertDateTimeToGMT=TrueConverts date-time values to GMT, instead of the local time of the machine. The default value is False (use local time).
RecordToFile=filenameRecords the underlying socket data transfer to the specified file.

CData Python Connector for Google Ads

PseudoColumns

Specifies the pseudocolumns to expose as table columns, expressed as a string in the format 'TableName=ColumnName;TableName=ColumnName'.

Data Type

string

Default Value

""

Remarks

This property allows you to define which pseudocolumns the connector exposes as table columns.

To specify individual pseudocolumns, use the following format:

Table1=Column1;Table1=Column2;Table2=Column3

To include all pseudocolumns for all tables use:

*=*

CData Python Connector for Google Ads

QueryPassthrough

This option passes the query to the Google Ads server as is.

Data Type

bool

Default Value

false

Remarks

When this is set, queries are passed through directly to Google Ads.

CData Python Connector for Google Ads

RecurseChildren

Set this to false if you want to avoid recursing over customer client ids to get the full hierarchy for CustomerClientLink table.

Data Type

bool

Default Value

true

Remarks

Set this to false if you want to avoid recursing over customer client ids to get the full hierarchy for CustomerClientLink table.

CData Python Connector for Google Ads

RTK

Specifies the runtime key for licensing the provider. If unset or invalid, the provider defaults to the standard licensing method. This property is only required in environments where the standard licensing method is unsupported or requires a runtime key.

Data Type

string

Default Value

""

Remarks

This property is typically unnecessary, as most configurations support a standard licensing mechanism.

Warning: The value of this property takes precedence over all existing licensing information. To avoid licensing errors, ensure the provided runtime key is correct.

CData Python Connector for Google Ads

ServerTimeZone

The timezone by which the server's DateTime values are represented. The value of this property will affect how DateTime filters and results are converted between the server and the client machine.

Data Type

string

Default Value

"AUTO"

Remarks

By default, the driver automatically fetches the Timezone of the GoogleAds account and displays datetime values accordingly. If the server is known to use a specific timezone, you can specify its IANA format (e.g., America/New_York) here. The driver will then convert any DateTime filters from the local timezone of the machine where it's installed to the server's specified timezone. Similarly, values returned by the server in the specified timezone will be converted to the local timezone of the machine before appearing in the result set.

CData Python Connector for Google Ads

SupportEnhancedSQL

This property enhances SQL functionality beyond what can be supported through the API directly, by enabling in-memory client-side processing.

Data Type

bool

Default Value

true

Remarks

When SupportEnhancedSQL = true, the connector offloads as much of the SELECT statement processing as possible to Google Ads and then processes the rest of the query in memory. In this way, the connector can execute unsupported predicates, joins, and aggregation.

When SupportEnhancedSQL = false, the connector limits SQL execution to what is supported by the Google Ads API.

Execution of Predicates

The connector determines which of the clauses are supported by the data source and then pushes them to the source to get the smallest superset of rows that would satisfy the query. It then filters the rest of the rows locally. The filter operation is streamed, which enables the connector to filter effectively for even very large datasets.

Execution of Joins

The connector uses various techniques to join in memory. The connector trades off memory utilization against the requirement of reading the same table more than once.

Execution of Aggregates

The connector retrieves all rows necessary to process the aggregation in memory.

CData Python Connector for Google Ads

Timeout

Specifies the maximum time, in seconds, that the provider waits for a server response before throwing a timeout error.

Data Type

int

Default Value

60

Remarks

The timeout applies to each individual communication with the server rather than the entire query or operation. For example, a query could continue running beyond 60 seconds if each paging call completes within the timeout limit.

Timeout is set to 60 seconds by default. To disable timeouts, set this property to 0.

Disabling the timeout allows operations to run indefinitely until they succeed or fail due to other conditions such as server-side timeouts, network interruptions, or resource limits on the server.

Note: Use this property cautiously to avoid long-running operations that could degrade performance or result in unresponsive behavior.

CData Python Connector for Google Ads

UserDefinedViews

Specifies a filepath to a JSON configuration file that defines custom views. The provider automatically detects and uses the views specified in this file.

Data Type

string

Default Value

""

Remarks

UserDefinedViews allows you to define and manage custom views through a JSON-formatted configuration file called UserDefinedViews.json. These views are automatically recognized by the connector and enable you to execute custom SQL queries as if they were standard database views. The JSON file defines each view as a root element with a child element called "query", which contains the SQL query for the view.

For example:

{
	"MyView": {
		"query": "SELECT * FROM CampaignPerformance WHERE MyColumn = 'value'"
	},
	"MyView2": {
		"query": "SELECT * FROM MyTable WHERE Id IN (1,2,3)"
	}
}

You can use this property to define multiple views in a single file and specify the filepath. For example:

UserDefinedViews=C:\Path\To\UserDefinedViews.json
When you specify a view in UserDefinedViews, the connector only sees that view.

For further information, see User Defined Views.

CData Python Connector for Google Ads

WorkloadPoolId

The ID of your Workload Identity Federation pool.

Data Type

string

Default Value

""

Remarks

The ID of your Workload Identity Federation pool.

CData Python Connector for Google Ads

WorkloadProjectId

The ID of the Google Cloud project that hosts your Workload Identity Federation pool.

Data Type

string

Default Value

""

Remarks

The ID of the Google Cloud project that hosts your Workload Identity Federation pool.

CData Python Connector for Google Ads

WorkloadProviderId

The ID of your Workload Identity Federation pool provider.

Data Type

string

Default Value

""

Remarks

The ID of your Workload Identity Federation pool provider.

CData Python Connector for Google Ads

Third Party Copyrights

LZMA from 7Zip LZMA SDK

LZMA SDK is placed in the public domain.

Anyone is free to copy, modify, publish, use, compile, sell, or distribute the original LZMA SDK code, either in source code form or as a compiled binary, for any purpose, commercial or non-commercial, and by any means.

LZMA2 from XZ SDK

Version 1.9 and older are in the public domain.

Xamarin.Forms

Xamarin SDK

The MIT License (MIT)

Copyright (c) .NET Foundation Contributors

All rights reserved.

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

NSIS 3.10

Copyright (C) 1999-2025 Contributors THE ACCOMPANYING PROGRAM IS PROVIDED UNDER THE TERMS OF THIS COMMON PUBLIC LICENSE ("AGREEMENT"). ANY USE, REPRODUCTION OR DISTRIBUTION OF THE PROGRAM CONSTITUTES RECIPIENT'S ACCEPTANCE OF THIS AGREEMENT.

1. DEFINITIONS

"Contribution" means:

a) in the case of the initial Contributor, the initial code and documentation distributed under this Agreement, and b) in the case of each subsequent Contributor:

i) changes to the Program, and

ii) additions to the Program;

where such changes and/or additions to the Program originate from and are distributed by that particular Contributor. A Contribution 'originates' from a Contributor if it was added to the Program by such Contributor itself or anyone acting on such Contributor's behalf. Contributions do not include additions to the Program which: (i) are separate modules of software distributed in conjunction with the Program under their own license agreement, and (ii) are not derivative works of the Program.

"Contributor" means any person or entity that distributes the Program.

"Licensed Patents " mean patent claims licensable by a Contributor which are necessarily infringed by the use or sale of its Contribution alone or when combined with the Program.

"Program" means the Contributions distributed in accordance with this Agreement.

"Recipient" means anyone who receives the Program under this Agreement, including all Contributors.

2. GRANT OF RIGHTS

a) Subject to the terms of this Agreement, each Contributor hereby grants Recipient a non-exclusive, worldwide, royalty-free copyright license to reproduce, prepare derivative works of, publicly display, publicly perform, distribute and sublicense the Contribution of such Contributor, if any, and such derivative works, in source code and object code form.

b) Subject to the terms of this Agreement, each Contributor hereby grants Recipient a non-exclusive, worldwide, royalty-free patent license under Licensed Patents to make, use, sell, offer to sell, import and otherwise transfer the Contribution of such Contributor, if any, in source code and object code form. This patent license shall apply to the combination of the Contribution and the Program if, at the time the Contribution is added by the Contributor, such addition of the Contribution causes such combination to be covered by the Licensed Patents. The patent license shall not apply to any other combinations which include the Contribution. No hardware per se is licensed hereunder.

c) Recipient understands that although each Contributor grants the licenses to its Contributions set forth herein, no assurances are provided by any Contributor that the Program does not infringe the patent or other intellectual property rights of any other entity. Each Contributor disclaims any liability to Recipient for claims brought by any other entity based on infringement of intellectual property rights or otherwise. As a condition to exercising the rights and licenses granted hereunder, each Recipient hereby assumes sole responsibility to secure any other intellectual property rights needed, if any. For example, if a third party patent license is required to allow Recipient to distribute the Program, it is Recipient's responsibility to acquire that license before distributing the Program.

d) Each Contributor represents that to its knowledge it has sufficient copyright rights in its Contribution, if any, to grant the copyright license set forth in this Agreement.

3. REQUIREMENTS

A Contributor may choose to distribute the Program in object code form under its own license agreement, provided that:

a) it complies with the terms and conditions of this Agreement; and

b) its license agreement:

i) effectively disclaims on behalf of all Contributors all warranties and conditions, express and implied, including warranties or conditions of title and non-infringement, and implied warranties or conditions of merchantability and fitness for a particular purpose;

ii) effectively excludes on behalf of all Contributors all liability for damages, including direct, indirect, special, incidental and consequential damages, such as lost profits;

iii) states that any provisions which differ from this Agreement are offered by that Contributor alone and not by any other party; and

iv) states that source code for the Program is available from such Contributor, and informs licensees how to obtain it in a reasonable manner on or through a medium customarily used for software exchange.

When the Program is made available in source code form:

a) it must be made available under this Agreement; and

b) a copy of this Agreement must be included with each copy of the Program.

Contributors may not remove or alter any copyright notices contained within the Program.

Each Contributor must identify itself as the originator of its Contribution, if any, in a manner that reasonably allows subsequent Recipients to identify the originator of the Contribution.

4. COMMERCIAL DISTRIBUTION

Commercial distributors of software may accept certain responsibilities with respect to end users, business partners and the like. While this license is intended to facilitate the commercial use of the Program, the Contributor who includes the Program in a commercial product offering should do so in a manner which does not create potential liability for other Contributors. Therefore, if a Contributor includes the Program in a commercial product offering, such Contributor ("Commercial Contributor") hereby agrees to defend and indemnify every other Contributor ("Indemnified Contributor") against any losses, damages and costs (collectively "Losses") arising from claims, lawsuits and other legal actions brought by a third party against the Indemnified Contributor to the extent caused by the acts or omissions of such Commercial Contributor in connection with its distribution of the Program in a commercial product offering. The obligations in this section do not apply to any claims or Losses relating to any actual or alleged intellectual property infringement. In order to qualify, an Indemnified Contributor must: a) promptly notify the Commercial Contributor in writing of such claim, and b) allow the Commercial Contributor to control, and cooperate with the Commercial Contributor in, the defense and any related settlement negotiations. The Indemnified Contributor may participate in any such claim at its own expense.

For example, a Contributor might include the Program in a commercial product offering, Product X. That Contributor is then a Commercial Contributor. If that Commercial Contributor then makes performance claims, or offers warranties related to Product X, those performance claims and warranties are such Commercial Contributor's responsibility alone. Under this section, the Commercial Contributor would have to defend claims against the other Contributors related to those performance claims and warranties, and if a court requires any other Contributor to pay any damages as a result, the Commercial Contributor must pay those damages.

5. NO WARRANTY

EXCEPT AS EXPRESSLY SET FORTH IN THIS AGREEMENT, THE PROGRAM IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED INCLUDING, WITHOUT LIMITATION, ANY WARRANTIES OR CONDITIONS OF TITLE, NON-INFRINGEMENT, MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. Each Recipient is solely responsible for determining the appropriateness of using and distributing the Program and assumes all risks associated with its exercise of rights under this Agreement, including but not limited to the risks and costs of program errors, compliance with applicable laws, damage to or loss of data, programs or equipment, and unavailability or interruption of operations.

6. DISCLAIMER OF LIABILITY

EXCEPT AS EXPRESSLY SET FORTH IN THIS AGREEMENT, NEITHER RECIPIENT NOR ANY CONTRIBUTORS SHALL HAVE ANY LIABILITY FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING WITHOUT LIMITATION LOST PROFITS), HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OR DISTRIBUTION OF THE PROGRAM OR THE EXERCISE OF ANY RIGHTS GRANTED HEREUNDER, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGES.

7. GENERAL

If any provision of this Agreement is invalid or unenforceable under applicable law, it shall not affect the validity or enforceability of the remainder of the terms of this Agreement, and without further action by the parties hereto, such provision shall be reformed to the minimum extent necessary to make such provision valid and enforceable.

If Recipient institutes patent litigation against a Contributor with respect to a patent applicable to software (including a cross-claim or counterclaim in a lawsuit), then any patent licenses granted by that Contributor to such Recipient under this Agreement shall terminate as of the date such litigation is filed. In addition, if Recipient institutes patent litigation against any entity (including a cross-claim or counterclaim in a lawsuit) alleging that the Program itself (excluding combinations of the Program with other software or hardware) infringes such Recipient's patent(s), then such Recipient's rights granted under Section 2(b) shall terminate as of the date such litigation is filed.

All Recipient's rights under this Agreement shall terminate if it fails to comply with any of the material terms or conditions of this Agreement and does not cure such failure in a reasonable period of time after becoming aware of such noncompliance. If all Recipient's rights under this Agreement terminate, Recipient agrees to cease use and distribution of the Program as soon as reasonably practicable. However, Recipient's obligations under this Agreement and any licenses granted by Recipient relating to the Program shall continue and survive.

Everyone is permitted to copy and distribute copies of this Agreement, but in order to avoid inconsistency the Agreement is copyrighted and may only be modified in the following manner. The Agreement Steward reserves the right to publish new versions (including revisions) of this Agreement from time to time. No one other than the Agreement Steward has the right to modify this Agreement. IBM is the initial Agreement Steward. IBM may assign the responsibility to serve as the Agreement Steward to a suitable separate entity. Each new version of the Agreement will be given a distinguishing version number. The Program (including Contributions) may always be distributed subject to the version of the Agreement under which it was received. In addition, after a new version of the Agreement is published, Contributor may elect to distribute the Program (including its Contributions) under the new version. Except as expressly stated in Sections 2(a) and 2(b) above, Recipient receives no rights or licenses to the intellectual property of any Contributor under this Agreement, whether expressly, by implication, estoppel or otherwise. All rights in the Program not expressly granted under this Agreement are reserved.

This Agreement is governed by the laws of the State of New York and the intellectual property laws of the United States of America. No party to this Agreement will bring a legal action under this Agreement more than one year after the cause of action arose. Each party waives its rights to a jury trial in any resulting litigation.

AdoptOpenJDK / Adoptium Temurin JRE 17.0.18_8

Copyright (c) Eclipse Foundation AISBL. All Rights Reserved.

Apache License, Version 2.0

TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION

1. Definitions. "License" shall mean the terms and conditions for use, reproduction, and distribution as defined by Sections 1 through 9 of this document.

"Licensor" shall mean the copyright owner or entity authorized by the copyright owner that is granting the License.

"Legal Entity" shall mean the union of the acting entity and all other entities that control, are controlled by, or are under common control with that entity. For the purposes of this definition, "control" means (i) the power, direct or indirect, to cause the direction or management of such entity, whether by contract or otherwise, or (ii) ownership of fifty percent (50%) or more of the outstanding shares, or (iii) beneficial ownership of such entity.

"You" (or "Your") shall mean an individual or Legal Entity exercising permissions granted by this License.

"Source" form shall mean the preferred form for making modifications, including but not limited to software source code, documentation source, and configuration files.

"Object" form shall mean any form resulting from mechanical transformation or translation of a Source form, including but not limited to compiled object code, generated documentation, and conversions to other media types.

"Work" shall mean the work of authorship, whether in Source or Object form, made available under the License, as indicated by a copyright notice that is included in or attached to the work (an example is provided in the Appendix below).

"Derivative Works" shall mean any work, whether in Source or Object form, that is based on (or derived from) the Work and for which the editorial revisions, annotations, elaborations, or other modifications represent, as a whole, an original work of authorship. For the purposes of this License, Derivative Works shall not include works that remain separable from, or merely link (or bind by name) to the interfaces of, the Work and Derivative Works thereof.

"Contribution" shall mean any work of authorship, including the original version of the Work and any modifications or additions to that Work or Derivative Works thereof, that is intentionally submitted to Licensor for inclusion in the Work by the copyright owner or by an individual or Legal Entity authorized to submit on behalf of the copyright owner. For the purposes of this definition, "submitted" means any form of electronic, verbal, or written communication sent to the Licensor or its representatives, including but not limited to communication on electronic mailing lists, source code control systems, and issue tracking systems that are managed by, or on behalf of, the Licensor for the purpose of discussing and improving the Work, but excluding communication that is conspicuously marked or otherwise designated in writing by the copyright owner as "Not a Contribution."

"Contributor" shall mean Licensor and any individual or Legal Entity on behalf of whom a Contribution has been received by Licensor and subsequently incorporated within the Work.

2. Grant of Copyright License. Subject to the terms and conditions of this License, each Contributor hereby grants to You a perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable copyright license to reproduce, prepare Derivative Works of, publicly display, publicly perform, sublicense, and distribute the Work and such Derivative Works in Source or Object form.

3. Grant of Patent License. Subject to the terms and conditions of this License, each Contributor hereby grants to You a perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable (except as stated in this section) patent license to make, have made, use, offer to sell, sell, import, and otherwise transfer the Work, where such license applies only to those patent claims licensable by such Contributor that are necessarily infringed by their Contribution(s) alone or by combination of their Contribution(s) with the Work to which such Contribution(s) was submitted. If You institute patent litigation against any entity (including a cross-claim or counterclaim in a lawsuit) alleging that the Work or a Contribution incorporated within the Work constitutes direct or contributory patent infringement, then any patent licenses granted to You under this License for that Work shall terminate as of the date such litigation is filed.

4. Redistribution. You may reproduce and distribute copies of the Work or Derivative Works thereof in any medium, with or without modifications, and in Source or Object form, provided that You meet the following conditions:

  1. You must give any other recipients of the Work or Derivative Works a copy of this License; and
  2. You must cause any modified files to carry prominent notices stating that You changed the files; and
  3. You must retain, in the Source form of any Derivative Works that You distribute, all copyright, patent, trademark, and attribution notices from the Source form of the Work, excluding those notices that do not pertain to any part of the Derivative Works; and
  4. If the Work includes a "NOTICE" text file as part of its distribution, then any Derivative Works that You distribute must include a readable copy of the attribution notices contained within such NOTICE file, excluding those notices that do not pertain to any part of the Derivative Works, in at least one of the following places: within a NOTICE text file distributed as part of the Derivative Works; within the Source form or documentation, if provided along with the Derivative Works; or, within a display generated by the Derivative Works, if and wherever such third-party notices normally appear. The contents of the NOTICE file are for informational purposes only and do not modify the License. You may add Your own attribution notices within Derivative Works that You distribute, alongside or as an addendum to the NOTICE text from the Work, provided that such additional attribution notices cannot be construed as modifying the License.
You may add Your own copyright statement to Your modifications and may provide additional or different license terms and conditions for use, reproduction, or distribution of Your modifications, or for any such Derivative Works as a whole, provided Your use, reproduction, and distribution of the Work otherwise complies with the conditions stated in this License.

5. Submission of Contributions. Unless You explicitly state otherwise, any Contribution intentionally submitted for inclusion in the Work by You to the Licensor shall be under the terms and conditions of this License, without any additional terms or conditions. Notwithstanding the above, nothing herein shall supersede or modify the terms of any separate license agreement you may have executed with Licensor regarding such Contributions.

6. Trademarks. This License does not grant permission to use the trade names, trademarks, service marks, or product names of the Licensor, except as required for reasonable and customary use in describing the origin of the Work and reproducing the content of the NOTICE file.

7. Disclaimer of Warranty. Unless required by applicable law or agreed to in writing, Licensor provides the Work (and each Contributor provides its Contributions) on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied, including, without limitation, any warranties or conditions of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A PARTICULAR PURPOSE. You are solely responsible for determining the appropriateness of using or redistributing the Work and assume any risks associated with Your exercise of permissions under this License.

8. Limitation of Liability. In no event and under no legal theory, whether in tort (including negligence), contract, or otherwise, unless required by applicable law (such as deliberate and grossly negligent acts) or agreed to in writing, shall any Contributor be liable to You for damages, including any direct, indirect, special, incidental, or consequential damages of any character arising as a result of this License or out of the use or inability to use the Work (including but not limited to damages for loss of goodwill, work stoppage, computer failure or malfunction, or any and all other commercial damages or losses), even if such Contributor has been advised of the possibility of such damages.

9. Accepting Warranty or Additional Liability. While redistributing the Work or Derivative Works thereof, You may choose to offer, and charge a fee for, acceptance of support, warranty, indemnity, or other liability obligations and/or rights consistent with this License. However, in accepting such obligations, You may act only on Your own behalf and on Your sole responsibility, not on behalf of any other Contributor, and only if You agree to indemnify, defend, and hold each Contributor harmless for any liability incurred by, or claims asserted against, such Contributor by reason of your accepting any such warranty or additional liability.

END OF TERMS AND CONDITIONS

Eclipse Distribution License - v 1.0

All rights reserved.

Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:

  • Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.
  • Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.
  • Neither the name of the Eclipse Foundation, Inc. nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission.

THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

Eclipse Public License - v 2.0

THE ACCOMPANYING PROGRAM IS PROVIDED UNDER THE TERMS OF THIS ECLIPSE PUBLIC LICENSE ("AGREEMENT"). ANY USE, REPRODUCTION OR DISTRIBUTION OF THE PROGRAM CONSTITUTES RECIPIENT'S ACCEPTANCE OF THIS AGREEMENT.

1. DEFINITIONS "Contribution" means:

  • a) in the case of the initial Contributor, the initial content Distributed under this Agreement, and
  • b) in the case of each subsequent Contributor:
    • i) changes to the Program, and
    • ii) additions to the Program;
    where such changes and/or additions to the Program originate from and are Distributed by that particular Contributor. A Contribution "originates" from a Contributor if it was added to the Program by such Contributor itself or anyone acting on such Contributor's behalf. Contributions do not include changes or additions to the Program that are not Modified Works.
"Contributor" means any person or entity that Distributes the Program. "Licensed Patents" mean patent claims licensable by a Contributor which are necessarily infringed by the use or sale of its Contribution alone or when combined with the Program.

"Program" means the Contributions Distributed in accordance with this Agreement.

"Recipient" means anyone who receives the Program under this Agreement or any Secondary License (as applicable), including Contributors.

"Derivative Works" shall mean any work, whether in Source Code or other form, that is based on (or derived from) the Program and for which the editorial revisions, annotations, elaborations, or other modifications represent, as a whole, an original work of authorship.

"Modified Works" shall mean any work in Source Code or other form that results from an addition to, deletion from, or modification of the contents of the Program, including, for purposes of clarity any new file in Source Code form that contains any contents of the Program. Modified Works shall not include works that contain only declarations, interfaces, types, classes, structures, or files of the Program solely in each case in order to link to, bind by name, or subclass the Program or Modified Works thereof.

"Distribute" means the acts of a) distributing or b) making available in any manner that enables the transfer of a copy.

"Source Code" means the form of a Program preferred for making modifications, including but not limited to software source code, documentation source, and configuration files.

"Secondary License" means either the GNU General Public License, Version 2.0, or any later versions of that license, including any exceptions or additional permissions as identified by the initial Contributor.

2. GRANT OF RIGHTS

  • a) Subject to the terms of this Agreement, each Contributor hereby grants Recipient a non-exclusive, worldwide, royalty-free copyright license to reproduce, prepare Derivative Works of, publicly display, publicly perform, Distribute and sublicense the Contribution of such Contributor, if any, and such Derivative Works.
  • b) Subject to the terms of this Agreement, each Contributor hereby grants Recipient a non-exclusive, worldwide, royalty-free patent license under Licensed Patents to make, use, sell, offer to sell, import and otherwise transfer the Contribution of such Contributor, if any, in Source Code or other form. This patent license shall apply to the combination of the Contribution and the Program if, at the time the Contribution is added by the Contributor, such addition of the Contribution causes such combination to be covered by the Licensed Patents. The patent license shall not apply to any other combinations which include the Contribution. No hardware per se is licensed hereunder.
  • c) Recipient understands that although each Contributor grants the licenses to its Contributions set forth herein, no assurances are provided by any Contributor that the Program does not infringe the patent or other intellectual property rights of any other entity. Each Contributor disclaims any liability to Recipient for claims brought by any other entity based on infringement of intellectual property rights or otherwise. As a condition to exercising the rights and licenses granted hereunder, each Recipient hereby assumes sole responsibility to secure any other intellectual property rights needed, if any. For example, if a third party patent license is required to allow Recipient to Distribute the Program, it is Recipient's responsibility to acquire that license before distributing the Program.
  • d) Each Contributor represents that to its knowledge it has sufficient copyright rights in its Contribution, if any, to grant the copyright license set forth in this Agreement.
  • e) Notwithstanding the terms of any Secondary License, no Contributor makes additional grants to any Recipient (other than those set forth in this Agreement) as a result of such Recipient's receipt of the Program under the terms of a Secondary License (if permitted under the terms of Section 3).

3. REQUIREMENTS 3.1 If a Contributor Distributes the Program in any form, then:

  • a) the Program must also be made available as Source Code, in accordance with section 3.2, and the Contributor must accompany the Program with a statement that the Source Code for the Program is available under this Agreement, and informs Recipients how to obtain it in a reasonable manner on or through a medium customarily used for software exchange; and
  • b) the Contributor may Distribute the Program under a license different than this Agreement, provided that such license:
    • i) effectively disclaims on behalf of all other Contributors all warranties and conditions, express and implied, including warranties or conditions of title and non-infringement, and implied warranties or conditions of merchantability and fitness for a particular purpose;
    • ii) effectively excludes on behalf of all other Contributors all liability for damages, including direct, indirect, special, incidental and consequential damages, such as lost profits;
    • iii) does not attempt to limit or alter the recipients' rights in the Source Code under section 3.2; and
    • iv) requires any subsequent distribution of the Program by any party to be under a license that satisfies the requirements of this section 3.
3.2 When the Program is Distributed as Source Code:
  • a) it must be made available under this Agreement, or if the Program (i) is combined with other material in a separate file or files made available under a Secondary License, and (ii) the initial Contributor attached to the Source Code the notice described in Exhibit A of this Agreement, then the Program may be made available under the terms of such Secondary Licenses, and
  • b) a copy of this Agreement must be included with each copy of the Program.
3.3 Contributors may not remove or alter any copyright, patent, trademark, attribution notices, disclaimers of warranty, or limitations of liability (‘notices') contained within the Program from any copy of the Program which they Distribute, provided that Contributors may add their own appropriate notices.

4. COMMERCIAL DISTRIBUTION Commercial distributors of software may accept certain responsibilities with respect to end users, business partners and the like. While this license is intended to facilitate the commercial use of the Program, the Contributor who includes the Program in a commercial product offering should do so in a manner which does not create potential liability for other Contributors. Therefore, if a Contributor includes the Program in a commercial product offering, such Contributor ("Commercial Contributor") hereby agrees to defend and indemnify every other Contributor ("Indemnified Contributor") against any losses, damages and costs (collectively "Losses") arising from claims, lawsuits and other legal actions brought by a third party against the Indemnified Contributor to the extent caused by the acts or omissions of such Commercial Contributor in connection with its distribution of the Program in a commercial product offering. The obligations in this section do not apply to any claims or Losses relating to any actual or alleged intellectual property infringement. In order to qualify, an Indemnified Contributor must: a) promptly notify the Commercial Contributor in writing of such claim, and b) allow the Commercial Contributor to control, and cooperate with the Commercial Contributor in, the defense and any related settlement negotiations. The Indemnified Contributor may participate in any such claim at its own expense.

For example, a Contributor might include the Program in a commercial product offering, Product X. That Contributor is then a Commercial Contributor. If that Commercial Contributor then makes performance claims, or offers warranties related to Product X, those performance claims and warranties are such Commercial Contributor's responsibility alone. Under this section, the Commercial Contributor would have to defend claims against the other Contributors related to those performance claims and warranties, and if a court requires any other Contributor to pay any damages as a result, the Commercial Contributor must pay those damages.

5. NO WARRANTY EXCEPT AS EXPRESSLY SET FORTH IN THIS AGREEMENT, AND TO THE EXTENT PERMITTED BY APPLICABLE LAW, THE PROGRAM IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED INCLUDING, WITHOUT LIMITATION, ANY WARRANTIES OR CONDITIONS OF TITLE, NON-INFRINGEMENT, MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. Each Recipient is solely responsible for determining the appropriateness of using and distributing the Program and assumes all risks associated with its exercise of rights under this Agreement, including but not limited to the risks and costs of program errors, compliance with applicable laws, damage to or loss of data, programs or equipment, and unavailability or interruption of operations.

6. DISCLAIMER OF LIABILITY EXCEPT AS EXPRESSLY SET FORTH IN THIS AGREEMENT, AND TO THE EXTENT PERMITTED BY APPLICABLE LAW, NEITHER RECIPIENT NOR ANY CONTRIBUTORS SHALL HAVE ANY LIABILITY FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING WITHOUT LIMITATION LOST PROFITS), HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OR DISTRIBUTION OF THE PROGRAM OR THE EXERCISE OF ANY RIGHTS GRANTED HEREUNDER, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGES.

7. GENERAL If any provision of this Agreement is invalid or unenforceable under applicable law, it shall not affect the validity or enforceability of the remainder of the terms of this Agreement, and without further action by the parties hereto, such provision shall be reformed to the minimum extent necessary to make such provision valid and enforceable.

If Recipient institutes patent litigation against any entity (including a cross-claim or counterclaim in a lawsuit) alleging that the Program itself (excluding combinations of the Program with other software or hardware) infringes such Recipient's patent(s), then such Recipient's rights granted under Section 2(b) shall terminate as of the date such litigation is filed.

All Recipient's rights under this Agreement shall terminate if it fails to comply with any of the material terms or conditions of this Agreement and does not cure such failure in a reasonable period of time after becoming aware of such noncompliance. If all Recipient's rights under this Agreement terminate, Recipient agrees to cease use and distribution of the Program as soon as reasonably practicable. However, Recipient's obligations under this Agreement and any licenses granted by Recipient relating to the Program shall continue and survive.

Everyone is permitted to copy and distribute copies of this Agreement, but in order to avoid inconsistency the Agreement is copyrighted and may only be modified in the following manner. The Agreement Steward reserves the right to publish new versions (including revisions) of this Agreement from time to time. No one other than the Agreement Steward has the right to modify this Agreement. The Eclipse Foundation is the initial Agreement Steward. The Eclipse Foundation may assign the responsibility to serve as the Agreement Steward to a suitable separate entity. Each new version of the Agreement will be given a distinguishing version number. The Program (including Contributions) may always be Distributed subject to the version of the Agreement under which it was received. In addition, after a new version of the Agreement is published, Contributor may elect to Distribute the Program (including its Contributions) under the new version.

Except as expressly stated in Sections 2(a) and 2(b) above, Recipient receives no rights or licenses to the intellectual property of any Contributor under this Agreement, whether expressly, by implication, estoppel or otherwise. All rights in the Program not expressly granted under this Agreement are reserved. Nothing in this Agreement is intended to be enforceable by any entity that is not a Contributor or Recipient. No third-party beneficiary rights are created under this Agreement.

Exhibit A – Form of Secondary Licenses Notice "This Source Code may also be made available under the following Secondary Licenses when the conditions for such availability set forth in the Eclipse Public License, v. 2.0 are satisfied: {name license(s), version(s), and exceptions or additional permissions here}."

Simply including a copy of this Agreement, including this Exhibit A is not sufficient to license the Source Code under Secondary Licenses.

If it is not possible or desirable to put the notice in a particular file, then You may include the notice in a location (such as a LICENSE file in a relevant directory) where a recipient would be likely to look for such a notice.

You may add additional accurate notices of copyright ownership.

GNU Classpath

Classpath is distributed under the terms of the GNU General Public License with the following clarification and special exception.

Linking this library statically or dynamically with other modules is making a combined work based on this library. Thus, the terms and conditions of the GNU General Public License cover the whole combination.

As a special exception, the copyright holders of this library give you permission to link this library with independent modules to produce an executable, regardless of the license terms of these independent modules, and to copy and distribute the resulting executable under terms of your choice, provided that you also meet, for each linked independent module, the terms and conditions of the license of that module. An independent module is a module which is not derived from or based on this library. If you modify this library, you may extend this exception to your version of the library, but you are not obligated to do so. If you do not wish to do so, delete this exception statement from your version.

As such, it can be used to run, create and distribute a large class of applications and applets. When GNU Classpath is used unmodified as the core class library for a virtual machine, compiler for the java languge, or for a program written in the java programming language it does not affect the licensing for distributing those programs directly.

OpenJDK Assembly Exception

The OpenJDK source code made available by Oracle America, Inc. (Oracle) at openjdk.java.net ("OpenJDK Code") is distributed under the terms of the GNU General Public License <http://www.gnu.org/copyleft/gpl.html> version 2 only ("GPL2"), with the following clarification and special exception.

Linking this OpenJDK Code statically or dynamically with other code is making a combined work based on this library. Thus, the terms and conditions of GPL2 cover the whole combination.

As a special exception, Oracle gives you permission to link this OpenJDK Code with certain code licensed by Oracle as indicated at http://openjdk.java.net/legal/exception-modules-2007-05-08.html ("Designated Exception Modules") to produce an executable, regardless of the license terms of the Designated Exception Modules, and to copy and distribute the resulting executable under GPL2, provided that the Designated Exception Modules continue to be governed by the licenses under which they were offered by Oracle.

As such, it allows licensees and sublicensees of Oracle's GPL2 OpenJDK Code to build an executable that includes those portions of necessary code that Oracle could not provide under GPL2 (or that Oracle has provided under GPL2 with the Classpath exception). If you modify or add to the OpenJDK code, that new GPL2 code may still be combined with Designated Exception Modules if the new code is made subject to this exception by its copyright holder.

Copyright (c) 2026 CData Software, Inc. - All rights reserved.
Build 26.0.9655