Endpoint 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
Parameter | Required | Options |
---|---|---|
Name:
Label: Resource |
YES | |
Name:
Label: CustomerId (without dash e.g. 2125557752) Login to your Google Ads account and see top-right corner for your CustomerId |
Output Columns
Label | Data Type (SSIS) | Data Type (SQL) | Length | Description |
---|---|---|---|---|
Name |
DT_WSTR
|
nvarchar(4000)
|
4000 | |
Category |
DT_WSTR
|
nvarchar(4000)
|
4000 | |
DataType |
DT_WSTR
|
nvarchar(4000)
|
4000 | |
ResourceName |
DT_WSTR
|
nvarchar(4000)
|
4000 | |
NameForResponse |
DT_WSTR
|
nvarchar(4000)
|
4000 | Search API Response uses Google ProtoBuf format for naming so this is useful for that |
If the column you are looking for is missing, consider customizing Google Ads Connector.
Input Columns
Label | Data Type (SSIS) | Data Type (SQL) | Length | 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 or in API Destination SSIS Data Flow components to read or write data.
API Source
API Source - Google Ads
Read / write Google Ads data inside your app (e.g. Campaigns, Ad Groups, Keywords, Spending, Performance); perform many Google Ads operations without coding, just using easy to use high performance API Connector for Google Ads
Google Ads
Get Resource Attributes (For GAQL)
Required Parameters | |
---|---|
Resource | Fill-in the parameter... |

API Destination
API Destination - Google Ads
Read / write Google Ads data inside your app (e.g. Campaigns, Ad Groups, Keywords, Spending, Performance); perform many Google Ads operations without coding, just using easy to use high performance API Connector for Google Ads
Google Ads
Get Resource Attributes (For GAQL)
Required Parameters | |
---|---|
Resource | Fill-in the parameter... |

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];