PHP Class ActivityGroupService, googleads-php-lib

Inheritance: extends DfpSoapClient
Show file 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
createActivityGroups ( $activityGroups ) : the Creates a new {@link ActivityGroup} objects.
getActivityGroupsByStatement ( $filterStatement ) : the Gets an {@link ActivityGroupPage} of {@link ActivityGroup} objects that satisfy the given {@link Statement#query}. The following fields are supported for filtering:
updateActivityGroups ( $activityGroups ) : the Updates the specified {@link ActivityGroup} 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

createActivityGroups() public method

Creates a new {@link ActivityGroup} objects.
public createActivityGroups ( $activityGroups ) : the
return the created activity groups with their IDs filled in.

getActivityGroupsByStatement() public method

PQL Property Object Property
{@code id} {@link ActivityGroup#id}
{@code name} {@link ActivityGroup#name}
{@code impressionsLookback} {@link ActivityGroup#impressionsLookback}
{@code clicksLookback} {@link ActivityGroup#clicksLookback}
{@code status} {@link ActivityGroup#status}
public getActivityGroupsByStatement ( $filterStatement ) : the
return the activity groups that match the given filter

updateActivityGroups() public method

Updates the specified {@link ActivityGroup} objects.
public updateActivityGroups ( $activityGroups ) : the
return the updated activity groups.

Property Details

$classmap public static property

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

$endpoint public static property

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