|
||||||||||
| 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
Enum representing the endpoint server, aka environment. |
| Method Summary | |
|---|---|
String |
getApplicationName()
|
String |
getClientLoginToken()
|
String |
getEndpoint()
Returns the server endpoint to make requests against. |
String |
getNetworkCode()
|
com.google.api.client.auth.oauth.OAuthParameters |
getOAuthParameters()
Gets the OAuth parameters. |
boolean |
isEnvironment(Endpoint environment)
Determines if the session is for the supplied DfpSession.Environment. |
void |
setClientLoginToken(String clientLoginToken)
|
void |
setNetworkCode(String networkCode)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public String getApplicationName()
public com.google.api.client.auth.oauth.OAuthParameters getOAuthParameters()
OAuthCompatible
getOAuthParameters in interface OAuthCompatiblepublic String getClientLoginToken()
public void setClientLoginToken(String clientLoginToken)
clientLoginToken - the clientLoginToken to setpublic String getEndpoint()
AdsSession
getEndpoint in interface AdsSessionpublic boolean isEnvironment(Endpoint environment)
DfpSession.Environment.
isEnvironment in interface AdsSessionenvironment - the environment to checkpublic String getNetworkCode()
public void setNetworkCode(String networkCode)
networkCode - the networkCode to set
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||