diff --git a/src/configurations/destinations/googleads/db-config.json b/src/configurations/destinations/googleads/db-config.json index d57465495..4b2117247 100644 --- a/src/configurations/destinations/googleads/db-config.json +++ b/src/configurations/destinations/googleads/db-config.json @@ -5,6 +5,7 @@ "transformAtV1": "processor", "saveDestinationResponse": false, "includeKeys": [ + "v2", "conversionID", "eventMappingFromConfig", "pageLoadConversions", @@ -39,6 +40,7 @@ }, "destConfig": { "defaultConfig": [ + "v2", "conversionID", "eventMappingFromConfig", "pageLoadConversions", diff --git a/src/configurations/destinations/googleads/schema.json b/src/configurations/destinations/googleads/schema.json index 6b457c3a6..b1c8c9345 100644 --- a/src/configurations/destinations/googleads/schema.json +++ b/src/configurations/destinations/googleads/schema.json @@ -4,6 +4,10 @@ "required": ["conversionID"], "type": "object", "properties": { + "v2": { + "type": "boolean", + "default": true + }, "conversionID": { "type": "string", "pattern": "(^\\{\\{.*\\|\\|(.*)\\}\\}$)|(^env[.].+)|^AW-(.{0,100})$" diff --git a/src/configurations/destinations/googleads/ui-config.json b/src/configurations/destinations/googleads/ui-config.json index 2cac6390d..18cbbfe34 100644 --- a/src/configurations/destinations/googleads/ui-config.json +++ b/src/configurations/destinations/googleads/ui-config.json @@ -3,6 +3,16 @@ { "title": "Connection Settings", "fields": [ + { + "type": "checkbox", + "label": "Ecommerce event spec support for track events", + "value": "v2", + "default": true, + "footerURL": { + "link": "https://www.rudderstack.com/docs/event-spec/ecommerce-events-spec", + "text": "If enabled, track events follow the RudderStack ecommerce spec" + } + }, { "type": "textInput", "label": "Conversion ID",