Package org.apache.beam.sdk.io.googleads
Class DefaultGoogleAdsClientFactory
java.lang.Object
org.apache.beam.sdk.io.googleads.DefaultGoogleAdsClientFactory
- All Implemented Interfaces:
Serializable
,GoogleAdsClientFactory
The default way to construct a
GoogleAdsClient
.- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncom.google.ads.googleads.lib.GoogleAdsClient
newGoogleAdsClient
(GoogleAdsOptions options, @Nullable String developerToken, @Nullable Long linkedCustomerId, @Nullable Long loginCustomerId)
-
Constructor Details
-
DefaultGoogleAdsClientFactory
public DefaultGoogleAdsClientFactory()
-
-
Method Details
-
getInstance
-
newGoogleAdsClient
public com.google.ads.googleads.lib.GoogleAdsClient newGoogleAdsClient(GoogleAdsOptions options, @Nullable String developerToken, @Nullable Long linkedCustomerId, @Nullable Long loginCustomerId) - Specified by:
newGoogleAdsClient
in interfaceGoogleAdsClientFactory
-