PHP Класс 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}.

Наследование: extends EstimateRequest
Показать файл Открыть проект

Открытые свойства

Свойство Тип Описание
$adGroupEstimateRequests AdGroupEstimateRequest[]
$campaignId integer
$criteria Criterion[]
$dailyBudget Money
$networkSetting NetworkSetting

Открытые методы

Метод Описание
__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

Описание методов

__construct() публичный Метод

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

getNamespace() публичный Метод

Gets the namesapce of this class
public getNamespace ( ) : string
Результат string the namespace of this class

getXsiTypeName() публичный Метод

Gets the xsi:type name of this class
public getXsiTypeName ( ) : string
Результат string the xsi:type name of this class

Описание свойств

$adGroupEstimateRequests публичное свойство

public AdGroupEstimateRequest[] $adGroupEstimateRequests
Результат AdGroupEstimateRequest[]

$campaignId публичное свойство

public int $campaignId
Результат integer

$criteria публичное свойство

public Criterion[] $criteria
Результат Criterion[]

$dailyBudget публичное свойство

public Money $dailyBudget
Результат Money

$networkSetting публичное свойство

public NetworkSetting $networkSetting
Результат NetworkSetting