Using the Connector
This section provides a walk-through for writing Google Ad Manager 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 Ad Manager, see Package Installation and Establishing a Connection.For information on how to connect with the googleadsmanager.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. For information on to modify the data in Google Ad Manager with INSERT, UPDATE, and DELETE statements, see Modifying Data .