-
Notifications
You must be signed in to change notification settings - Fork 5.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Google Ads - Create Report improvement (#12519)
* Adding resource listing prop * Adding filtering by object ids * Version bumps * Adjustment * Adding date range prop and removing date segments * Adding date range filtering * Adjusting ad group ad * Description updates * Adjustments * Adjusting date segment * Implementing query and pagination for object filter * Removing commented code * Adjusting resource field structure * quickfix * Adding prefix check
- Loading branch information
Showing
15 changed files
with
259 additions
and
68 deletions.
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
55 changes: 55 additions & 0 deletions
55
components/google_ads/actions/create-report/common-constants.mjs
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 |
---|---|---|
@@ -0,0 +1,55 @@ | ||
export const DATE_RANGE_OPTIONS = [ | ||
{ | ||
value: "CUSTOM", | ||
label: "Specify a custom date range", | ||
}, | ||
{ | ||
value: "TODAY", | ||
label: "Today only", | ||
}, | ||
{ | ||
value: "YESTERDAY", | ||
label: "Yesterday only", | ||
}, | ||
{ | ||
value: "LAST_7_DAYS", | ||
label: "The last 7 days not including today", | ||
}, | ||
{ | ||
value: "LAST_BUSINESS_WEEK", | ||
label: | ||
"The 5 day business week, Monday through Friday, of the previous business week", | ||
}, | ||
{ | ||
value: "THIS_MONTH", | ||
label: "All days in the current month", | ||
}, | ||
{ | ||
value: "LAST_MONTH", | ||
label: "All days in the previous month", | ||
}, | ||
{ | ||
value: "LAST_14_DAYS", | ||
label: "The last 14 days not including today", | ||
}, | ||
{ | ||
value: "LAST_30_DAYS", | ||
label: "The last 30 days not including today", | ||
}, | ||
{ | ||
value: "THIS_WEEK_SUN_TODAY", | ||
label: "The period between the previous Sunday and the current day", | ||
}, | ||
{ | ||
value: "THIS_WEEK_MON_TODAY", | ||
label: "The period between the previous Monday and the current day", | ||
}, | ||
{ | ||
value: "LAST_WEEK_SUN_SAT", | ||
label: "The 7-day period starting with the previous Sunday", | ||
}, | ||
{ | ||
value: "LAST_WEEK_MON_SUN", | ||
label: "The 7-day period starting with the previous Monday", | ||
}, | ||
]; |
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
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
Oops, something went wrong.