| Package | Description |
|---|---|
| com.google.api.ads.dfp.lib.client |
| Modifier and Type | Method and Description |
|---|---|
DfpSession.Builder |
DfpSession.Builder.from(org.apache.commons.configuration.Configuration config)
Reads properties from the provided
Configuration object.Known properties: api.dfp.clientLoginToken api.dfp.applicationName api.dfp.networkCode api.dfp.endpoint Deprecated: api.dfp.environment - e.g. |
DfpSession.Builder |
DfpSession.Builder.fromFile() |
DfpSession.Builder |
DfpSession.Builder.fromFile(File path) |
DfpSession.Builder |
DfpSession.Builder.fromFile(String path) |
DfpSession.Builder |
DfpSession.Builder.fromFile(URL path) |
DfpSession.Builder |
DfpSession.Builder.withApplicationName(String applicationName)
Includes application name (any string of your choice).
|
DfpSession.Builder |
DfpSession.Builder.withClientLoginToken(String clientLoginToken)
Includes hard-coded ClientLogin token that will be used instead of
fetching a new one.
|
DfpSession.Builder |
DfpSession.Builder.withEndpoint(String endpoint)
Override the endpoint server.
|
DfpSession.Builder |
DfpSession.Builder.withEnvironment(DfpSession.Environment environment)
Deprecated.
|
DfpSession.Builder |
DfpSession.Builder.withNetworkCode(String networkCode)
Includes network code.
|
DfpSession.Builder |
DfpSession.Builder.withOAuth2Credential(com.google.api.client.auth.oauth2.Credential oAuth2Credential)
Includes OAuth2 credential to be used for OAuth2 authentication.
|
DfpSession.Builder |
DfpSession.Builder.withOAuthParameters(com.google.api.client.auth.oauth.OAuthParameters oAuthParameters)
Deprecated.
It is encouraged that you switch to OAuth2 at your earliest
convenience. Beginning in 1.9.0, the GoogleOAuth
authorization flow will no longer be supported, making it
substantially more difficult to create OAuth1.0a tokens.
|
Copyright © 2013. All Rights Reserved.