This cannot be achieved by one call per criteria.

You could get the Campaign.status, AdGroup.status, Keyword.status all
at the same time by downloading a keyword performance report and
including "AdGroupStatus", "CampaignStatus", "Status" in your report.
This however does not include the Campaign.servingStatus which also
could prevent a criterion from being eligible for bidding.

Since it is likely that you probably have 100s of keywords in each
campaign, you could assemble a list of CampaignIds from the keyword
performance report and make only one call per campaign then map the
servingStatus to each keyword.

Defining a report only requires a single API call, then by using a
sliding date scale of the last seven days, you could reuse this same
report every day and not get charged any further units as long as you
save the reportDefinitionId. Then if you have say... 100 campaigns
with a total of 100000 keywords, you only need to make 1 initial
report definition request, then 100 API calls total to get the
complete status at all levels for each of your keywords.

-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and discussion group:
http://adwordsapi.blogspot.com
http://groups.google.com/group/adwords-api
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords API Forum" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en

Reply via email to