Package com.vk.api.sdk.queries.ads
Class AdsDeleteTargetGroupQuery
- java.lang.Object
-
- com.vk.api.sdk.client.ApiRequest<R>
-
- com.vk.api.sdk.client.AbstractQueryBuilder<AdsDeleteTargetGroupQuery,OkResponse>
-
- com.vk.api.sdk.queries.ads.AdsDeleteTargetGroupQuery
-
public class AdsDeleteTargetGroupQuery extends AbstractQueryBuilder<AdsDeleteTargetGroupQuery,OkResponse>
Query for Ads.deleteTargetGroup method
-
-
Constructor Summary
Constructors Constructor Description AdsDeleteTargetGroupQuery(VkApiClient client, UserActor actor, int accountId, int targetGroupId)Creates a AbstractQueryBuilder instance that can be used to build api request with various parameters
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected AdsDeleteTargetGroupQueryaccountId(int value)Advertising account ID.AdsDeleteTargetGroupQueryclientId(java.lang.Integer value)'Only for advertising agencies.' , ID of the client with the advertising account where the group will be created.protected java.util.List<java.lang.String>essentialKeys()Get list of required parameter namesprotected AdsDeleteTargetGroupQuerygetThis()Get reference to this objectprotected AdsDeleteTargetGroupQuerytargetGroupId(int value)Group ID.-
Methods inherited from class com.vk.api.sdk.client.AbstractQueryBuilder
accessToken, build, captchaKey, captchaSid, clientSecret, confirm, getBody, getMethod, getParams, lang, toString, unsafeParam, unsafeParam, unsafeParam, unsafeParam, unsafeParam, unsafeParam, unsafeParam, unsafeParam, unsafeParam, unsafeParam, unsafeParam, version
-
Methods inherited from class com.vk.api.sdk.client.ApiRequest
execute, executeAsRaw, executeAsString, getClient, getGson, getHeaders, getResponseClass, getUrl, setHeaders
-
-
-
-
Constructor Detail
-
AdsDeleteTargetGroupQuery
public AdsDeleteTargetGroupQuery(VkApiClient client, UserActor actor, int accountId, int targetGroupId)
Creates a AbstractQueryBuilder instance that can be used to build api request with various parameters- Parameters:
client- VK API clientactor- actor with access tokenaccountId- value of "account id" parameter.targetGroupId- value of "target group id" parameter.
-
-
Method Detail
-
accountId
protected AdsDeleteTargetGroupQuery accountId(int value)
Advertising account ID.- Parameters:
value- value of "account id" parameter.- Returns:
- a reference to this
AbstractQueryBuilderobject to fulfill the "Builder" pattern.
-
clientId
public AdsDeleteTargetGroupQuery clientId(java.lang.Integer value)
'Only for advertising agencies.' , ID of the client with the advertising account where the group will be created.- Parameters:
value- value of "client id" parameter.- Returns:
- a reference to this
AbstractQueryBuilderobject to fulfill the "Builder" pattern.
-
targetGroupId
protected AdsDeleteTargetGroupQuery targetGroupId(int value)
Group ID.- Parameters:
value- value of "target group id" parameter.- Returns:
- a reference to this
AbstractQueryBuilderobject to fulfill the "Builder" pattern.
-
getThis
protected AdsDeleteTargetGroupQuery getThis()
Description copied from class:AbstractQueryBuilderGet reference to this object- Specified by:
getThisin classAbstractQueryBuilder<AdsDeleteTargetGroupQuery,OkResponse>- Returns:
- a reference to this
AbstractQueryBuilderobject to fulfill the "Builder" pattern.
-
essentialKeys
protected java.util.List<java.lang.String> essentialKeys()
Description copied from class:AbstractQueryBuilderGet list of required parameter names- Specified by:
essentialKeysin classAbstractQueryBuilder<AdsDeleteTargetGroupQuery,OkResponse>- Returns:
- list of names
-
-