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

Показать файл Открыть проект Примеры использования класса

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

Свойство Тип Описание
$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
getContentByStatement ( $statement ) : the Gets a {@link ContentPage} of {@link Content} objects that satisfy the given {@link Statement#query}. The following fields are supported for filtering:
getContentByStatementAndCustomTargetingValue ( $filterStatement, $customTargetingValueId ) : the Gets a {@link ContentPage} of {@link Content} objects that satisfy the given {@link Statement#query}. Additionally, filters on the given value ID and key ID that the value belongs to.

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

__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

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

PQL Property Object Property
{@code id} {@link Content#id}
{@code status} {@link Content#status}
{@code name} {@link Content#name}
{@code lastModifiedDateTime} {@link Content#lastModifiedDateTime}
public getContentByStatement ( $statement ) : the
Результат the content that matches the given filter

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

The following fields are supported for filtering:
PQL Property Object Property
{@code id} {@link Content#id}
{@code status} {@link Content#status}
{@code name} {@link Content#name}
{@code lastModifiedDateTime} {@link Content#lastModifiedDateTime>}
public getContentByStatementAndCustomTargetingValue ( $filterStatement, $customTargetingValueId ) : the
Результат the content that matches the given filter

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

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

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

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

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