PHP 클래스 LineItemService, 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
createLineItems ( $lineItems ) : the Creates new {@link LineItem} objects.
getLineItemsByStatement ( $filterStatement ) : the Gets a {@link LineItemPage} of {@link LineItem} objects that satisfy the given {@link Statement#query}. The following fields are supported for filtering:
performLineItemAction ( $lineItemAction, $filterStatement ) : the Performs actions on {@link LineItem} objects that match the given {@link Statement#query}.
updateLineItems ( $lineItems ) : the Updates the specified {@link LineItem} 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

createLineItems() 공개 메소드

Creates new {@link LineItem} objects.
public createLineItems ( $lineItems ) : the
리턴 the created line items with their IDs filled in

getLineItemsByStatement() 공개 메소드

PQL propertyEntity property
CostType{@link LineItem#costType}
CreationDateTime{@link LineItem#creationDateTime}
DeliveryRateType{@link LineItem#deliveryRateType}
EndDateTime{@link LineItem#endDateTime}
ExternalId{@link LineItem#externalId}
Id{@link LineItem#id}
IsMissingCreatives{@link LineItem#isMissingCreatives}
IsSetTopBoxEnabled{@link LineItem#isSetTopBoxEnabled}
LastModifiedDateTime{@link LineItem#lastModifiedDateTime}
LineItemType{@link LineItem#lineItemType}
Name{@link LineItem#name}
OrderId{@link LineItem#orderId}
StartDateTime{@link LineItem#startDateTime}
Status{@link LineItem#status}
Targeting{@link LineItem#targeting}
UnitsBought{@link LineItem#unitsBought}
public getLineItemsByStatement ( $filterStatement ) : the
리턴 the line items that match the given filter

performLineItemAction() 공개 메소드

Performs actions on {@link LineItem} objects that match the given {@link Statement#query}.
public performLineItemAction ( $lineItemAction, $filterStatement ) : the
리턴 the result of the action performed

updateLineItems() 공개 메소드

Updates the specified {@link LineItem} objects.
public updateLineItems ( $lineItems ) : the
리턴 the updated line items

프로퍼티 상세

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

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

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

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