-
Notifications
You must be signed in to change notification settings - Fork 5
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: move google ads to new ui #1055
Closed
Closed
Changes from 18 commits
Commits
Show all changes
28 commits
Select commit
Hold shift + click to select a range
2c8ad03
feat: move google ads to new ui
mihir-4116 0afc474
Merge branch 'develop' into feat.google_ads_new_ui
mihir-4116 f15210b
Merge branch 'develop' into feat.google_ads_new_ui
mihir-4116 a8dcf89
Merge branch 'develop' into feat.google_ads_new_ui
mihir-4116 5dcdfca
Merge branch 'develop' into feat.google_ads_new_ui
mihir-4116 c97b7b8
chore: develop pull
mihir-4116 86971b8
chore: new ui improvements
mihir-4116 0a042ba
Merge branch 'develop' into feat.google_ads_new_ui
mihir-4116 c406d5e
chore: reverted deprecated flags
mihir-4116 37e13e3
Merge branch 'develop' into feat.google_ads_new_ui
mihir-4116 d812c4c
Merge branch 'develop' into feat.google_ads_new_ui
mihir-4116 d190f01
fix: improved field notes and added defaultConnectionModes
mihir-4116 891ab77
Merge branch 'develop' into feat.google_ads_new_ui
mihir-4116 c90461e
chore: code review changes
mihir-4116 b940178
chore: code review changes
mihir-4116 4410827
Merge branch 'develop' into feat.google_ads_new_ui
mihir-4116 7980f27
chore: pr conflicts resolved
mihir-4116 05055d6
chore: removed duplicate keys
mihir-4116 d9c7343
chore: pr conflicts resolved
mihir-4116 218776f
Merge branch 'develop' into feat.google_ads_new_ui
mihir-4116 e666b1a
Merge branch 'develop' into feat.google_ads_new_ui
mihir-4116 2991a11
Merge branch 'develop' into feat.google_ads_new_ui
mihir-4116 8cd139c
Merge branch 'develop' into feat.google_ads_new_ui
mihir-4116 0aadf6e
chore: pr conflicts resolved
mihir-4116 918b1e0
chore: pr conflicts resolved
mihir-4116 de03995
Merge branch 'develop' into feat.google_ads_new_ui
mihir-4116 64d9783
Merge branch 'develop' into feat.google_ads_new_ui
mihir-4116 9a4638a
Merge branch 'develop' into feat.google_ads_new_ui
mihir-4116 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -28,16 +28,38 @@ | |
"Checkout", | ||
"Search", | ||
"AddToCart", | ||
"purchase", | ||
"Purchase", | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Is the case-sensitivity handled in the backend ? There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. yes, as google ads expect it as |
||
"" | ||
] | ||
} | ||
} | ||
} | ||
}, | ||
"trackConversions": { "type": "boolean", "default": true }, | ||
"trackDynamicRemarketing": { "type": "boolean", "default": false }, | ||
"useNativeSDK": { "type": "object", "properties": { "web": { "type": "boolean" } } }, | ||
"trackConversions": { | ||
"type": "boolean", | ||
"default": true | ||
}, | ||
"trackDynamicRemarketing": { | ||
"type": "boolean", | ||
"default": false | ||
}, | ||
"useNativeSDK": { | ||
"type": "object", | ||
"properties": { | ||
"web": { | ||
"type": "boolean" | ||
} | ||
} | ||
}, | ||
"connectionMode": { | ||
"type": "object", | ||
"properties": { | ||
"web": { | ||
"type": "string", | ||
"enum": ["device"] | ||
} | ||
} | ||
}, | ||
"eventFilteringOption": { | ||
"type": "string", | ||
"enum": ["disable", "whitelistedEvents", "blacklistedEvents"], | ||
|
@@ -67,22 +89,6 @@ | |
} | ||
} | ||
}, | ||
"pageLoadConversions": { | ||
"type": "array", | ||
"items": { | ||
"type": "object", | ||
"properties": { | ||
"conversionLabel": { | ||
"type": "string", | ||
"pattern": "(^\\{\\{.*\\|\\|(.*)\\}\\}$)|(^env[.].+)|^(.{0,100})$" | ||
}, | ||
"name": { | ||
"type": "string", | ||
"pattern": "(^\\{\\{.*\\|\\|(.*)\\}\\}$)|(^env[.].+)|^(.{0,100})$" | ||
} | ||
} | ||
} | ||
}, | ||
"defaultPageConversion": { | ||
"type": "string", | ||
"pattern": "(^\\{\\{.*\\|\\|(.*)\\}\\}$)|(^env[.].+)|^(.{0,100})$" | ||
|
@@ -103,11 +109,26 @@ | |
} | ||
} | ||
}, | ||
"sendPageView": { "type": "boolean", "default": true }, | ||
"conversionLinker": { "type": "boolean", "default": true }, | ||
"disableAdPersonalization": { "type": "boolean", "default": false }, | ||
"enableConversionLabel": { "type": "boolean", "default": false }, | ||
"allowEnhancedConversions": { "type": "boolean", "default": false }, | ||
"sendPageView": { | ||
"type": "boolean", | ||
"default": true | ||
}, | ||
"conversionLinker": { | ||
"type": "boolean", | ||
"default": true | ||
}, | ||
"disableAdPersonalization": { | ||
"type": "boolean", | ||
"default": false | ||
}, | ||
"enableConversionLabel": { | ||
"type": "boolean", | ||
"default": false | ||
}, | ||
"allowEnhancedConversions": { | ||
"type": "boolean", | ||
"default": false | ||
}, | ||
"oneTrustCookieCategories": { | ||
"type": "array", | ||
"items": { | ||
|
@@ -124,22 +145,33 @@ | |
"allOf": [ | ||
{ | ||
"if": { | ||
"properties": { "trackConversions": { "const": true } }, | ||
"properties": { | ||
"trackConversions": { | ||
"const": true | ||
} | ||
}, | ||
"required": ["trackConversions"] | ||
}, | ||
"then": { | ||
"properties": { | ||
"enableConversionEventsFiltering": { "type": "boolean", "default": false } | ||
"enableConversionEventsFiltering": { | ||
"type": "boolean", | ||
"default": false | ||
} | ||
}, | ||
"required": [] | ||
} | ||
}, | ||
{ | ||
"if": { | ||
"properties": { | ||
"trackConversions": { "const": true }, | ||
"enableConversionEventsFiltering": { "const": true } | ||
"trackConversions": { | ||
"const": true | ||
}, | ||
"enableConversionEventsFiltering": { | ||
"const": true | ||
} | ||
}, | ||
"required": ["trackConversions", "enableConversionEventsFiltering"] | ||
}, | ||
"then": { | ||
|
@@ -162,22 +194,33 @@ | |
}, | ||
{ | ||
"if": { | ||
"properties": { "trackDynamicRemarketing": { "const": true } }, | ||
"properties": { | ||
"trackDynamicRemarketing": { | ||
"const": true | ||
} | ||
}, | ||
"required": ["trackDynamicRemarketing"] | ||
}, | ||
"then": { | ||
"properties": { | ||
"enableDynamicRemarketingEventsFiltering": { "type": "boolean", "default": false } | ||
"enableDynamicRemarketingEventsFiltering": { | ||
"type": "boolean", | ||
"default": false | ||
} | ||
}, | ||
"required": [] | ||
} | ||
}, | ||
{ | ||
"if": { | ||
"properties": { | ||
"trackDynamicRemarketing": { "const": true }, | ||
"enableDynamicRemarketingEventsFiltering": { "const": true } | ||
"trackDynamicRemarketing": { | ||
"const": true | ||
}, | ||
"enableDynamicRemarketingEventsFiltering": { | ||
"const": true | ||
} | ||
}, | ||
"required": ["trackDynamicRemarketing", "enableDynamicRemarketingEventsFiltering"] | ||
}, | ||
"then": { | ||
|
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is there no functional impact by removal of
pageLoadConversions
&dynamicRemarketing
?There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
yes, these fields are not used anywhere in SDK. it's redundant to keep it
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
did you check if any destination is using by querying DB?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Added this flags back as older SDK versions might be using these flags
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
If these are present in destination config, they continue to get sent via sourceConfig API & based on SDK, they get used. But they can't be updated. Right ?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
we can remove it but for that we need migration script.