Endpoint Get Customers
Name
get_customers
Description
Get Google Ads customer data [API reference]
Parameters
Parameter | Required | Options |
---|---|---|
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 |
---|---|---|---|---|
Id |
DT_WSTR
|
nvarchar(50)
|
50 | |
DescriptiveName |
DT_WSTR
|
nvarchar(500)
|
500 | |
Status |
DT_WSTR
|
nvarchar(100)
|
100 | |
Manager |
DT_BOOL
|
bit
|
||
TestAccount |
DT_BOOL
|
bit
|
||
ResourceName |
DT_WSTR
|
nvarchar(500)
|
500 | |
CallReportingSettingCallReportingEnabled |
DT_BOOL
|
bit
|
||
CallReportingSettingCallConversionReportingEnabled |
DT_BOOL
|
bit
|
||
CallReportingSettingCallConversionAction |
DT_WSTR
|
nvarchar(500)
|
500 | |
ConversionTrackingSettingConversionTrackingId |
DT_WSTR
|
nvarchar(100)
|
100 | |
ConversionTrackingSettingAcceptedCustomerDataTerms |
DT_BOOL
|
bit
|
||
ConversionTrackingSettingConversionTrackingStatus |
DT_WSTR
|
nvarchar(500)
|
500 | |
ConversionTrackingSettingGoogleAdsConversionCustomer |
DT_WSTR
|
nvarchar(500)
|
500 | |
RemarketingSettingGoogleGlobalSiteTag |
DT_WSTR
|
nvarchar(4000)
|
4000 | |
PayPerConversionEligibilityFailureReasons |
DT_WSTR
|
nvarchar(500)
|
500 | |
CurrencyCode |
DT_WSTR
|
nvarchar(50)
|
50 | |
TimeZone |
DT_WSTR
|
nvarchar(500)
|
500 | |
TrackingUrlTemplate |
DT_WSTR
|
nvarchar(1080)
|
1080 | |
AutoTaggingEnabled |
DT_BOOL
|
bit
|
||
HasPartnersBadge |
DT_BOOL
|
bit
|
||
OptimizationScore |
DT_R8
|
float
|
||
OptimizationScoreWeight |
DT_R8
|
float
|
||
LocationAssetAutoMigrationDone |
DT_BOOL
|
bit
|
||
ImageAssetAutoMigrationDone |
DT_BOOL
|
bit
|
||
LocationAssetAutoMigrationDoneDateTime |
DT_DBTIMESTAMP
|
datetime
|
||
ImageAssetAutoMigrationDoneDateTime |
DT_DBTIMESTAMP
|
datetime
|
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 Customers
There are no parameters to configure. |

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 Customers
There are no parameters to configure. |

ODBC application
Use these SQL queries in your ODBC application data source:
Get Customers
Get all customers you can query in your account
SELECT * FROM get_customers
--OR--
--select * from get_resource_data WITH(Resource='Customer') --This is slight FASTER
SQL Server
Use these SQL queries in SQL Server after you create a data source in Data Gateway:
Get Customers
Get all customers you can query in your account
DECLARE @MyQuery NVARCHAR(MAX) = 'SELECT * FROM get_customers
--OR--
--select * from get_resource_data WITH(Resource=''Customer'') --This is slight FASTER';
EXEC (@MyQuery) AT [LS_TO_GOOGLE_ADS_IN_GATEWAY];