Class AdsCreateAdsQuery

    • Constructor Detail

      • AdsCreateAdsQuery

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

      • accountId

        protected AdsCreateAdsQuery 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.
      • data

        protected AdsCreateAdsQuery data​(java.lang.String value)
        Serialized JSON array of objects that describe created ads. Description of 'ad_specification' objects see below.
        Parameters:
        value - value of "data" parameter.
        Returns:
        a reference to this AbstractQueryBuilder object to fulfill the "Builder" pattern.