|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.google.api.ads.dfp.lib.client.DfpSession
public class DfpSession
A DfpSession represents a single session of DFP use.
| Nested Class Summary | |
|---|---|
static class |
DfpSession.Builder
Builder for DfpSession. |
static class |
DfpSession.Environment
Deprecated. |
| Field Summary | |
|---|---|
static String |
DEFAULT_ENDPOINT
|
| Method Summary | |
|---|---|
String |
getApplicationName()
Gets the application name. |
String |
getClientLoginToken()
Gets the client login token. |
String |
getEndpoint()
Gets the endpoint. |
String |
getNetworkCode()
Gets the network code. |
com.google.api.client.auth.oauth2.Credential |
getOAuth2Credential()
Gets the OAuth2 credentials. |
com.google.api.client.auth.oauth.OAuthParameters |
getOAuthParameters()
Gets the OAuth parameters. |
boolean |
isEnvironment(Endpoint environment)
Deprecated. |
void |
setClientLoginToken(String clientLoginToken)
Sets the client login token. |
void |
setNetworkCode(String networkCode)
Sets the network code. |
void |
setOAuth2Credential(com.google.api.client.auth.oauth2.Credential oAuth2Credential)
Sets the OAuth2 credential. |
void |
setOAuthParameters(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. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final String DEFAULT_ENDPOINT
| Method Detail |
|---|
public String getApplicationName()
public com.google.api.client.auth.oauth.OAuthParameters getOAuthParameters()
getOAuthParameters in interface OAuthCompatiblepublic void setOAuthParameters(com.google.api.client.auth.oauth.OAuthParameters oAuthParameters)
public com.google.api.client.auth.oauth2.Credential getOAuth2Credential()
getOAuth2Credential in interface OAuth2Compatiblepublic void setOAuth2Credential(com.google.api.client.auth.oauth2.Credential oAuth2Credential)
public String getClientLoginToken()
getClientLoginToken in interface ClientLoginCompatiblepublic void setClientLoginToken(String clientLoginToken)
public String getEndpoint()
getEndpoint in interface AdsSession@Deprecated public boolean isEnvironment(Endpoint environment)
DfpSession.Environment.
isEnvironment in interface AdsSessionenvironment - the environment to checkpublic String getNetworkCode()
public void setNetworkCode(String networkCode)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||