PHP 클래스 ProposalService, 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
createProposals ( $proposals ) : the Creates new {@link Proposal} objects.
getProposalsByStatement ( $filterStatement ) : the Gets a {@link ProposalPage} of {@link Proposal} objects that satisfy the given {@link Statement#query}. The following fields are supported for filtering:
performProposalAction ( $proposalAction, $filterStatement ) : the Performs actions on {@link Proposal} objects that match the given {@link Statement#query}.
updateProposals ( $proposals ) : the Updates the specified {@link Proposal} 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

createProposals() 공개 메소드

For each proposal, the following fields are required:
  • {@link Proposal#name}
public createProposals ( $proposals ) : the
리턴 the created proposals with their IDs filled in

getProposalsByStatement() 공개 메소드

PQL Property Object Property
{@code id} {@link Proposal#id}
{@code dfpOrderId} {@link Proposal#dfpOrderId}
{@code name} {@link Proposal#name}
{@code status} {@link Proposal#status}
{@code isArchived} {@link Proposal#isArchived}
{@code approvalStatus}
Only applicable for proposals using sales management
{@link Proposal#approvalStatus}
{@code lastModifiedDateTime} {@link Proposal#lastModifiedDateTime}
{@code thirdPartyAdServerId}
Only applicable for non-programmatic proposals using sales management
{@link Proposal#thirdPartyAdServerId}
{@code customThirdPartyAdServerName}
Only applicable for non-programmatic proposals using sales management
{@link Proposal#customThirdPartyAdServerName}
{@code hasOfflineErrors} {@link Proposal#hasOfflineErrors}
{@code isProgrammatic} {@link Proposal#isProgrammatic}
{@code negotiationStatus}
Only applicable for programmatic proposals
{@link ProposalMarketplaceInfo#negotiationStatus}
public getProposalsByStatement ( $filterStatement ) : the
리턴 the proposals that match the given filter

performProposalAction() 공개 메소드

The following fields are also required when submitting proposals for approval:
  • {@link Proposal#advertiser}
  • {@link Proposal#primarySalesperson}
  • {@link Proposal#primaryTraffickerId}
public performProposalAction ( $proposalAction, $filterStatement ) : the
리턴 the result of the action performed

updateProposals() 공개 메소드

Updates the specified {@link Proposal} objects.
public updateProposals ( $proposals ) : the
리턴 the updated proposals

프로퍼티 상세

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

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

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

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