Skip to content
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

167 add geo targeting criteria country city #334

Merged
merged 14 commits into from
Feb 15, 2024

Conversation

rjambrecic
Copy link
Collaborator

No description provided.

@rjambrecic rjambrecic merged commit aa7155a into dev Feb 15, 2024
5 checks passed
@rjambrecic rjambrecic deleted the 167-add-geo-targeting-criteria-country-city branch February 15, 2024 13:02
@rjambrecic rjambrecic linked an issue Feb 15, 2024 that may be closed by this pull request
rjambrecic added a commit that referenced this pull request Feb 16, 2024
* Add staging docker build and deployment (#289)

* Deploy in dev to staging

* Experiment with if else

* Fix CI secrets

* Cleanup unnecessary stuff

* 286 add an end point for triggering daily analysis emails and add quality score to daily analysis (#295)

* Implement daily-analysis endpoint

* Add quality score to daily analysis

* Add currency next to the cost per click (#298)

* Add currency next to the cost per click

---------

Co-authored-by: Kumaran Rajendhiran <kumaran@airt.ai>

* Merge to dev (#301)

* Dev (#294)

* Add staging docker build and deployment (#289)

* Deploy in dev to staging

* Experiment with if else

* Fix CI secrets

* Cleanup unnecessary stuff

* Dev (#296)

* Add staging docker build and deployment (#289)

* Deploy in dev to staging

* Experiment with if else

* Fix CI secrets

* Cleanup unnecessary stuff

* 286 add an end point for triggering daily analysis emails and add quality score to daily analysis (#295)

* Implement daily-analysis endpoint

* Add quality score to daily analysis

---------

Co-authored-by: Kumaran Rajendhiran <kumaran@airt.ai>

* Merge to main (#300)

* Add currency next to the cost per click

---------

Co-authored-by: Kumaran Rajendhiran <kumaran@airt.ai>

---------

Co-authored-by: Kumaran Rajendhiran <kumaran@airt.ai>

* Add redirect domain

* Quick fix for metrics cannot be requested for a manager account - skip manager account in the daily analysis for now (#308)

* Merge main to dev (#311)

* Dev (#303)

* Add staging docker build and deployment (#289)

* Deploy in dev to staging

* Experiment with if else

* Fix CI secrets

* Cleanup unnecessary stuff

* 286 add an end point for triggering daily analysis emails and add quality score to daily analysis (#295)

* Implement daily-analysis endpoint

* Add quality score to daily analysis

* Add currency next to the cost per click (#298)

* Add currency next to the cost per click

---------

Co-authored-by: Kumaran Rajendhiran <kumaran@airt.ai>

* Merge to dev (#301)

* Dev (#294)

* Add staging docker build and deployment (#289)

* Deploy in dev to staging

* Experiment with if else

* Fix CI secrets

* Cleanup unnecessary stuff

* Dev (#296)

* Add staging docker build and deployment (#289)

* Deploy in dev to staging

* Experiment with if else

* Fix CI secrets

* Cleanup unnecessary stuff

* 286 add an end point for triggering daily analysis emails and add quality score to daily analysis (#295)

* Implement daily-analysis endpoint

* Add quality score to daily analysis

---------

Co-authored-by: Kumaran Rajendhiran <kumaran@airt.ai>

* Merge to main (#300)

* Add currency next to the cost per click

---------

Co-authored-by: Kumaran Rajendhiran <kumaran@airt.ai>

---------

Co-authored-by: Kumaran Rajendhiran <kumaran@airt.ai>

* Add redirect domain

---------

Co-authored-by: rjambrecic <32619626+rjambrecic@users.noreply.github.com>

* 305 metrics cannot be requested for a manager account (#307)

* Add staging docker build and deployment (#289)

* Deploy in dev to staging

* Experiment with if else

* Fix CI secrets

* Cleanup unnecessary stuff

* 286 add an end point for triggering daily analysis emails and add quality score to daily analysis (#295)

* Implement daily-analysis endpoint

* Add quality score to daily analysis

* Add currency next to the cost per click (#298)

* Add currency next to the cost per click

---------

Co-authored-by: Kumaran Rajendhiran <kumaran@airt.ai>

* Merge to dev (#301)

* Dev (#294)

* Add staging docker build and deployment (#289)

* Deploy in dev to staging

* Experiment with if else

* Fix CI secrets

* Cleanup unnecessary stuff

* Dev (#296)

* Add staging docker build and deployment (#289)

* Deploy in dev to staging

* Experiment with if else

* Fix CI secrets

* Cleanup unnecessary stuff

* 286 add an end point for triggering daily analysis emails and add quality score to daily analysis (#295)

* Implement daily-analysis endpoint

* Add quality score to daily analysis

---------

Co-authored-by: Kumaran Rajendhiran <kumaran@airt.ai>

* Merge to main (#300)

* Add currency next to the cost per click

---------

Co-authored-by: Kumaran Rajendhiran <kumaran@airt.ai>

---------

Co-authored-by: Kumaran Rajendhiran <kumaran@airt.ai>

* Add redirect domain

* Quick fix for metrics cannot be requested for a manager account - skip manager account in the daily analysis for now

---------

Co-authored-by: Kumaran Rajendhiran <kumaran@airt.ai>

* Allow only dev to merge into main (#313)

* 247 use display path1 and path2 attributes when creating-updating ad (#315)

* Add connect_timeout parameter to database url

* Add display path1 and path2 fields to Ads

* Fix daily analysis prompt (#316)

* Create chat with login url as a first message if the user didn't give the permission before the daily analysis (#317)

* Send chat exception to frontend (#319)

* Cleanup env variables (#318)

* Remove litellm variables

* Use function to check missing bash variable

* Optimize ssh commands

* Fix HTML message displayed in the frontend (#320)

* Send daily analysis only to people who have already grant us the Google Ads permission (#323)

* Add separate secret variables for azure openai credentials (#324)

* Fix typo in sweden

* Add separate secret variables for azure openai creds

* Remove unnecessary variable

* Regenerate gads credentials if they are not valid (#327)

* Delete users google ads credentials only when RefreshError happens (#330)

* Create email html template (#333)

* WIP

* WIP: add email template

* WIP: add email template

* WIP: add email template

* Add email HTML templates

* Add proposed actions to email template

* 167 add geo targeting criteria country city (#334)

* Implement add_geo_targeting_to_campaign endpoint

* Integrate create_geo_targeting_for_campaign to the Google ads team

* Update tests for geo targeting

* Fix execute_query exception message when gads authentication error happens

* Update prompts for gads geo targeting

* Remove unnecessary env variable (#336)

* 332 integrate html email template (#337)

* Update html template

* Fix broken html template

* Integrate email template for Daily analysis

* Execute daily analysis for everyone when send_only_to_emails parameter is None

---------

Co-authored-by: Harish Mohan Raj <harish@airt.ai>

* Add templates directory inside the Dockerfile (#339)

---------

Co-authored-by: Kumaran Rajendhiran <kumaran@airt.ai>
Co-authored-by: Harish Mohan Raj <harish@airt.ai>
rjambrecic added a commit that referenced this pull request Feb 19, 2024
* Dev (#338)

* Add staging docker build and deployment (#289)

* Deploy in dev to staging

* Experiment with if else

* Fix CI secrets

* Cleanup unnecessary stuff

* 286 add an end point for triggering daily analysis emails and add quality score to daily analysis (#295)

* Implement daily-analysis endpoint

* Add quality score to daily analysis

* Add currency next to the cost per click (#298)

* Add currency next to the cost per click

---------

Co-authored-by: Kumaran Rajendhiran <kumaran@airt.ai>

* Merge to dev (#301)

* Dev (#294)

* Add staging docker build and deployment (#289)

* Deploy in dev to staging

* Experiment with if else

* Fix CI secrets

* Cleanup unnecessary stuff

* Dev (#296)

* Add staging docker build and deployment (#289)

* Deploy in dev to staging

* Experiment with if else

* Fix CI secrets

* Cleanup unnecessary stuff

* 286 add an end point for triggering daily analysis emails and add quality score to daily analysis (#295)

* Implement daily-analysis endpoint

* Add quality score to daily analysis

---------

Co-authored-by: Kumaran Rajendhiran <kumaran@airt.ai>

* Merge to main (#300)

* Add currency next to the cost per click

---------

Co-authored-by: Kumaran Rajendhiran <kumaran@airt.ai>

---------

Co-authored-by: Kumaran Rajendhiran <kumaran@airt.ai>

* Add redirect domain

* Quick fix for metrics cannot be requested for a manager account - skip manager account in the daily analysis for now (#308)

* Merge main to dev (#311)

* Dev (#303)

* Add staging docker build and deployment (#289)

* Deploy in dev to staging

* Experiment with if else

* Fix CI secrets

* Cleanup unnecessary stuff

* 286 add an end point for triggering daily analysis emails and add quality score to daily analysis (#295)

* Implement daily-analysis endpoint

* Add quality score to daily analysis

* Add currency next to the cost per click (#298)

* Add currency next to the cost per click

---------

Co-authored-by: Kumaran Rajendhiran <kumaran@airt.ai>

* Merge to dev (#301)

* Dev (#294)

* Add staging docker build and deployment (#289)

* Deploy in dev to staging

* Experiment with if else

* Fix CI secrets

* Cleanup unnecessary stuff

* Dev (#296)

* Add staging docker build and deployment (#289)

* Deploy in dev to staging

* Experiment with if else

* Fix CI secrets

* Cleanup unnecessary stuff

* 286 add an end point for triggering daily analysis emails and add quality score to daily analysis (#295)

* Implement daily-analysis endpoint

* Add quality score to daily analysis

---------

Co-authored-by: Kumaran Rajendhiran <kumaran@airt.ai>

* Merge to main (#300)

* Add currency next to the cost per click

---------

Co-authored-by: Kumaran Rajendhiran <kumaran@airt.ai>

---------

Co-authored-by: Kumaran Rajendhiran <kumaran@airt.ai>

* Add redirect domain

---------

Co-authored-by: rjambrecic <32619626+rjambrecic@users.noreply.github.com>

* 305 metrics cannot be requested for a manager account (#307)

* Add staging docker build and deployment (#289)

* Deploy in dev to staging

* Experiment with if else

* Fix CI secrets

* Cleanup unnecessary stuff

* 286 add an end point for triggering daily analysis emails and add quality score to daily analysis (#295)

* Implement daily-analysis endpoint

* Add quality score to daily analysis

* Add currency next to the cost per click (#298)

* Add currency next to the cost per click

---------

Co-authored-by: Kumaran Rajendhiran <kumaran@airt.ai>

* Merge to dev (#301)

* Dev (#294)

* Add staging docker build and deployment (#289)

* Deploy in dev to staging

* Experiment with if else

* Fix CI secrets

* Cleanup unnecessary stuff

* Dev (#296)

* Add staging docker build and deployment (#289)

* Deploy in dev to staging

* Experiment with if else

* Fix CI secrets

* Cleanup unnecessary stuff

* 286 add an end point for triggering daily analysis emails and add quality score to daily analysis (#295)

* Implement daily-analysis endpoint

* Add quality score to daily analysis

---------

Co-authored-by: Kumaran Rajendhiran <kumaran@airt.ai>

* Merge to main (#300)

* Add currency next to the cost per click

---------

Co-authored-by: Kumaran Rajendhiran <kumaran@airt.ai>

---------

Co-authored-by: Kumaran Rajendhiran <kumaran@airt.ai>

* Add redirect domain

* Quick fix for metrics cannot be requested for a manager account - skip manager account in the daily analysis for now

---------

Co-authored-by: Kumaran Rajendhiran <kumaran@airt.ai>

* Allow only dev to merge into main (#313)

* 247 use display path1 and path2 attributes when creating-updating ad (#315)

* Add connect_timeout parameter to database url

* Add display path1 and path2 fields to Ads

* Fix daily analysis prompt (#316)

* Create chat with login url as a first message if the user didn't give the permission before the daily analysis (#317)

* Send chat exception to frontend (#319)

* Cleanup env variables (#318)

* Remove litellm variables

* Use function to check missing bash variable

* Optimize ssh commands

* Fix HTML message displayed in the frontend (#320)

* Send daily analysis only to people who have already grant us the Google Ads permission (#323)

* Add separate secret variables for azure openai credentials (#324)

* Fix typo in sweden

* Add separate secret variables for azure openai creds

* Remove unnecessary variable

* Regenerate gads credentials if they are not valid (#327)

* Delete users google ads credentials only when RefreshError happens (#330)

* Create email html template (#333)

* WIP

* WIP: add email template

* WIP: add email template

* WIP: add email template

* Add email HTML templates

* Add proposed actions to email template

* 167 add geo targeting criteria country city (#334)

* Implement add_geo_targeting_to_campaign endpoint

* Integrate create_geo_targeting_for_campaign to the Google ads team

* Update tests for geo targeting

* Fix execute_query exception message when gads authentication error happens

* Update prompts for gads geo targeting

* Remove unnecessary env variable (#336)

* 332 integrate html email template (#337)

* Update html template

* Fix broken html template

* Integrate email template for Daily analysis

* Execute daily analysis for everyone when send_only_to_emails parameter is None

---------

Co-authored-by: Harish Mohan Raj <harish@airt.ai>

* Add templates directory inside the Dockerfile (#339)

---------

Co-authored-by: Kumaran Rajendhiran <kumaran@airt.ai>
Co-authored-by: Harish Mohan Raj <harish@airt.ai>

* Handle azure openai 400 error in teams conversation

---------

Co-authored-by: Kumaran Rajendhiran <kumaran@airt.ai>
Co-authored-by: Harish Mohan Raj <harish@airt.ai>
rjambrecic added a commit that referenced this pull request Feb 19, 2024
* Add staging docker build and deployment (#289)

* Deploy in dev to staging

* Experiment with if else

* Fix CI secrets

* Cleanup unnecessary stuff

* 286 add an end point for triggering daily analysis emails and add quality score to daily analysis (#295)

* Implement daily-analysis endpoint

* Add quality score to daily analysis

* Add currency next to the cost per click (#298)

* Add currency next to the cost per click

---------



* Merge to dev (#301)

* Dev (#294)

* Add staging docker build and deployment (#289)

* Deploy in dev to staging

* Experiment with if else

* Fix CI secrets

* Cleanup unnecessary stuff

* Dev (#296)

* Add staging docker build and deployment (#289)

* Deploy in dev to staging

* Experiment with if else

* Fix CI secrets

* Cleanup unnecessary stuff

* 286 add an end point for triggering daily analysis emails and add quality score to daily analysis (#295)

* Implement daily-analysis endpoint

* Add quality score to daily analysis

---------



* Merge to main (#300)

* Add currency next to the cost per click

---------



---------



* Add redirect domain

* Quick fix for metrics cannot be requested for a manager account - skip manager account in the daily analysis for now (#308)

* Merge main to dev (#311)

* Dev (#303)

* Add staging docker build and deployment (#289)

* Deploy in dev to staging

* Experiment with if else

* Fix CI secrets

* Cleanup unnecessary stuff

* 286 add an end point for triggering daily analysis emails and add quality score to daily analysis (#295)

* Implement daily-analysis endpoint

* Add quality score to daily analysis

* Add currency next to the cost per click (#298)

* Add currency next to the cost per click

---------



* Merge to dev (#301)

* Dev (#294)

* Add staging docker build and deployment (#289)

* Deploy in dev to staging

* Experiment with if else

* Fix CI secrets

* Cleanup unnecessary stuff

* Dev (#296)

* Add staging docker build and deployment (#289)

* Deploy in dev to staging

* Experiment with if else

* Fix CI secrets

* Cleanup unnecessary stuff

* 286 add an end point for triggering daily analysis emails and add quality score to daily analysis (#295)

* Implement daily-analysis endpoint

* Add quality score to daily analysis

---------



* Merge to main (#300)

* Add currency next to the cost per click

---------



---------



* Add redirect domain

---------



* 305 metrics cannot be requested for a manager account (#307)

* Add staging docker build and deployment (#289)

* Deploy in dev to staging

* Experiment with if else

* Fix CI secrets

* Cleanup unnecessary stuff

* 286 add an end point for triggering daily analysis emails and add quality score to daily analysis (#295)

* Implement daily-analysis endpoint

* Add quality score to daily analysis

* Add currency next to the cost per click (#298)

* Add currency next to the cost per click

---------



* Merge to dev (#301)

* Dev (#294)

* Add staging docker build and deployment (#289)

* Deploy in dev to staging

* Experiment with if else

* Fix CI secrets

* Cleanup unnecessary stuff

* Dev (#296)

* Add staging docker build and deployment (#289)

* Deploy in dev to staging

* Experiment with if else

* Fix CI secrets

* Cleanup unnecessary stuff

* 286 add an end point for triggering daily analysis emails and add quality score to daily analysis (#295)

* Implement daily-analysis endpoint

* Add quality score to daily analysis

---------



* Merge to main (#300)

* Add currency next to the cost per click

---------



---------



* Add redirect domain

* Quick fix for metrics cannot be requested for a manager account - skip manager account in the daily analysis for now

---------



* Allow only dev to merge into main (#313)

* 247 use display path1 and path2 attributes when creating-updating ad (#315)

* Add connect_timeout parameter to database url

* Add display path1 and path2 fields to Ads

* Fix daily analysis prompt (#316)

* Create chat with login url as a first message if the user didn't give the permission before the daily analysis (#317)

* Send chat exception to frontend (#319)

* Cleanup env variables (#318)

* Remove litellm variables

* Use function to check missing bash variable

* Optimize ssh commands

* Fix HTML message displayed in the frontend (#320)

* Send daily analysis only to people who have already grant us the Google Ads permission (#323)

* Add separate secret variables for azure openai credentials (#324)

* Fix typo in sweden

* Add separate secret variables for azure openai creds

* Remove unnecessary variable

* Regenerate gads credentials if they are not valid (#327)

* Delete users google ads credentials only when RefreshError happens (#330)

* Create email html template (#333)

* WIP

* WIP: add email template

* WIP: add email template

* WIP: add email template

* Add email HTML templates

* Add proposed actions to email template

* 167 add geo targeting criteria country city (#334)

* Implement add_geo_targeting_to_campaign endpoint

* Integrate create_geo_targeting_for_campaign to the Google ads team

* Update tests for geo targeting

* Fix execute_query exception message when gads authentication error happens

* Update prompts for gads geo targeting

* Remove unnecessary env variable (#336)

* 332 integrate html email template (#337)

* Update html template

* Fix broken html template

* Integrate email template for Daily analysis

* Execute daily analysis for everyone when send_only_to_emails parameter is None

---------



* Add templates directory inside the Dockerfile (#339)

---------

Co-authored-by: Kumaran Rajendhiran <kumaran@airt.ai>
Co-authored-by: Harish Mohan Raj <harish@airt.ai>
rjambrecic added a commit that referenced this pull request Feb 20, 2024
* Add staging docker build and deployment (#289)

* Deploy in dev to staging

* Experiment with if else

* Fix CI secrets

* Cleanup unnecessary stuff

* 286 add an end point for triggering daily analysis emails and add quality score to daily analysis (#295)

* Implement daily-analysis endpoint

* Add quality score to daily analysis

* Add currency next to the cost per click (#298)

* Add currency next to the cost per click

---------



* Merge to dev (#301)

* Dev (#294)

* Add staging docker build and deployment (#289)

* Deploy in dev to staging

* Experiment with if else

* Fix CI secrets

* Cleanup unnecessary stuff

* Dev (#296)

* Add staging docker build and deployment (#289)

* Deploy in dev to staging

* Experiment with if else

* Fix CI secrets

* Cleanup unnecessary stuff

* 286 add an end point for triggering daily analysis emails and add quality score to daily analysis (#295)

* Implement daily-analysis endpoint

* Add quality score to daily analysis

---------



* Merge to main (#300)

* Add currency next to the cost per click

---------



---------



* Add redirect domain

* Quick fix for metrics cannot be requested for a manager account - skip manager account in the daily analysis for now (#308)

* Merge main to dev (#311)

* Dev (#303)

* Add staging docker build and deployment (#289)

* Deploy in dev to staging

* Experiment with if else

* Fix CI secrets

* Cleanup unnecessary stuff

* 286 add an end point for triggering daily analysis emails and add quality score to daily analysis (#295)

* Implement daily-analysis endpoint

* Add quality score to daily analysis

* Add currency next to the cost per click (#298)

* Add currency next to the cost per click

---------



* Merge to dev (#301)

* Dev (#294)

* Add staging docker build and deployment (#289)

* Deploy in dev to staging

* Experiment with if else

* Fix CI secrets

* Cleanup unnecessary stuff

* Dev (#296)

* Add staging docker build and deployment (#289)

* Deploy in dev to staging

* Experiment with if else

* Fix CI secrets

* Cleanup unnecessary stuff

* 286 add an end point for triggering daily analysis emails and add quality score to daily analysis (#295)

* Implement daily-analysis endpoint

* Add quality score to daily analysis

---------



* Merge to main (#300)

* Add currency next to the cost per click

---------



---------



* Add redirect domain

---------



* 305 metrics cannot be requested for a manager account (#307)

* Add staging docker build and deployment (#289)

* Deploy in dev to staging

* Experiment with if else

* Fix CI secrets

* Cleanup unnecessary stuff

* 286 add an end point for triggering daily analysis emails and add quality score to daily analysis (#295)

* Implement daily-analysis endpoint

* Add quality score to daily analysis

* Add currency next to the cost per click (#298)

* Add currency next to the cost per click

---------



* Merge to dev (#301)

* Dev (#294)

* Add staging docker build and deployment (#289)

* Deploy in dev to staging

* Experiment with if else

* Fix CI secrets

* Cleanup unnecessary stuff

* Dev (#296)

* Add staging docker build and deployment (#289)

* Deploy in dev to staging

* Experiment with if else

* Fix CI secrets

* Cleanup unnecessary stuff

* 286 add an end point for triggering daily analysis emails and add quality score to daily analysis (#295)

* Implement daily-analysis endpoint

* Add quality score to daily analysis

---------



* Merge to main (#300)

* Add currency next to the cost per click

---------



---------



* Add redirect domain

* Quick fix for metrics cannot be requested for a manager account - skip manager account in the daily analysis for now

---------



* Allow only dev to merge into main (#313)

* 247 use display path1 and path2 attributes when creating-updating ad (#315)

* Add connect_timeout parameter to database url

* Add display path1 and path2 fields to Ads

* Fix daily analysis prompt (#316)

* Create chat with login url as a first message if the user didn't give the permission before the daily analysis (#317)

* Send chat exception to frontend (#319)

* Cleanup env variables (#318)

* Remove litellm variables

* Use function to check missing bash variable

* Optimize ssh commands

* Fix HTML message displayed in the frontend (#320)

* Send daily analysis only to people who have already grant us the Google Ads permission (#323)

* Add separate secret variables for azure openai credentials (#324)

* Fix typo in sweden

* Add separate secret variables for azure openai creds

* Remove unnecessary variable

* Regenerate gads credentials if they are not valid (#327)

* Delete users google ads credentials only when RefreshError happens (#330)

* Create email html template (#333)

* WIP

* WIP: add email template

* WIP: add email template

* WIP: add email template

* Add email HTML templates

* Add proposed actions to email template

* 167 add geo targeting criteria country city (#334)

* Implement add_geo_targeting_to_campaign endpoint

* Integrate create_geo_targeting_for_campaign to the Google ads team

* Update tests for geo targeting

* Fix execute_query exception message when gads authentication error happens

* Update prompts for gads geo targeting

* Remove unnecessary env variable (#336)

* 332 integrate html email template (#337)

* Update html template

* Fix broken html template

* Integrate email template for Daily analysis

* Execute daily analysis for everyone when send_only_to_emails parameter is None

---------



* Add templates directory inside the Dockerfile (#339)

---------

Co-authored-by: Kumaran Rajendhiran <kumaran@airt.ai>
Co-authored-by: Harish Mohan Raj <harish@airt.ai>
rjambrecic added a commit that referenced this pull request Feb 20, 2024
* Add staging docker build and deployment (#289)

* Deploy in dev to staging

* Experiment with if else

* Fix CI secrets

* Cleanup unnecessary stuff

* 286 add an end point for triggering daily analysis emails and add quality score to daily analysis (#295)

* Implement daily-analysis endpoint

* Add quality score to daily analysis

* Add currency next to the cost per click (#298)

* Add currency next to the cost per click

---------

Co-authored-by: Kumaran Rajendhiran <kumaran@airt.ai>

* Merge to dev (#301)

* Dev (#294)

* Add staging docker build and deployment (#289)

* Deploy in dev to staging

* Experiment with if else

* Fix CI secrets

* Cleanup unnecessary stuff

* Dev (#296)

* Add staging docker build and deployment (#289)

* Deploy in dev to staging

* Experiment with if else

* Fix CI secrets

* Cleanup unnecessary stuff

* 286 add an end point for triggering daily analysis emails and add quality score to daily analysis (#295)

* Implement daily-analysis endpoint

* Add quality score to daily analysis

---------

Co-authored-by: Kumaran Rajendhiran <kumaran@airt.ai>

* Merge to main (#300)

* Add currency next to the cost per click

---------

Co-authored-by: Kumaran Rajendhiran <kumaran@airt.ai>

---------

Co-authored-by: Kumaran Rajendhiran <kumaran@airt.ai>

* Add redirect domain

* Quick fix for metrics cannot be requested for a manager account - skip manager account in the daily analysis for now (#308)

* Merge main to dev (#311)

* Dev (#303)

* Add staging docker build and deployment (#289)

* Deploy in dev to staging

* Experiment with if else

* Fix CI secrets

* Cleanup unnecessary stuff

* 286 add an end point for triggering daily analysis emails and add quality score to daily analysis (#295)

* Implement daily-analysis endpoint

* Add quality score to daily analysis

* Add currency next to the cost per click (#298)

* Add currency next to the cost per click

---------

Co-authored-by: Kumaran Rajendhiran <kumaran@airt.ai>

* Merge to dev (#301)

* Dev (#294)

* Add staging docker build and deployment (#289)

* Deploy in dev to staging

* Experiment with if else

* Fix CI secrets

* Cleanup unnecessary stuff

* Dev (#296)

* Add staging docker build and deployment (#289)

* Deploy in dev to staging

* Experiment with if else

* Fix CI secrets

* Cleanup unnecessary stuff

* 286 add an end point for triggering daily analysis emails and add quality score to daily analysis (#295)

* Implement daily-analysis endpoint

* Add quality score to daily analysis

---------

Co-authored-by: Kumaran Rajendhiran <kumaran@airt.ai>

* Merge to main (#300)

* Add currency next to the cost per click

---------

Co-authored-by: Kumaran Rajendhiran <kumaran@airt.ai>

---------

Co-authored-by: Kumaran Rajendhiran <kumaran@airt.ai>

* Add redirect domain

---------

Co-authored-by: rjambrecic <32619626+rjambrecic@users.noreply.github.com>

* 305 metrics cannot be requested for a manager account (#307)

* Add staging docker build and deployment (#289)

* Deploy in dev to staging

* Experiment with if else

* Fix CI secrets

* Cleanup unnecessary stuff

* 286 add an end point for triggering daily analysis emails and add quality score to daily analysis (#295)

* Implement daily-analysis endpoint

* Add quality score to daily analysis

* Add currency next to the cost per click (#298)

* Add currency next to the cost per click

---------

Co-authored-by: Kumaran Rajendhiran <kumaran@airt.ai>

* Merge to dev (#301)

* Dev (#294)

* Add staging docker build and deployment (#289)

* Deploy in dev to staging

* Experiment with if else

* Fix CI secrets

* Cleanup unnecessary stuff

* Dev (#296)

* Add staging docker build and deployment (#289)

* Deploy in dev to staging

* Experiment with if else

* Fix CI secrets

* Cleanup unnecessary stuff

* 286 add an end point for triggering daily analysis emails and add quality score to daily analysis (#295)

* Implement daily-analysis endpoint

* Add quality score to daily analysis

---------

Co-authored-by: Kumaran Rajendhiran <kumaran@airt.ai>

* Merge to main (#300)

* Add currency next to the cost per click

---------

Co-authored-by: Kumaran Rajendhiran <kumaran@airt.ai>

---------

Co-authored-by: Kumaran Rajendhiran <kumaran@airt.ai>

* Add redirect domain

* Quick fix for metrics cannot be requested for a manager account - skip manager account in the daily analysis for now

---------

Co-authored-by: Kumaran Rajendhiran <kumaran@airt.ai>

* Allow only dev to merge into main (#313)

* 247 use display path1 and path2 attributes when creating-updating ad (#315)

* Add connect_timeout parameter to database url

* Add display path1 and path2 fields to Ads

* Fix daily analysis prompt (#316)

* Create chat with login url as a first message if the user didn't give the permission before the daily analysis (#317)

* Send chat exception to frontend (#319)

* Cleanup env variables (#318)

* Remove litellm variables

* Use function to check missing bash variable

* Optimize ssh commands

* Fix HTML message displayed in the frontend (#320)

* Send daily analysis only to people who have already grant us the Google Ads permission (#323)

* Add separate secret variables for azure openai credentials (#324)

* Fix typo in sweden

* Add separate secret variables for azure openai creds

* Remove unnecessary variable

* Regenerate gads credentials if they are not valid (#327)

* Delete users google ads credentials only when RefreshError happens (#330)

* Create email html template (#333)

* WIP

* WIP: add email template

* WIP: add email template

* WIP: add email template

* Add email HTML templates

* Add proposed actions to email template

* 167 add geo targeting criteria country city (#334)

* Implement add_geo_targeting_to_campaign endpoint

* Integrate create_geo_targeting_for_campaign to the Google ads team

* Update tests for geo targeting

* Fix execute_query exception message when gads authentication error happens

* Update prompts for gads geo targeting

* Remove unnecessary env variable (#336)

* 332 integrate html email template (#337)

* Update html template

* Fix broken html template

* Integrate email template for Daily analysis

* Execute daily analysis for everyone when send_only_to_emails parameter is None

---------

Co-authored-by: Harish Mohan Raj <harish@airt.ai>

* Add templates directory inside the Dockerfile (#339)

* 222 handle azure openai 400 error in teams conversation (#343)

* Dev (#338)

* Add staging docker build and deployment (#289)

* Deploy in dev to staging

* Experiment with if else

* Fix CI secrets

* Cleanup unnecessary stuff

* 286 add an end point for triggering daily analysis emails and add quality score to daily analysis (#295)

* Implement daily-analysis endpoint

* Add quality score to daily analysis

* Add currency next to the cost per click (#298)

* Add currency next to the cost per click

---------

Co-authored-by: Kumaran Rajendhiran <kumaran@airt.ai>

* Merge to dev (#301)

* Dev (#294)

* Add staging docker build and deployment (#289)

* Deploy in dev to staging

* Experiment with if else

* Fix CI secrets

* Cleanup unnecessary stuff

* Dev (#296)

* Add staging docker build and deployment (#289)

* Deploy in dev to staging

* Experiment with if else

* Fix CI secrets

* Cleanup unnecessary stuff

* 286 add an end point for triggering daily analysis emails and add quality score to daily analysis (#295)

* Implement daily-analysis endpoint

* Add quality score to daily analysis

---------

Co-authored-by: Kumaran Rajendhiran <kumaran@airt.ai>

* Merge to main (#300)

* Add currency next to the cost per click

---------

Co-authored-by: Kumaran Rajendhiran <kumaran@airt.ai>

---------

Co-authored-by: Kumaran Rajendhiran <kumaran@airt.ai>

* Add redirect domain

* Quick fix for metrics cannot be requested for a manager account - skip manager account in the daily analysis for now (#308)

* Merge main to dev (#311)

* Dev (#303)

* Add staging docker build and deployment (#289)

* Deploy in dev to staging

* Experiment with if else

* Fix CI secrets

* Cleanup unnecessary stuff

* 286 add an end point for triggering daily analysis emails and add quality score to daily analysis (#295)

* Implement daily-analysis endpoint

* Add quality score to daily analysis

* Add currency next to the cost per click (#298)

* Add currency next to the cost per click

---------

Co-authored-by: Kumaran Rajendhiran <kumaran@airt.ai>

* Merge to dev (#301)

* Dev (#294)

* Add staging docker build and deployment (#289)

* Deploy in dev to staging

* Experiment with if else

* Fix CI secrets

* Cleanup unnecessary stuff

* Dev (#296)

* Add staging docker build and deployment (#289)

* Deploy in dev to staging

* Experiment with if else

* Fix CI secrets

* Cleanup unnecessary stuff

* 286 add an end point for triggering daily analysis emails and add quality score to daily analysis (#295)

* Implement daily-analysis endpoint

* Add quality score to daily analysis

---------

Co-authored-by: Kumaran Rajendhiran <kumaran@airt.ai>

* Merge to main (#300)

* Add currency next to the cost per click

---------

Co-authored-by: Kumaran Rajendhiran <kumaran@airt.ai>

---------

Co-authored-by: Kumaran Rajendhiran <kumaran@airt.ai>

* Add redirect domain

---------

Co-authored-by: rjambrecic <32619626+rjambrecic@users.noreply.github.com>

* 305 metrics cannot be requested for a manager account (#307)

* Add staging docker build and deployment (#289)

* Deploy in dev to staging

* Experiment with if else

* Fix CI secrets

* Cleanup unnecessary stuff

* 286 add an end point for triggering daily analysis emails and add quality score to daily analysis (#295)

* Implement daily-analysis endpoint

* Add quality score to daily analysis

* Add currency next to the cost per click (#298)

* Add currency next to the cost per click

---------

Co-authored-by: Kumaran Rajendhiran <kumaran@airt.ai>

* Merge to dev (#301)

* Dev (#294)

* Add staging docker build and deployment (#289)

* Deploy in dev to staging

* Experiment with if else

* Fix CI secrets

* Cleanup unnecessary stuff

* Dev (#296)

* Add staging docker build and deployment (#289)

* Deploy in dev to staging

* Experiment with if else

* Fix CI secrets

* Cleanup unnecessary stuff

* 286 add an end point for triggering daily analysis emails and add quality score to daily analysis (#295)

* Implement daily-analysis endpoint

* Add quality score to daily analysis

---------

Co-authored-by: Kumaran Rajendhiran <kumaran@airt.ai>

* Merge to main (#300)

* Add currency next to the cost per click

---------

Co-authored-by: Kumaran Rajendhiran <kumaran@airt.ai>

---------

Co-authored-by: Kumaran Rajendhiran <kumaran@airt.ai>

* Add redirect domain

* Quick fix for metrics cannot be requested for a manager account - skip manager account in the daily analysis for now

---------

Co-authored-by: Kumaran Rajendhiran <kumaran@airt.ai>

* Allow only dev to merge into main (#313)

* 247 use display path1 and path2 attributes when creating-updating ad (#315)

* Add connect_timeout parameter to database url

* Add display path1 and path2 fields to Ads

* Fix daily analysis prompt (#316)

* Create chat with login url as a first message if the user didn't give the permission before the daily analysis (#317)

* Send chat exception to frontend (#319)

* Cleanup env variables (#318)

* Remove litellm variables

* Use function to check missing bash variable

* Optimize ssh commands

* Fix HTML message displayed in the frontend (#320)

* Send daily analysis only to people who have already grant us the Google Ads permission (#323)

* Add separate secret variables for azure openai credentials (#324)

* Fix typo in sweden

* Add separate secret variables for azure openai creds

* Remove unnecessary variable

* Regenerate gads credentials if they are not valid (#327)

* Delete users google ads credentials only when RefreshError happens (#330)

* Create email html template (#333)

* WIP

* WIP: add email template

* WIP: add email template

* WIP: add email template

* Add email HTML templates

* Add proposed actions to email template

* 167 add geo targeting criteria country city (#334)

* Implement add_geo_targeting_to_campaign endpoint

* Integrate create_geo_targeting_for_campaign to the Google ads team

* Update tests for geo targeting

* Fix execute_query exception message when gads authentication error happens

* Update prompts for gads geo targeting

* Remove unnecessary env variable (#336)

* 332 integrate html email template (#337)

* Update html template

* Fix broken html template

* Integrate email template for Daily analysis

* Execute daily analysis for everyone when send_only_to_emails parameter is None

---------

Co-authored-by: Harish Mohan Raj <harish@airt.ai>

* Add templates directory inside the Dockerfile (#339)

---------

Co-authored-by: Kumaran Rajendhiran <kumaran@airt.ai>
Co-authored-by: Harish Mohan Raj <harish@airt.ai>

* Handle azure openai 400 error in teams conversation

---------

Co-authored-by: Kumaran Rajendhiran <kumaran@airt.ai>
Co-authored-by: Harish Mohan Raj <harish@airt.ai>

* 341 gads team should not randomly recommend locations which should be targeted (#346)

* Update python libraries versions

* Fix geo targeting endpoint

* Update prompts for geo targeting

* Run tests in CI (#344)

* Run tests in CI

* Add dummy env vars

* Do editable install

* Add prisma generate

* Add dummy client secrets

* Debug

* Fix typo

* Run postgres container

---------

Co-authored-by: rjambrecic <32619626+rjambrecic@users.noreply.github.com>

* Update prompts with instructions for the keyword insertion (#347)

* Update prompts with instructions for the keyword insertion

* Dev (#338) (#349)

* Add staging docker build and deployment (#289)

* Deploy in dev to staging

* Experiment with if else

* Fix CI secrets

* Cleanup unnecessary stuff

* 286 add an end point for triggering daily analysis emails and add quality score to daily analysis (#295)

* Implement daily-analysis endpoint

* Add quality score to daily analysis

* Add currency next to the cost per click (#298)

* Add currency next to the cost per click

---------



* Merge to dev (#301)

* Dev (#294)

* Add staging docker build and deployment (#289)

* Deploy in dev to staging

* Experiment with if else

* Fix CI secrets

* Cleanup unnecessary stuff

* Dev (#296)

* Add staging docker build and deployment (#289)

* Deploy in dev to staging

* Experiment with if else

* Fix CI secrets

* Cleanup unnecessary stuff

* 286 add an end point for triggering daily analysis emails and add quality score to daily analysis (#295)

* Implement daily-analysis endpoint

* Add quality score to daily analysis

---------



* Merge to main (#300)

* Add currency next to the cost per click

---------



---------



* Add redirect domain

* Quick fix for metrics cannot be requested for a manager account - skip manager account in the daily analysis for now (#308)

* Merge main to dev (#311)

* Dev (#303)

* Add staging docker build and deployment (#289)

* Deploy in dev to staging

* Experiment with if else

* Fix CI secrets

* Cleanup unnecessary stuff

* 286 add an end point for triggering daily analysis emails and add quality score to daily analysis (#295)

* Implement daily-analysis endpoint

* Add quality score to daily analysis

* Add currency next to the cost per click (#298)

* Add currency next to the cost per click

---------



* Merge to dev (#301)

* Dev (#294)

* Add staging docker build and deployment (#289)

* Deploy in dev to staging

* Experiment with if else

* Fix CI secrets

* Cleanup unnecessary stuff

* Dev (#296)

* Add staging docker build and deployment (#289)

* Deploy in dev to staging

* Experiment with if else

* Fix CI secrets

* Cleanup unnecessary stuff

* 286 add an end point for triggering daily analysis emails and add quality score to daily analysis (#295)

* Implement daily-analysis endpoint

* Add quality score to daily analysis

---------



* Merge to main (#300)

* Add currency next to the cost per click

---------



---------



* Add redirect domain

---------



* 305 metrics cannot be requested for a manager account (#307)

* Add staging docker build and deployment (#289)

* Deploy in dev to staging

* Experiment with if else

* Fix CI secrets

* Cleanup unnecessary stuff

* 286 add an end point for triggering daily analysis emails and add quality score to daily analysis (#295)

* Implement daily-analysis endpoint

* Add quality score to daily analysis

* Add currency next to the cost per click (#298)

* Add currency next to the cost per click

---------



* Merge to dev (#301)

* Dev (#294)

* Add staging docker build and deployment (#289)

* Deploy in dev to staging

* Experiment with if else

* Fix CI secrets

* Cleanup unnecessary stuff

* Dev (#296)

* Add staging docker build and deployment (#289)

* Deploy in dev to staging

* Experiment with if else

* Fix CI secrets

* Cleanup unnecessary stuff

* 286 add an end point for triggering daily analysis emails and add quality score to daily analysis (#295)

* Implement daily-analysis endpoint

* Add quality score to daily analysis

---------



* Merge to main (#300)

* Add currency next to the cost per click

---------



---------



* Add redirect domain

* Quick fix for metrics cannot be requested for a manager account - skip manager account in the daily analysis for now

---------



* Allow only dev to merge into main (#313)

* 247 use display path1 and path2 attributes when creating-updating ad (#315)

* Add connect_timeout parameter to database url

* Add display path1 and path2 fields to Ads

* Fix daily analysis prompt (#316)

* Create chat with login url as a first message if the user didn't give the permission before the daily analysis (#317)

* Send chat exception to frontend (#319)

* Cleanup env variables (#318)

* Remove litellm variables

* Use function to check missing bash variable

* Optimize ssh commands

* Fix HTML message displayed in the frontend (#320)

* Send daily analysis only to people who have already grant us the Google Ads permission (#323)

* Add separate secret variables for azure openai credentials (#324)

* Fix typo in sweden

* Add separate secret variables for azure openai creds

* Remove unnecessary variable

* Regenerate gads credentials if they are not valid (#327)

* Delete users google ads credentials only when RefreshError happens (#330)

* Create email html template (#333)

* WIP

* WIP: add email template

* WIP: add email template

* WIP: add email template

* Add email HTML templates

* Add proposed actions to email template

* 167 add geo targeting criteria country city (#334)

* Implement add_geo_targeting_to_campaign endpoint

* Integrate create_geo_targeting_for_campaign to the Google ads team

* Update tests for geo targeting

* Fix execute_query exception message when gads authentication error happens

* Update prompts for gads geo targeting

* Remove unnecessary env variable (#336)

* 332 integrate html email template (#337)

* Update html template

* Fix broken html template

* Integrate email template for Daily analysis

* Execute daily analysis for everyone when send_only_to_emails parameter is None

---------



* Add templates directory inside the Dockerfile (#339)

---------

Co-authored-by: Kumaran Rajendhiran <kumaran@airt.ai>
Co-authored-by: Harish Mohan Raj <harish@airt.ai>

* Dev (#338) (#350)

* Add staging docker build and deployment (#289)

* Deploy in dev to staging

* Experiment with if else

* Fix CI secrets

* Cleanup unnecessary stuff

* 286 add an end point for triggering daily analysis emails and add quality score to daily analysis (#295)

* Implement daily-analysis endpoint

* Add quality score to daily analysis

* Add currency next to the cost per click (#298)

* Add currency next to the cost per click

---------



* Merge to dev (#301)

* Dev (#294)

* Add staging docker build and deployment (#289)

* Deploy in dev to staging

* Experiment with if else

* Fix CI secrets

* Cleanup unnecessary stuff

* Dev (#296)

* Add staging docker build and deployment (#289)

* Deploy in dev to staging

* Experiment with if else

* Fix CI secrets

* Cleanup unnecessary stuff

* 286 add an end point for triggering daily analysis emails and add quality score to daily analysis (#295)

* Implement daily-analysis endpoint

* Add quality score to daily analysis

---------



* Merge to main (#300)

* Add currency next to the cost per click

---------



---------



* Add redirect domain

* Quick fix for metrics cannot be requested for a manager account - skip manager account in the daily analysis for now (#308)

* Merge main to dev (#311)

* Dev (#303)

* Add staging docker build and deployment (#289)

* Deploy in dev to staging

* Experiment with if else

* Fix CI secrets

* Cleanup unnecessary stuff

* 286 add an end point for triggering daily analysis emails and add quality score to daily analysis (#295)

* Implement daily-analysis endpoint

* Add quality score to daily analysis

* Add currency next to the cost per click (#298)

* Add currency next to the cost per click

---------



* Merge to dev (#301)

* Dev (#294)

* Add staging docker build and deployment (#289)

* Deploy in dev to staging

* Experiment with if else

* Fix CI secrets

* Cleanup unnecessary stuff

* Dev (#296)

* Add staging docker build and deployment (#289)

* Deploy in dev to staging

* Experiment with if else

* Fix CI secrets

* Cleanup unnecessary stuff

* 286 add an end point for triggering daily analysis emails and add quality score to daily analysis (#295)

* Implement daily-analysis endpoint

* Add quality score to daily analysis

---------



* Merge to main (#300)

* Add currency next to the cost per click

---------



---------



* Add redirect domain

---------



* 305 metrics cannot be requested for a manager account (#307)

* Add staging docker build and deployment (#289)

* Deploy in dev to staging

* Experiment with if else

* Fix CI secrets

* Cleanup unnecessary stuff

* 286 add an end point for triggering daily analysis emails and add quality score to daily analysis (#295)

* Implement daily-analysis endpoint

* Add quality score to daily analysis

* Add currency next to the cost per click (#298)

* Add currency next to the cost per click

---------



* Merge to dev (#301)

* Dev (#294)

* Add staging docker build and deployment (#289)

* Deploy in dev to staging

* Experiment with if else

* Fix CI secrets

* Cleanup unnecessary stuff

* Dev (#296)

* Add staging docker build and deployment (#289)

* Deploy in dev to staging

* Experiment with if else

* Fix CI secrets

* Cleanup unnecessary stuff

* 286 add an end point for triggering daily analysis emails and add quality score to daily analysis (#295)

* Implement daily-analysis endpoint

* Add quality score to daily analysis

---------



* Merge to main (#300)

* Add currency next to the cost per click

---------



---------



* Add redirect domain

* Quick fix for metrics cannot be requested for a manager account - skip manager account in the daily analysis for now

---------



* Allow only dev to merge into main (#313)

* 247 use display path1 and path2 attributes when creating-updating ad (#315)

* Add connect_timeout parameter to database url

* Add display path1 and path2 fields to Ads

* Fix daily analysis prompt (#316)

* Create chat with login url as a first message if the user didn't give the permission before the daily analysis (#317)

* Send chat exception to frontend (#319)

* Cleanup env variables (#318)

* Remove litellm variables

* Use function to check missing bash variable

* Optimize ssh commands

* Fix HTML message displayed in the frontend (#320)

* Send daily analysis only to people who have already grant us the Google Ads permission (#323)

* Add separate secret variables for azure openai credentials (#324)

* Fix typo in sweden

* Add separate secret variables for azure openai creds

* Remove unnecessary variable

* Regenerate gads credentials if they are not valid (#327)

* Delete users google ads credentials only when RefreshError happens (#330)

* Create email html template (#333)

* WIP

* WIP: add email template

* WIP: add email template

* WIP: add email template

* Add email HTML templates

* Add proposed actions to email template

* 167 add geo targeting criteria country city (#334)

* Implement add_geo_targeting_to_campaign endpoint

* Integrate create_geo_targeting_for_campaign to the Google ads team

* Update tests for geo targeting

* Fix execute_query exception message when gads authentication error happens

* Update prompts for gads geo targeting

* Remove unnecessary env variable (#336)

* 332 integrate html email template (#337)

* Update html template

* Fix broken html template

* Integrate email template for Daily analysis

* Execute daily analysis for everyone when send_only_to_emails parameter is None

---------



* Add templates directory inside the Dockerfile (#339)

---------

Co-authored-by: Kumaran Rajendhiran <kumaran@airt.ai>
Co-authored-by: Harish Mohan Raj <harish@airt.ai>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add Geo Targeting Criteria (country, city...)
1 participant