Thanks alot Eric. I will check this out too.

Thanks and regards,
Hassan

On Dec 23, 10:04 pm, AdWords API Advisor
<[email protected]> wrote:
> 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
>
>
>
> <[email protected]> wrote:
> > 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
>
> > On Dec 22, 1:57 pm, aBsTrAcT <[email protected]> wrote:
>
> > > 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
>
> > > <[email protected]> wrote:
> > > > 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
>
> > > > On Dec 22, 7:37 am, aBsTrAcT <[email protected]> wrote:
>
> > > > > 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.

--

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