PHP Class AdExclusionRuleService, 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
createAdExclusionRules ( $adExclusionRules ) : the Creates new {@link AdExclusionRule} objects.
getAdExclusionRulesByStatement ( $filterStatement ) : the Gets a {@link AdExclusionRulePage} of {@link AdExclusionRule} objects that satisfy the given {@link Statement#query}. The following fields are supported for filtering:
performAdExclusionRuleAction ( $adExclusionRuleAction, $filterStatement ) : the Performs action on {@link AdExclusionRule} objects that satisfy the given {@link Statement#query}.
updateAdExclusionRules ( $adExclusionRules ) : the Updates the specified {@link AdExclusionRule} 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

createAdExclusionRules() public method

Creates new {@link AdExclusionRule} objects.
public createAdExclusionRules ( $adExclusionRules ) : the
return the created rules with their IDs filled in

getAdExclusionRulesByStatement() public method

PQL Property Object Property
{@code id} {@link AdExclusionRule#id}
{@code name} {@link AdExclusionRule#name}
{@code status} {@link AdExclusionRule#status}
public getAdExclusionRulesByStatement ( $filterStatement ) : the
return the rules that match the given filter

performAdExclusionRuleAction() public method

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

updateAdExclusionRules() public method

Updates the specified {@link AdExclusionRule} objects.
public updateAdExclusionRules ( $adExclusionRules ) : the
return the updated rules

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