public class AdsGetStatisticsQuery extends AbstractQueryBuilder<AdsGetStatisticsQuery,java.util.List<GetStatisticsResponse>>
| Constructor and Description |
|---|
AdsGetStatisticsQuery(VkApiClient client,
UserActor actor)
Creates a AbstractQueryBuilder instance that can be used to build user api request with various parameters
|
AdsGetStatisticsQuery(VkApiClient client,
UserActor actor,
java.lang.Integer accountId,
GetStatisticsIdsType idsType,
java.lang.String ids,
GetStatisticsPeriod period,
java.lang.String dateFrom,
java.lang.String dateTo)
Creates a AbstractQueryBuilder instance that can be used to build user api request with various parameters
|
| Modifier and Type | Method and Description |
|---|---|
AdsGetStatisticsQuery |
accountId(java.lang.Integer value)
Advertising account ID.
|
AdsGetStatisticsQuery |
dateFrom(java.lang.String value)
Date to show statistics from.
|
AdsGetStatisticsQuery |
dateTo(java.lang.String value)
Date to show statistics to.
|
protected java.util.List<java.lang.String> |
essentialKeys()
Get list of required parameter names
|
protected AdsGetStatisticsQuery |
getThis()
Get reference to this object
|
AdsGetStatisticsQuery |
ids(java.lang.String value)
IDs requested ads, campaigns, clients or account, separated with a comma, depending on the value set in 'ids_type'.
|
AdsGetStatisticsQuery |
idsType(GetStatisticsIdsType value)
Type of requested objects listed in 'ids' parameter: *ad - ads,, *campaign - campaigns,, *client - clients,, *office - account.
|
AdsGetStatisticsQuery |
period(GetStatisticsPeriod value)
Data grouping by dates: *day - statistics by days,, *month - statistics by months,, *overall - overall statistics.
|
AdsGetStatisticsQuery |
statsFields(java.util.List<java.lang.String> value)
Additional fields to add to statistics
|
AdsGetStatisticsQuery |
statsFields(java.lang.String... value)
statsFields
Additional fields to add to statistics
|
accessToken, build, captchaKey, captchaSid, clientSecret, confirm, getBody, getMethod, getParams, getQueryHeaders, lang, toString, unsafeParam, unsafeParam, unsafeParam, unsafeParam, unsafeParam, unsafeParam, unsafeParam, unsafeParam, unsafeParam, unsafeParam, unsafeParam, unsafeParam, version, withHeader, withHeadersaddHeader, addHeaders, execute, executeAsRaw, executeAsString, executeAsStringWithReturningFullInfo, executeTypeable, executeTypeableWithoutRetry, executeWithoutRetry, getClient, getCookie, getGson, getHeaders, getResponseClass, getUrl, setCookie, setCookies, setHeaders, setHeaderspublic AdsGetStatisticsQuery(VkApiClient client, UserActor actor, java.lang.Integer accountId, GetStatisticsIdsType idsType, java.lang.String ids, GetStatisticsPeriod period, java.lang.String dateFrom, java.lang.String dateTo)
client - VK API clientactor - actor with access tokenaccountId - value of "account id" parameter.idsType - value of "ids type" parameter.ids - value of "ids" parameter.period - value of "period" parameter.dateFrom - value of "date from" parameter.dateTo - value of "date to" parameter.public AdsGetStatisticsQuery(VkApiClient client, UserActor actor)
client - VK API clientactor - actor with access tokenpublic AdsGetStatisticsQuery accountId(java.lang.Integer value)
value - value of "account id" parameter.AbstractQueryBuilder object to fulfill the "Builder" pattern.public AdsGetStatisticsQuery idsType(GetStatisticsIdsType value)
value - value of "ids type" parameter.AbstractQueryBuilder object to fulfill the "Builder" pattern.public AdsGetStatisticsQuery ids(java.lang.String value)
value - value of "ids" parameter.AbstractQueryBuilder object to fulfill the "Builder" pattern.public AdsGetStatisticsQuery period(GetStatisticsPeriod value)
value - value of "period" parameter.AbstractQueryBuilder object to fulfill the "Builder" pattern.public AdsGetStatisticsQuery dateFrom(java.lang.String value)
value - value of "date from" parameter.AbstractQueryBuilder object to fulfill the "Builder" pattern.public AdsGetStatisticsQuery dateTo(java.lang.String value)
value - value of "date to" parameter.AbstractQueryBuilder object to fulfill the "Builder" pattern.public AdsGetStatisticsQuery statsFields(java.lang.String... value)
value - value of "stats fields" parameter.AbstractQueryBuilder object to fulfill the "Builder" pattern.public AdsGetStatisticsQuery statsFields(java.util.List<java.lang.String> value)
value - value of "stats fields" parameter.AbstractQueryBuilder object to fulfill the "Builder" pattern.protected AdsGetStatisticsQuery getThis()
AbstractQueryBuildergetThis in class AbstractQueryBuilder<AdsGetStatisticsQuery,java.util.List<GetStatisticsResponse>>AbstractQueryBuilder object to fulfill the "Builder" pattern.protected java.util.List<java.lang.String> essentialKeys()
AbstractQueryBuilderessentialKeys in class AbstractQueryBuilder<AdsGetStatisticsQuery,java.util.List<GetStatisticsResponse>>