Class AdsGetTargetGroupsQuery

    • Constructor Detail

      • AdsGetTargetGroupsQuery

        public AdsGetTargetGroupsQuery​(VkApiClient client,
                                       UserActor actor,
                                       int accountId)
        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.
    • Method Detail

      • accountId

        protected AdsGetTargetGroupsQuery 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 AdsGetTargetGroupsQuery 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.
      • extended

        public AdsGetTargetGroupsQuery extended​(java.lang.Boolean value)
        '1' — to return pixel code.
        Parameters:
        value - value of "extended" parameter.
        Returns:
        a reference to this AbstractQueryBuilder object to fulfill the "Builder" pattern.