Endpoint Get Campaign Keywords
Name
get_campaign_keywords
Description
Get Campaign Keywords (For all AdGroup) [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 |
---|---|---|---|---|
CampaignId |
DT_WSTR
|
nvarchar(30)
|
30 | |
CampaignName |
DT_WSTR
|
nvarchar(500)
|
500 | |
CampaignResourceName |
DT_WSTR
|
nvarchar(500)
|
500 | |
CampaignStatus |
DT_WSTR
|
nvarchar(50)
|
50 | |
AdGroupId |
DT_WSTR
|
nvarchar(30)
|
30 | |
AdGroupName |
DT_WSTR
|
nvarchar(500)
|
500 | |
AdGroupResourceName |
DT_WSTR
|
nvarchar(500)
|
500 | |
AdGroupStatus |
DT_WSTR
|
nvarchar(50)
|
50 | |
CriterionId |
DT_WSTR
|
nvarchar(30)
|
30 | This is Keyword Id |
CriterionStatus |
DT_WSTR
|
nvarchar(30)
|
30 | |
CriterionApprovalStatus |
DT_WSTR
|
nvarchar(30)
|
30 | |
CriterionResourceName |
DT_WSTR
|
nvarchar(500)
|
500 | |
CriterionFinalUrls |
DT_WSTR
|
nvarchar(2000)
|
2000 | |
CriterionFinalMobileUrls |
DT_WSTR
|
nvarchar(2000)
|
2000 | |
KeywordText |
DT_WSTR
|
nvarchar(500)
|
500 | |
KeywordMatchType |
DT_WSTR
|
nvarchar(100)
|
100 | |
KeywordCpcBid |
DT_R8
|
float
|
||
KeywordCpcBidMicros |
DT_I8
|
bigint
|
||
KeywordCpmBid |
DT_R8
|
float
|
||
KeywordCpmBidMicros |
DT_I8
|
bigint
|
||
KeywordResourceName |
DT_WSTR
|
nvarchar(1000)
|
1000 |
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 Campaign Keywords
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 Campaign Keywords
There are no parameters to configure. |

ODBC application
Use these SQL queries in your ODBC application data source:
Get keywords information (all campaigns / ad groups)
Get keywords for all campaigns and all ad groups (criterion_id is basically keyword_id)
select * from get_campaign_keywords
SQL Server
Use these SQL queries in SQL Server after you create a data source in Data Gateway:
Get keywords information (all campaigns / ad groups)
Get keywords for all campaigns and all ad groups (criterion_id is basically keyword_id)
DECLARE @MyQuery NVARCHAR(MAX) = 'select * from get_campaign_keywords';
EXEC (@MyQuery) AT [LS_TO_GOOGLE_ADS_IN_GATEWAY];