Hi Peter,

I realized for AdGroup settings it is indeed undocumented. I will find it 
out and update this thread.


-Danial, AdWords API Team.


On Wednesday, March 27, 2013 6:01:47 PM UTC+4, Kraszi wrote:
>
>
> Hi Danial,
>
> Can you tell me what the default settings are? Can you point out where I 
> can find in the specification?
>
> Peter
>
>
> On Wednesday, March 27, 2013 10:44:29 AM UTC+1, Danial Klimkin wrote:
>>
>> Hello Kraszi,
>>
>>
>> As I described in my previous reply, the values are not returned unless 
>> they were changed to a non-default setting. Do you have any example of a 
>> setting you've previously changed that is not returned by the API?
>>
>>
>> -Danial, AdWords API Team.
>>
>>
>> On Tuesday, March 26, 2013 2:12:25 PM UTC+4, Kraszi wrote:
>>>
>>>
>>> Hi Danial,
>>>
>>> Thanks, I am familiar with API spec.
>>> I am talking about AdGroup's TargetingSetting:
>>>
>>>
>>> https://developers.google.com/adwords/api/docs/reference/v201302/AdGroupService.TargetingSetting
>>>
>>> I don't want to get any criteria with AdGroupCriterion or 
>>> CampaignCriterion services just to get the information whether the adgroup 
>>> targets a specific dimension (Placements, Age range, etc) or not. I don't 
>>> need criteria itself but I'd like to know what a specific adgroup targets.I 
>>> thought that Adgroup.TargetingSetting was for this reason as its name 
>>> suggest that for me (and specification too). But I always get no settings 
>>> for any of my adgroups, however they definitely target one or more 
>>> dimensions. 
>>>
>>> Thanks in advance for your reply.
>>>
>>>
>>> Kraszi
>>>
>>> On Tuesday, March 26, 2013 8:35:34 AM UTC+1, Danial Klimkin wrote:
>>>>
>>>> Hello Kraszi,
>>>>
>>>>
>>>> It look like the values you are looking for (Placements, AgeRange and 
>>>> other criteria) are returned by AdGroupCriterion and CampaignCriterion 
>>>> services. The Settings array has a few very specific settings, see 
>>>> documentation for more details (refer to navigation on the left for 
>>>> subclasses of Settings):
>>>>
>>>>   
>>>> https://developers.google.com/adwords/api/docs/reference/v201302/CampaignService.Setting
>>>>
>>>>
>>>> -Danial, AdWords API Team.
>>>>
>>>>
>>>>
>>>> On Tuesday, March 19, 2013 5:19:52 PM UTC+4, Kraszi wrote:
>>>>>
>>>>>
>>>>> Hi Danial,
>>>>>
>>>>> I'm afraid I don't understand your reply.
>>>>> API documentation makes me think that if an adgroup has Placements 
>>>>> then targeting settings should contain PLACEMENT CriterionTypeGroup. 
>>>>> If an age range is specified for an adgroup then its settings should 
>>>>> contain AGE_RANGE CriterionTypeGroup. And so on.
>>>>> In my account there are lots of adgroups having various targeting 
>>>>> criteria (like verticals) but nothing is returned as settings.
>>>>>
>>>>> What this settings field good for in queries if nothing is returned 
>>>>> for any of my hundreds of adgroups?
>>>>>
>>>>> Peter
>>>>>
>>>>>
>>>>> On Friday, March 15, 2013 1:53:50 PM UTC+1, Danial Klimkin wrote:
>>>>>>
>>>>>> Hello Peter,
>>>>>>
>>>>>>
>>>>>> Absent values mean defaults are used. As there may be multiple 
>>>>>> settings per ad group present, and the number of types can change, we do 
>>>>>> not pre-populate every value.
>>>>>>
>>>>>>
>>>>>> -Danial, AdWords API Team.
>>>>>>
>>>>>>
>>>>>> On Tuesday, March 12, 2013 9:05:37 PM UTC+4, Kraszi wrote:
>>>>>>>
>>>>>>> I try to retrieve adgroups' TargetingSetting settings in v201302. I 
>>>>>>> am specifying "Settings" amongst selector fields but Adgroup.settings 
>>>>>>> are 
>>>>>>> not included in the response. Is it a bug or am I doing anything wrong?
>>>>>>>
>>>>>>> Here is the XML snippet of the request I sent in against "
>>>>>>> https://adwords.google.com/api/adwords/cm/v201302/AdGroupService":
>>>>>>>
>>>>>>> <soapenv:Envelope xmlns:soapenv="
>>>>>>> http://schemas.xmlsoap.org/soap/envelope/"; xmlns:v20="
>>>>>>> https://adwords.google.com/api/adwords/cm/v201302";>
>>>>>>>    <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>CampaignName</v20:fields>
>>>>>>>             <v20:fields>CampaignId</v20:fields>
>>>>>>>             <v20:fields>Name</v20:fields>
>>>>>>>             <v20:fields>Id</v20:fields>
>>>>>>>             <v20:fields>Settings</v20:fields>
>>>>>>>          </v20:serviceSelector>
>>>>>>>       </v20:get>
>>>>>>>    </soapenv:Body>
>>>>>>> </soapenv:Envelope>
>>>>>>>
>>>>>>>
>>>>>>> Thanks,
>>>>>>> Peter
>>>>>>>
>>>>>>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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.


Reply via email to