PHP Class PlacementService, googleads-php-lib

Author: WSDLInterpreter
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
createPlacements ( $placements ) : the Creates new {@link Placement} objects.
getPlacementsByStatement ( $filterStatement ) : the Gets a {@link PlacementPage} of {@link Placement} objects that satisfy the given {@link Statement#query}. The following fields are supported for filtering:
performPlacementAction ( $placementAction, $filterStatement ) : the Performs actions on {@link Placement} objects that match the given {@link Statement#query}.
updatePlacements ( $placements ) : the Updates the specified {@link Placement} 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

createPlacements() public method

Creates new {@link Placement} objects.
public createPlacements ( $placements ) : the
return the new placements, with their IDs filled in

getPlacementsByStatement() public method

PQL Property Object Property
{@code description} {@link Placement#description}
{@code id} {@link Placement#id}
{@code isAdSenseTargetingEnabled} {@link Placement#isAdSenseTargetingEnabled}
{@code name} {@link Placement#name}
{@code placementCode} {@link Placement#placementCode}
{@code status} {@link Placement#status}
{@code lastModifiedDateTime} {@link Placement#lastModifiedDateTime}
public getPlacementsByStatement ( $filterStatement ) : the
return the placements that match the given filter

performPlacementAction() public method

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

updatePlacements() public method

Updates the specified {@link Placement} objects.
public updatePlacements ( $placements ) : the
return the updated placements

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