All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.google.api.ads.dfp.jaxws.v201508.ContentServiceInterface Maven / Gradle / Ivy

There is a newer version: 5.8.0
Show newest version

package com.google.api.ads.dfp.jaxws.v201508;

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;


/**
 * 
 *       Service for retrieving {@link Content}.
 *       
 *       {@code Content} entities can be targeted in video {@link LineItem}s.
 *       
 *       You can query for content that belongs to a particular category or has
 *       assigned metadata.
 *       Categories and metadata for {@code Content} are stored in DFP as
 *       {@link CustomCriteria}.
 *       

* For example, to find all {@code Content} that is "genre=comedy", you would: * *

    *
  • Retrieve the custom targeting key corresponding to "genre" using * {@link CustomTargetingService#getCustomTargetingKeysByStatement}
  • *
  • Using the * {@link CustomTargetingService#getCustomTargetingValuesByStatement} * method and a filter like * "WHERE customTargetingKeyId = :genreKeyId * and name = 'comedy'", retrieve the ID for the "comedy" * custom targeting value.
  • *
  • Call {@link #getContentByStatementAndCustomTargetingValue} with a * filter like "WHERE status = 'ACTIVE'" and the ID of the custom targeting * value from step 2.
  • *
* * * This class was generated by the JAX-WS RI. * JAX-WS RI 2.2.9-b130926.1035 * Generated source version: 2.1 * */ @WebService(name = "ContentServiceInterface", targetNamespace = "https://www.google.com/apis/ads/publisher/v201508") @XmlSeeAlso({ ObjectFactory.class }) public interface ContentServiceInterface { /** * * Gets a {@link ContentPage} of {@link Content} objects that satisfy the * given {@link Statement#query}. The following fields are supported for * filtering: * * * * * * * * * * * * * * * * * * * * * *
PQL Property Object Property
{@code id}{@link Content#id}
{@code status}{@link Content#status}
{@code name}{@link Content#name}
{@code lastModifiedDateTime}{@link Content#lastModifiedDateTime}
* * @params filterStatement a Publisher Query Language statement used to * filter a set of content * @return the content that matches the given filter * * * @param statement * @return * returns com.google.api.ads.dfp.jaxws.v201508.ContentPage * @throws ApiException_Exception */ @WebMethod @WebResult(name = "rval", targetNamespace = "https://www.google.com/apis/ads/publisher/v201508") @RequestWrapper(localName = "getContentByStatement", targetNamespace = "https://www.google.com/apis/ads/publisher/v201508", className = "com.google.api.ads.dfp.jaxws.v201508.ContentServiceInterfacegetContentByStatement") @ResponseWrapper(localName = "getContentByStatementResponse", targetNamespace = "https://www.google.com/apis/ads/publisher/v201508", className = "com.google.api.ads.dfp.jaxws.v201508.ContentServiceInterfacegetContentByStatementResponse") public ContentPage getContentByStatement( @WebParam(name = "statement", targetNamespace = "https://www.google.com/apis/ads/publisher/v201508") Statement statement) throws ApiException_Exception ; /** * * Gets a {@link ContentPage} of {@link Content} objects that satisfy the * given {@link Statement#query}. Additionally, filters on the given value ID * and key ID that the value belongs to. * * The following fields are supported for filtering: * * * * * * * * * * * * * * * * * * * * *
PQL Property Object Property
{@code id}{@link Content#id}
{@code status}{@link Content#status}
{@code name}{@link Content#name}
{@code lastModifiedDateTime}{@link Content#lastModifiedDateTime>}
* * @params filterStatement a Publisher Query Language statement used to * filter a set of content * @param customTargetingValueId the id of the value to match * @return the content that matches the given filter * * * @param filterStatement * @param customTargetingValueId * @return * returns com.google.api.ads.dfp.jaxws.v201508.ContentPage * @throws ApiException_Exception */ @WebMethod @WebResult(name = "rval", targetNamespace = "https://www.google.com/apis/ads/publisher/v201508") @RequestWrapper(localName = "getContentByStatementAndCustomTargetingValue", targetNamespace = "https://www.google.com/apis/ads/publisher/v201508", className = "com.google.api.ads.dfp.jaxws.v201508.ContentServiceInterfacegetContentByStatementAndCustomTargetingValue") @ResponseWrapper(localName = "getContentByStatementAndCustomTargetingValueResponse", targetNamespace = "https://www.google.com/apis/ads/publisher/v201508", className = "com.google.api.ads.dfp.jaxws.v201508.ContentServiceInterfacegetContentByStatementAndCustomTargetingValueResponse") public ContentPage getContentByStatementAndCustomTargetingValue( @WebParam(name = "filterStatement", targetNamespace = "https://www.google.com/apis/ads/publisher/v201508") Statement filterStatement, @WebParam(name = "customTargetingValueId", targetNamespace = "https://www.google.com/apis/ads/publisher/v201508") Long customTargetingValueId) throws ApiException_Exception ; }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy