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

Remove the word "Paid" from Ads creation flows #2672

Merged

Conversation

joemcgill
Copy link
Collaborator

@joemcgill joemcgill commented Nov 11, 2024

Changes proposed in this Pull Request:

Closes #2664.

Screenshots:

image image image image

Detailed test instructions:

  1. Complete onboarding without creating a campaign
  2. Review the CTA in the dashboard for creating a campaign
  3. Create a paid campaign and review the UI when creating a campaign

Additional details:

Changelog entry

Tweak - Remove the word "Paid" associated with campaign creation.

@github-actions github-actions bot added the changelog: update Big changes to something that wasn't broken. label Nov 11, 2024
@joemcgill joemcgill changed the base branch from develop to feature/2460-google-ads-value-prop November 11, 2024 23:42
@joemcgill joemcgill requested review from eason9487 and asvinb and removed request for eason9487 November 11, 2024 23:42
@joemcgill joemcgill marked this pull request as ready for review November 11, 2024 23:43
Copy link

codecov bot commented Nov 11, 2024

Codecov Report

Attention: Patch coverage is 50.00000% with 1 line in your changes missing coverage. Please review.

Project coverage is 63.6%. Comparing base (2c3f089) to head (10dc1c9).
Report is 10 commits behind head on feature/2460-google-ads-value-prop.

Files with missing lines Patch % Lines
...src/components/paid-ads/asset-group/asset-group.js 0.0% 1 Missing ⚠️
Additional details and impacted files

Impacted file tree graph

@@                        Coverage Diff                         @@
##           feature/2460-google-ads-value-prop   #2672   +/-   ##
==================================================================
  Coverage                                63.6%   63.6%           
==================================================================
  Files                                     332     332           
  Lines                                    5210    5210           
  Branches                                 1265    1265           
==================================================================
  Hits                                     3315    3315           
  Misses                                   1718    1718           
  Partials                                  177     177           
Flag Coverage Δ
js-unit-tests 63.6% <50.0%> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

Files with missing lines Coverage Δ
...rc/components/paid-ads/add-paid-campaign-button.js 73.3% <100.0%> (ø)
...c/components/paid-ads/ads-campaign/ads-campaign.js 0.0% <ø> (ø)
...-program-button/edit-program-prompt-modal/index.js 10.0% <ø> (ø)
...e-card/program-toggle/pause-program-modal/index.js 14.3% <ø> (ø)
...emove-program-button/remove-program-modal/index.js 7.1% <ø> (ø)
...dashboard/campaign-creation-success-guide/index.js 71.4% <ø> (ø)
js/src/pages/create-paid-ads-campaign/index.js 10.0% <ø> (ø)
js/src/pages/edit-paid-ads-campaign/index.js 8.6% <ø> (ø)
...src/product-feed/submission-success-guide/index.js 65.2% <ø> (ø)
js/src/setup-ads/ads-stepper/index.js 83.3% <ø> (ø)
... and 2 more

@joemcgill
Copy link
Collaborator Author

This is a quick one to update some UI text based on feedback from @fblascogarma during the review of #2460.

Copy link
Collaborator

@asvinb asvinb left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

Copy link
Contributor

@mikkamp mikkamp left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for these changes, I can confirm that those screens now show the updated text.

I noticed that when you click the edit campaign button the following popup is still shown which mentions a paid campaign:
image

I was also a bit confused about going through the onboarding and creating a campaign. I was expecting to be redirected to the dashboard at the following URL: /wp-admin/admin.php?page=wc-admin&path=%2Fgoogle%2Fdashboard&guide=campaign-creation-success
image

But instead I was redirected to the product feed tab with the following modal: /wp-admin/admin.php?page=wc-admin&guide=submission-success&path=%2Fgoogle%2Fproduct-feed
Is there another PR where that behaviour was changed intentionally?

For the rest everything looks pretty good, just a few small minor comments about renaming some additional test lines.

I wasn't able to confirm the E2E tests are still passing as it fails with a missing currency in the text. I don't see that being directly related to this PR, but possibly some of the dependent code changed this.

  1) [chromium] › setup-mc/step-4-complete-campaign.test.js:259:5 › Complete your campaign › Set up paid ads › Set up a campaign › Validate budget percent › should see validation error if lower than the 30% 

    Error: Timed out 20000ms waiting for expect(locator).toHaveText(expected)

    Locator: locator('.components-base-control__help')
    Expected string: "Please make sure daily average cost is at least NT$30.00"
    Received string: "Please make sure daily average cost is at least 30.00"

src/Tracking/README.md Outdated Show resolved Hide resolved
@@ -280,13 +280,13 @@ test.describe( 'Set up Ads account', () => {
} );
} );

test.describe( 'Create your paid campaign', () => {
test.describe( 'Create your campaign', () => {
test( 'Continue to create paid ad campaign', async () => {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Since other test descriptions are being updated, we can change this one as well.

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Addressed in 4ac7c89

@joemcgill
Copy link
Collaborator Author

Thanks @mikkamp. I've addressed the two inline suggestions. For your other observations:

I noticed that when you click the edit campaign button the following popup is still shown which mentions a paid campaign:

Good catch. I'm not sure if we want to update the copy for these as well. I'll confirm with @fblascogarma.

I was also a bit confused about going through the onboarding and creating a campaign. I was expecting to be redirected to the dashboard at the following URL

The onboarding flow has ended with the user redirected to the Product Feed tab since at least this commit, so I assume that has been an intentional decision.

I wasn't able to confirm the E2E tests are still passing as it fails with a missing currency in the text. I don't see that being directly related to this PR, but possibly some of the dependent code changed this.

I'm unable to reproduce this E2E test failure. Just to be safe, I triggered another full test run here, which seems to be passing.

Copy link
Member

@eason9487 eason9487 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There are other places that may not be within the campaign creation scope, but have the word "paid", which could be further confirmed.

Get Started

  • image
  • image

Dashboard

  • 1
  • 2

Edit Campaign

  • Can be found with path /wp-admin/admin.php?page=wc-admin&path=%2Fgoogle%2Fdashboard&subpath=%2Fcampaigns%2Fedit&programId=0
    image

Reports

  • image

Reports > Products

  • image

Settings

  • image
  • image

Inbox notifications

  • image

@eason9487 eason9487 added changelog: tweak Small change, that isn't actually very important. and removed changelog: update Big changes to something that wasn't broken. labels Nov 13, 2024
@fblascogarma
Copy link
Collaborator

Good catch @eason9487 ! Yes, please let's remove it from those places too. Thank you!!

@joemcgill
Copy link
Collaborator Author

The additional instances of 'paid' have been replaced in the last two commits.

In each case, I've tried to use my best judgement in when it was appropriate to replace the existing text with "Google Ads", "campaign(s)", based on the context in which they are found.

For example, in the EditProgramPromptModal that is shown when editing both Free listings and Google Ads, the existing text was (emphasis mine) "Results typically improve with time with Google’s Free Listing and paid ad campaigns". I've chosen to replace this with "Results typically improve with time with Google’s Free Listing and Google Ads campaigns" to avoid implying that Ad campaigns are also free.

@fblascogarma feel free to review all the changes and suggest any additional tweaks.

Copy link
Member

@eason9487 eason9487 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There are still a few left over but it shouldn't be a need for another round.

@@ -48,7 +48,7 @@ protected function set_title_and_content( NoteEntry $note ): void {
$note->set_title( __( 'Reach more shoppers with paid listings on Google', 'google-listings-and-ads' ) );
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The title has the word "paid" as well.

@joemcgill
Copy link
Collaborator Author

Updated based on feedback in #2672 (review) and this edit from @fblascogarma.

Cherry-picked a70da30 in order to E2E Tests and it looks like everything is passing, except for a known issue fixed in #2670.

@joemcgill joemcgill merged commit 98c62a5 into feature/2460-google-ads-value-prop Nov 17, 2024
9 of 13 checks passed
@joemcgill joemcgill deleted the update/2664-remove-paid-word branch November 17, 2024 22:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
changelog: tweak Small change, that isn't actually very important.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Remove the word "Paid" associated with campaign creation
5 participants