JavaScript (required for versioned text) is disabled in your browser.
Documentation for the requested version is not available. Documentation for the requested diff is not available.
API Reference
Use AccountService to create new AdSense accounts for
your publishers, associate existing publisher accounts with your site,
and update publisher account settings.
Data Objects Summary
DeveloperSiteData
Information that describes a developer's site.
PublisherApprovalStatus
Collects together both the approval status and the client id allowing for
bulk return information.
PublisherAssociationStatus
Collects together both the MpmStatus and the client id for returning
bulk information.
SyndicationService_Data
Encapsulates the data associated with a SyndicationService
A SyndicationService_Data object contains a client ID
and syndication type.
AdSenseForContentService (AFC) allows a developer to
generate ad code snippets to include in a publisher's web pages
to start serving and displaying contextual advertising.
Requests Summary
deleteAdStyle
Delete a named ad style from this service.
deleteAdStyles
Delete a collection of named ad styles from this service.
generateAdCode
Generates the ad code snippet that can be dropped into an
HTML page for the page to start receiving Google Ads.
generateAdCode
Generates the ad code snippet that can be dropped into an
HTML page for the page to start receiving Google Ads.
getActiveChannels
Returns the active Channels associated with this syndication service
for the publisher.
getAdLayouts
Get all ad layouts compatible with a particular ad unit type.
getAdStyles
Returns the ad styles created by the publisher.
getAdUnitTypes
Get all ad unit types compatible with a particular ad layout.
getAllAdLayouts
Get all ad layouts supported by Google.
getAllAdUnitTypes
Get all ad unit types supported by Google.
getBuiltinAdStyles
Returns the built-in ad styles created by Google.
getChannels
Returns the Channels associated with this syndication service for the
publisher.
getInactiveChannels
Returns the inactive Channels associated with this syndication service
for the publisher.
saveAdStyle
Saves a named ad style.
saveAdStyles
Adds a collection of named ad styles to this service.
Data Objects Summary
AdStyle
AdStyle encapsulates all the information about the colors of various
elements in an ad unit or link unit.
AdSenseForSearchService (AFS) enables a developer to
obtain a code snippet that adds the Google search box to a
publisher's web page.
Data Objects Summary
SearchBoxStyle
SearchBoxStyle encapsulates the information about the style of the
search ads.
SearchOptions
SearchOptions encapsulates the information about the options
for the results by clicking the search button.
SearchResultStyle
SearchResultStyle encapsulates information about the style
of the search results.
SiteProperties
SiteProperties encapsulates information about the search button language
(locale) and the site encoding.
Channels provide publishers with a way to track the performance, such
as clickthrough rate, of their pages.
ReportService enables AdSense API developers to generate the same
reports as can be viewed online on the AdSense website.
Requests Summary
generateReport
Gets report data from the database and returns it in a ReportData.
Publishers may not wish to display certain ads, such as their
competitors' ads, on their website.
Requests Summary
addSiteFilters
Adds a collection of site filters for a syndication service.
getSiteFilters
Gets the site filters for a syndication service.
removeSiteFilters
Removes a collection of site filters from a syndication service.
setSiteFilters
Sets the site filters for a syndication service.