PHP Class BaseRateService, googleads-php-lib

Inheritance: extends DfpSoapClient
Datei anzeigen 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
createBaseRates ( $baseRates ) : the Creates a list of new {@link BaseRate} objects.
getBaseRatesByStatement ( $filterStatement ) : the Gets a {@link BaseRatePage} of {@link BaseRate} objects that satisfy the given {@link Statement#query}.
performBaseRateAction ( $baseRateAction, $filterStatement ) : the Performs actions on {@link BaseRate} objects that satisfy the given {@link Statement#query}.
updateBaseRates ( $baseRates ) : the Updates the specified {@link BaseRate} 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

createBaseRates() public method

Creates a list of new {@link BaseRate} objects.
public createBaseRates ( $baseRates ) : the
return the base rates with their IDs filled in

getBaseRatesByStatement() public method

The following fields are supported for filtering:
PQL Property Object Property
{@code rateCardId} {@link BaseRate#rateCardId}
{@code id} {@link BaseRate#id}
{@code productTemplateId} {@link ProductTemplateBaseRate#id}
Note: Cannot be combined with {@code productId}.
{@code productId} {@link ProductBaseRate#id}
Note: Cannot be combined with {@code productTemplateId}.
public getBaseRatesByStatement ( $filterStatement ) : the
return the page of base rates that match the given filter

performBaseRateAction() public method

Performs actions on {@link BaseRate} objects that satisfy the given {@link Statement#query}.
public performBaseRateAction ( $baseRateAction, $filterStatement ) : the
return the result of the action performed

updateBaseRates() public method

Updates the specified {@link BaseRate} objects.
public updateBaseRates ( $baseRates ) : the
return the updated base rates

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