PHP Класс CustomFieldService, 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
createCustomFieldOptions ( $customFieldOptions ) : the Creates new {@link CustomFieldOption} objects.
createCustomFields ( $customFields ) : the Creates new {@link CustomField} objects.
getCustomFieldOption ( $customFieldOptionId ) : the Returns the {@link CustomFieldOption} uniquely identified by the given ID.
getCustomFieldsByStatement ( $filterStatement ) : the Gets a {@link CustomFieldPage} of {@link CustomField} objects that satisfy the given {@link Statement#query}.
performCustomFieldAction ( $customFieldAction, $filterStatement ) : the Performs actions on {@link CustomField} objects that match the given {@link Statement#query}.
updateCustomFieldOptions ( $customFieldOptions ) : the Updates the specified {@link CustomFieldOption} objects.
updateCustomFields ( $customFields ) : the Updates the specified {@link CustomField} 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

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

The following fields are required:
  • {@link CustomFieldOption#displayName}
  • {@link CustomFieldOption#customFieldId}
public createCustomFieldOptions ( $customFieldOptions ) : the
Результат the created custom field options with their IDs filled in

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

The following fields are required:
  • {@link CustomField#name}
  • {@link CustomField#entityType}
  • {@link CustomField#dataType}
  • {@link CustomField#visibility}
public createCustomFields ( $customFields ) : the
Результат the created custom fields with their IDs filled in

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

Returns the {@link CustomFieldOption} uniquely identified by the given ID.
public getCustomFieldOption ( $customFieldOptionId ) : the
Результат the {@code CustomFieldOption} uniquely identified by the given ID

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

The following fields are supported for filtering:
PQL Property Object Property
{@code id} {@link CustomField#id}
{@code entityType} {@link CustomField#entityType}
{@code name} {@link CustomField#name}
{@code isActive} {@link CustomField#isActive}
{@code visibility} {@link CustomField#visibility}
public getCustomFieldsByStatement ( $filterStatement ) : the
Результат the custom fields that match the given filter

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

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

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

Updates the specified {@link CustomFieldOption} objects.
public updateCustomFieldOptions ( $customFieldOptions ) : the
Результат the updated custom field options

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

Updates the specified {@link CustomField} objects.
public updateCustomFields ( $customFields ) : the
Результат the updated custom fields

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

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

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

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

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