public interface TwitterAdsWebEventApi
| Modifier and Type | Method and Description |
|---|---|
BaseAdsResponse<WebEventTag> |
createWebEventTag(java.lang.String accountId,
java.lang.String name,
java.lang.Integer clickWindow,
java.lang.Integer viewThroughWindow,
WebEventTagType type,
boolean retargetingEnabled) |
BaseAdsResponse<TwitterWebsiteTag> |
createWebsiteTag(java.lang.String accountId,
TwitterWebsiteTag.WebsiteTagType type) |
BaseAdsResponse<WebEventTag> |
deleteWebEventTag(java.lang.String accountId,
java.lang.String webEventTagId)
Delete a specific web event tag associated to the current account.
|
BaseAdsListResponseIterable<WebEventTag> |
getAllWebEventTags(java.lang.String accountId,
boolean withDeleted,
java.lang.Integer count,
java.lang.String cursor) |
BaseAdsListResponseIterable<TwitterWebsiteTag> |
getAllWebsiteTags(java.lang.String accountId,
boolean withDeleted,
java.lang.Integer count,
java.lang.String cursor) |
BaseAdsResponse<WebEventTag> |
getWebEventTag(java.lang.String accountId,
boolean withDeleted,
java.lang.String webEventTagId) |
BaseAdsResponse<TwitterWebsiteTag> |
getWebsiteTag(java.lang.String accountId,
boolean withDeleted,
java.lang.String websiteTagId) |
BaseAdsResponse<WebEventTag> |
updateWebEventTag(java.lang.String accountId,
java.lang.String webEventTagId,
java.lang.String name,
java.lang.Integer clickWindow,
java.lang.Integer viewThroughWindow,
WebEventTagType type,
boolean retargetingEnabled) |
BaseAdsListResponseIterable<WebEventTag> getAllWebEventTags(java.lang.String accountId, boolean withDeleted, java.lang.Integer count, java.lang.String cursor) throws TwitterException
accountId - The identifier for the leveraged account. (required)withDeleted - Include deleted results in your request. Defaults to false.count - (optional) Specifies the number of web event tags to retrieve, up to a maximum of 1000 per distinct request.cursor - (optional) Specify a cursor to retrieve data from a specific page (function automatically handles paging upon iteration when you do not specify cursor value).TwitterExceptionBaseAdsResponse<WebEventTag> getWebEventTag(java.lang.String accountId, boolean withDeleted, java.lang.String webEventTagId) throws TwitterException
accountId - The identifier for the leveraged account. (required)withDeleted - Include deleted results in your request. Defaults to false.webEventTagId - The identifier for the web event tag to retrieveTwitterExceptionBaseAdsResponse<WebEventTag> createWebEventTag(java.lang.String accountId, java.lang.String name, java.lang.Integer clickWindow, java.lang.Integer viewThroughWindow, WebEventTagType type, boolean retargetingEnabled) throws TwitterException
accountId - The identifier for the leveraged account. (required)name - The name of the web tagclickWindow - The click window for this web tag. Possible values are 1, 7, 14, 30, 60 or 90.viewThroughWindow - The view through window for this web tag. This value must always be less than or equal to the click_window value. Possible values are 0, 1, 7, 14, 30, 60 or 90.type - The type of web tag.retargetingEnabled - Boolean indicating if retargeting should be enabled for this web tag. Possible values are true, 1, false, 0TwitterExceptionBaseAdsResponse<WebEventTag> updateWebEventTag(java.lang.String accountId, java.lang.String webEventTagId, java.lang.String name, java.lang.Integer clickWindow, java.lang.Integer viewThroughWindow, WebEventTagType type, boolean retargetingEnabled) throws TwitterException
accountId - The identifier for the leveraged account. (required)webEventTagId - The identifier for a web tag on the current accountname - The name of the web tagclickWindow - The click window for this web tag. Possible values are 1, 7, 14, 30, 60 or 90viewThroughWindow - The view through window for this web tag. This value must always be less than or equal to the click_window value.
Possible values are 0, 1, 7, 14, 30, 60 or 90.type - The type of web tagretargetingEnabled - Boolean indicating if retargeting should be enabled for this web tag. Possible values are true, 1, false, 0TwitterExceptionBaseAdsResponse<WebEventTag> deleteWebEventTag(java.lang.String accountId, java.lang.String webEventTagId) throws TwitterException
accountId - The identifier for the leveraged account. (required)webEventTagId - The identifier for the web event tagTwitterExceptionBaseAdsListResponseIterable<TwitterWebsiteTag> getAllWebsiteTags(java.lang.String accountId, boolean withDeleted, java.lang.Integer count, java.lang.String cursor) throws TwitterException
accountId - The identifier for the leveraged account. (required)withDeleted - Include deleted results in your request. Defaults to false.count - Specifies the number of web event tags to retrieve, up to a maximum of 200 per distinct request.TwitterExceptionBaseAdsResponse<TwitterWebsiteTag> getWebsiteTag(java.lang.String accountId, boolean withDeleted, java.lang.String websiteTagId) throws TwitterException
accountId - The identifier for the leveraged account. (required)withDeleted - Include deleted results in your request. Defaults to false.websiteTagId - The identifier for the website tag to retrieveTwitterExceptionBaseAdsResponse<TwitterWebsiteTag> createWebsiteTag(java.lang.String accountId, TwitterWebsiteTag.WebsiteTagType type) throws TwitterException
accountId - The identifier for the leveraged account. (required)type - The type of website tag.TwitterException