public class DfpAxisHeaderHandler extends Object implements HeaderHandler<DfpSession,DfpServiceDescriptor>
HeaderHandler.HeaderHandler.NoOpHeaderHandler<S extends AdsSession,D extends AdsServiceDescriptor>| Constructor and Description |
|---|
DfpAxisHeaderHandler(AxisHandler soapClientHandler,
com.google.api.ads.dfp.lib.conf.DfpApiConfiguration dfpApiConfiguration,
com.google.api.ads.common.lib.conf.AdsLibConfiguration adsLibConfiguration,
AuthorizationHeaderHandler authorizationHeaderHandler,
DfpHttpHeaderHandler dfpHttpHeaderHandler,
UserAgentCombiner userAgentCombiner)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
void |
setHeaders(Object soapClient,
DfpSession dfpSession,
DfpServiceDescriptor dfpServiceDescriptor) |
@Inject public DfpAxisHeaderHandler(AxisHandler soapClientHandler, com.google.api.ads.dfp.lib.conf.DfpApiConfiguration dfpApiConfiguration, com.google.api.ads.common.lib.conf.AdsLibConfiguration adsLibConfiguration, AuthorizationHeaderHandler authorizationHeaderHandler, DfpHttpHeaderHandler dfpHttpHeaderHandler, UserAgentCombiner userAgentCombiner)
soapClientHandler - the SOAP client handlerdfpApiConfiguration - the DFP API configurationauthorizationHeaderHandler - the authorization header handlerdfpHttpHeaderHandler - the DFP HTTP header handleruserAgentCombiner - the full user agent providerpublic void setHeaders(Object soapClient, DfpSession dfpSession, DfpServiceDescriptor dfpServiceDescriptor) throws AuthenticationException, ServiceException
Copyright © 2018. All Rights Reserved.