PHP Class BudgetService, googleads-php-lib

Inheritance: extends AdWordsSoapClient
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
get ( $selector ) : List This field is required and should not be {@code null}.
mutate ( $operations ) : The This field must not contain {@code null} elements. Elements in this field must have distinct IDs for following {@link Operator}s : SET, REMOVE. This field must contain at least one element. This field is required and should not be {@code null}.
query ( $query ) This field is required and should not be {@code null}.

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

get() public method

Returns a list of budgets that match the selector.
public get ( $selector ) : List
return List of budgets specified by the selector.

mutate() public method

Applies the list of mutate operations.
public mutate ( $operations ) : The
return The modified list of Budgets, returned in the same order as operations.

query() public method

Returns the list of budgets that match the query.
public query ( $query )

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