Hi Ben,
If what you meant is the actual value of the placement ID, then you can use
the AdGroupCriterionService.get()
<https://developers.google.com/adwords/api/docs/reference/v201708/AdGroupCriterionService#get>
and
filter it by PLACEMENT criterionType
<https://developers.google.com/adwords/api/docs/reference/v201708/AdGroupCriterionService.Placement#criteriontype>
(and
other fields that you can filter) to get the id and other fields of the
placement. You can refer to the sample SOAP request snippet below:
<soapenv:Body>
<get xmlns="https://adwords.google.com/api/adwords/cm/v201708">
<serviceSelector>
<fields>Id</fields>
<fields>CriteriaType</fields>
<fields>BidModifier</fields>
<fields>PlacementUrl</fields>
<predicates>
<field>CriteriaType</field>
<operator>EQUALS</operator>
<values>PLACEMENT</values>
</predicates>
<paging>
<startIndex>0</startIndex>
<numberResults>100</numberResults>
</paging>
</serviceSelector>
</get>
</soapenv:Body>
For the urlPlacement.setId(XXXX) line, the ID must be the preferred
placement ID on which you would like to update. In your scenario, it would
be the ID of your "listverse.com" placement.
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 [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
---
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 [email protected].
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/6bf3da01-15c9-4fba-ad01-61d78e6bb634%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.