Site Suggestion API Query

9 views
Skip to first unread message

aBsTrAcT

unread,
Dec 22, 2009, 7:37:08 AM12/22/09
to AdWords API Forum
Hi,
I am trying to get URLS listing for categories and other sites similar
to Adwords Placement Tool. But I am having a little issue, the URLs
returned by API always return False for acceptsImageAds option,
meaning there are no Image Ads placements on that site. But when I
search for same value and check its respective Site Properties it
shows that the Site accepts Image Ads. Can you please explain what am
I doing wrong or is there any issue with API? Its just different
results for same Site on Adwords Placement Tool and API suggestions.

Thanks.

AdWords API Advisor

unread,
Dec 22, 2009, 1:32:01 PM12/22/09
to AdWords API Forum
Hi,

I am having trouble replicating the problem. Can you show an example
SOAP XML request and response that demonstrates this issue?

Best,
- Eric Koleda, AdWords API Team

aBsTrAcT

unread,
Dec 22, 2009, 1:57:04 PM12/22/09
to AdWords API Forum
This is request, I am sending:
<getSitesByTopics>
<topics>joomla</topics>
<targeting>
<languages>en</languages>
</targeting>
</getSitesByTopics>

As a result I get
Result for one site i.e joomla.org from URL list is as follows:
acceptsImageAds false
acceptsTextAds true
acceptsVideoAds false
pageViews 781726
url joomla.org

Here for each result I am getting "acceptsImageAds false", it is
always FALSE for whatever I query.

On the other hand when we login to adwords.google.com and navigate to
Placement Tool. For same query we get "acceptsImageAds True". So
there is conflict between both results.

Now question is why I am getting acceptsImageAds always False?

Thanks and regards,
Hassan

On Dec 22, 11:32 pm, AdWords API Advisor

aBsTrAcT

unread,
Dec 23, 2009, 11:18:19 AM12/23/09
to AdWords API Forum
Hi,

Can anyone help me in this? I am always getting False for
acceptsImageAds for each record using API SiteSuggestionService for
all functions getSitesByCategoryName, getSitesByDemographics,
getSitesByTopics and getSitesByUrls.

Thanks.


On Dec 22, 11:57 pm, aBsTrAcT <m.hassan...@gmail.com> wrote:
> This is request, I am sending:
> <getSitesByTopics>
>       <topics>joomla</topics>
>       <targeting>
>         <languages>en</languages>
>       </targeting>
>     </getSitesByTopics>
>
> As a result I get

> Result for onesitei.e joomla.org from URL list is as follows:

> > > meaning there are no Image Ads placements on thatsite. But when I


> > > search for same value and check its respectiveSiteProperties it

> > > shows that theSiteaccepts Image Ads. Can you please explain what am


> > > I doing wrong or is there any issue with API? Its just different

> > > results for sameSiteon Adwords Placement Tool and API suggestions.
>
> > > Thanks.

AdWords API Advisor

unread,
Dec 23, 2009, 11:59:09 AM12/23/09
to AdWords API Forum
Hi Hassan,

Thank you for the additional information, and I am able to see the
problem now. I'll work with the core engineering team to look into
this issue, and I will update this thread when I have more
information.

Best,
- Eric

AdWords API Advisor

unread,
Dec 23, 2009, 12:04:27 PM12/23/09
to AdWords API Forum
Hi Hassan,

Additionally, I would recommend you switch to using the
TargetingIdeaService to get placement ideas instead of the
SiteSuggestionService. The v13 SiteSuggestionService is deprecated
and will be sunset in early 2010. I tested the TargetingIdeaService
and it is returning the image format information correctly. Below is
an example request and response:

Best,
- Eric

<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/
envelope/" xmlns:o="https://adwords.google.com/api/adwords/o/v200909"
xmlns:cm="https://adwords.google.com/api/adwords/cm/v200909"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<soapenv:Header>
<o:RequestHeader>
...
</o:RequestHeader>
</soapenv:Header>
<soapenv:Body>
<o:get>
<o:selector>
<o:searchParameters
xsi:type="o:RelatedToKeywordSearchParameter">
<o:keywords>
<cm:text>joomla</cm:text>
<cm:matchType>BROAD</cm:matchType>
</o:keywords>
</o:searchParameters>
<o:ideaType>PLACEMENT</o:ideaType>
<o:requestType>IDEAS</o:requestType>
<o:requestedAttributeTypes>PLACEMENT</
o:requestedAttributeTypes>
<o:requestedAttributeTypes>FORMATS</
o:requestedAttributeTypes>
<o:paging>
<cm:startIndex>0</cm:startIndex>
<cm:numberResults>10</cm:numberResults>
</o:paging>
</o:selector>
</o:get>
</soapenv:Body>
</soapenv:Envelope>

<?xml version="1.0"?>
<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/
envelope/">
<soap:Header>
<ns2:ResponseHeader xmlns:ns2="https://adwords.google.com/api/
adwords/o/v200909" xmlns="https://adwords.google.com/api/adwords/cm/
v200909">
...
</ns2:ResponseHeader>
</soap:Header>
<soap:Body>
<ns2:getResponse xmlns="https://adwords.google.com/api/adwords/
cm/v200909" xmlns:ns2="https://adwords.google.com/api/adwords/o/
v200909">
<ns2:rval>
<ns2:totalNumEntries>800</ns2:totalNumEntries>
...
<ns2:entries>
<ns2:data>
<ns2:key>FORMATS</ns2:key>
<ns2:value xmlns:xsi="http://www.w3.org/2001/XMLSchema-
instance" xsi:type="ns2:AdFormatSpecListAttribute">
<ns2:Attribute.Type>AdFormatSpecListAttribute</
ns2:Attribute.Type>
<ns2:value>
<ns2:format>TEXT</ns2:format>
</ns2:value>
<ns2:value>
<ns2:format>IMAGE</ns2:format>
</ns2:value>
</ns2:value>
</ns2:data>
<ns2:data>
<ns2:key>PLACEMENT</ns2:key>
<ns2:value xmlns:xsi="http://www.w3.org/2001/XMLSchema-
instance" xsi:type="ns2:PlacementAttribute">
<ns2:Attribute.Type>PlacementAttribute</
ns2:Attribute.Type>
<ns2:value>
<Criterion.Type>Placement</Criterion.Type>
<url>extensions.joomla.org</url>
</ns2:value>
</ns2:value>
</ns2:data>
</ns2:entries>
</ns2:rval>
</ns2:getResponse>
</soap:Body>
</soap:Envelope>

On Dec 23, 11:59 am, AdWords API Advisor

aBsTrAcT

unread,
Dec 23, 2009, 1:49:11 PM12/23/09
to AdWords API Forum
Thanks alot Eric. I will check this out too.

Thanks and regards,
Hassan

On Dec 23, 10:04 pm, AdWords API Advisor

Reply all
Reply to author
Forward
0 new messages