PHP 클래스 CustomFieldService, googleads-php-lib

상속: extends DfpSoapClient
파일 보기 프로젝트 열기: googleads/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
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