Skip to content

Instantly share code, notes, and snippets.

function main() {
var fromCurrency = 'GBP'; //3 letter currency code for base currency
var toCurrency = 'USD'; //3 letter currency code for counter currency
var customDate = '2012-01-30'; //Date of exchange rate in form 'yyyy-MM-dd'. Leave as blank string for current exchange rates. Dates for fixer.io are valid from 2000 onwards only
var exchangeRate = GetExchangeRate(fromCurrency,toCurrency,customDate);
Logger.log(exchangeRate);
@visar-brainlabs
visar-brainlabs / Keywordsforshopping
Last active August 2, 2023 03:41
Keywords for Google Shopping Campaigns
/**
*
* Exact Match For Shopping
*
* This script reads a list of exact match keywords for Shopping campaigns from a Google Doc,
* and then excludes any search queries from those camapigns if they do not match those keywords.
*
* Version: 1.0
* Google AdWords Script maintained by brainlabsdigital.com
*
<?php
echo "hello";
?>