Hi Kendan,

My apologies as we do not have a specific example on getting the list of 
placements in an ad group. However, you may refer to this example 
<https://developers.google.com/adwords/api/docs/samples/php/targeting#get-all-campaign-targeting-criteria>
 and 
just change the service to AdGroupCriterionService 
<https://developers.google.com/adwords/api/docs/reference/v201710/AdGroupCriterionService>
 as 
well as the query/selector and objects being used. In your query, you can 
filter by CriterionType 
<https://developers.google.com/adwords/api/docs/reference/v201710/AdGroupCriterionService.AdGroupCriterion#adgroupcriteriontype>
 = 
PLACEMENT.

You may refer to the sample SOAP request snippet below:

<soapenv:Body>
    <get xmlns="https://adwords.google.com/api/adwords/cm/v201710";>
        <serviceSelector>
            <fields>AdGroupId</fields>
            <fields>Id</fields>
            <fields>CriteriaType</fields>
            <fields>KeywordText</fields>
            <fields>DisplayName</fields>
            <predicates>
                <field>CriteriaType</field>
                <operator>EQUALS</operator>
                <values>PLACEMENT</values>
            </predicates>
            <paging>
                <startIndex>0</startIndex>
                <numberResults>100</numberResults>
            </paging>
        </serviceSelector>
    </get>
</soapenv:Body>

Let me know if this helps.

Thanks,
Vincent
AdWords API Team

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and Google+:
https://googleadsdeveloper.blogspot.com/
https://plus.google.com/+GoogleAdsDevelopers/posts
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

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.
Visit this group at https://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/a5219395-9349-4d8d-b3e2-14629afb7d2a%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
  • how do I get the... kendan
    • Re: how do ... 'Vincent Racaza (AdWords API Team)' via AdWords API Forum

Reply via email to