com.google.api.ads.admanager.jaxws.v202402.CustomTargetingServiceInterface 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 operations for creating, updating and retrieving {@link CustomTargetingKey} and {@link
* CustomTargetingValue} objects.
*
*
* This class was generated by the JAX-WS RI.
* JAX-WS RI 2.3.0.2
* Generated source version: 2.1
*
*/
@WebService(name = "CustomTargetingServiceInterface", targetNamespace = "https://www.google.com/apis/ads/publisher/v202402")
@XmlSeeAlso({
ObjectFactory.class
})
public interface CustomTargetingServiceInterface {
/**
*
* Creates new {@link CustomTargetingKey} objects.
*
* The following fields are required:
*
*
* - {@link CustomTargetingKey#name}
*
- {@link CustomTargetingKey#type}
*
*
*
* @param keys
* @return
* returns java.util.List
* @throws ApiException_Exception
*/
@WebMethod
@WebResult(name = "rval", targetNamespace = "https://www.google.com/apis/ads/publisher/v202402")
@RequestWrapper(localName = "createCustomTargetingKeys", targetNamespace = "https://www.google.com/apis/ads/publisher/v202402", className = "com.google.api.ads.admanager.jaxws.v202402.CustomTargetingServiceInterfacecreateCustomTargetingKeys")
@ResponseWrapper(localName = "createCustomTargetingKeysResponse", targetNamespace = "https://www.google.com/apis/ads/publisher/v202402", className = "com.google.api.ads.admanager.jaxws.v202402.CustomTargetingServiceInterfacecreateCustomTargetingKeysResponse")
public List createCustomTargetingKeys(
@WebParam(name = "keys", targetNamespace = "https://www.google.com/apis/ads/publisher/v202402")
List keys)
throws ApiException_Exception
;
/**
*
* Creates new {@link CustomTargetingValue} objects.
*
* The following fields are required:
*
*
* - {@link CustomTargetingValue#customTargetingKeyId}
*
- {@link CustomTargetingValue#name}
*
*
*
* @param values
* @return
* returns java.util.List
* @throws ApiException_Exception
*/
@WebMethod
@WebResult(name = "rval", targetNamespace = "https://www.google.com/apis/ads/publisher/v202402")
@RequestWrapper(localName = "createCustomTargetingValues", targetNamespace = "https://www.google.com/apis/ads/publisher/v202402", className = "com.google.api.ads.admanager.jaxws.v202402.CustomTargetingServiceInterfacecreateCustomTargetingValues")
@ResponseWrapper(localName = "createCustomTargetingValuesResponse", targetNamespace = "https://www.google.com/apis/ads/publisher/v202402", className = "com.google.api.ads.admanager.jaxws.v202402.CustomTargetingServiceInterfacecreateCustomTargetingValuesResponse")
public List createCustomTargetingValues(
@WebParam(name = "values", targetNamespace = "https://www.google.com/apis/ads/publisher/v202402")
List values)
throws ApiException_Exception
;
/**
*
* Gets a {@link CustomTargetingKeyPage} of {@link CustomTargetingKey} objects that satisfy the
* given {@link Statement#query}. The following fields are supported for filtering:
*
*
*
* PQL Property Object Property
*
*
*
* {@code id}
* {@link CustomTargetingKey#id}
*
*
* {@code name}
* {@link CustomTargetingKey#name}
*
*
* {@code displayName}
* {@link CustomTargetingKey#displayName}
*
*
* {@code type}
* {@link CustomTargetingKey#type}
*
*
*
*
* @param filterStatement
* @return
* returns com.google.api.ads.admanager.jaxws.v202402.CustomTargetingKeyPage
* @throws ApiException_Exception
*/
@WebMethod
@WebResult(name = "rval", targetNamespace = "https://www.google.com/apis/ads/publisher/v202402")
@RequestWrapper(localName = "getCustomTargetingKeysByStatement", targetNamespace = "https://www.google.com/apis/ads/publisher/v202402", className = "com.google.api.ads.admanager.jaxws.v202402.CustomTargetingServiceInterfacegetCustomTargetingKeysByStatement")
@ResponseWrapper(localName = "getCustomTargetingKeysByStatementResponse", targetNamespace = "https://www.google.com/apis/ads/publisher/v202402", className = "com.google.api.ads.admanager.jaxws.v202402.CustomTargetingServiceInterfacegetCustomTargetingKeysByStatementResponse")
public CustomTargetingKeyPage getCustomTargetingKeysByStatement(
@WebParam(name = "filterStatement", targetNamespace = "https://www.google.com/apis/ads/publisher/v202402")
Statement filterStatement)
throws ApiException_Exception
;
/**
*
* Gets a {@link CustomTargetingValuePage} of {@link CustomTargetingValue} objects that satisfy
* the given {@link Statement#query}.
*
* The {@code WHERE} clause in the {@link Statement#query} must always contain {@link
* CustomTargetingValue#customTargetingKeyId} as one of its columns in a way that it is AND'ed
* with the rest of the query. So, if you want to retrieve values for a known set of key ids,
* valid {@link Statement#query} would look like:
*
*
* - "WHERE customTargetingKeyId IN ('17','18','19')" retrieves all values that are associated
* with keys having ids 17, 18, 19.
*
- "WHERE customTargetingKeyId = '17' AND name = 'red'" retrieves values that are associated
* with keys having id 17 and value name is 'red'.
*
*
* The following fields are supported for filtering:
*
*
*
* PQL Property
* Object Property
*
*
* {@code id}
* {@link CustomTargetingValue#id}
*
*
* {@code customTargetingKeyId}
* {@link CustomTargetingValue#customTargetingKeyId}
*
*
* {@code name}
* {@link CustomTargetingValue#name}
*
*
* {@code displayName}
* {@link CustomTargetingValue#displayName}
*
*
* {@code matchType}
* {@link CustomTargetingValue#matchType}
*
*
*
*
* @param filterStatement
* @return
* returns com.google.api.ads.admanager.jaxws.v202402.CustomTargetingValuePage
* @throws ApiException_Exception
*/
@WebMethod
@WebResult(name = "rval", targetNamespace = "https://www.google.com/apis/ads/publisher/v202402")
@RequestWrapper(localName = "getCustomTargetingValuesByStatement", targetNamespace = "https://www.google.com/apis/ads/publisher/v202402", className = "com.google.api.ads.admanager.jaxws.v202402.CustomTargetingServiceInterfacegetCustomTargetingValuesByStatement")
@ResponseWrapper(localName = "getCustomTargetingValuesByStatementResponse", targetNamespace = "https://www.google.com/apis/ads/publisher/v202402", className = "com.google.api.ads.admanager.jaxws.v202402.CustomTargetingServiceInterfacegetCustomTargetingValuesByStatementResponse")
public CustomTargetingValuePage getCustomTargetingValuesByStatement(
@WebParam(name = "filterStatement", targetNamespace = "https://www.google.com/apis/ads/publisher/v202402")
Statement filterStatement)
throws ApiException_Exception
;
/**
*
* Performs actions on {@link CustomTargetingKey} objects that match the given {@link
* Statement#query}.
*
*
* @param filterStatement
* @param customTargetingKeyAction
* @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 = "performCustomTargetingKeyAction", targetNamespace = "https://www.google.com/apis/ads/publisher/v202402", className = "com.google.api.ads.admanager.jaxws.v202402.CustomTargetingServiceInterfaceperformCustomTargetingKeyAction")
@ResponseWrapper(localName = "performCustomTargetingKeyActionResponse", targetNamespace = "https://www.google.com/apis/ads/publisher/v202402", className = "com.google.api.ads.admanager.jaxws.v202402.CustomTargetingServiceInterfaceperformCustomTargetingKeyActionResponse")
public UpdateResult performCustomTargetingKeyAction(
@WebParam(name = "customTargetingKeyAction", targetNamespace = "https://www.google.com/apis/ads/publisher/v202402")
CustomTargetingKeyAction customTargetingKeyAction,
@WebParam(name = "filterStatement", targetNamespace = "https://www.google.com/apis/ads/publisher/v202402")
Statement filterStatement)
throws ApiException_Exception
;
/**
*
* Performs actions on {@link CustomTargetingValue} objects that match the given {@link
* Statement#query}.
*
*
* @param filterStatement
* @param customTargetingValueAction
* @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 = "performCustomTargetingValueAction", targetNamespace = "https://www.google.com/apis/ads/publisher/v202402", className = "com.google.api.ads.admanager.jaxws.v202402.CustomTargetingServiceInterfaceperformCustomTargetingValueAction")
@ResponseWrapper(localName = "performCustomTargetingValueActionResponse", targetNamespace = "https://www.google.com/apis/ads/publisher/v202402", className = "com.google.api.ads.admanager.jaxws.v202402.CustomTargetingServiceInterfaceperformCustomTargetingValueActionResponse")
public UpdateResult performCustomTargetingValueAction(
@WebParam(name = "customTargetingValueAction", targetNamespace = "https://www.google.com/apis/ads/publisher/v202402")
CustomTargetingValueAction customTargetingValueAction,
@WebParam(name = "filterStatement", targetNamespace = "https://www.google.com/apis/ads/publisher/v202402")
Statement filterStatement)
throws ApiException_Exception
;
/**
*
* Updates the specified {@link CustomTargetingKey} objects.
*
*
* @param keys
* @return
* returns java.util.List
* @throws ApiException_Exception
*/
@WebMethod
@WebResult(name = "rval", targetNamespace = "https://www.google.com/apis/ads/publisher/v202402")
@RequestWrapper(localName = "updateCustomTargetingKeys", targetNamespace = "https://www.google.com/apis/ads/publisher/v202402", className = "com.google.api.ads.admanager.jaxws.v202402.CustomTargetingServiceInterfaceupdateCustomTargetingKeys")
@ResponseWrapper(localName = "updateCustomTargetingKeysResponse", targetNamespace = "https://www.google.com/apis/ads/publisher/v202402", className = "com.google.api.ads.admanager.jaxws.v202402.CustomTargetingServiceInterfaceupdateCustomTargetingKeysResponse")
public List updateCustomTargetingKeys(
@WebParam(name = "keys", targetNamespace = "https://www.google.com/apis/ads/publisher/v202402")
List keys)
throws ApiException_Exception
;
/**
*
* Updates the specified {@link CustomTargetingValue} objects.
*
*
* @param values
* @return
* returns java.util.List
* @throws ApiException_Exception
*/
@WebMethod
@WebResult(name = "rval", targetNamespace = "https://www.google.com/apis/ads/publisher/v202402")
@RequestWrapper(localName = "updateCustomTargetingValues", targetNamespace = "https://www.google.com/apis/ads/publisher/v202402", className = "com.google.api.ads.admanager.jaxws.v202402.CustomTargetingServiceInterfaceupdateCustomTargetingValues")
@ResponseWrapper(localName = "updateCustomTargetingValuesResponse", targetNamespace = "https://www.google.com/apis/ads/publisher/v202402", className = "com.google.api.ads.admanager.jaxws.v202402.CustomTargetingServiceInterfaceupdateCustomTargetingValuesResponse")
public List updateCustomTargetingValues(
@WebParam(name = "values", targetNamespace = "https://www.google.com/apis/ads/publisher/v202402")
List values)
throws ApiException_Exception
;
}