@ThreadSafe public static final class AdWordsSession.ImmutableAdWordsSession extends AdWordsSession
AdWordsSession.Builder, AdWordsSession.ImmutableAdWordsSession
DEFAULT_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, newBuilder
public final void setClientCustomerId(String clientCustomerId)
AdWordsSession
setClientCustomerId
in class AdWordsSession
public final void setExpressBusinessId(@Nullable Long businessId)
AdWordsSession
When using PromotionService, either set this value or the express plus page ID, but not both.
setExpressBusinessId
in class AdWordsSession
public final void setExpressPlusPageId(String expressPlusPageId)
AdWordsSession
When using PromotionService, either set this value or the express business ID, but not both.
setExpressPlusPageId
in class AdWordsSession
public final void setValidateOnly(@Nullable Boolean isValidateOnly)
AdWordsSession
setValidateOnly
in class AdWordsSession
public final void setPartialFailure(@Nullable Boolean isPartialFailure)
AdWordsSession
setPartialFailure
in class AdWordsSession
public final void setOAuth2Credential(com.google.api.client.auth.oauth2.Credential oAuth2Credential)
AdWordsSession
setOAuth2Credential
in class AdWordsSession
public final void setReportingConfiguration(@Nullable ReportingConfiguration reportingConfiguration)
AdWordsSession
setReportingConfiguration
in class AdWordsSession
Copyright © 2017. All Rights Reserved.