bing.requests
Class BingAdRequest
java.lang.Object
bing.requests.BingRequest
bing.requests.BingAdRequest
public class BingAdRequest
- extends BingRequest
Request object to be used when requesting Ad results.
Constructor Summary |
BingAdRequest(long pageNumber,
long adUnitId,
long propertyId)
|
Methods inherited from class bing.requests.BingRequest |
hashCode, removeParentOptions, setAdult, setLanguage, setLatitude, setLongitude, setMarket, setOptions, setRadius, setVersion, toString |
Methods inherited from class java.lang.Object |
equals, getClass, notify, notifyAll, wait, wait, wait |
BingAdRequest
public BingAdRequest(long pageNumber,
long adUnitId,
long propertyId)
sourceType
public java.lang.String sourceType()
- Description copied from class:
BingRequest
- Specifies the source type of the current request object.
- Specified by:
sourceType
in class BingRequest
- Returns:
- A string representing the source type of the current object.
requestOptions
public java.lang.String requestOptions()
- Description copied from class:
BingRequest
- Specifies request specific options to be passed to the API
- Overrides:
requestOptions
in class BingRequest
- Returns:
- A string representing the various set API parameters
setPageNumber
public void setPageNumber(long pageNumber)
setAdUnitId
public void setAdUnitId(long adUnitId)
setPropertyId
public void setPropertyId(long propertyId)
setChannelId
public void setChannelId(java.lang.String channelId)
setMlAdcount
public void setMlAdcount(long mlAdcount)
setSbAdCount
public void setSbAdCount(long sbAdCount)