PHP Класс DataService, 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
getAdGroupBidLandscape ( $serviceSelector ) : A This field is required and should not be {@code null}.
getCampaignCriterionBidLandscape ( $serviceSelector ) : A This field is required and should not be {@code null}.
getCriterionBidLandscape ( $serviceSelector ) : A This field is required and should not be {@code null}.
getDomainCategory ( $serviceSelector ) : A This field is required and should not be {@code null}.
queryAdGroupBidLandscape ( $query ) : A This field is required and should not be {@code null}.
queryCampaignCriterionBidLandscape ( $query ) : A This field is required and should not be {@code null}.
queryCriterionBidLandscape ( $query ) : A This field is required and should not be {@code null}.
queryDomainCategory ( $query ) : A This field is required and should not be {@code null}.

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

__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

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

Returns a list of {@link AdGroupBidLandscape}s for the ad groups specified in the selector. In the result, the returned {@link LandscapePoint}s are grouped into {@link AdGroupBidLandscape}s by their ad groups, and numberResults of paging limits the total number of {@link LandscapePoint}s instead of number of {@link AdGroupBidLandscape}s.
public getAdGroupBidLandscape ( $serviceSelector ) : A
Результат A list of bid landscapes.

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

Returns a list of {@link CriterionBidLandscape}s for the campaign criteria specified in the selector. In the result, the returned {@link LandscapePoint}s are grouped into {@link CriterionBidLandscape}s by their campaign id and criterion id, and numberResults of paging limits the total number of {@link LandscapePoint}s instead of number of {@link CriterionBidLandscape}s.
public getCampaignCriterionBidLandscape ( $serviceSelector ) : A
Результат A list of bid landscapes.

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

Returns a list of {@link CriterionBidLandscape}s for the criteria specified in the selector. In the result, the returned {@link LandscapePoint}s are grouped into {@link CriterionBidLandscape}s by their criteria, and numberResults of paging limits the total number of {@link LandscapePoint}s instead of number of {@link CriterionBidLandscape}s.
public getCriterionBidLandscape ( $serviceSelector ) : A
Результат A list of bid landscapes.

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

Returns a list of domain categories that can be used to create {@link WebPage} criterion.
public getDomainCategory ( $serviceSelector ) : A
Результат A list of domain categories.

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

Returns a list of {@link AdGroupBidLandscape}s for the ad groups that match the query. In the result, the returned {@link LandscapePoint}s are grouped into {@link AdGroupBidLandscape}s by their ad groups, and numberResults of paging limits the total number of {@link LandscapePoint}s instead of number of {@link AdGroupBidLandscape}s.
public queryAdGroupBidLandscape ( $query ) : A
Результат A list of bid landscapes.

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

Returns a list of {@link CriterionBidLandscape}s for the campaign criteria that match the query. In the result, the returned {@link LandscapePoint}s are grouped into {@link CriterionBidLandscape}s by their campaign id and criterion id, and numberResults of paging limits the total number of {@link LandscapePoint}s instead of number of {@link CriterionBidLandscape}s.
public queryCampaignCriterionBidLandscape ( $query ) : A
Результат A list of bid landscapes.

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

Returns a list of {@link CriterionBidLandscape}s for the criteria that match the query. In the result, the returned {@link LandscapePoint}s are grouped into {@link CriterionBidLandscape}s by their criteria, and numberResults of paging limits the total number of {@link LandscapePoint}s instead of number of {@link CriterionBidLandscape}s.
public queryCriterionBidLandscape ( $query ) : A
Результат A list of bid landscapes.

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

Returns a list of domain categories that can be used to create {@link WebPage} criterion.
public queryDomainCategory ( $query ) : A
Результат A list of domain categories.

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

$classmap публичное статическое свойство

Default class map for wsdl=>php
public static array $classmap
Результат array

$endpoint публичное статическое свойство

The endpoint of the service
public static string $endpoint
Результат string