Google Ads Connector
Documentation
Version: 1
Documentation

EndPoint Get Resource Segments (For GAQL)


Name

get_resource_segments

Description

Get segments (Group By Fields) for all or selected resource using GAQL [API reference]

Parameters

Parameter Label Required Options Description
Resource Resource YES
CustomerId CustomerId (without dash e.g. 2125557752) NO Login to your Google Ads account and see top-right corner for your CustomerId

Output Columns

Label Data Type (SSIS) Data Type (SQL) Length Raw Description
Name DT_WSTR nvarchar(4000) 4000 False
ResourceName DT_WSTR nvarchar(4000) 4000 False

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 Segments (For GAQL) using API Source

Google Ads
Get Resource Segments (For GAQL)
SSIS API Source - Read from table or endpoint

Get Resource Segments (For GAQL) using API Destination

Google Ads
Get Resource Segments (For GAQL)
SSIS API Destination - Access table or endpoint