PlatformsAccountsSites
class PlatformsAccountsSites extends Resource (View source)
The "sites" collection of methods.
Typical usage is:
$adsenseplatformService = new Google\Service\AdSensePlatform(...);
$sites = $adsenseplatformService->platforms_accounts_sites;
Methods
Deletes a site from a specified account. (sites.delete)
Lists sites for a specific account. (sites.listPlatformsAccountsSites)
Requests the review of a site. The site should be in REQUIRES_REVIEW or NEEDS_ATTENTION state. Note: Make sure you place an ad tag on your site before requesting a review. (sites.requestReview)
Details
Site
create(string $parent, Site $postBody, array $optParams = [])
Creates a site for a specified account. (sites.create)
AdsenseplatformEmpty
delete(string $name, array $optParams = [])
Deletes a site from a specified account. (sites.delete)
Site
get(string $name, array $optParams = [])
Gets a site from a specified sub-account. (sites.get)
ListSitesResponse
listPlatformsAccountsSites(string $parent, array $optParams = [])
Lists sites for a specific account. (sites.listPlatformsAccountsSites)
RequestSiteReviewResponse
requestReview(string $name, array $optParams = [])
Requests the review of a site. The site should be in REQUIRES_REVIEW or NEEDS_ATTENTION state. Note: Make sure you place an ad tag on your site before requesting a review. (sites.requestReview)