public class AdsGetDemographicsQuery extends AbstractQueryBuilder<AdsGetDemographicsQuery,java.util.List<GetDemographicsResponse>>
| Constructor and Description |
|---|
AdsGetDemographicsQuery(VkApiClient client,
UserActor actor)
Creates a AbstractQueryBuilder instance that can be used to build user api request with various parameters
|
AdsGetDemographicsQuery(VkApiClient client,
UserActor actor,
java.lang.Integer accountId,
GetDemographicsIdsType idsType,
java.lang.String ids,
GetDemographicsPeriod 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 |
|---|---|
AdsGetDemographicsQuery |
accountId(java.lang.Integer value)
Advertising account ID.
|
AdsGetDemographicsQuery |
dateFrom(java.lang.String value)
Date to show statistics from.
|
AdsGetDemographicsQuery |
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 AdsGetDemographicsQuery |
getThis()
Get reference to this object
|
AdsGetDemographicsQuery |
ids(java.lang.String value)
IDs requested ads or campaigns, separated with a comma, depending on the value set in 'ids_type'.
|
AdsGetDemographicsQuery |
idsType(GetDemographicsIdsType value)
Type of requested objects listed in 'ids' parameter: *ad - ads,, *campaign - campaigns.
|
AdsGetDemographicsQuery |
period(GetDemographicsPeriod value)
Data grouping by dates: *day - statistics by days,, *month - statistics by months,, *overall - overall 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 AdsGetDemographicsQuery(VkApiClient client, UserActor actor, java.lang.Integer accountId, GetDemographicsIdsType idsType, java.lang.String ids, GetDemographicsPeriod 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 AdsGetDemographicsQuery(VkApiClient client, UserActor actor)
client - VK API clientactor - actor with access tokenpublic AdsGetDemographicsQuery accountId(java.lang.Integer value)
value - value of "account id" parameter.AbstractQueryBuilder object to fulfill the "Builder" pattern.public AdsGetDemographicsQuery idsType(GetDemographicsIdsType value)
value - value of "ids type" parameter.AbstractQueryBuilder object to fulfill the "Builder" pattern.public AdsGetDemographicsQuery ids(java.lang.String value)
value - value of "ids" parameter.AbstractQueryBuilder object to fulfill the "Builder" pattern.public AdsGetDemographicsQuery period(GetDemographicsPeriod value)
value - value of "period" parameter.AbstractQueryBuilder object to fulfill the "Builder" pattern.public AdsGetDemographicsQuery dateFrom(java.lang.String value)
value - value of "date from" parameter.AbstractQueryBuilder object to fulfill the "Builder" pattern.public AdsGetDemographicsQuery dateTo(java.lang.String value)
value - value of "date to" parameter.AbstractQueryBuilder object to fulfill the "Builder" pattern.protected AdsGetDemographicsQuery getThis()
AbstractQueryBuildergetThis in class AbstractQueryBuilder<AdsGetDemographicsQuery,java.util.List<GetDemographicsResponse>>AbstractQueryBuilder object to fulfill the "Builder" pattern.protected java.util.List<java.lang.String> essentialKeys()
AbstractQueryBuilderessentialKeys in class AbstractQueryBuilder<AdsGetDemographicsQuery,java.util.List<GetDemographicsResponse>>