PHP Class DataService, googleads-php-lib

Show file 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
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}.

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

getAdGroupBidLandscape() public method

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
return A list of bid landscapes.

getCampaignCriterionBidLandscape() public method

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
return A list of bid landscapes.

getCriterionBidLandscape() public method

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
return A list of bid landscapes.

getDomainCategory() public method

Returns a list of domain categories that can be used to create {@link WebPage} criterion.
public getDomainCategory ( $serviceSelector ) : A
return A list of domain categories.

queryAdGroupBidLandscape() public method

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
return A list of bid landscapes.

queryCampaignCriterionBidLandscape() public method

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
return A list of bid landscapes.

queryCriterionBidLandscape() public method

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
return A list of bid landscapes.

queryDomainCategory() public method

Returns a list of domain categories that can be used to create {@link WebPage} criterion.
public queryDomainCategory ( $query ) : A
return A list of domain categories.

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