Git Product home page Git Product logo

low_volume_skus's Introduction

Low Volume SKUs

This is a solution to be used by shopping Customers (CSS, GCS). It consists of a script (js) to be run in Google Ads Scripts. It uses Google Ads API (the previous version used AdWords API, which is deprecated).

Requirements to use the Script

  • Merchant Center Sub Account (not MCA)
  • A Spreadsheet with 2 columns (for supplemental feed).
  • A free custom Label (otherwise existing values will be replaced with the values from supplemental feed.)

NOTE: MCAs require a combination of various components (CF, BQ, GCS) to use supplemental feeds - which won't work with this - so a solution is WIP.

Steps to implement the script

Here is a simplified overview of the steps. A detailed step by step description can be found in the deck below. * Implementation Deck

  1. Create a new spreadsheet and name columns 1 and 2 (cells A1 and B1) 'id' and 'custom_label_0-4' (eg. custom_label_4).
  2. Create a new Google Ads Script (Tools settings > Bulk Actions > Scripts).
  3. Copy the script content and paste in the newly created Google Ads Script.
  4. REPLACE (at least) the variables for: * CUSTOM_LABEL_NR, * SPREADSHEET_URL,
  5. Check other variables that you may want to change: * THRESHOLD, USE_CAMPAIGN_FILTER, FILTER_CAMPAIGN_NAME, PRODUCT_ID_CAPITALISED, TIME_DURATION, and/or COUNT_LIMIT.
  6. Authorize your script to run in Google Ads Account. 7. Run the script (you can also hit preview) and check for potential errors in the execution logs or in your spreadsheet.
  7. Set a frequency to run your script automatically. 9. Create a supplemental feed in your Google Merchant Center account, using the spreadsheet created above.
  8. Create a new Low Volume SKU campaign and use inventory filters to target items via the custom label.

Note: It is important that both schedules (from script and supplemental feed) are timed correctly so that new labeled product are properly picked up.

Known issues

  1. If capitalised offer_ids are used - script must be adjusted based on the naming convention as Ads API converting offer_id values to lowercase which will cause mismatch during supplemental feed processing. Please use PRODUCT_ID_CAPITALISED flag to convert offer_id's to upper case.

Licensing

Terms of the release - Copyright 2021 Google LLC. Licensed under the Apache License, Version 2.0.

This is not an officially supported Google product.

low_volume_skus's People

Contributors

jnetogoogle avatar max-reemets avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

low_volume_skus's Issues

Label not Created

I've been using the great script multiple times. First of all, thank you for that.

My issue is that the custom label is not getting created.
__> Create a new Low Volume SKU campaign and use inventory filters to target items via the custom label.

Can you assist me with this? What could be the reason? All the steps have been followed.

Need parseInt(THRESHOLD)

In line 114, THRESHOLD is a string, so it needs to be changed to parseInt(THRESHOLD) before comparing to integers.

Label not defined

Hello,

I face following error:

ReferenceError: label is not defined
at getFilteredShoppingProducts (Code:112:13)
at main (Code:70:7)

It seems to me based on the error, that there is no label for ramped up products. But it is there by dafult.

Could you please check or help me with troubleshooting?
Thank you

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.