ADF Google Ads Linked Service using Service Authentication as the Authentication Type ERROR pkcs8PrivateKey

mamadou bhoye sow 5 Reputation points
2025-03-04T21:37:57.02+00:00

Trying to access Google Ads data using a Google Ads Service Account, and the ADF Google Ads Linked Service. The linked service "Authentication type" set to "Service authentication".  We generated a private key for this Service Account in Google, and we have used the key as the value in the "Private key" field of the linked service.  We have populated the other required linked service fields (Name, Client customer ID, Developer token, Email), and also the optional "Login customer ID" field.  We have also designated the linked service to use a self-hosted integration runtime instead of the AutoResolveIntegrationRuntime.  

Point here:
the private key is a valid too and we tested its validity using openssl
-----BEGIN PRIVATE KEY-----

MIIEvQIBADANBgkqhkiG9w0BAQEFAASCBKcwggSjAgEAAoIBAQC...

-----END PRIVATE KEY-----

When testing the connection, we are receiving this error message:

The error said we the parameter is empty looks like the google ads connector ui is not recognizing the content of the private key.

Test connection operation failed.
Failed to open the database connection.
Fail to read from Google Ads.
Parameter was empty Parameter name: pkcs8PrivateKey

Any help from Microsoft?

Azure Data Factory
Azure Data Factory
An Azure service for ingesting, preparing, and transforming data at scale.
11,323 questions
{count} vote

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.