|
||||||||||
| 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()
Gets the client login token. |
String |
getDeveloperToken()
|
String |
getEndpoint()
Returns the server endpoint to make requests against. |
com.google.api.client.auth.oauth2.Credential |
getOAuth2Credential()
Gets the OAuth2 credentials. |
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)
Sets the ClientLogin Token. |
void |
setOAuth2Credential(com.google.api.client.auth.oauth2.Credential oAuth2Credential)
Sets the OAuth2 credential. |
void |
setOAuthParameters(com.google.api.client.auth.oauth.OAuthParameters oAuthParameters)
Sets the OAuth parameters. |
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 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()
public void setClientLoginToken(String clientLoginToken)
public 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 | |||||||||