Hi Danial, Thanks for your response. However, I don't understand exactly your explanation. You can see that the adgroup contains a managed placement (website):http://screencast.com/t/gye6paWX5w2I I don't want to get placements of the adgroup with an other servcie call. I just want to know whether the adgroup has display targeting based on websites or has contextual targeting based on keywords (automatic placements). As per specification AdGroup's TargetingSettingDetail should contain a CriterionTypeGroup of type PLACEMENT for this adgroup, right? And get nothing within TargetingSetting. I also checked that TargetingSettingDetail populated correctly for adgroups with Topics (VERTICAL) and Interests & Remarketing (USER_INTEREST_AND_LIST). Do you have an idea why doesn't work the same for placements? Thanks,Peter adwords-api@googlegroups.com írta: > Hello Kraszi, > > >I don't see any targeting settings for this ad group, please see the API >documentation for this field for more details: > > > https://developers.google.com/adwords/api/docs/reference/latest/AdGroupService.TargetingSettingDetail > >As per managed placements, you can use AdGroupCriterionService to retrieve >them instead: > > > https://developers.google.com/adwords/api/docs/reference/latest/AdGroupCriterionService > > >-Danial, AdWords API Team. > >On 02/06/13 18:22:25 "Kraszi" <kra...@freemail.hu> wrote:
>> >> >>Hi Danial, >> >>I tried again with a different adgroup and now I get an empty settings entry >>like this: >> >> <settings xsi:type="TargetingSetting" >> xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> >> <Setting.Type>TargetingSetting</Setting.Type> >> </settings> >> >>It's still empty, however adgroup has managed placements. So, I expect to >>get a TargetSetting with PLACEMENT CriterionTypeGroup in the response. >> >>CID: 493-990-1775 >>Adgroup ID: 3387843267 >> >> >>Thanks, >>Peter >> >> >>On Tuesday, February 5, 2013 12:30:46 PM UTC+1, Danial Klimkin wrote: >>>Hello Kraszi, Are there any settings associated with this AdGroup? If so, >>>please send me your account CID and AdGroup ID for the request above via >>>email (Reply to author button). I am locking this thread as the original one >>>is old and not exactly relevant to the new question. Please feel free to >>>create a new one if required. -Danial, AdWords API Team. >>> >>>On Friday, February 1, 2013 2:49:22 PM UTC+4, Kraszi wrote: >>>> >>>>Hello, >>>> >>>>I have the very same problem. I specify the field 'Settings' in the >>>>v201209 AdgroupService Selector, but get no field for it in the response. >>>>However, if I specify other field in the Selector (ie. "Name"), it works >>>>fine (I get adgroup name). >>>> >>>>Here is the XML snippet I sent in: >>>> >>>><soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" >>>>xmlns:v20="https://adwords.google.com/api/adwords/cm/v201209"> >>>> <soapenv:Header> >>>> <v20:RequestHeader> >>>> <v20:authToken>XXX</v20:authToken> >>>> <v20:clientCustomerId>XXX-XXX-XXXX</v20:clientCustomerId> >>>> <v20:developerToken>XXX</v20:developerToken> >>>> <v20:userAgent>XXX</v20:userAgent> >>>> <v20:validateOnly>false</v20:validateOnly> >>>> <v20:partialFailure>false</v20:partialFailure> >>>> </v20:RequestHeader> >>>> </soapenv:Header> >>>> <soapenv:Body> >>>> <v20:get> >>>> <v20:serviceSelector> >>>> <v20:fields>Settings</v20:fields> >>>> <v20:predicates> >>>> <v20:field>AdGroupId</v20:field> >>>> <v20:operator>EQUALS</v20:operator> >>>> <v20:values>XXX</v20:values> >>>> </v20:predicates> >>>> </v20:serviceSelector> >>>> </v20:get> >>>> </soapenv:Body> >>>></soapenv:Envelope> >>>> >>>> >>>>And the answer is: >>>> >>>><soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"> >>>> <soap:Header> >>>> <ResponseHeader >>>> xmlns="https://adwords.google.com/api/adwords/cm/v201209"> >>>> <requestId>0004d4a75eb9ea400ae5230300005608</requestId> >>>> <serviceName>AdGroupService</serviceName> >>>> <methodName>get</methodName> >>>> <operations>1</operations> >>>> <responseTime>212</responseTime> >>>> <units>1</units> >>>> </ResponseHeader> >>>> </soap:Header> >>>> <soap:Body> >>>> <getResponse >>>> xmlns="https://adwords.google.com/api/adwords/cm/v201209"> >>>> <rval> >>>> <totalNumEntries>1</totalNumEntries> >>>> <Page.Type>AdGroupPage</Page.Type> >>>> <entries> >>>> <id>XXX</id> >>>> <name>XXX</name> >>>> <status>ENABLED</status> >>>> <stats> >>>> <network>ALL</network> >>>> <Stats.Type>Stats</Stats.Type> >>>> </stats> >>>> </entries> >>>> </rval> >>>> </getResponse> >>>> </soap:Body> >>>></soap:Envelope> >>>> >>>> >>>>Please advise! >>>> -- -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ 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 adwords-api@googlegroups.com To unsubscribe from this group, send email to adwords-api+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/adwords-api?hl=en --- You received this message because you are subscribed to the Google Groups "AdWords API Forum" group. To unsubscribe from this group and stop receiving emails from it, send an email to adwords-api+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.