Class AdsImportTargetContactsQuery

    • Constructor Detail

      • AdsImportTargetContactsQuery

        public AdsImportTargetContactsQuery​(VkApiClient client,
                                            UserActor actor,
                                            int accountId,
                                            int targetGroupId,
                                            java.lang.String contacts)
        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.
        contacts - value of "contacts" parameter.
    • Method Detail

      • accountId

        protected AdsImportTargetContactsQuery 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 AdsImportTargetContactsQuery 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 AdsImportTargetContactsQuery targetGroupId​(int value)
        Target group ID.
        Parameters:
        value - value of "target group id" parameter.
        Returns:
        a reference to this AbstractQueryBuilder object to fulfill the "Builder" pattern.
      • contacts

        protected AdsImportTargetContactsQuery contacts​(java.lang.String value)
        List of phone numbers, emails or user IDs separated with a comma.
        Parameters:
        value - value of "contacts" parameter.
        Returns:
        a reference to this AbstractQueryBuilder object to fulfill the "Builder" pattern.