PHP Class AdRuleService, googleads-php-lib

Inheritance: extends DfpSoapClient
Afficher le fichier Open project: googleads/googleads-php-lib

Méthodes publiques

Свойство Type Description
$classmap array Default class map for wsdl=>php
$endpoint string The endpoint of the service

Méthodes publiques

Méthode Description
__construct ( string $wsdl, array $options, $user ) Constructor using wsdl location and options array
createAdRules ( $adRules ) : the Creates new {@link AdRule} objects.
getAdRulesByStatement ( $statement ) : the Gets an {@link AdRulePage} of {@link AdRule} objects that satisfy the given {@link Statement#query}. The following fields are supported for filtering:
performAdRuleAction ( $adRuleAction, $filterStatement ) : the Performs actions on {@link AdRule} objects that match the given {@link Statement#query}.
updateAdRules ( $adRules ) : the Updates the specified {@link AdRule} objects.

Method Details

__construct() public méthode

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

createAdRules() public méthode

Creates new {@link AdRule} objects.
public createAdRules ( $adRules ) : the
Résultat the created ad rules with their IDs filled in

getAdRulesByStatement() public méthode

PQL Property Object Property
{@code id} {@link AdRule#id}
{@code name} {@link AdRule#name}
{@code priority} {@link AdRule#priority}
{@code status} {@link AdRule#status}
public getAdRulesByStatement ( $statement ) : the
Résultat the ad rules that match the given filter

performAdRuleAction() public méthode

Performs actions on {@link AdRule} objects that match the given {@link Statement#query}.
public performAdRuleAction ( $adRuleAction, $filterStatement ) : the
Résultat the result of the action performed

updateAdRules() public méthode

Updates the specified {@link AdRule} objects.
public updateAdRules ( $adRules ) : the
Résultat the updated ad rules

Property Details

$classmap public_oe static_oe property

Default class map for wsdl=>php
public static array $classmap
Résultat array

$endpoint public_oe static_oe property

The endpoint of the service
public static string $endpoint
Résultat string