
com.google.api.ads.dfp.jaxws.v201508.CustomFieldServiceInterface Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of dfp-appengine Show documentation
Show all versions of dfp-appengine Show documentation
DFP specific AppEngine components.
package com.google.api.ads.dfp.jaxws.v201508;
import java.util.List;
import javax.jws.WebMethod;
import javax.jws.WebParam;
import javax.jws.WebResult;
import javax.jws.WebService;
import javax.xml.bind.annotation.XmlSeeAlso;
import javax.xml.ws.RequestWrapper;
import javax.xml.ws.ResponseWrapper;
/**
*
* Provides methods for the creation and management of {@link CustomField} objects.
*
*
* This class was generated by the JAX-WS RI.
* JAX-WS RI 2.2.9-b130926.1035
* Generated source version: 2.1
*
*/
@WebService(name = "CustomFieldServiceInterface", targetNamespace = "https://www.google.com/apis/ads/publisher/v201508")
@XmlSeeAlso({
ObjectFactory.class
})
public interface CustomFieldServiceInterface {
/**
*
* Creates new {@link CustomFieldOption} objects.
*
* The following fields are required:
*
* - {@link CustomFieldOption#displayName}
* - {@link CustomFieldOption#customFieldId}
*
*
* @param customFieldOptions the custom fields to create
* @return the created custom field options with their IDs filled in
*
*
* @param customFieldOptions
* @return
* returns java.util.List
* @throws ApiException_Exception
*/
@WebMethod
@WebResult(name = "rval", targetNamespace = "https://www.google.com/apis/ads/publisher/v201508")
@RequestWrapper(localName = "createCustomFieldOptions", targetNamespace = "https://www.google.com/apis/ads/publisher/v201508", className = "com.google.api.ads.dfp.jaxws.v201508.CustomFieldServiceInterfacecreateCustomFieldOptions")
@ResponseWrapper(localName = "createCustomFieldOptionsResponse", targetNamespace = "https://www.google.com/apis/ads/publisher/v201508", className = "com.google.api.ads.dfp.jaxws.v201508.CustomFieldServiceInterfacecreateCustomFieldOptionsResponse")
public List createCustomFieldOptions(
@WebParam(name = "customFieldOptions", targetNamespace = "https://www.google.com/apis/ads/publisher/v201508")
List customFieldOptions)
throws ApiException_Exception
;
/**
*
* Creates new {@link CustomField} objects.
*
* The following fields are required:
*
* - {@link CustomField#name}
* - {@link CustomField#entityType}
* - {@link CustomField#dataType}
* - {@link CustomField#visibility}
*
*
* @param customFields the custom fields to create
* @return the created custom fields with their IDs filled in
*
*
* @param customFields
* @return
* returns java.util.List
* @throws ApiException_Exception
*/
@WebMethod
@WebResult(name = "rval", targetNamespace = "https://www.google.com/apis/ads/publisher/v201508")
@RequestWrapper(localName = "createCustomFields", targetNamespace = "https://www.google.com/apis/ads/publisher/v201508", className = "com.google.api.ads.dfp.jaxws.v201508.CustomFieldServiceInterfacecreateCustomFields")
@ResponseWrapper(localName = "createCustomFieldsResponse", targetNamespace = "https://www.google.com/apis/ads/publisher/v201508", className = "com.google.api.ads.dfp.jaxws.v201508.CustomFieldServiceInterfacecreateCustomFieldsResponse")
public List createCustomFields(
@WebParam(name = "customFields", targetNamespace = "https://www.google.com/apis/ads/publisher/v201508")
List customFields)
throws ApiException_Exception
;
/**
*
* Returns the {@link CustomFieldOption} uniquely identified by the given ID.
*
* @param customFieldOptionId the ID of the custom field option, which must already exist
* @return the {@code CustomFieldOption} uniquely identified by the given ID
*
*
* @param customFieldOptionId
* @return
* returns com.google.api.ads.dfp.jaxws.v201508.CustomFieldOption
* @throws ApiException_Exception
*/
@WebMethod
@WebResult(name = "rval", targetNamespace = "https://www.google.com/apis/ads/publisher/v201508")
@RequestWrapper(localName = "getCustomFieldOption", targetNamespace = "https://www.google.com/apis/ads/publisher/v201508", className = "com.google.api.ads.dfp.jaxws.v201508.CustomFieldServiceInterfacegetCustomFieldOption")
@ResponseWrapper(localName = "getCustomFieldOptionResponse", targetNamespace = "https://www.google.com/apis/ads/publisher/v201508", className = "com.google.api.ads.dfp.jaxws.v201508.CustomFieldServiceInterfacegetCustomFieldOptionResponse")
public CustomFieldOption getCustomFieldOption(
@WebParam(name = "customFieldOptionId", targetNamespace = "https://www.google.com/apis/ads/publisher/v201508")
Long customFieldOptionId)
throws ApiException_Exception
;
/**
*
* Gets a {@link CustomFieldPage} of {@link CustomField} objects that satisfy the
* given {@link Statement#query}.
* The following fields are supported for filtering:
*
*
*
* PQL Property Object Property
*
*
* {@code id}
* {@link CustomField#id}
*
*
* {@code entityType}
* {@link CustomField#entityType}
*
*
* {@code name}
* {@link CustomField#name}
*
*
* {@code isActive}
* {@link CustomField#isActive}
*
*
* {@code visibility}
* {@link CustomField#visibility}
*
*
*
*
* @param filterStatement a Publisher Query Language statement used to filter
* a set of custom fields.
* @return the custom fields that match the given filter
*
*
* @param filterStatement
* @return
* returns com.google.api.ads.dfp.jaxws.v201508.CustomFieldPage
* @throws ApiException_Exception
*/
@WebMethod
@WebResult(name = "rval", targetNamespace = "https://www.google.com/apis/ads/publisher/v201508")
@RequestWrapper(localName = "getCustomFieldsByStatement", targetNamespace = "https://www.google.com/apis/ads/publisher/v201508", className = "com.google.api.ads.dfp.jaxws.v201508.CustomFieldServiceInterfacegetCustomFieldsByStatement")
@ResponseWrapper(localName = "getCustomFieldsByStatementResponse", targetNamespace = "https://www.google.com/apis/ads/publisher/v201508", className = "com.google.api.ads.dfp.jaxws.v201508.CustomFieldServiceInterfacegetCustomFieldsByStatementResponse")
public CustomFieldPage getCustomFieldsByStatement(
@WebParam(name = "filterStatement", targetNamespace = "https://www.google.com/apis/ads/publisher/v201508")
Statement filterStatement)
throws ApiException_Exception
;
/**
*
* Performs actions on {@link CustomField} objects that match the given
* {@link Statement#query}.
*
* @param customFieldAction the action to perform
* @param filterStatement a Publisher Query Language statement used to filter
* a set of custom fields
* @return the result of the action performed
*
*
* @param customFieldAction
* @param filterStatement
* @return
* returns com.google.api.ads.dfp.jaxws.v201508.UpdateResult
* @throws ApiException_Exception
*/
@WebMethod
@WebResult(name = "rval", targetNamespace = "https://www.google.com/apis/ads/publisher/v201508")
@RequestWrapper(localName = "performCustomFieldAction", targetNamespace = "https://www.google.com/apis/ads/publisher/v201508", className = "com.google.api.ads.dfp.jaxws.v201508.CustomFieldServiceInterfaceperformCustomFieldAction")
@ResponseWrapper(localName = "performCustomFieldActionResponse", targetNamespace = "https://www.google.com/apis/ads/publisher/v201508", className = "com.google.api.ads.dfp.jaxws.v201508.CustomFieldServiceInterfaceperformCustomFieldActionResponse")
public UpdateResult performCustomFieldAction(
@WebParam(name = "customFieldAction", targetNamespace = "https://www.google.com/apis/ads/publisher/v201508")
CustomFieldAction customFieldAction,
@WebParam(name = "filterStatement", targetNamespace = "https://www.google.com/apis/ads/publisher/v201508")
Statement filterStatement)
throws ApiException_Exception
;
/**
*
* Updates the specified {@link CustomFieldOption} objects.
*
* @param customFieldOptions the custom field options to update
* @return the updated custom field options
*
*
* @param customFieldOptions
* @return
* returns java.util.List
* @throws ApiException_Exception
*/
@WebMethod
@WebResult(name = "rval", targetNamespace = "https://www.google.com/apis/ads/publisher/v201508")
@RequestWrapper(localName = "updateCustomFieldOptions", targetNamespace = "https://www.google.com/apis/ads/publisher/v201508", className = "com.google.api.ads.dfp.jaxws.v201508.CustomFieldServiceInterfaceupdateCustomFieldOptions")
@ResponseWrapper(localName = "updateCustomFieldOptionsResponse", targetNamespace = "https://www.google.com/apis/ads/publisher/v201508", className = "com.google.api.ads.dfp.jaxws.v201508.CustomFieldServiceInterfaceupdateCustomFieldOptionsResponse")
public List updateCustomFieldOptions(
@WebParam(name = "customFieldOptions", targetNamespace = "https://www.google.com/apis/ads/publisher/v201508")
List customFieldOptions)
throws ApiException_Exception
;
/**
*
* Updates the specified {@link CustomField} objects.
*
* @param customFields the custom fields to update
* @return the updated custom fields
*
*
* @param customFields
* @return
* returns java.util.List
* @throws ApiException_Exception
*/
@WebMethod
@WebResult(name = "rval", targetNamespace = "https://www.google.com/apis/ads/publisher/v201508")
@RequestWrapper(localName = "updateCustomFields", targetNamespace = "https://www.google.com/apis/ads/publisher/v201508", className = "com.google.api.ads.dfp.jaxws.v201508.CustomFieldServiceInterfaceupdateCustomFields")
@ResponseWrapper(localName = "updateCustomFieldsResponse", targetNamespace = "https://www.google.com/apis/ads/publisher/v201508", className = "com.google.api.ads.dfp.jaxws.v201508.CustomFieldServiceInterfaceupdateCustomFieldsResponse")
public List updateCustomFields(
@WebParam(name = "customFields", targetNamespace = "https://www.google.com/apis/ads/publisher/v201508")
List customFields)
throws ApiException_Exception
;
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy