public interface CustomTargetingServiceInterface extends Remote
CustomTargetingKey[] createCustomTargetingKeys(CustomTargetingKey[] keys) throws RemoteException, ApiException
CustomTargetingKey objects.
The following fields are required:
keys - the custom targeting keys to updateRemoteExceptionApiExceptionCustomTargetingValue[] createCustomTargetingValues(CustomTargetingValue[] values) throws RemoteException, ApiException
CustomTargetingValue objects.
The following fields are required:
values - the custom targeting values to updateRemoteExceptionApiExceptionCustomTargetingKeyPage getCustomTargetingKeysByStatement(Statement filterStatement) throws RemoteException, ApiException
CustomTargetingKeyPage of CustomTargetingKey
objects
that satisfy the given Statement.query. The following
fields are
supported for filtering:
| PQL Property | Object Property |
|---|---|
id |
CustomTargetingKey.id |
name |
CustomTargetingKey.name |
displayName |
CustomTargetingKey.displayName |
type |
CustomTargetingKey.type |
filterStatement - a Publisher Query Language statement used to
filter
a set of custom targeting keysRemoteExceptionApiExceptionCustomTargetingValuePage getCustomTargetingValuesByStatement(Statement filterStatement) throws RemoteException, ApiException
CustomTargetingValuePage of CustomTargetingValue
objects that satisfy the given Statement.query.
The WHERE clause in the Statement.query must
always contain
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 Statement.query
would look like:
The following fields are supported for filtering:
| PQL Property | Object Property |
|---|---|
id |
CustomTargetingValue.id |
customTargetingKeyId |
CustomTargetingValue.customTargetingKeyId |
name |
CustomTargetingValue.name |
displayName |
CustomTargetingValue.displayName |
matchType |
CustomTargetingValue.matchType |
filterStatement - a Publisher Query Language statement used to
filter
a set of custom targeting valuesRemoteExceptionApiExceptionUpdateResult performCustomTargetingKeyAction(CustomTargetingKeyAction customTargetingKeyAction, Statement filterStatement) throws RemoteException, ApiException
CustomTargetingKey objects that
match the given
Statement.query.customTargetingKeyAction - the action to performfilterStatement - a Publisher Query Language statement used to
filter
a set of custom targeting keysRemoteExceptionApiExceptionUpdateResult performCustomTargetingValueAction(CustomTargetingValueAction customTargetingValueAction, Statement filterStatement) throws RemoteException, ApiException
CustomTargetingValue objects that
match the
given Statement.query.customTargetingValueAction - the action to performfilterStatement - a Publisher Query Language statement used to
filter
a set of ad unitsRemoteExceptionApiExceptionCustomTargetingKey[] updateCustomTargetingKeys(CustomTargetingKey[] keys) throws RemoteException, ApiException
CustomTargetingKey objects.keys - the custom targeting keys to updateRemoteExceptionApiExceptionCustomTargetingValue[] updateCustomTargetingValues(CustomTargetingValue[] values) throws RemoteException, ApiException
CustomTargetingValue objects.values - the custom targeting values to updateRemoteExceptionApiExceptionCopyright © 2019. All rights reserved.