|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.google.api.ads.adwords.lib.client.AdWordsSession
public class AdWordsSession
A AdWordsSession represents a single session of AdWords use.
| Nested Class Summary | |
|---|---|
static class |
AdWordsSession.Builder
Builder for AdWordsSession. |
static class |
AdWordsSession.Environment
Enum representing the endpoint server, aka environment. |
| Method Summary | |
|---|---|
String |
getClientCustomerId()
Gets the client customer ID. |
String |
getClientLoginToken()
|
String |
getDeveloperToken()
|
String |
getEndpoint()
Returns the server endpoint to make requests against. |
com.google.api.client.auth.oauth.OAuthParameters |
getOAuthParameters()
Gets the OAuth parameters. |
String |
getUserAgent()
|
boolean |
isEnvironment(Endpoint environment)
Determines if the session is for the supplied AdWordsSession.Environment. |
Boolean |
isPartialFailure()
|
Boolean |
isReportMoneyInMicros()
|
Boolean |
isValidateOnly()
Returns true if the session should only validate the request. |
void |
setClientCustomerId(String clientCustomerId)
Sets the client customer ID. |
void |
setClientLoginToken(String clientLoginToken)
|
void |
setPartialFailure(Boolean isPartialFailure)
Sets whether this session should allow partial failure. |
void |
setReportMoneyInMicros(Boolean reportMoneyInMicros)
|
void |
setValidateOnly(Boolean isValidateOnly)
Sets whether this session should only validate the request. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public String getClientCustomerId()
public void setClientCustomerId(String clientCustomerId)
public Boolean isValidateOnly()
true if the session should only validate the request.
public void setValidateOnly(Boolean isValidateOnly)
public void setPartialFailure(Boolean isPartialFailure)
public String getUserAgent()
public String getDeveloperToken()
public Boolean isPartialFailure()
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 void setReportMoneyInMicros(Boolean reportMoneyInMicros)
reportMoneyInMicros - the reportMoneyInMicros to setpublic Boolean isReportMoneyInMicros()
public boolean isEnvironment(Endpoint environment)
AdWordsSession.Environment.
isEnvironment in interface AdsSessionenvironment - the environment to check
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||