Merchant API: Getting Big With E-commerce Data. Part 1: Google Shopping API

"Google

Merchant API v3 is live now! The new version Google Shopping API will provide you with more comprehensive e-commerce data and insights into your competitors’ ad campaigns.

 
One of the most popular activities on the Web is shopping. It’s not surprising given that we can shop anywhere anytime: at home, at work, or even without getting out of bed.

As of 2019, e-commerce sales make up 13.7% of total sales representing $3.53 trillion of the $25.038 trillion value of the global retail market. What’s more, this trend is growing steadily. By 2021, global e-commerce is expected to approach $5 trillion and seize 17.5% of the market.

It’s only natural that more and more retail businesses move their operations to the Internet to keep up with the new buyer needs.

No wonder Google has its own e-commerce platform. Launched in far 2002, Google Product Search (known as Froogle back then) quickly took off and eventually became the dominant player in the online retail market.

Google Shopping: What You Need To Know About It

Google Shopping ads are designed to serve users with direct product overview related to their search. Here is how Google Shopping ads can be displayed:

Google Shopping rich snippet

The data on Google Shopping rich snippets can be retrieved with the Advanced function of SERP API. It provides all valuable details of the shopping element: the snippet’s rank, position, each product’s title, URL, price, and source.

That, however, doesn’t mean that Google Shopping is just another rich-snippet block in SERPs. Although it may sound a bit left field, Google Shopping is a stand-alone e-commerce platform extending far beyond the traditional ad-based business model. In fact, by adding a Shopping tab to the SERP and building a unique interface for it, Google quickly repositioned itself as a place where people can actually buy and sell things.

If you type the same “harry potter book set” query in Google Shopping, you’d see the following:
Google Shopping results page

The results page consists exclusively of paid product ads. You can also click on certain results to get more information about a particular product, including its reviews, sellers, similar items, and details.

It’s worth noting that the platform is expanding its reach and is currently available in 94 countries, with 50 called beta countries, where advertising performance may be a bit different from non-beta countries.

Google Shopping campaigns are of great use for promoting particular items, driving website traffic, and generating qualified leads. The cost of Google Shopping ads is established by bidding the maximum amount you are willing to pay for a click or an engagement. Though, you will often pay less than your max. CPC/CPE.

The higher click-through rate of Google Shopping ads vs. Search Ads or traditional text ads attracts more investment in the service. According to Merkle’s research, Google Shopping ads spend increased by 38% this year compared to last year. At the same time, Search Ads spend decreased by 12%.

Since Google Shopping is a paid service, no surprise it’s powered by Google Ads (formerly known as Google AdWords). However, there’s also another service involved – viz., the Google Merchant Center. While the first one represents the control panel for your shopping campaigns (including bids, budget, sales analytics, and more), the second one is used for managing your product feed, which is a file containing all the data on your merchandise.

While setting up Google Shopping ads is somewhat similar to configuring standard Google Ads, there’s one thing that makes them different. At Google Shopping, keywords don’t matter. Google takes into account your product data to define what queries can trigger your ads.

To make your Google Shopping ads campaign a revenue generator, you need:

  • A well-maintained product feed
  • Carefully thought-out account setup
  • Recurring campaign optimization
  • Systematic monitoring of performance metrics

Still, keeping tabs on overall campaign outcomes can be tough as it requires implementing effective data management. For this reason, as the platform evolved, it became necessary to provide advertisers with a resource to use its data for e-commerce analytics.

The Search API for Google Shopping: Evolution and Collapse

Google launched Search API for Shopping in 2010. It allowed businesses that advertised products on Google Shopping to extract and analyze the necessary information (such as prices, product descriptions, etc.) from the results pages. This API displayed outputs relying on the data gathered from users’ Merchant Center feeds. What’s more, back then, Google offered a separate Search API for Shopping, that allowed collecting product information programmatically.

Nonetheless, all that was too good to last long. In 2013 Google decided to shut down Search API for Shopping, leaving thousands of retailers without a reliable source of e-commerce data.

We’re deprecating our Search API for Shopping, which has enabled developers to create shopping apps based on Google’s Product Search data. While we believe in the value this offering provided, we’re shifting our focus to concentrate on creating a better shopping experience for users through Google Shopping. We’ll shut the API down completely on September 16, 2013. – Google Official Blog

Moreover, Google never announced they had plans to provide a replacement. So, the door to Google Shopping data was closed.

DataForSEO Google Shopping API: Get Back In The Game

When Google first announced they would shut down Search API for Shopping, nobody could imagine how big of a gap would emerge in its place.

That, however, didn’t mean the connection point between Google’s e-commerce platform data and large retailers was lost. The gap got quickly filled up with third-party data providers that pretended to “have an ultimate substitute for Google’s API.”

Here at DataForSEO, we decided to invest our efforts in building something that an overwhelming majority of e-commerce API providers are not capable of. Namely, we designed the Google Shopping API so that our clients can regularly retrieve vast volumes of data. We are able to crawl Google Shopping SERPs and deliver real-time results at exceptional speed.

DataForSEO Google Shopping API is a concise set of endpoints for e-commerce analytics.

Google Shopping Products requires defining a keyword, location, and language you need the results for. You can additionally specify the minimum or maximum price and set up sorting by prices or reviews. The endpoint will supply all essential details about each product displayed in the results, including:

  • Rank in the Google Shopping SERP
  • Product description
  • Product ID
  • Related domain
  • Product price
  • Product and shop rating
  • URL to the product page

Google Shopping Product Specification, Google Shopping Product Info, and Google Shopping Sellers endpoints work similarly to the one described above. The only difference is that you should specify a product ID instead of a keyword when setting a task.

Google Shopping Product Specification endpoint will serve you with a complete overview of product data from the relevant Google Shopping Product Specification page, such as brand, part numbers, parameters, GTIN, etc.

Google Shopping Product Info provides data from the product pages on Google Shopping, including product description, product features, imagery, reviews, rating, variations, and sellers.

Google Shopping Sellers endpoint is designed to deliver a full overview of sellers and market prices of a particular product, including:

  • Seller’s company name
  • Base price, tax and total price
  • Details and special offers
  • Shop rating
  • Unique ad click referral parameter

Speaking of the former, you can use this parameter in Google Shopping Sellers Ad URL endpoint to retrieve a full URL of the advertisement containing all additional parameters set by the seller.

All endpoints, except for Google Shopping Product Info and Sellers Ad URL, support the HTML function, which provides a raw HTML page from Google Shopping.

As you can see, this complex of endpoints provides an extensive e-commerce dataset. The next part of the article showcases how you can leverage it to develop a measurable data strategy for your business.

DataForSEO Google Shopping API: What Is It Capable Of?

Our Google Shopping API can be used for many different purposes. It has been created for helping retailers get a solid data foundation for expedient business decisions.

Google Shopping Products endpoint: pricing and competitive research
Before setting up your Google Shopping ads campaign, you would want to estimate the competition in Google Shopping SERP for the keywords you plan to target. With DataForSEO, you can review accurate ads positions for various locations. It will help you evaluate the competition and build a viable pricing strategy adjusted to specific regions.

When you have your ads campaign up and running, there is another benefit in using this endpoint. You can compare your vs. competitors’ rankings for the keywords you target to make the necessary adjustments to your product info.

Google Shopping Product Info: craft a competitive product strategy
In the rapidly-changing online environment, building a competitive product strategy becomes more and more challenging. Obtaining relevant data in a timely manner will give you a possibility to immediately adapt to swift market changes.

By using the Google Shopping Product Info endpoint, you can regularly retrieve valuable information about a product you’re selling or planning to sell, and compare buyer’s options across competitive stores. In this way, you will be able to react to any meaningful changes faster.

Google Shopping Product Specification: automate product descriptions management
We know that launching a Google Shopping ads campaign can be tough, especially when it comes to creating and managing the product feed. However, you can cross out the daunting task of writing product descriptions from your ‘to-do-list.’ Just enter your product IDs to set the Google Shopping Product Specification task, receive their descriptions collected by our API, and use them for your products.

Google Shopping Sellers endpoint: competitive price analysis
You must be well aware that any ads campaign needs monitoring and timely updates. To get the product prices list of your competitor advertisers, use Google Shopping Sellers endpoint.

By indicating the product ID and the necessary locations, you will receive the list of sellers and prices. In addition to base product price, the endpoint provides the delivery price to the region of search. The retrieved data will help you adjust the pricing to better advertise and market your product for target locations.

Google Shopping Sellers Ad URL endpoint: discover more about your competitors
Apart from knowing the prices and brand names of your competitors, sometimes it is also necessary to dig deeper into their Google Shopping ad campaigns. With this endpoint, you can pull out full ad URLs with all parameters that advertisers added for tracking the clicks.

As now you get the idea of what purposes each endpoint may serve, let’s observe how Google Shopping API works.

DataForSEO Google Shopping API In Action

Monitoring products’ positions on the Google Shopping results pages can sometimes get tricky because sellers can’t specify keywords they want their product to show up for. As you already know, Google automatically determines what keywords this or that product will be ranking for based on the seller and product descriptions. Secondly, the positions of the items on the Google Shopping SERP change incredibly fast. Something as simple as page reload can cause a complete regrouping of the results.

Nonetheless, checking up with the results is very useful when it comes to monitoring competitor’s product rankings for your targeted keywords. You can take these keywords from the Search Terms Reports at Google Ads and then get Google Shopping results for them using our Google Shopping Products endpoint.

1Let’s get a results page for the “harry potter book set” query.

Request Sample

POST https://api.dataforseo.com/v3/merchant/google/products/task_post
   
[
     {		
    	"priority":2,
		"language_code": "en",
		"location_name": "England,United Kingdom",
		"keyword": "harry potter book set"
    }
]

Response Sample

{
    "version": "0.1.20200422",
    "status_code": 20000,
    "status_message": "Ok.",
    "time": "0.1086 sec.",
    "cost": 0.002,
    "tasks_count": 1,
    "tasks_error": 0,
    "tasks": [
        {
            "id": "04231228-1535-0179-0000-27e8fcfd7905",
            "status_code": 20100,
            "status_message": "Task Created.",
            "time": "0.0079 sec.",
            "cost": 0.002,
            "result_count": 0,
            "path": [
                "v3",
                "merchant",
                "google",
                "products",
                "task_post"
            ],
            "data": {
                "api": "merchant",
                "function": "products",
                "priority": 2,
                "language_code": "en",
                "location_name": "England,United Kingdom",
                "keyword": "harry potter book set",
                "se_type": "shopping",
                "se": "google",
                "device": "desktop",
                "os": "windows"
            },
            "result": null
        }
    ]
}

2The response contains TOP100 Google Shopping results for the specified keyword. Each result includes the product name, description, price, product and shop rating, plus both Google Shopping and product page URLs.
Google Shopping search results

Request Sample

GET https://api.dataforseo.com/v3/merchant/google/products/task_get/advanced/04231228-1535-0179-0000-27e8fcfd7905

Response Sample

{
    "version": "0.1.20200422",
    "status_code": 20000,
    "status_message": "Ok.",
    "time": "0.1252 sec.",
    "cost": 0,
    "tasks_count": 1,
    "tasks_error": 0,
    "tasks": [
        {
            "id": "04231228-1535-0179-0000-27e8fcfd7905",
            "status_code": 20000,
            "status_message": "Ok.",
            "time": "0.0390 sec.",
            "cost": 0,
            "result_count": 1,
            "path": [
                "v3",
                "merchant",
                "google",
                "products",
                "task_get",
                "advanced",
                "04231228-1535-0179-0000-27e8fcfd7905"
            ],
            "data": {
                "se_type": "shopping",
                "se": "google",
                "api": "merchant",
                "function": "products",
                "priority": 2,
                "language_code": "en",
                "location_name": "England,United Kingdom",
                "keyword": "harry potter book set",
                "device": "desktop",
                "os": "windows"
            },
            "result": [
                {
                    "keyword": "harry potter book set",
                    "type": "shopping",
                    "se_domain": "google.co.uk",
                    "location_code": 20339,
                    "language_code": "en",
                    "check_url": "https://www.google.co.uk/search?q=harry%20potter%20book%20set&num=100&tbm=shop&ie=UTF-8&oe=UTF-8&tbs=vw:l&hl=en&gl=GB&gws_rd=cr&uule=w+CAIQIFISCd_VHmyKqdBHEaiOLTMlleH0",
                    "datetime": "2020-04-23 09:29:04 +00:00",
                    "spell": null,
                    "item_types": [
                        "google_shopping_serp"
                    ],
                    "items_count": 100,
                    "items": [
                        {
                            "type": "google_shopping_serp",
                            "rank_group": 1,
                            "rank_absolute": 1,
                            "position": "left",
                            "xpath": "/html[1]/body[1]/div[6]/div[3]/div[8]/div[1]/div[2]/div[1]/div[2]/div[2]/div[1]/div[1]/div[1]/div[1]/div[1]/div[1]",
                            "domain": "www.books2door.com",
                            "title": "J.K. Rowling Harry Potter Complete Collection 7 Book Set - Fiction - Paperback - J.K. Rowling",
                            "description": "A beautiful boxed set containing all seven Harry Potter novels in paperback. These new editions of the classic and internationally bestselling, multi-award-winning series ...",
                            "url": "https://www.books2door.com/products/j-k-rowling-harry-potter-complete-collection-7-book-set-fiction-paperback-j-k-rowling?variant=31934972559459",
                            "shopping_url": "https://www.google.co.uk/shopping/product/17521530567564758368?q=harry+potter+book+set&num=100&ie=UTF-8&oe=UTF-8&hl=en&gl=GB&gws_rd=cr&uule=w+CAIQIFISCd_VHmyKqdBHEaiOLTMlleH0&prds=epd:12026101780574650623,paur:ClkAsKraXyicZxsmcwTrF7hq8Vl6uN7CnoyyO0PEassTAHWkTKFr9qIH6WIZHmr9DXnwZuMKi_TBnfQBtETN9RaJwJZdsS52vHcZ4g0_3o5u1cofldB0e6eILRIZAFPVH71Z9YXj2TUpWuLEXehqWgGsibofIw,prmr:1&sa=X&ved=0ahUKEwie7pOHnv7oAhX8zjgGHUieCTEQ8gIIwQg",
                            "tags": [
                                "by J. K. Rowling, Jonny Duddle",
                                "Bloomsbury UK",
                                "Paperback",
                                "3422 pages",
                                "ISBN 1408856778"
                            ],
                            "price": 37.99,
                            "currency": "GBP",
                            "product_id": "17521530567564758368",
                            "reviews_count": "385",
                            "is_best_match": false,
                            "product_rating": {
                                "type": "rating_element",
                                "position": "left",
                                "rating_type": "Max5",
                                "value": "4.88",
                                "votes_count": 385,
                                "rating_max": null
                            },
                            "shop_rating": {
                                "type": "rating_element",
                                "position": "left",
                                "rating_type": "Percents",
                                "value": "98",
                                "votes_count": 2932,
                                "rating_max": null
                            }
                        },
                        {
                            "type": "google_shopping_serp",
                            "rank_group": 2,
                            "rank_absolute": 2,
                            "position": "left",
                            "xpath": "/html[1]/body[1]/div[6]/div[3]/div[8]/div[1]/div[2]/div[1]/div[2]/div[2]/div[1]/div[1]/div[1]/div[1]/div[1]/div[2]",
                            "domain": "www.waterstones.com",
                            "title": "Harry Potter Adult Hardback Box Set",
                            "description": "J.K. Rowling's spellbinding storytelling continues to captivate readers worldwide. This stunning box set contains all seven of the classic, multi-award-winning Harry Potter ...",
                            "url": "https://www.waterstones.com/product/harry-potter-adult-hardback-box-set/j-k-rowling//9781408868379",
                            "shopping_url": null,
                            "tags": null,
                            "price": 115,
                            "currency": "GBP",
                            "product_id": null,
                            "reviews_count": null,
                            "is_best_match": false,
                            "product_rating": null,
                            "shop_rating": null
                        },
                        {
                            "type": "google_shopping_serp",
                            "rank_group": 3,
                            "rank_absolute": 3,
                            "position": "left",
                            "xpath": "/html[1]/body[1]/div[6]/div[3]/div[8]/div[1]/div[2]/div[1]/div[2]/div[2]/div[1]/div[1]/div[1]/div[1]/div[1]/div[3]",
                            "domain": "www.lowplex.com",
                            "title": "Harry Potter The Complete Collection 7 Books Set Box Collection J K Rowling - Black Box",
                            "description": "J.K. Rowling's Harry Potter novels are now available in these spectacular new editions, with beautifully designed jackets by renowned woodcut artist Andrew Davidson. This stylish ...",
                            "url": "https://www.lowplex.com/products/harry-potter-the-complete-collection-7-books-set-box-collection-j-k-rowling-black-box?variant=31203446653018¤cy=GBP&utm_source=google&utm_medium=cpc&utm_campaign=google+shopping",
                            "shopping_url": "https://www.google.co.uk/shopping/product/2831393683262604228?q=harry+potter+book+set&num=100&ie=UTF-8&oe=UTF-8&hl=en&gl=GB&gws_rd=cr&uule=w+CAIQIFISCd_VHmyKqdBHEaiOLTMlleH0&prds=epd:11884341682827130521,paur:ClkAsKraX6kVataoeI9smZkVRNyetNWI9hExEJ0gBJhFOjq2TAu8IqxSnrOK-eoO3z--V1lRdd7KT0Mg3zZCg66AuBVYCZ5qJxQjgkaDlA-UrGBkdY_JldYiHhIZAFPVH71LWcbDTlpD8v2Hkn4ij8j4StSdsw,prmr:1&sa=X&ved=0ahUKEwie7pOHnv7oAhX8zjgGHUieCTEQ8gII2Qg",
                            "tags": [
                                "by J. K. Rowling",
                                "Bloomsbury",
                                "Paperback",
                                "3422 pages",
                                "ISBN 1408850753"
                            ],
                            "price": 33.99,
                            "currency": "GBP",
                            "product_id": "2831393683262604228",
                            "reviews_count": "20",
                            "is_best_match": false,
                            "product_rating": {
                                "type": "rating_element",
                                "position": "left",
                                "rating_type": "Max5",
                                "value": "4.94",
                                "votes_count": 20,
                                "rating_max": null
                            },
                            "shop_rating": {
                                "type": "rating_element",
                                "position": "left",
                                "rating_type": "Percents",
                                "value": "94",
                                "votes_count": 477,
                                "rating_max": null
                            }
                        },
                        {
                            "type": "google_shopping_serp",
                            "rank_group": 4,
                            "rank_absolute": 4,
                            "position": "left",
                            "xpath": "/html[1]/body[1]/div[6]/div[3]/div[8]/div[1]/div[2]/div[1]/div[2]/div[2]/div[1]/div[1]/div[1]/div[1]/div[1]/div[4]",
                            "domain": "www.lowplex.com",
                            "title": "Harry Potter Complete Collection 7 Books Set Collection J K Rowling Hardback Red",
                            "description": "Take yourself right back to the beginning and start the journey once more with Harry, Hermione and Ron. This amazingly awesome collection contains all 8 books from the ...",
                            "url": "https://www.lowplex.com/products/harry-potter-complete-collection-7-books-set-collection-j-k-rowling-hardback-red?variant=31203487875162¤cy=GBP&utm_source=google&utm_medium=cpc&utm_campaign=google+shopping",
                            "shopping_url": "https://www.google.co.uk/shopping/product/6994987812640068390?q=harry+potter+book+set&num=100&ie=UTF-8&oe=UTF-8&hl=en&gl=GB&gws_rd=cr&uule=w+CAIQIFISCd_VHmyKqdBHEaiOLTMlleH0&prds=epd:14366910817132236030,paur:ClkAsKraXwMKWaaqGG8hHRtdDTZeRyLiaYCZGruHlwCt2CdjP9ughubkdNpDy-xGwtw0D0jtCjt-ezlADjQqgNibPXyw1210LwmgPztFSIoFncCsT_UdmC-hNRIZAFPVH72iuE_p-J18-53CLdULZxpMZwiz2Q,prmr:1&sa=X&ved=0ahUKEwie7pOHnv7oAhX8zjgGHUieCTEQ8gII6Ag",
                            "tags": [
                                "by J. K. Rowling",
                                "Bloomsbury",
                                "Hardback",
                                "3422 pages",
                                "ISBN 1408856786"
                            ],
                            "price": 66.99,
                            "currency": "GBP",
                            "product_id": "6994987812640068390",
                            "reviews_count": "385",
                            "is_best_match": false,
                            "product_rating": {
                                "type": "rating_element",
                                "position": "left",
                                "rating_type": "Max5",
                                "value": "4.88",
                                "votes_count": 385,
                                "rating_max": null
                            },
                            "shop_rating": {
                                "type": "rating_element",
                                "position": "left",
                                "rating_type": "Percents",
                                "value": "94",
                                "votes_count": 477,
                                "rating_max": null
                            }
                        },
                        {
                            "type": "google_shopping_serp",
                            "rank_group": 5,
                            "rank_absolute": 5,
                            "position": "left",
                            "xpath": "/html[1]/body[1]/div[6]/div[3]/div[8]/div[1]/div[2]/div[1]/div[2]/div[2]/div[1]/div[1]/div[1]/div[1]/div[1]/div[5]",
                            "domain": "www.whsmith.co.uk",
                            "title": "Harry Potter Boxed Set: The Complete Collection (Adult Paperback)",
                            "description": "Celebrate 20 years of Harry Potter magic! J.K. Rowling 's Harry Potter novels are now available in these spectacular new editions, with beautifully designed jackets by renowned ...",
                            "url": "https://www.whsmith.co.uk/products/harry-potter-boxed-set-the-complete-collection-adult-paperback/j-k-rowling/book/9781408898659.html",
                            "shopping_url": "https://www.google.co.uk/shopping/product/255981164494259516?q=harry+potter+book+set&num=100&ie=UTF-8&oe=UTF-8&hl=en&gl=GB&gws_rd=cr&uule=w+CAIQIFISCd_VHmyKqdBHEaiOLTMlleH0&prds=epd:10192400937167256088,paur:ClkAsKraX1kfbtnUdy035GPHbWEXmMR2wixIbDcgQ7DfEROLQEJqssN32--ruc2bVYcsZ3y5Q7FqbocK-5OEDz_ROtTB54OH3tk9wGcy-zMJSIqvauo7eDizRxIZAFPVH72byBOQdsS2WICJp5AzCN-paTaXIA,prmr:1&sa=X&ved=0ahUKEwie7pOHnv7oAhX8zjgGHUieCTEQ8gII9wg",
                            "tags": [
                                "by J. K. Rowling",
                                "Bloomsbury Publishing Plc",
                                "Paperback",
                                "3422 pages",
                                "ISBN 1408898659"
                            ],
                            "price": 47.24,
                            "currency": "GBP",
                            "product_id": "255981164494259516",
                            "reviews_count": "2",
                            "is_best_match": false,
                            "product_rating": {
                                "type": "rating_element",
                                "position": "left",
                                "rating_type": "Max5",
                                "value": "5",
                                "votes_count": 2,
                                "rating_max": null
                            },
                            "shop_rating": null
                        },

Another use of Google Shopping API is competitive price analysis. We will go through extracting data for the “Harry Potter Boxed Set: the Complete Collection” using its Google Shopping ID and DataForSEO Google Shopping Sellers endpoint.

Note that Google Shopping ID is different from the standard GTIN or MPN identifiers. It’s a unique set of numbers assigned to products by Google and indicated in the URL of the product’s page.
Google Shopping ID

1First things first, you’ll need to configure the request to Google Shopping API. Use Google Shopping ID of the product you’re interested in, and don’t forget to specify the necessary location and language. We recommend checking our documentation beforehand.

Request Sample

POST https://api.dataforseo.com/v3/merchant/google/sellers/task_post

[
     {		
    	"priority":2,
		"language_code": "en",
		"location_name": "England,United Kingdom",
		"product_id": "255981164494259516"
    }
]
Response Sample 
{
    "version": "0.1.20200422",
    "status_code": 20000,
    "status_message": "Ok.",
    "time": "0.1204 sec.",
    "cost": 0.002,
    "tasks_count": 1,
    "tasks_error": 0,
    "tasks": [
        {
            "id": "04231346-1535-0183-0000-2c9a3c61c7a1",
            "status_code": 20100,
            "status_message": "Task Created.",
            "time": "0.0090 sec.",
            "cost": 0.002,
            "result_count": 0,
            "path": [
                "v3",
                "merchant",
                "google",
                "sellers",
                "task_post"
            ],
            "data": {
                "api": "merchant",
                "function": "sellers",
                "se": "google",
                "priority": 2,
                "language_code": "en",
                "location_name": "England,United Kingdom",
                "product_id": "255981164494259516",
                "se_type": "shops_list",
                "device": "desktop",
                "os": "windows"
            },
            "result": null
        }
    ]
}

2 The results you’ll get reflect the info extracted from the table on the “Online Shops” page.
Online shops Harry Potter Boxed Set the Complet

Request Sample

https://api.dataforseo.com/v3/merchant/google/sellers/task_get/advanced/04231346-1535-0183-0000-2c9a3c61c7a1
Response Sample 

{
    "version": "0.1.20200422",
    "status_code": 20000,
    "status_message": "Ok.",
    "time": "0.0691 sec.",
    "cost": 0,
    "tasks_count": 1,
    "tasks_error": 0,
    "tasks": [
        {
            "id": "04231346-1535-0183-0000-2c9a3c61c7a1",
            "status_code": 20000,
            "status_message": "Ok.",
            "time": "0.0356 sec.",
            "cost": 0,
            "result_count": 1,
            "path": [
                "v3",
                "merchant",
                "google",
                "sellers",
                "task_get",
                "advanced",
                "04231346-1535-0183-0000-2c9a3c61c7a1"
            ],
            "data": {
                "se_type": "shops_list",
                "api": "merchant",
                "function": "sellers",
                "se": "google",
                "priority": 2,
                "language_code": "en",
                "location_name": "England,United Kingdom",
                "product_id": "255981164494259516",
                "device": "desktop",
                "os": "windows"
            },
            "result": [
                {
                    "product_id": "255981164494259516",
                    "type": "shops_list",
                    "se_domain": "google.co.uk",
                    "location_code": 20339,
                    "language_code": "en",
                    "check_url": "https://www.google.co.uk/shopping/product/255981164494259516/online?&hl=en&gl=GB&gws_rd=cr&uule=w+CAIQIFISCd_VHmyKqdBHEaiOLTMlleH0",
                    "datetime": "2020-04-23 10:46:52 +00:00",
                    "item_types": [
                        "shops_list"
                    ],
                    "items_count": 5,
                    "items": [
                        {
                            "type": "shops_list",
                            "rank_group": 1,
                            "rank_absolute": 1,
                            "position": "right",
                            "xpath": "/html[1]/body[1]/div[3]/div[2]/div[1]/div[1]/div[2]/div[3]/div[1]/table[1]/tbody[1]/tr[1]",
                            "domain": null,
                            "title": "Harry Potter Boxed Set: the Complete Collection (Adult Paperback) [Book]",
                            "url": "https://www.google.co.uk/aclk?sa=l&ai=DChcSEwiNkoW4r_7oAhWJ4ncKHercAeYYABAGGgJlZg&sig=AOD64_2kt8W7q3ZgaD0bOjBVGA_O-R0H4Q&adurl=&ctype=5&q=",
                            "details": "· Free delivery",
                            "base_price": 38.61,
                            "tax": null,
                            "total_price": 38.61,
                            "currency": "GBP",
                            "seller_name": "eBay",
                            "rating": null,
                            "shop_ad_aclk": "DChcSEwiNkoW4r_7oAhWJ4ncKHercAeYYABAGGgJlZg"
                        },
                        {
                            "type": "shops_list",
                            "rank_group": 2,
                            "rank_absolute": 2,
                            "position": "right",
                            "xpath": "/html[1]/body[1]/div[3]/div[2]/div[1]/div[1]/div[2]/div[3]/div[1]/table[1]/tbody[1]/tr[3]",
                            "domain": null,
                            "title": "Harry Potter Boxed Set: the Complete Collection (Adult Paperback) [Book]",
                            "url": "https://www.google.co.uk/aclk?sa=l&ai=DChcSEwiNkoW4r_7oAhWJ4ncKHercAeYYABAEGgJlZg&sig=AOD64_32u-VnFWygvFUz1ov18AYtTHjwNQ&adurl=&ctype=5&q=",
                            "details": "· Free delivery",
                            "base_price": 40.42,
                            "tax": null,
                            "total_price": 40.42,
                            "currency": "GBP",
                            "seller_name": "OnBuy.com",
                            "rating": {
                                "type": "rating_element",
                                "position": "left",
                                "rating_type": "Percents",
                                "value": "88",
                                "votes_count": 2664,
                                "rating_max": "100"
                            },
                            "shop_ad_aclk": "DChcSEwiNkoW4r_7oAhWJ4ncKHercAeYYABAEGgJlZg"
                        },
                        {
                            "type": "shops_list",
                            "rank_group": 3,
                            "rank_absolute": 3,
                            "position": "right",
                            "xpath": "/html[1]/body[1]/div[3]/div[2]/div[1]/div[1]/div[2]/div[3]/div[1]/table[1]/tbody[1]/tr[4]",
                            "domain": null,
                            "title": "Harry Potter Boxed Set: the Complete Collection (Adult Paperback) [Book]",
                            "url": "https://www.google.co.uk/aclk?sa=l&ai=DChcSEwiNkoW4r_7oAhWJ4ncKHercAeYYABAFGgJlZg&sig=AOD64_1tIoxuujyYrsUA3aNdzp0wKs7jjw&adurl=&ctype=5&q=",
                            "details": "· Free delivery",
                            "base_price": 45.56,
                            "tax": null,
                            "total_price": 45.56,
                            "currency": "GBP",
                            "seller_name": "Blackwell's",
                            "rating": null,
                            "shop_ad_aclk": "DChcSEwiNkoW4r_7oAhWJ4ncKHercAeYYABAFGgJlZg"
                        },
                        {
                            "type": "shops_list",
                            "rank_group": 4,
                            "rank_absolute": 4,
                            "position": "right",
                            "xpath": "/html[1]/body[1]/div[3]/div[2]/div[1]/div[1]/div[2]/div[3]/div[1]/table[1]/tbody[1]/tr[5]",
                            "domain": null,
                            "title": "Harry Potter Boxed Set: the Complete Collection (Adult Paperback) [Book]",
                            "url": "https://www.google.co.uk/aclk?sa=l&ai=DChcSEwiNkoW4r_7oAhWJ4ncKHercAeYYABAHGgJlZg&sig=AOD64_1-urRe8yCxwOLRqJMcWgukWFVHTQ&adurl=&ctype=5&q=",
                            "details": "· Free delivery",
                            "base_price": 47.24,
                            "tax": null,
                            "total_price": 47.24,
                            "currency": "GBP",
                            "seller_name": "WHSmith",
                            "rating": null,
                            "shop_ad_aclk": "DChcSEwiNkoW4r_7oAhWJ4ncKHercAeYYABAHGgJlZg"
                        },
                        {
                            "type": "shops_list",
                            "rank_group": 5,
                            "rank_absolute": 5,
                            "position": "right",
                            "xpath": "/html[1]/body[1]/div[3]/div[2]/div[1]/div[1]/div[2]/div[3]/div[1]/table[1]/tbody[1]/tr[6]",
                            "domain": null,
                            "title": "Harry Potter Boxed Set: the Complete Collection (Adult Paperback) [Book]",
                            "url": "https://www.google.co.uk/aclk?sa=l&ai=DChcSEwiNkoW4r_7oAhWJ4ncKHercAeYYABAJGgJlZg&sig=AOD64_0SWmVAFXO_rPPAmKHu4oJ8KK-fdw&adurl=&ctype=5&q=",
                            "details": "· Free delivery",
                            "base_price": 45.88,
                            "tax": null,
                            "total_price": 45.88,
                            "currency": "GBP",
                            "seller_name": "Fishpond.co.uk",
                            "rating": null,
                            "shop_ad_aclk": "DChcSEwiNkoW4r_7oAhWJ4ncKHercAeYYABAJGgJlZg"
                        }
                    ]
                }
            ]
        }
    ]
}

As simple as that, we have retrieved the required details with DataForSEO Google Shopping API.

Bottom Line

Historically, Google APIs were considered a safe bet. However, if we take the example of the Search API for Google Shopping – it’s no longer the case. Google wants people to use its services for searching and shopping. So the shutdown of the possibility to follow a different path when looking for products online came as no surprise.

Nonetheless, we are ready to provide you with a reliable alternative. Google Shopping API will deliver all the data you need for creating an extensive product list, run price monitoring of various shops, and foresee the competition. Offered at a more than affordable price, DataForSEO Google Shopping API unlocks the closed door to e-commerce data.

George Svash

George is the Director of Content Marketing at DataForSEO, an API suite designed to help SEO software companies and agencies gather the SEO data they need for their projects. George is a tech and marketing geek with a deep passion for Big Data and SEO. Having a broad experience in content marketing and a degree in engineering, he is particularly good at explaining complex concepts.

No Comments

Sorry, the comment form is closed at this time.

Embed DataForSeo widget on your website


Embed code:
Preview: