I am following Google Ads documentation to fetch a refresh token. I have got to this step: https://developers.google.com/google-ads/api/docs/get-started/make-first-call#fetch_a_refresh_token

oauth2l fetch --credentials credentials.json --scope adwords \     --output_format refresh_token 

When I run the above command I get the error missing 'type' field in credentials

I found answers similar to this: https://github.com/GeneralElectric/GABeat/issues/2

So I tried adding "type": "service_account" to the json file but then I get this error instead: "private key should be a PEM or plain PKCS1 or PKCS8; parse error: asn1: syntax error: sequence truncated"

Below is the credentials.json file (after I added the "type" field). The original was downloaded during this step of the Google Ads documentation: https://developers.google.com/google-ads/api/docs/get-started/oauth-cloud-project#id-secret

{   "type": "service_account",   "web": {     "client_id": "XXXXXXXXXX.apps.googleusercontent.com",     "project_id": "XXXXXXXXXX",     "auth_uri": "https://accounts.google.com/o/oauth2/auth",     "token_uri": "https://oauth2.googleapis.com/token",     "auth_provider_x509_cert_url": "https://www.googleapis.com/oauth2/v1/certs",     "client_secret": "XXXXXXXXXX",     "javascript_origins": [       "https://XXXXXXXXXX.co.uk"     ]   } } 

The goal is to take data we have and create google ads' Customer List with it automatically, using NodeJS, specifically this:

https://developers.google.com/google-ads/api/docs/remarketing/audience-segments/customer-match/get-started#create-customer

I looked into documentation for google-ads-api, googleapi and a couple of other libraries but found nothing helpful. I'm also pretty new with Google Ads API, so I might be missing something obvious.

There seems to be no good examples or documentation on this (except the PHP, C# etc ones in the above link), so if it's not possible in NodeJS I would love to have a concrete confirmation and/or explanation as to why.

I am having trouble to add a reaction to a message through the whatsapp API. I am receiving an good response like the one in the docs

I am posting to https://graph.facebook.com/v18.0/{fromNumber}/messages with the following data:

{   "messaging_product": "whatsapp",   "to": {toNumber},   "type": "reaction",   "reaction": {     "message_id": {messageID",     "emoji": "💭"   } }

And receiving a good response:

{   "messaging_product": "whatsapp",   "contacts": [     {       "input": {toNumber},       "wa_id": {toNumber}     }   ],   "messages": [     {       "id": {responseWaId}     }   ] } 

But sadly no reaction to the message is given

I am using PHP:

/**  * Markeer bericht met reactie  *  * @param string $toNumber  * @param string $message  * @return int  */ public function markMessageWithEmoji(string $messageId){     $url = "https://graph.facebook.com/v18.0/{$this->fromNumber}/messages";     $response = Http::withHeaders([         'Authorization' => 'Bearer ' . $this->whatsappToken,         'Content-Type' => 'application/json',     ])->post($url, [         'messaging_product' => 'whatsapp',         'recipient_type' => 'individual',         'to' => $this->toNumber,         'type' => 'reaction',         'reaction' => [             'message_id' => $messageId,             'emoji' => '💭',         ],     ]);     return $response->status(); } 

I am sure the message id is correct, since I use the same ID to set the received message as read and this works as expected

I'm curious if Twilio has any plans to support the creation and sending of carousel templates for WhatsApp, as outlined in Facebook's documentation: Carousel Templates.

In the meantime, is there a way to create and get approval for these templates directly through WhatsApp Business API (WABA) and then, once approved, send them via Twilio?

Thanks for any insights or guidance!

I`m would like to send a carousel using twilio.