PHP Class ProductPackageItemService, 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
createProductPackageItems ( $productPackageItems ) : the Creates new {@link ProductPackageItem} objects.
getProductPackageItemsByStatement ( $statement ) : the Gets a {@link ProductPackageItemPage} of {@code ProductPackageItem} objects that satisfy the filtering criteria specified by given {@link Statement#query}.
performProductPackageItemAction ( $productPackageItemAction, $statement ) : the Performs actions on {@link ProductPackageItem} objects that satisfy the given {@link Statement#query}.
updateProductPackageItems ( $productPackageItems ) : the Updates the specified {@link ProductPackageItem} 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

createProductPackageItems() public method

Creates new {@link ProductPackageItem} objects.
public createProductPackageItems ( $productPackageItems ) : the
return the created product package items with their IDs filled in

getProductPackageItemsByStatement() public method

The following fields are supported for filtering:
PQL Property Object Property
{@code id} {@link ProductPackageItem#id}
{@code productPackageId} {@link ProductPackageItem#productPackageId}
{@code productId} {@link ProductPackageItem#productId}
{@code productTemplateId} {@link ProductPackageItem#productTemplateId}
{@code mandatory} {@link ProductPackageItem#mandatory}
{@code archived} {@link ProductPackageItem#archived}
public getProductPackageItemsByStatement ( $statement ) : the
return the product package items that match the given statement

performProductPackageItemAction() public method

Performs actions on {@link ProductPackageItem} objects that satisfy the given {@link Statement#query}.
public performProductPackageItemAction ( $productPackageItemAction, $statement ) : the
return the result of the action performed

updateProductPackageItems() public method

Updates the specified {@link ProductPackageItem} objects.
public updateProductPackageItems ( $productPackageItems ) : the
return the updated product package items

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