Class AdsDeleteTargetGroupQuery

    • 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 client
        actor - actor with access token
        accountId - 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 AbstractQueryBuilder object 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 AbstractQueryBuilder object 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 AbstractQueryBuilder object to fulfill the "Builder" pattern.