All Downloads are FREE. Search and download functionalities are using the official Maven repository.

twitter4jads.api.TwitterAdsBiddingApi Maven / Gradle / Ivy

The newest version!
package twitter4jads.api;

import twitter4jads.BaseAdsListResponseIterable;
import twitter4jads.internal.models4j.TwitterException;
import twitter4jads.models.ads.BiddingRules;
import twitter4jads.models.ads.TwitterBidInfo;

import java.util.Optional;

/**
 *
 * Date: 22/04/16.
 * Time: 2:49 PM
 */
public interface TwitterAdsBiddingApi {
    /**
     * @param currency The type of a currency to filter results by, identified using ISO-4217
     * @return Retrieve the bidding rules for a specific or all currencies.
     * @throws TwitterException
     */
    BaseAdsListResponseIterable getBiddingRules(String currency) throws TwitterException;

    TwitterBidInfo getBidInfo(String accountId, String campaignType, Optional currency, Optional objectiveForBidding) throws TwitterException;

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy