Get Resource Attributes (For GAQL)
Name
get_resource_attributes
Description
Get attributes you can query (for all or selected resource) using GAQL [API reference]
Parameters
Output Columns
Label | Data Type (SSIS) | Data Type (SQL) | Length | Raw | Description |
---|---|---|---|---|---|
Name |
DT_WSTR
|
nvarchar(4000)
|
4000 | False |
|
Category |
DT_WSTR
|
nvarchar(4000)
|
4000 | False |
|
DataType |
DT_WSTR
|
nvarchar(4000)
|
4000 | False |
|
ResourceName |
DT_WSTR
|
nvarchar(4000)
|
4000 | False |
If the column you are looking for is missing, consider customizing Google Ads Connector.
Input Columns
Label | Data Type (SSIS) | Data Type (SQL) | Length | Raw | Description | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
There are no Static columns defined for this endpoint. This endpoint detects columns dynamically at runtime. |
Examples
SSIS
Use Google Ads Connector in API Source component to read data or in API Destination component to read/write data:
Get Resource Attributes (For GAQL) using API Source
Google Ads
Get Resource Attributes (For GAQL)

Get Resource Attributes (For GAQL) using API Destination
Google Ads
Get Resource Attributes (For GAQL)

ODBC application
Use these SQL queries in your ODBC application data source:
Get resource attributes
SELECT * FROM get_resource_attributes
WITH
(
"Resource" = 'Campaign'
)
SQL Server
Use these SQL queries in SQL Server after you create a data source in Data Gateway:
Get resource attributes
DECLARE @MyQuery NVARCHAR(MAX) = 'SELECT * FROM get_resource_attributes
WITH
(
"Resource" = ''Campaign''
)';
EXEC (@MyQuery) AT [LS_TO_GOOGLE_ADS_IN_GATEWAY];