public interface TwitterAdsAccountApi
| Modifier and Type | Method and Description |
|---|---|
java.util.List<java.lang.String> |
getAccountPermissions(java.lang.String accountId) |
BaseAdsResponse<AdAccount> |
getAdAccountById(java.lang.String accountId,
boolean withDeleted) |
BaseAdsResponse<AdAccountNativePermissions> |
getAdAccountNativePermissions(java.lang.String accountId) |
BaseAdsListResponseIterable<AdAccount> |
getAllAccounts(boolean withDeleted,
java.util.Optional<AccountsSortByField> accountsSortByField) |
BaseAdsListResponseIterable<TwitterPoliticalAgreement> |
getPoliticalAgreementForAccount(java.lang.String accountId) |
BaseAdsListResponseIterable<PromotableUser> |
getPromotableUsers(java.lang.String accountId,
boolean withDeleted) |
BaseAdsListResponseIterable<AdAccount> getAllAccounts(boolean withDeleted, java.util.Optional<AccountsSortByField> accountsSortByField) throws TwitterException
withDeleted - Include deleted results in your request. Defaults to false.TwitterExceptionBaseAdsResponse<AdAccount> getAdAccountById(java.lang.String accountId, boolean withDeleted) throws TwitterException
accountId - The identifier for the leveraged account.withDeleted - Include deleted results in your request. Defaults to false.TwitterExceptionjava.util.List<java.lang.String> getAccountPermissions(java.lang.String accountId)
throws TwitterException
accountId - The identifier for the leveraged account.TwitterExceptionBaseAdsListResponseIterable<PromotableUser> getPromotableUsers(java.lang.String accountId, boolean withDeleted) throws TwitterException
accountId - The identifier for the leveraged account.withDeleted - Include deleted results in your request. Defaults to false.TwitterExceptionBaseAdsResponse<AdAccountNativePermissions> getAdAccountNativePermissions(java.lang.String accountId) throws TwitterException
TwitterExceptionBaseAdsListResponseIterable<TwitterPoliticalAgreement> getPoliticalAgreementForAccount(java.lang.String accountId) throws TwitterException
accountId - The identifier for the leveraged account.TwitterException