Hi Danial, Thanks for your response. However, I don#39;t understand exactly
your explanation. You can see that the adgroup contains a managed placement
(website):http://screencast.com/t/gye6paWX5w2I I don#39;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#39;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#39;t work the same for
placements? Thanks,Peter
adwords-api@googlegroups.com írta:
Hello Kraszi,
I don#39;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.TypeTargetingSetting/Setting.Type
/settings
It#39;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 #39;Settings#39; 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:authTokenXXX/v20:authToken
v20:clientCustomerIdXXX-XXX-/v20:clientCustomerId
v20:developerTokenXXX/v20:developerToken
v20:userAgentXXX/v20:userAgent
v20:validateOnlyfalse/v20:validateOnly
v20:partialFailurefalse/v20:partialFailure
/v20:RequestHeader
/soapenv:Header
soapenv:Body
v20:get
v20:serviceSelector
v20:fieldsSettings/v20:fields
v20:predicates
v20:fieldAdGroupId/v20:field
v20:operatorEQUALS/v20:operator
v20:valuesXXX/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;
requestId0004d4a75eb9ea400ae523035608/requestId
serviceNameAdGroupService/serviceName
methodNameget/methodName
operations1/operations
responseTime212/responseTime
units1/units
/ResponseHeader
/soap:Header
soap:Body
getResponse
xmlns=https://adwords.google.com/api/adwords/cm/v201209;
rval
totalNumEntries1/totalNumEntries
Page.TypeAdGroupPage/Page.Type
entries
idXXX/id
nameXXX/name
statusENABLED/status
stats
networkALL/network
Stats.TypeStats/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,