PHP Class SharedAdUnitService, 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
getSharedAdUnitsByStatement ( $filterStatement ) This method is deprecated and returns null.
performSharedAdUnitAction ( $sharedAdUnitAction, $filterStatement ) : the This method is deprecated and is a no-op.

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

getSharedAdUnitsByStatement() public method

Instead, use {@link InventoryUnitService#getAdUnitsByStatement} filtering on {@code isSharedByDistributor = true}.

public getSharedAdUnitsByStatement ( $filterStatement )

performSharedAdUnitAction() public method

Performs actions on shared ad unit objects that match the given {@link Statement#query}.

public performSharedAdUnitAction ( $sharedAdUnitAction, $filterStatement ) : the
return the result of the update action, which contains the number of shared ad units on which the action was 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