Thanks.
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
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
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.
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
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
Thanks and regards,
Hassan
On Dec 23, 10:04 pm, AdWords API Advisor