public class AdsPixel extends APINode
| Modifier and Type | Class and Description |
|---|---|
static class |
AdsPixel.APIRequestGet |
static class |
AdsPixel.APIRequestGetAudiences |
static class |
AdsPixel.APIRequestGetSharedAccounts |
static class |
AdsPixel.APIRequestGetSharedAgencies |
static class |
AdsPixel.APIRequestGetStats |
static class |
AdsPixel.APIRequestUpdate |
| Modifier and Type | Field and Description |
|---|---|
protected static com.google.gson.Gson |
gson |
| Constructor and Description |
|---|
AdsPixel(Long id,
APIContext context) |
AdsPixel(String id,
APIContext context) |
getException, getRawResponse, getRawResponseAsJsonObject, getRawValue, head, parseResponsepublic AdsPixel(Long id, APIContext context)
public AdsPixel(String id, APIContext context)
public AdsPixel fetch() throws APIException
APIExceptionpublic static AdsPixel fetchById(Long id, APIContext context) throws APIException
APIExceptionpublic static AdsPixel fetchById(String id, APIContext context) throws APIException
APIExceptionpublic static APINodeList<AdsPixel> fetchByIds(List<String> ids, List<String> fields, APIContext context) throws APIException
APIExceptionpublic static AdsPixel loadJSON(String json, APIContext context)
public static APINodeList<AdsPixel> 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 AdsPixel.APIRequestGetAudiences getAudiences()
public AdsPixel.APIRequestGetSharedAccounts getSharedAccounts()
public AdsPixel.APIRequestGetSharedAgencies getSharedAgencies()
public AdsPixel.APIRequestGetStats getStats()
public AdsPixel.APIRequestGet get()
public AdsPixel.APIRequestUpdate update()
public String getFieldCode()
public String getFieldCreationTime()
public User getFieldCreator()
public String getFieldId()
public Boolean getFieldIsCreatedByBusiness()
public String getFieldLastFiredTime()
public String getFieldName()
public AdAccount getFieldOwnerAdAccount()
public Business getFieldOwnerBusiness()
public static APIRequest.ResponseParser<AdsPixel> getParser()
Copyright © 2017. All rights reserved.