PHP Class SuggestedAdUnitService, 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
getSuggestedAdUnitsByStatement ( $filterStatement ) : the Gets a {@link SuggestedAdUnitPage} of {@link SuggestedAdUnit} objects that satisfy the filter query. There is a system-enforced limit of 1000 on the number of suggested ad units that are suggested at any one time.
performSuggestedAdUnitAction ( $suggestedAdUnitAction, $filterStatement ) : the Performs actions on {@link SuggestedAdUnit} objects that match the given {@link Statement#query}. The following fields are supported for filtering:

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

getSuggestedAdUnitsByStatement() public method

PQL Property Object Property
{@code id} {@link SuggestedAdUnit#id}
{@code numRequests} {@link SuggestedAdUnit#numRequests}

Note: After API version 201311, the {@code id} field will only be numerical.

public getSuggestedAdUnitsByStatement ( $filterStatement ) : the
return the suggested ad units that match the given filter

performSuggestedAdUnitAction() public method

PQL Property Object Property
{@code id} {@link SuggestedAdUnit#id}
{@code numRequests} {@link SuggestedAdUnit#numRequests}
public performSuggestedAdUnitAction ( $suggestedAdUnitAction, $filterStatement ) : the
return the result of the action performed

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