Section 16.1. KeywordEstimatorService Messages and Responses


16.1. KeywordEstimatorService Messages and Responses

The KeywordEstimatorService will provide traffic estimates for campaigns, AdGroups, and keywords. Table 16-1 shows the request objects, requests, and responses used for each of these types of estimates.

Table 16-1. Messages and responses for different kinds of estimates

AdWords object

Request object

Request message

Output response

Campaign

CampaignRequest

estimateCampaignList

CampaignEstimate

AdGroup

AdGroupRequest

estimateAdGroupList

AdGroupEstimate

Keyword

KeywordRequest

estimateKeywordList

KeywordEstimate


With an AdWords API client authenticated and instantiated, your code needs to:

  1. Create a request object.

  2. Provide the request object in a request message (which can contain multiple request objects).

  3. Obtain estimate information from the response message.

These steps are illustrated in Figure 16-1.

Figure 16-1. Working with the KeywordEstimatorService




Google Advertising Tools. Cashing in with AdSense, AdWords, and the Google APIs
Google Advertising Tools: Cashing in with Adsense, Adwords, and the Google APIs
ISBN: 0596101082
EAN: 2147483647
Year: 2004
Pages: 145
Authors: Harold Davis

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net