PHP 클래스 ProductTemplateService, 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
createProductTemplates ( $productTemplates ) : the Creates new {@link ProductTemplate} objects.
getProductTemplatesByStatement ( $statement ) : the Gets a {@link ProductTemplatePage} of {@link ProductTemplate} objects that satisfy the filtering criteria specified by given {@link Statement#query}.
performProductTemplateAction ( $action, $filterStatement ) : the Performs action on {@link ProductTemplate} objects that satisfy the given {@link Statement#query}.
updateProductTemplates ( $productTemplates ) : the Updates the specified {@link ProductTemplate} 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

createProductTemplates() 공개 메소드

Creates new {@link ProductTemplate} objects.
public createProductTemplates ( $productTemplates ) : the
리턴 the persisted product templates with their Ids filled in

getProductTemplatesByStatement() 공개 메소드

The following fields are supported for filtering:
PQL Property Object Property
{@code id} {@link ProductTemplate#id}
{@code name} {@link ProductTemplate#name}
{@code nameMacro} {@link ProductTemplate#nameMacro}
{@code description} {@link ProductTemplate#description}
{@code status} {@link ProductTemplate#status}
{@code lastModifiedDateTime} {@link ProductTemplate#lastModifiedDateTime}
{@code lineItemType} {@link LineItemType}
{@code productType} {@link ProductType}
{@code rateType} {@link RateType}
public getProductTemplatesByStatement ( $statement ) : the
리턴 the productTemplates that match the given statement

performProductTemplateAction() 공개 메소드

Performs action on {@link ProductTemplate} objects that satisfy the given {@link Statement#query}.
public performProductTemplateAction ( $action, $filterStatement ) : the
리턴 the result of the action performed

updateProductTemplates() 공개 메소드

Updates the specified {@link ProductTemplate} objects.
public updateProductTemplates ( $productTemplates ) : the
리턴 the updated product templates

프로퍼티 상세

$classmap 공개적으로 정적으로 프로퍼티

Default class map for wsdl=>php
public static array $classmap
리턴 array

$endpoint 공개적으로 정적으로 프로퍼티

The endpoint of the service
public static string $endpoint
리턴 string