PHP Class CampaignEstimateRequest, googleads-php-lib

Returns traffic estimates for the requested set of campaigns. The campaigns can be all new or all existing, or a mixture of new and existing. Only existing campaigns may contain estimates for existing ad groups.

For existing campaigns, the campaign and optionally the ad group will be used as context to produce more accurate estimates. Traffic estimates may only be requested on keywords, so regardless of whether campaign and ad group IDs are provided or left blank, at least one keyword is required to estimate traffic.

To make a keyword estimates request in which estimates do not consider existing account information (e.g. historical ad group performance), set {@link #campaignId} to {@code null}.

Inheritance: extends EstimateRequest
Mostrar archivo Open project: googleads/googleads-php-lib

Public Properties

Property Type Description
$adGroupEstimateRequests AdGroupEstimateRequest[]
$campaignId integer
$criteria Criterion[]
$dailyBudget Money
$networkSetting NetworkSetting

Public Methods

Method Description
__construct ( $campaignId = null, $adGroupEstimateRequests = null, $criteria = null, $networkSetting = null, $dailyBudget = null, $EstimateRequestType = null )
getNamespace ( ) : string Gets the namesapce of this class
getXsiTypeName ( ) : string Gets the xsi:type name of this class

Method Details

__construct() public method

public __construct ( $campaignId = null, $adGroupEstimateRequests = null, $criteria = null, $networkSetting = null, $dailyBudget = null, $EstimateRequestType = null )

getNamespace() public method

Gets the namesapce of this class
public getNamespace ( ) : string
return string the namespace of this class

getXsiTypeName() public method

Gets the xsi:type name of this class
public getXsiTypeName ( ) : string
return string the xsi:type name of this class

Property Details

$adGroupEstimateRequests public_oe property

public AdGroupEstimateRequest[] $adGroupEstimateRequests
return AdGroupEstimateRequest[]

$campaignId public_oe property

public int $campaignId
return integer

$criteria public_oe property

public Criterion[] $criteria
return Criterion[]

$dailyBudget public_oe property

public Money $dailyBudget
return Money

$networkSetting public_oe property

public NetworkSetting $networkSetting
return NetworkSetting