Info needed on Placements in API

25 views
Skip to first unread message

RAGHAVA

unread,
Dec 29, 2009, 7:00:49 AM12/29/09
to AdWords API Forum
HI,

We are developing an application which uses the Google API and fetches
the data for the performance metrics of a particular campaign at
keyword level, at AdGroup level and so on.

The problem which we are facing is
1. We want to have placements(i.e. ad’s for which we specify the
website in which the ad needs to be displayed), for each AdGroup in a
campaign along with ads. So, in any typical scenario, we will have
three objects for each campaign ( i.e. keyword, ad, and placement ).

a. I am able to find documentation about how to add an ad to a
AdGroup, but not on how to add a placement in a AdGroup. from the
documentation what i can understand is that if we use criterion
service and addcriteria as a website , then it will be treated as
placement. is this right?

b. Also we need to get the performance metrics for such type of
placements, along with the keyword that with which the ad was
displayed, as i can see from the following link
" http://code.google.com/apis/adwords/docs/developer/adwords_api_report_keyword.html
",
Set DefinedReportJob.selectedReportType to Keyword to generate a
Placement / Keyword Performance report. is there a way where i can
distinguish that it is a placement report or keyword report.

Please let me know how to proceed on this one.

Regards,
Raghava.

AdWords API Advisor

unread,
Dec 30, 2009, 9:52:45 AM12/30/09
to AdWords API Forum
Hi Raghava,

To address your questions:

a) In the v13 version of the API (which is deprecated) you would use
CriterionService to add Website criteria:

http://code.google.com/apis/adwords/docs/developer/CriterionService.html
http://code.google.com/apis/adwords/docs/developer/Website.html

In the v2009 version of the API you would use the
AdGroupCriterionService to add BiddableAdGroupCriterion objects with
inner Placement criteria:

http://code.google.com/apis/adwords/v2009/docs/reference/AdGroupCriterionService.html
http://code.google.com/apis/adwords/v2009/docs/reference/AdGroupCriterionService.BiddableAdGroupCriterion.html
http://code.google.com/apis/adwords/v2009/docs/reference/AdGroupCriterionService.Placement.html

b) The report will include both keywords and placements. Placement
rows can be identified by kwSiteType="WebSite".

Best,
- Eric Koleda, AdWords API Team

On Dec 29, 7:00 am, RAGHAVA <raghav.sudha2...@googlemail.com> wrote:
> HI,
>
> We are developing an application which uses the Google API and fetches
> the data for the performance metrics of a particular campaign at
> keyword level, at AdGroup level and so on.
>
> The problem which we are facing is
> 1.      We want to have placements(i.e. ad’s for which we specify the
> website in which the ad needs to be displayed),  for each AdGroup in a
> campaign along with ads.  So, in any typical scenario, we will have
> three objects for each campaign ( i.e. keyword, ad, and placement ).
>
> a.      I am able to find documentation about how to add an ad to a
> AdGroup, but not on how to add a placement in a AdGroup. from the
> documentation what i can understand is that if we use criterion
> service and addcriteria as a website , then it will be treated as
> placement. is this right?
>
> b.      Also we need to get the performance metrics for such type of
> placements, along with the keyword that with which the ad was
> displayed, as i can see from the following link

> "http://code.google.com/apis/adwords/docs/developer/adwords_api_report...

Reply all
Reply to author
Forward
0 new messages