AccountsAdunits
class AccountsAdunits extends Resource (View source)
The "adunits" collection of methods.
Typical usage is:
$adsensehostService = new Google\Service\AdSenseHost(...);
$adunits = $adsensehostService->accounts_adunits;
Methods
Delete the specified ad unit from the specified publisher AdSense account.
Get the specified host ad unit in this AdSense account. (adunits.get)
Get ad code for the specified ad unit, attaching the specified host custom channels. (adunits.getAdCode)
List all ad units in the specified publisher's AdSense account.
Details
AdUnit
delete(string $accountId, string $adClientId, string $adUnitId, array $optParams = [])
Delete the specified ad unit from the specified publisher AdSense account.
(adunits.delete)
AdUnit
get(string $accountId, string $adClientId, string $adUnitId, array $optParams = [])
Get the specified host ad unit in this AdSense account. (adunits.get)
AdCode
getAdCode(string $accountId, string $adClientId, string $adUnitId, array $optParams = [])
Get ad code for the specified ad unit, attaching the specified host custom channels. (adunits.getAdCode)
AdUnit
insert(string $accountId, string $adClientId, AdUnit $postBody, array $optParams = [])
Insert the supplied ad unit into the specified publisher AdSense account.
(adunits.insert)
AdUnits
listAccountsAdunits(string $accountId, string $adClientId, array $optParams = [])
List all ad units in the specified publisher's AdSense account.
(adunits.listAccountsAdunits)
AdUnit
patch(string $accountId, string $adClientId, string $adUnitId, AdUnit $postBody, array $optParams = [])
Update the supplied ad unit in the specified publisher AdSense account. This method supports patch semantics. (adunits.patch)