public class GoogleAdsUserCredentialFactory extends java.lang.Object implements CredentialFactory
Credentials to be used by Google Ads API calls. This factory only
 supports UserCredentials, ServiceAccountCredentials and domain-wide delegation are not supported.| Modifier and Type | Method and Description | 
|---|---|
| static GoogleAdsUserCredentialFactory | fromOptions(PipelineOptions options) | 
| @Nullable com.google.auth.Credentials | getCredential()Returns  Credentialsas configured byGoogleAdsOptions. | 
public static GoogleAdsUserCredentialFactory fromOptions(PipelineOptions options)
public @Nullable com.google.auth.Credentials getCredential()
Credentials as configured by GoogleAdsOptions.getCredential in interface CredentialFactory