This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!-- ProductGroup Structured Data --> | |
<script type="application/ld+json"> | |
{ | |
"@context": "https://schema.org/", | |
"@type": "ProductGroup", | |
"name": "<REPLACE WITH PARENT PRODUCT NAME>", | |
"description": "<REPLACE WITH PARENT PRODUCT DESCRIPTION>", | |
"url": "<REPLACE WITH PARENT PRODUCT URL>", | |
"brand": { | |
"@type": "Brand", |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
google_data = { | |
"spend" => { | |
"overall" => { | |
"mtd" => { | |
"total" => 1111.32, | |
"yy" => 13.24 | |
}, | |
"last_7_d" => { | |
"total" => 321.30, | |
"yy" => 5.38 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
google_data = { | |
"spend" => { | |
"overall" => { | |
"20220801" => 11.00, | |
"20220731" => 32.32, | |
"20220730" => 2.12, | |
"20220729" => 4.55, | |
... | |
"20220704" => 21.19 | |
}, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// This script gets the number of impressions on the account. If the number of impressions < 0, it | |
// will send emergency email to Roger, Steve, Melissa & Jordan. | |
// --------------------------START----------------------------// | |
// Add your email address to be notified in an account emergency. | |
var EMAIL_ADDRESSES_TO_NOTIFY = ["test@email.com"]; | |
// Corresponds with Google Sheet "Impressions Emergency Script Global Variables" | |
var SHEETID = "yourcustomsheetidhere"; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[4] pry(#<Post>):1> nesting | |
Nesting status: | |
-- | |
0. main (Pry top level) | |
1. #<Post> | |
[5] pry(#<Post>):1> self.to_s | |
=> "#<Post:0x00000002f0d2a8>" | |
[6] pry(#<Post>):1> self.title = 'some new title' | |
=> "some new title" | |
[7] pry(#<Post>):1> self.body = 'some new body' |