PHP Класс AdRuleService, googleads-php-lib

Наследование: extends DfpSoapClient
Показать файл Открыть проект

Открытые свойства

Свойство Тип Описание
$classmap array Default class map for wsdl=>php
$endpoint string The endpoint of the service

Открытые методы

Метод Описание
__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.

Описание методов

__construct() публичный Метод

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() публичный Метод

Creates new {@link AdRule} objects.
public createAdRules ( $adRules ) : the
Результат the created ad rules with their IDs filled in

getAdRulesByStatement() публичный Метод

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
Результат the ad rules that match the given filter

performAdRuleAction() публичный Метод

Performs actions on {@link AdRule} objects that match the given {@link Statement#query}.
public performAdRuleAction ( $adRuleAction, $filterStatement ) : the
Результат the result of the action performed

updateAdRules() публичный Метод

Updates the specified {@link AdRule} objects.
public updateAdRules ( $adRules ) : the
Результат the updated ad rules

Описание свойств

$classmap публичное статическое свойство

Default class map for wsdl=>php
public static array $classmap
Результат array

$endpoint публичное статическое свойство

The endpoint of the service
public static string $endpoint
Результат string