Skip to main content

Google Ads

Source code Package Browser ES5

Google Ads is Google's comprehensive advertising platform. The walker.js Google Ads destination enables seamless integration of your web application with Google Ads.

Installation

Install the destination via npm

npm i @elbwalker/destination-web-google-ads
import { elb } from '@elbwalker/walker.js';
import destinationGoogleAds from '@elbwalker/destination-web-google-ads';

elb('walker destination', destinationGoogleAds, config);

Configuration

Configure the Google Ads destination with a Conversion ID and Conversion label.

Example

const config = {
custom: {
conversionId: 'AW-123456789', // Required
currency: 'EUR',
defaultValue: 1,
},
mapping: {
// e.g. order
entity: {
// e.g. complete
action: {
custom: {
label: 'abc', // Required
id: 'order_id',
value: 'revenue',
},
},
},
},
};

Custom

PropertyTypeDescription
conversionId*stringGoogle Ads conversion ID, starting with 'AW-'' .
currencystringDefault currency for conversions.
defaultValuenumberDefault value used for conversions.

CustomEvent

For the custom event mapping (mapping.entity.action.custom):

PropertyTypeDescription
label*stringGoogle Ads Conversion label.
idstringProperty key to use as transaction ID.
valuestringName of the data property key to use for value.
info

If you need professional support with your walkerOS implementation, check out our services.