PHP Class PremiumRateService, 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
createPremiumRates ( $premiumRates ) : the Creates a list of new {@link PremiumRate} objects.
getPremiumRatesByStatement ( $filterStatement ) : the Gets a {@link PremiumRatePage} of {@link PremiumRate} objects that satisfy the given {@link Statement#query}. The following fields are supported for filtering:
updatePremiumRates ( $premiumRates ) : the Updates the specified {@link PremiumRate} 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

createPremiumRates() public method

Creates a list of new {@link PremiumRate} objects.
public createPremiumRates ( $premiumRates ) : the
return the premium rates with their IDs filled in

getPremiumRatesByStatement() public method

PQL Property Object Property
{@code id} {@link PremiumRate#id}
{@code rateCardId} {@link PremiumRate#rateCardId}
{@code pricingMethod} {@link PremiumRate#pricingMethod}
public getPremiumRatesByStatement ( $filterStatement ) : the
return the premium rates that match the filter

updatePremiumRates() public method

Updates the specified {@link PremiumRate} objects.
public updatePremiumRates ( $premiumRates ) : the
return the updated premium rates

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