Google Sheets Functions

⌘K
  1. Home
  2. /
  3. Docs
  4. /
  5. Google Sheets Functions
  6. /
  7. 1.Seller Central Data/Fun...
  8. /
  9. GORILLA_BIZSESSIONS() – S...

GORILLA_BIZSESSIONS() – Sessions data from business reports

New functions for business reports have been released

Sample Usage

🚨 Use ranges (e.g.A2:A1000) in your formula wherever possible for quicker results and to prevent Google from blocking your account for 24 hrs due to overloading their resources. 
=GORILLA_BIZSESSIONS("TOY STORE", "Custom", "B00YD545CC", "US", "INCLUDE", "ALL", , "2023-12-01", "2023-12-21")
=GORILLA_BIZSESSIONS("TOY STORE", "Custom", "B00YD545CC", "US", "INCLUDE", "ALL", 21)
=GORILLA_BIZSESSIONS("TOY STORE", "This Week", A2:A10, "US", , "ALL")
=GORILLA_BIZSESSIONS("TOY STORE", "This Month", "IPHN3724", , , "TotalPageViews")
=GORILLA_BIZSESSIONS("TOY STORE", "Same Day Last Month", "IPHN3724", "US")
=GORILLA_BIZSESSIONS("TOY STORE", "This Year")

Output Screenshot

Syntax Description:

BIZSESSIONS 1 Gorilla ROI

Description:

Get sessions-related data from business reports

Syntax:

GORILLA_BIZSESSIONS(sellerId, period, [filter], [marketplace], [b2b], [datapoint], [days], [start_date], [end_date], [transpose], [header])

Seller ID – REQUIRED
Enter the seller ID or nickname you entered in your Gorilla account.

PERIOD – REQUIRED
Predefined period to get sessions information or use ‘custom’ to specify a start and end date.

FILTER – OPTIONAL
SKU or ASIN to filter the results. Can be a range of values like A1:A100 where A1 to A100 consists of values like SKU111, SKU222, SKU333 or ASIN123…

MARKETPLACE – OPTIONAL
OPTIONAL – Marketplace country filter. Country codes are US, CA, MX, BR, BE, UK, DE, ES, IT, FR, NL, PL, TR, IN, SE, AE, AU, SG, JP, EG, SA. Use ‘DEFAULT’ for your default market. Amazon Marketplace ID like ‘ATVPDKIKX0DER’ can be used too.

B2B– OPTIONAL
Show or hide B2B datapoints when datapoints filter is ‘ALL’ or not specified. Valid values are:

  • Include (DEFAULT)
  • Exclude

DATAPOINT – OPTIONAL
Return data for specific data points. Can be a range of values like A1:E1 where A1 to E1 consists of different datapoint values. Default is empty value for all data points. Other Valid values are:

  • All
  • MobileAppPageViews
  • MobileAppPageViewsB2B
  • BrowserPageViews
  • BrowserPageViewsB2B
  • TotalPageViews
  • TotalPageViewsB2B
  • MobileAppSessions
  • MobileAppSessionsB2B
  • BrowserSessions
  • BrowserSessionsB2B
  • TotalSessions
  • TotalSessionB2B

DAYS – OPTIONAL
Number of days to return starting from the current date. This filter will override any custom start date.

START_DATE – OPTIONAL
Starting date for the data when period is custom. (Date is ignored if the days filter has a non-zero value like 5.)

END_DATE – OPTIONAL
Ending date for the data when period is custom. (Date is ignored if the days filter has a non-zero value like 5.)

TRANSPOSE – OPTIONAL
If empty or no, returns datapoints as header. If yes, returns SKUs as headers.

HEADER – OPTIONAL
Include the header line in the results. Possible values: TRUE/FALSE. Default: TRUE

GORILLA_BIZSESSIONS Attributes

Period Attributes:

TodayThis monthLast 3 Months
YesterdayThis quarterLast 12 Months
Same day last weekThis yearLast 7 Days Week Ago
Same day last monthThis Year-to-Last-MonthLast 7 Days Year Ago
Same day last yearLast WeekLast 30 Days Month Ago
Last 7 DaysLast MonthLast 30 Days Year Ago
Last 14 DaysLast QuarterLast Week Year Ago
Last 30 DaysLast YearLast Month Year Ago
Last 90 DaysLast 60 DaysYYYY-MM (change format to text)
 This weekYYYY YYYYQ1… YYYYQ4
Custom

Datapoint Attributes:

AllMobileAppPageViews
MobileAppPageViewsB2BBrowserPageViews
BrowserPageViewsB2BTotalPageViews
TotalPageViewsB2BMobileAppSessions
MobileAppSessionsB2B BrowserSessions
BrowserSessionsB2BTotalSessions
TotalSessionB2B

Examples:

🚨 Use ranges (e.g.A2:A1000) in your formula wherever possible for quicker results and to prevent Google from blocking your account for 24 hrs due to overloading their resources. 
=GORILLA_BIZSESSIONS("TOY STORE", "Custom", "B00YD545CC", "US", "INCLUDE", "ALL", , "2023-12-01", "2023-12-21")

Gets All BIZSESSIONS datapoints for B00YD545CC, including B2B datapoints for the US marketplace between Dec 1, 2023 and Dec 21, 2023.

=GORILLA_BIZSESSIONS("TOY STORE", "Custom", "B00YD545CC", "US", "INCLUDE", "ALL", 21)

Gets All BIZSESSIONS datapoints for B00YD545CC, including B2B datapoints for the US marketplace within the last 21 days starting from current date.

=GORILLA_BIZSESSIONS("TOY STORE", "This Week", A2:A10, "US", , "ALL")

Gets All BIZSESSIONS datapoints for SKUs/ASINs within A2:A10 range, including B2B datapoints for the US marketplace within this week. Supports 2 dimensional ranges. Bulk return an array of values by assigning the range of the SKUs or ASINs. In this example the SKUs or ASINs are listed in A2:A10 and returns all values at once. Can also work for rows and ranges like A1:Z1 or D3:G37.

=GORILLA_BIZSESSIONS("TOY STORE", "This Month", "IPHN3724", , , "TotalPageViews")

Gets BIZSESSIONS ‘TotalPageViews’ datapoint for ‘IPHN3724’ for all Marketplaces within this month.

=GORILLA_BIZSESSIONS("TOY STORE", "Same Day Last Month", "IPHN3724", "US")

Gets All BIZSESSIONS datapoints for ‘IPHN3724’, including B2B datapoints for the US marketplace the same day last month.

=GORILLA_BIZSESSIONS("TOY STORE", "This Year")

Gets All BIZSESSIONS datapoints for all SKUs/ASINs, including B2B datapoints for sessions related data this year.

To get quarterly data use the format YYYYQ1, YYYYQ2, YYYYQ3, YYYYQ4 as the preset period.

To get monthly data, use the format YYYY-MM as the preset period.

GET YOUR SPREADSHEETS

Enter your email for the full download package now.

GET THE EBOOK PACKAGE

Enter your email for the full download package now.