public class AdCreative extends APINode
| Modifier and Type | Class and Description |
|---|---|
static class |
AdCreative.APIRequestCreateAdLabel |
static class |
AdCreative.APIRequestDelete |
static class |
AdCreative.APIRequestDeleteAdLabels |
static class |
AdCreative.APIRequestGet |
static class |
AdCreative.APIRequestGetPreviews |
static class |
AdCreative.APIRequestUpdate |
static class |
AdCreative.EnumApplinkTreatment |
static class |
AdCreative.EnumCallToActionType |
static class |
AdCreative.EnumDynamicAdVoice |
static class |
AdCreative.EnumObjectType |
static class |
AdCreative.EnumOperator |
static class |
AdCreative.EnumStatus |
| Modifier and Type | Field and Description |
|---|---|
protected static com.google.gson.Gson |
gson |
| Constructor and Description |
|---|
AdCreative() |
AdCreative(Long id,
APIContext context) |
AdCreative(String id,
APIContext context) |
getException, getRawResponse, getRawResponseAsJsonObject, getRawValue, head, parseResponsepublic AdCreative()
public AdCreative(Long id, APIContext context)
public AdCreative(String id, APIContext context)
public AdCreative fetch() throws APIException
APIExceptionpublic static AdCreative fetchById(Long id, APIContext context) throws APIException
APIExceptionpublic static AdCreative fetchById(String id, APIContext context) throws APIException
APIExceptionpublic static APINodeList<AdCreative> fetchByIds(List<String> ids, List<String> fields, APIContext context) throws APIException
APIExceptionpublic static AdCreative loadJSON(String json, APIContext context)
public static APINodeList<AdCreative> parseResponse(String json, APIContext context, APIRequest request) throws APIException.MalformedResponseException
public APIContext getContext()
getContext in class APINodepublic void setContext(APIContext context)
setContext in class APINodepublic AdCreative.APIRequestDeleteAdLabels deleteAdLabels()
public AdCreative.APIRequestCreateAdLabel createAdLabel()
public AdCreative.APIRequestGetPreviews getPreviews()
public AdCreative.APIRequestDelete delete()
public AdCreative.APIRequestGet get()
public AdCreative.APIRequestUpdate update()
public String getFieldAccountId()
public AdCreative setFieldAccountId(String value)
public String getFieldActorId()
public AdCreative setFieldActorId(String value)
public AdCreative setFieldAdlabels(List<AdLabel> value)
public AdCreative setFieldAdlabels(String value)
public AdCreative.EnumApplinkTreatment getFieldApplinkTreatment()
public AdCreative setFieldApplinkTreatment(AdCreative.EnumApplinkTreatment value)
public AdAssetFeedSpec getFieldAssetFeedSpec()
public AdCreative setFieldAssetFeedSpec(AdAssetFeedSpec value)
public AdCreative setFieldAssetFeedSpec(String value)
public String getFieldBody()
public AdCreative setFieldBody(String value)
public String getFieldBrandedContentSponsorPageId()
public AdCreative setFieldBrandedContentSponsorPageId(String value)
public AdCreative.EnumCallToActionType getFieldCallToActionType()
public AdCreative setFieldCallToActionType(AdCreative.EnumCallToActionType value)
public String getFieldEffectiveInstagramStoryId()
public AdCreative setFieldEffectiveInstagramStoryId(String value)
public String getFieldEffectiveObjectStoryId()
public AdCreative setFieldEffectiveObjectStoryId(String value)
public String getFieldId()
public AdCreative setFieldId(String value)
public AdsImageCrops getFieldImageCrops()
public AdCreative setFieldImageCrops(AdsImageCrops value)
public AdCreative setFieldImageCrops(String value)
public String getFieldImageHash()
public AdCreative setFieldImageHash(String value)
public String getFieldImageUrl()
public AdCreative setFieldImageUrl(String value)
public String getFieldInstagramActorId()
public AdCreative setFieldInstagramActorId(String value)
public String getFieldInstagramPermalinkUrl()
public AdCreative setFieldInstagramPermalinkUrl(String value)
public String getFieldInstagramStoryId()
public AdCreative setFieldInstagramStoryId(String value)
public String getFieldLinkOgId()
public AdCreative setFieldLinkOgId(String value)
public String getFieldLinkUrl()
public AdCreative setFieldLinkUrl(String value)
public String getFieldName()
public AdCreative setFieldName(String value)
public String getFieldObjectId()
public AdCreative setFieldObjectId(String value)
public String getFieldObjectStoryId()
public AdCreative setFieldObjectStoryId(String value)
public AdCreativeObjectStorySpec getFieldObjectStorySpec()
public AdCreative setFieldObjectStorySpec(AdCreativeObjectStorySpec value)
public AdCreative setFieldObjectStorySpec(String value)
public AdCreative.EnumObjectType getFieldObjectType()
public AdCreative setFieldObjectType(AdCreative.EnumObjectType value)
public String getFieldObjectUrl()
public AdCreative setFieldObjectUrl(String value)
public Object getFieldPlatformCustomizations()
public AdCreative setFieldPlatformCustomizations(Object value)
public String getFieldProductSetId()
public AdCreative setFieldProductSetId(String value)
public Object getFieldRecommenderSettings()
public AdCreative setFieldRecommenderSettings(Object value)
public AdCreative.EnumStatus getFieldStatus()
public AdCreative setFieldStatus(AdCreative.EnumStatus value)
public String getFieldTemplateUrl()
public AdCreative setFieldTemplateUrl(String value)
public Object getFieldTemplateUrlSpec()
public AdCreative setFieldTemplateUrlSpec(Object value)
public String getFieldThumbnailUrl()
public AdCreative setFieldThumbnailUrl(String value)
public String getFieldTitle()
public AdCreative setFieldTitle(String value)
public String getFieldUrlTags()
public AdCreative setFieldUrlTags(String value)
public Boolean getFieldUsePageActorOverride()
public AdCreative setFieldUsePageActorOverride(Boolean value)
public String getFieldVideoId()
public AdCreative setFieldVideoId(String value)
public AdCreative copyFrom(AdCreative instance)
public static APIRequest.ResponseParser<AdCreative> getParser()
Copyright © 2017. All rights reserved.