PHP Class RateCardService, 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
createRateCards ( $rateCards ) : the Creates a list of {@link RateCard} objects. Rate cards must be activated before being associated with proposal line items and products.
getRateCardsByStatement ( $filterStatement ) : the Gets a {@link RateCardPage} of {@link RateCard} objects that satisfy the given {@link Statement#query}. The following fields are supported for filtering:
performRateCardAction ( $rateCardAction, $filterStatement ) : the Performs action on {@link RateCard} objects that satisfy the given {@link Statement#query}.
updateRateCards ( $rateCards ) : the Updates a list of {@link RateCard} 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

createRateCards() public method

Creates a list of {@link RateCard} objects. Rate cards must be activated before being associated with proposal line items and products.
public createRateCards ( $rateCards ) : the
return the created rate cards.

getRateCardsByStatement() public method

PQL propertyEntity property
Id{@link RateCard#id}
LastModifiedDateTime{@link RateCard#lastModifiedDateTime}
Name{@link RateCard#name}
Status{@link RateCard#status}
public getRateCardsByStatement ( $filterStatement ) : the
return the rate cards that match the filter

performRateCardAction() public method

Performs action on {@link RateCard} objects that satisfy the given {@link Statement#query}.
public performRateCardAction ( $rateCardAction, $filterStatement ) : the
return the result of the action performed

updateRateCards() public method

Updates a list of {@link RateCard} objects.
public updateRateCards ( $rateCards ) : the
return the updated rate cards

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