PHP Class WorkflowRequestService, googleads-php-lib

Inheritance: extends DfpSoapClient
Show file Open project: googleads/googleads-php-lib

Public Properties

Property Type Description
$classmap array Default class map for wsdl=>php
$endpoint string The endpoint of the service

Public Methods

Method Description
__construct ( string $wsdl, array $options, $user ) Constructor using wsdl location and options array
getWorkflowRequestsByStatement ( $filterStatement ) : the Gets a list of {@link WorkflowRequest} objects that satisfy the given {@link Statement#query}.
performWorkflowRequestAction ( $action, $filterStatement ) : the Perform actions on {@link WorkflowRequest} objects that match the given {@link Statement#query}.

Method Details

__construct() public method

Constructor using wsdl location and options array
public __construct ( string $wsdl, array $options, $user )
$wsdl string WSDL location for this service
$options array Options for the SoapClient

getWorkflowRequestsByStatement() public method

The following fields are supported for filtering:
PQL Property Object Property
{@code id} {@link WorkflowRequest#id}
{@code workflowRuleName} {@link WorkflowRequest#workflowRuleName}
{@code entityType} {@link WorkflowRequest#entityType}
{@code entityId} {@link WorkflowRequest#entityId}
{@code approvalStatus} {@link WorkflowApprovalRequest#status}
{@code conditionStatus} {@link WorkflowExternalConditionRequest#status}
{@code type} {@link WorkflowRequest#type}

Starting in V201405 a {@code type} filter must be used

public getWorkflowRequestsByStatement ( $filterStatement ) : the
return the workflow requests that match the given filter

performWorkflowRequestAction() public method

Perform actions on {@link WorkflowRequest} objects that match the given {@link Statement#query}.
public performWorkflowRequestAction ( $action, $filterStatement ) : the
return the result of the action performed

Property Details

$classmap public static property

Default class map for wsdl=>php
public static array $classmap
return array

$endpoint public static property

The endpoint of the service
public static string $endpoint
return string