@ThreadSafe public static final class AdWordsSession.ImmutableAdWordsSession extends AdWordsSession
AdWordsSession.Builder, AdWordsSession.ImmutableAdWordsSessionDEFAULT_ENDPOINT| Modifier and Type | Method and Description |
|---|---|
void |
setClientCustomerId(String clientCustomerId)
Sets the client customer ID.
|
void |
setExpressBusinessId(Long businessId)
Sets the AdWords Express business ID used by AdWords Express PromotionService.
|
void |
setExpressPlusPageId(String expressPlusPageId)
Sets the Google+ page ID for the Google My Business location used by AdWords Express
PromotionService.
|
void |
setOAuth2Credential(com.google.api.client.auth.oauth2.Credential oAuth2Credential)
Sets the OAuth2 credential.
|
void |
setPartialFailure(Boolean isPartialFailure)
Sets whether this session should allow partial failure.
|
void |
setReportingConfiguration(ReportingConfiguration reportingConfiguration)
Sets the reporting configuration.
|
void |
setValidateOnly(Boolean isValidateOnly)
Sets whether this session should only validate the request.
|
getClientCustomerId, getDeveloperToken, getEndpoint, getExpressBusinessId, getExpressPlusPageId, getOAuth2Credential, getReportingConfiguration, getUserAgent, isPartialFailure, isValidateOnly, newBuilderpublic final void setClientCustomerId(String clientCustomerId)
AdWordsSessionsetClientCustomerId in class AdWordsSessionpublic final void setExpressBusinessId(@Nullable Long businessId)
AdWordsSessionWhen using PromotionService, either set this value or the express plus page ID, but not both.
setExpressBusinessId in class AdWordsSessionpublic final void setExpressPlusPageId(String expressPlusPageId)
AdWordsSessionWhen using PromotionService, either set this value or the express business ID, but not both.
setExpressPlusPageId in class AdWordsSessionpublic final void setValidateOnly(@Nullable Boolean isValidateOnly)
AdWordsSessionsetValidateOnly in class AdWordsSessionpublic final void setPartialFailure(@Nullable Boolean isPartialFailure)
AdWordsSessionsetPartialFailure in class AdWordsSessionpublic final void setOAuth2Credential(com.google.api.client.auth.oauth2.Credential oAuth2Credential)
AdWordsSessionsetOAuth2Credential in class AdWordsSessionpublic final void setReportingConfiguration(@Nullable ReportingConfiguration reportingConfiguration)
AdWordsSessionsetReportingConfiguration in class AdWordsSessionCopyright © 2016. All Rights Reserved.