PHP Класс ReportDefinitionService, 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
getReportFields ( $reportType ) : The This field is required and should not be {@code null}.

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

__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

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

Returns the available report fields for a given report type. When using this method the {@code clientCustomerId} header field is optional. Callers are discouraged from setting the clientCustomerId header field in calls to this method as its presence will trigger an authorization error if the caller does not have access to the customer with the included ID.
public getReportFields ( $reportType ) : The
Результат The list of available report fields. Each {@link ReportDefinitionField} encapsulates the field name, the field data type, and the enum values (if the field's type is {@code enum}).

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

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

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

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

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