Posts tagged with javascript

I would like to implement notifications through WhatsApp API into my app. I've done lots of research but I couldn't find anything official.

Officially WhatsApp API Bussiness exists, but it is a beta version and only for companies that send massive volume of messages (1 million+). There is also Twilio, it requires a business approval and I got denied because (again) my volume requirement isn't into the millions of messages per month.

Unofficial libraries exist that potentially could get the job done. I looked into it and the one that I was contemplating seemed to be unreliable. But is this really the only way?

Since the start of pandemic I've been receiving all sorts of ads with apps that offer WhatsApp notification for orders and customer services... how are they doing it? I know they are small businesses, so there must be a way.

My app was built using JavaScript/React, any information is appreciated.

I have a nuxt App which makes use of the nuxt community module gtm-module: https://github.com/nuxt-community/gtm-module/ which takes care of google tag manager stuff.

I now have the case that I need to add Adwords into the mix. According to this source (https://support.google.com/google-ads/answer/7548399?hl=en#adapt_gtag) it should be easy to just add another config id – the AW-CONVERSION_ID – to my global site tag.

Unfortunately the gtm-module does neither describe how to handle Adwords nor how to add custom stuff to the site tag.

<!-- Global site tag (gtag.js) - Google Analytics --> <script async src="https://www.googletagmanager.com/gtag/js?id=GA_TRACKING_ID">   </script> <script>window.dataLayer = window.dataLayer || [];   function gtag(){dataLayer.push(arguments);}   gtag('js', new Date());   gtag('config', 'GA_TRACKING_ID');   gtag('config','AW-CONVERSION_ID'); // THIS IS WHAT I NEED ADDITIONALLY</script> 

Does anyone know how I could accomplish the described solution here (https://support.google.com/google-ads/answer/7548399?hl=en#adapt_gtag) but with the nuxt gtm community module?

Help is very much appreciated.

Cheers

This page https://www.perlentaucher.de/static/yl-raw.html has a div at the beginning that I want to close.

If I run

parent.document.getElementById('div-gpt-ad-1407836088099-0').style.display='none'; 

in the console of Google Chrome, the div will close. However if I put this code inside of a google ad manager third party creative. I always get the error "Uncaught TypeError: Cannot read property 'style' of null"

I would like to daily monitor the optimization score of Google Ads. It is the metric shown below on the printscreen.

Does anyone know a method ( via API, Supermetrics, or other script ) to return this value to a Google Spreadsheet? I've been searching on Google Ads API but did not find anything so far, and I am curious if anyone got a solution for this.