Uses of Class
com.google.api.ads.dfa.lib.client.DfaSession.Builder

Packages that use DfaSession.Builder
com.google.api.ads.dfa.lib.client   
 

Uses of DfaSession.Builder in com.google.api.ads.dfa.lib.client
 

Methods in com.google.api.ads.dfa.lib.client that return DfaSession.Builder
 DfaSession.Builder DfaSession.Builder.from(org.apache.commons.configuration.Configuration config)
          Reads properties from the provided Configuration object.

Known properties: api.dfa.username api.dfa.password api.dfa.applicationName api.dfa.token api.dfa.environment, e.g.
 DfaSession.Builder DfaSession.Builder.fromFile()
           
 DfaSession.Builder DfaSession.Builder.fromFile(File path)
           
 DfaSession.Builder DfaSession.Builder.fromFile(String path)
           
 DfaSession.Builder DfaSession.Builder.fromFile(URL path)
           
 DfaSession.Builder DfaSession.Builder.withApplicationName(String applicationName)
          Includes application name.
 DfaSession.Builder DfaSession.Builder.withEndpoint(String endpoint)
          Override the endpoint server.
 DfaSession.Builder DfaSession.Builder.withEnvironment(DfaSession.Environment environment)
          Includes the specified environment, e.g.
 DfaSession.Builder DfaSession.Builder.withOAuth2Credential(com.google.api.client.auth.oauth2.Credential credential)
          Includes an OAuth2 credential.
 DfaSession.Builder DfaSession.Builder.withUsernameAndOAuth2Credential(String username, com.google.api.client.auth.oauth2.Credential credential)
          Includes a username with an OAuth2 credential used for generating DFA tokens.
 DfaSession.Builder DfaSession.Builder.withUsernameAndPassword(String username, String password)
          Includes username and password.
 DfaSession.Builder DfaSession.Builder.withUsernameAndToken(String username, String token)
          Includes a username with a hard-coded token to be used instead of fetching a new one.
 



Copyright © 2012. All Rights Reserved.