Google Ads
Node: googleAds · Full type: n8n-nodes-base.googleAds · Version: 1
Credentials
googleAdsOAuth2Api (alias: @google)
CREDENTIAL @google = googleAdsOAuth2Api "My Google Ads"
Operations
Resource: campaign
getAll
| Parameter |
Type |
Default |
Details |
additionalOptions |
collection |
{} |
keys: dateRange, campaignStatus |
get
| Parameter |
Type |
Default |
Details |
campaignId |
string |
"" |
required |
Common Parameters
| Parameter |
Type |
Default |
Details |
managerCustomerId |
string |
"" |
required |
clientCustomerId |
string |
"" |
required |
requestOptions |
collection |
{} |
keys: batching, allowUnauthorizedCerts, proxy, timeout |
Parameter Details
additionalOptions children:
| Parameter |
Type |
Default |
Details |
dateRange |
options |
"allTime" |
allTime, TODAY, YESTERDAY, LAST_7_DAYS, LAST_BUSINESS_WEEK, THIS_MONTH, LAST_MONTH, LAST_14_DAYS, ... (9 total) |
campaignStatus |
options |
"all" |
all, ENABLED, PAUSED, REMOVED |
requestOptions children:
| Parameter |
Type |
Default |
Details |
batching |
fixedCollection |
{...} |
groups: batch |
allowUnauthorizedCerts |
boolean |
false |
|
proxy |
string |
"" |
|
timeout |
number |
10000 |
|
Example
NODE "googleAds" @google AS "Google Ads" {
resource: "campaign",
operation: "get",
managerCustomerId: {{ $json.managerCustomerId }},
clientCustomerId: {{ $json.clientCustomerId }},
campaignId: {{ $json.campaignId }}
}