PHP Class LineItemService, googleads-php-lib

Inheritance: extends DfpSoapClient
Datei anzeigen Open project: googleads/googleads-php-lib

Public Properties

Property Type Description
$classmap array Default class map for wsdl=>php
$endpoint string The endpoint of the service

Public Methods

Method Description
__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.

Method Details

__construct() public method

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() public method

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

getLineItemsByStatement() public method

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
return the line items that match the given filter

performLineItemAction() public method

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

updateLineItems() public method

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

Property Details

$classmap public_oe static_oe property

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

$endpoint public_oe static_oe property

The endpoint of the service
public static string $endpoint
return string