PHP Class ContentService, googleads-php-lib

Mostrar archivo Open project: googleads/googleads-php-lib Class Usage Examples

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
getContentByStatement ( $statement ) : the Gets a {@link ContentPage} of {@link Content} objects that satisfy the given {@link Statement#query}. The following fields are supported for filtering:
getContentByStatementAndCustomTargetingValue ( $filterStatement, $customTargetingValueId ) : the Gets a {@link ContentPage} of {@link Content} objects that satisfy the given {@link Statement#query}. Additionally, filters on the given value ID and key ID that the value belongs to.

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

getContentByStatement() public method

PQL Property Object Property
{@code id} {@link Content#id}
{@code status} {@link Content#status}
{@code name} {@link Content#name}
{@code lastModifiedDateTime} {@link Content#lastModifiedDateTime}
public getContentByStatement ( $statement ) : the
return the content that matches the given filter

getContentByStatementAndCustomTargetingValue() public method

The following fields are supported for filtering:
PQL Property Object Property
{@code id} {@link Content#id}
{@code status} {@link Content#status}
{@code name} {@link Content#name}
{@code lastModifiedDateTime} {@link Content#lastModifiedDateTime>}
public getContentByStatementAndCustomTargetingValue ( $filterStatement, $customTargetingValueId ) : the
return the content that matches the given filter

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