PHP 클래스 ProposalLineItemService, 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
createProposalLineItems ( $proposalLineItems ) : the Creates new {@link ProposalLineItem} objects.
getProposalLineItemsByStatement ( $filterStatement ) : the Gets a {@link ProposalLineItemPage} of {@link ProposalLineItem} objects that satisfy the given {@link Statement#query}. The following fields are supported for filtering:
performProposalLineItemAction ( $proposalLineItemAction, $filterStatement ) : the Performs actions on {@link ProposalLineItem} objects that match the given {@link Statement#query}.
updateProposalLineItems ( $proposalLineItems ) : the Updates the specified {@link ProposalLineItem} objects. If free editing mode is enabled, this will trigger inventory reservation and cause the proposal to be pushed to DFP again.

메소드 상세

__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

createProposalLineItems() 공개 메소드

For each proposal line item, the following fields are required:
  • {@link ProposalLineItem#proposalId}
  • {@link ProposalLineItem#rateCardId}
  • {@link ProposalLineItem#productId}
  • {@link ProposalLineItem#name}
  • {@link ProposalLineItem#startDateTime}
  • {@link ProposalLineItem#endDateTime}
public createProposalLineItems ( $proposalLineItems ) : the
리턴 the created proposal line items with their IDs filled in

getProposalLineItemsByStatement() 공개 메소드

PQL Property Object Property
{@code id} {@link ProposalLineItem#id}
{@code name} {@link ProposalLineItem#name}
{@code proposalId} {@link ProposalLineItem#proposalId}
{@code startDateTime} {@link ProposalLineItem#startDateTime}
{@code endDateTime} {@link ProposalLineItem#endDateTime}
{@code isArchived} {@link ProposalLineItem#isArchived}
{@code lastModifiedDateTime} {@link ProposalLineItem#lastModifiedDateTime}
{@code useThirdPartyAdServerFromProposal}
Only applicable for non-programmatic proposal line items using sales management
{@link ProposalLineItem#useThirdPartyAdServerFromProposal}
{@code thirdPartyAdServerId}
Only applicable for non-programmatic proposal line items using sales management
{@link ProposalLineItem#thirdPartyAdServerId}
{@code customThirdPartyAdServerName}
Only applicable for non-programmatic proposal line items using sales management
{@link ProposalLineItem#customThirdPartyAdServerName}
{@code isProgrammatic} {@link ProposalLineItem#isProgrammatic}
public getProposalLineItemsByStatement ( $filterStatement ) : the
리턴 the proposal line items that match the given filter

performProposalLineItemAction() 공개 메소드

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

updateProposalLineItems() 공개 메소드

Updates the specified {@link ProposalLineItem} objects. If free editing mode is enabled, this will trigger inventory reservation and cause the proposal to be pushed to DFP again.
public updateProposalLineItems ( $proposalLineItems ) : the
리턴 the updated proposal 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