PHP Class InventoryService, googleads-php-lib

Author: WSDLInterpreter
Inheritance: extends DfpSoapClient
Mostra 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
createAdUnits ( $adUnits ) : the Creates new {@link AdUnit} objects.
getAdUnitSizesByStatement ( $filterStatement ) : the Gets a set of {@link AdUnitSize} objects that satisfy the given {@link Statement#query}. The following fields are supported for filtering:
getAdUnitsByStatement ( $filterStatement ) : the Gets a {@link AdUnitPage} of {@link AdUnit} objects that satisfy the given {@link Statement#query}. The following fields are supported for filtering:
performAdUnitAction ( $adUnitAction, $filterStatement ) : the Performs actions on {@link AdUnit} objects that match the given {@link Statement#query}.
updateAdUnits ( $adUnits ) : the Updates the specified {@link AdUnit} objects.

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

createAdUnits() public method

Creates new {@link AdUnit} objects.
public createAdUnits ( $adUnits ) : the
return the created ad units, with their IDs filled in

getAdUnitSizesByStatement() public method

PQL Property Object Property
{@code targetPlatform} {@link TargetPlatform}
An exception will be thrown for queries with unsupported fields. Paging is not supported, as aren't the LIMIT and OFFSET PQL keywords. Only "=" operator is supported.
public getAdUnitSizesByStatement ( $filterStatement ) : the
return the ad unit sizes that match the given filter

getAdUnitsByStatement() public method

PQL Property Object Property
{@code adUnitCode} {@link AdUnit#adUnitCode}
{@code id} {@link AdUnit#id}
{@code name} {@link AdUnit#name}
{@code parentId} {@link AdUnit#parentId}
{@code status} {@link AdUnit#status}
{@code lastModifiedDateTime} {@link AdUnit#lastModifiedDateTime}
public getAdUnitsByStatement ( $filterStatement ) : the
return the ad units that match the given filter

performAdUnitAction() public method

Performs actions on {@link AdUnit} objects that match the given {@link Statement#query}.
public performAdUnitAction ( $adUnitAction, $filterStatement ) : the
return the result of the action performed

updateAdUnits() public method

Updates the specified {@link AdUnit} objects.
public updateAdUnits ( $adUnits ) : the
return the updated ad units

Property Details

$classmap public_oe static_oe property

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

$endpoint public_oe static_oe property

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