Google Search Ads Price Automation Script - google-contacts-api

I want price to be shown on ads, price is constantly changing on site and I want prices to automatically change in the ads
currently, we're updating price manually for 20k products
So far its been manual work, I want it automated. I have over 20k product ads set up

Related

I'm trying to create a multi-table Query on MS Access. Both tables contain dates but at different frequency

I'm trying to create a Multi-Table Query on Access to improve operational efficiency.
I have two Tables:
EPOS (where: Date/Item Code/Sales for the day are contained on a daily basis)
MATERIAL (where: Date/Item Code/Opening Stock for the day are contained on a weekly basis)
I have Daily data for EPOS (Sales), but only Weekly data for MATERIAL (Opening Stock).
I'm trying to Run a Query that allows me to filter by item code in the Design View, and display daily data for EPOS and just weekly data for Opening Stock.
I'm trying to have it displayed at this frequency, with Opening Stock being shown just for where data is available.
When I've tried, my data would only be displayed on a Weekly Frequency (basically, only where Opening Stock information is available).
See here
I tried my best to make my request as clear and concise as possible, any questions, please ask.
Thanks in advance for your help.

Combine dynamic records in an MS Access table

My company uses a barcode scanner to scan computers in rooms for inventory purposes. We scan a barcode on the door of the room and then scan a barcode on each computer.
I have created my own Access database that imports the records and then let us track our computers in each room and track additional non-inventory information about them - like type of computer (computer lab or Admin computer), date it was moved to another room, who the computer belongs to if it is an admin computer, etc. I would now like to scan each computer twice - one scan for the inventory code and one scan for the Dell Service Tag barcode.
I end up with a table that looks like this:
03/14/18,15:00:15,03,117SE
03/14/18,15:00:23,01,Z0820167
03/14/18,15:00:27,01,9MR8S52
03/14/18,15:00:34,01,Z0820168
03/14/18,15:00:39,01,9MQMS52
03/14/18,15:00:47,01,Z0820148
03/14/18,15:00:54,01,C6RLS52
03/14/18,15:02:29,01,Z0820138
03/14/18,15:02:32,01,C6RMS52
The 03 record is the room number scan from the barcode on the door
The 01 records alternate:
The first row is the Inventory Tag that starts with the Z
The next row is the Dell Service tag which varies.
The rows then continue on to the subsequent computers
I would like to combine the Inventory tag record and the Dell service tag record into one record for each computer. I can figure out the logic to determine what kind of record each record is (inventory or service tag) but I am unsure of:
How to take the inventory code from 1 record
Then take the same field from the second record that has the Service tag
Combine the records putting the dell service tag in a new field
Then moving onto the next set of records until the end of the table
I would like to end up with a table something like this:
Date Time Room Inventorytag Servicetag
03/14/18 15:00:15 117SE Z0820167 9MR8S52
03/14/18 15:00:34 117SE Z0820168 9MQMS52
03/14/18 15:00:47 117SE Z0820148 C6RLS52
03/14/18 15:02:29 117SE Z0820138 C6RMS52
I am limited by our corporate inventory guys on how the scanner is configured I can change the data format. I will import the data remove the dellservice tag records and then output the txt file in the format that they need for the inventory system.
So far I have done all of my data manipulation using VBA and SQL queries.
So I want to make this work. Any ideas!!

Script to Match Products with Images Named Using the Same SKU

I have a WordPress website using WooCommerce. I have all products with a unique SKU. I also have images uploaded on the server as well in a folder root/images named with each particular SKU.jpg (where SKU is changed by a number).
Has anyone managed to use or create a plugin or script which when run sets all matching images as default product image?
For example a Product with SKU 04563 has the default image set to root/images/04563.jpg when the plugin/script is run.

retrieving certain values from mysql

i am using mysql database and i have built a booking form for my website by default the booking states is pending. Once i have rang them and booked a time and date with them it changes to booked but in my admin site. I want to be able to click on the page that shows the booking info that stored in my db but i only want to show the pending clients info not the booked is there away to do this using php or would it be easier to move the booked info to a different db table
sorry about my writing skills i not every good with put what in my head down on to paper well computer in this case

Wordpress database - obtaining quantity of sales figures

Here is what I want to do. I am setting up a new commerce website for myself using WooCommerce. From each sale I will be donating $5 to a charity. In the header of my Wordpress site I want to have a counter that shows how much money we have donated in this current week.
So how do I get the required number from the WP database? I guess I need to some how extract the number of sales from the database, multiply that by 5 and put it in the header.php with a $ infront of it.
I don't mind if I have to change code at the beginning of each week to reset the counter.
Simple solution store a value of number of sales, create a wordpress option and increment it in the process of making the sale.
Otherwise you need to look more into the db structure of your ecommerce code and perform a count query of all records between today - 7d and today.