com.google.api.ads.admanager.jaxws.v202402.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
Ad Manager specific AppEngine components.
The newest version!
// Copyright 2024 Google LLC
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.
package com.google.api.ads.admanager.jaxws.v202402;
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.3.0.2
* Generated source version: 2.1
*
*/
@WebService(name = "CustomFieldServiceInterface", targetNamespace = "https://www.google.com/apis/ads/publisher/v202402")
@XmlSeeAlso({
ObjectFactory.class
})
public interface CustomFieldServiceInterface {
/**
*
* Creates new {@link CustomFieldOption} objects.
*
* The following fields are required:
*
*
* - {@link CustomFieldOption#displayName}
*
- {@link CustomFieldOption#customFieldId}
*
*
*
* @param customFieldOptions
* @return
* returns java.util.List
* @throws ApiException_Exception
*/
@WebMethod
@WebResult(name = "rval", targetNamespace = "https://www.google.com/apis/ads/publisher/v202402")
@RequestWrapper(localName = "createCustomFieldOptions", targetNamespace = "https://www.google.com/apis/ads/publisher/v202402", className = "com.google.api.ads.admanager.jaxws.v202402.CustomFieldServiceInterfacecreateCustomFieldOptions")
@ResponseWrapper(localName = "createCustomFieldOptionsResponse", targetNamespace = "https://www.google.com/apis/ads/publisher/v202402", className = "com.google.api.ads.admanager.jaxws.v202402.CustomFieldServiceInterfacecreateCustomFieldOptionsResponse")
public List createCustomFieldOptions(
@WebParam(name = "customFieldOptions", targetNamespace = "https://www.google.com/apis/ads/publisher/v202402")
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
* @return
* returns java.util.List
* @throws ApiException_Exception
*/
@WebMethod
@WebResult(name = "rval", targetNamespace = "https://www.google.com/apis/ads/publisher/v202402")
@RequestWrapper(localName = "createCustomFields", targetNamespace = "https://www.google.com/apis/ads/publisher/v202402", className = "com.google.api.ads.admanager.jaxws.v202402.CustomFieldServiceInterfacecreateCustomFields")
@ResponseWrapper(localName = "createCustomFieldsResponse", targetNamespace = "https://www.google.com/apis/ads/publisher/v202402", className = "com.google.api.ads.admanager.jaxws.v202402.CustomFieldServiceInterfacecreateCustomFieldsResponse")
public List createCustomFields(
@WebParam(name = "customFields", targetNamespace = "https://www.google.com/apis/ads/publisher/v202402")
List customFields)
throws ApiException_Exception
;
/**
*
* Returns the {@link CustomFieldOption} uniquely identified by the given ID.
*
*
* @param customFieldOptionId
* @return
* returns com.google.api.ads.admanager.jaxws.v202402.CustomFieldOption
* @throws ApiException_Exception
*/
@WebMethod
@WebResult(name = "rval", targetNamespace = "https://www.google.com/apis/ads/publisher/v202402")
@RequestWrapper(localName = "getCustomFieldOption", targetNamespace = "https://www.google.com/apis/ads/publisher/v202402", className = "com.google.api.ads.admanager.jaxws.v202402.CustomFieldServiceInterfacegetCustomFieldOption")
@ResponseWrapper(localName = "getCustomFieldOptionResponse", targetNamespace = "https://www.google.com/apis/ads/publisher/v202402", className = "com.google.api.ads.admanager.jaxws.v202402.CustomFieldServiceInterfacegetCustomFieldOptionResponse")
public CustomFieldOption getCustomFieldOption(
@WebParam(name = "customFieldOptionId", targetNamespace = "https://www.google.com/apis/ads/publisher/v202402")
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
* @return
* returns com.google.api.ads.admanager.jaxws.v202402.CustomFieldPage
* @throws ApiException_Exception
*/
@WebMethod
@WebResult(name = "rval", targetNamespace = "https://www.google.com/apis/ads/publisher/v202402")
@RequestWrapper(localName = "getCustomFieldsByStatement", targetNamespace = "https://www.google.com/apis/ads/publisher/v202402", className = "com.google.api.ads.admanager.jaxws.v202402.CustomFieldServiceInterfacegetCustomFieldsByStatement")
@ResponseWrapper(localName = "getCustomFieldsByStatementResponse", targetNamespace = "https://www.google.com/apis/ads/publisher/v202402", className = "com.google.api.ads.admanager.jaxws.v202402.CustomFieldServiceInterfacegetCustomFieldsByStatementResponse")
public CustomFieldPage getCustomFieldsByStatement(
@WebParam(name = "filterStatement", targetNamespace = "https://www.google.com/apis/ads/publisher/v202402")
Statement filterStatement)
throws ApiException_Exception
;
/**
*
* Performs actions on {@link CustomField} objects that match the given {@link Statement#query}.
*
*
* @param customFieldAction
* @param filterStatement
* @return
* returns com.google.api.ads.admanager.jaxws.v202402.UpdateResult
* @throws ApiException_Exception
*/
@WebMethod
@WebResult(name = "rval", targetNamespace = "https://www.google.com/apis/ads/publisher/v202402")
@RequestWrapper(localName = "performCustomFieldAction", targetNamespace = "https://www.google.com/apis/ads/publisher/v202402", className = "com.google.api.ads.admanager.jaxws.v202402.CustomFieldServiceInterfaceperformCustomFieldAction")
@ResponseWrapper(localName = "performCustomFieldActionResponse", targetNamespace = "https://www.google.com/apis/ads/publisher/v202402", className = "com.google.api.ads.admanager.jaxws.v202402.CustomFieldServiceInterfaceperformCustomFieldActionResponse")
public UpdateResult performCustomFieldAction(
@WebParam(name = "customFieldAction", targetNamespace = "https://www.google.com/apis/ads/publisher/v202402")
CustomFieldAction customFieldAction,
@WebParam(name = "filterStatement", targetNamespace = "https://www.google.com/apis/ads/publisher/v202402")
Statement filterStatement)
throws ApiException_Exception
;
/**
*
* Updates the specified {@link CustomFieldOption} objects.
*
*
* @param customFieldOptions
* @return
* returns java.util.List
* @throws ApiException_Exception
*/
@WebMethod
@WebResult(name = "rval", targetNamespace = "https://www.google.com/apis/ads/publisher/v202402")
@RequestWrapper(localName = "updateCustomFieldOptions", targetNamespace = "https://www.google.com/apis/ads/publisher/v202402", className = "com.google.api.ads.admanager.jaxws.v202402.CustomFieldServiceInterfaceupdateCustomFieldOptions")
@ResponseWrapper(localName = "updateCustomFieldOptionsResponse", targetNamespace = "https://www.google.com/apis/ads/publisher/v202402", className = "com.google.api.ads.admanager.jaxws.v202402.CustomFieldServiceInterfaceupdateCustomFieldOptionsResponse")
public List updateCustomFieldOptions(
@WebParam(name = "customFieldOptions", targetNamespace = "https://www.google.com/apis/ads/publisher/v202402")
List customFieldOptions)
throws ApiException_Exception
;
/**
*
* Updates the specified {@link CustomField} objects.
*
*
* @param customFields
* @return
* returns java.util.List
* @throws ApiException_Exception
*/
@WebMethod
@WebResult(name = "rval", targetNamespace = "https://www.google.com/apis/ads/publisher/v202402")
@RequestWrapper(localName = "updateCustomFields", targetNamespace = "https://www.google.com/apis/ads/publisher/v202402", className = "com.google.api.ads.admanager.jaxws.v202402.CustomFieldServiceInterfaceupdateCustomFields")
@ResponseWrapper(localName = "updateCustomFieldsResponse", targetNamespace = "https://www.google.com/apis/ads/publisher/v202402", className = "com.google.api.ads.admanager.jaxws.v202402.CustomFieldServiceInterfaceupdateCustomFieldsResponse")
public List updateCustomFields(
@WebParam(name = "customFields", targetNamespace = "https://www.google.com/apis/ads/publisher/v202402")
List customFields)
throws ApiException_Exception
;
}