Skip to main content
All CollectionsGoogle Sheets FunctionsMarket Data Plan Functions
GORILLA_BIZSESSIONS() – Sessions data from business reports

GORILLA_BIZSESSIONS() – Sessions data from business reports

Updated today

Video Tutorial


⚠️ IMPORTANT NOTICE

Optimize Your Formula Usage

Use ranges (e.g., A2:A1000) in your formula whenever possible to ensure faster results and to prevent Google from blocking your account for 24 hours due to excessive resource usage.


Syntax Screenshot


Description

Get sessions-related data from business reports


Syntax

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

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:

Today

This month

Last 3 Months

Yesterday

This quarter

Last 12 Months

Same day last week

This year

Last 7 Days Week Ago

Same day last month

This Year-to-Last-Month

Last 7 Days Year Ago

Same day last year

Last Week

Last 30 Days Month Ago

Last 7 Days

Last Month

Last 30 Days Year Ago

Last 14 Days

Last Quarter

Last Week Year Ago

Last 30 Days

Last Year

Last Month Year Ago

Last 90 Days

Last 60 Days

YYYY-MM (change format to text)

This week

YYYY

YYYYQ1… YYYYQ4

Custom

Datapoint Attributes:

All

MobileAppPageViews

MobileAppPageViewsB2B

BrowserPageViews

BrowserPageViewsB2B

TotalPageViews

TotalPageViewsB2B

MobileAppSessions

MobileAppSessionsB2B

BrowserSessions

BrowserSessionsB2B

TotalSessions

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.

Did this answer your question?