Hello all,
I'm facing an issue when using Adwords API. I have an AdGroup with removed
Ads that are easily to detect using web UI as shown below:
But if I want to retrieve all Ads from the AdGroup using java api ignoring
the removed Ads, the API does not offer (AFAIK) a way to discard them. For
example by querying using the API it returns 24 results instead of expected
Ads enabled.
<getResponse xmlns=
"https://adwords.google.com/api/adwords/cm/v201809">
<rval>
<totalNumEntries>24</totalNumEntries>
<Page.Type>AdGroupAdPage</Page.Type>
<entries>
<adGroupId>34810610889</adGroupId>
<ad xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance" xsi:type="TextAd">
<id>11684113....</id>
<displayUrl>.....</displayUrl>
<finalUrls>.....</finalUrls>
<type>TEXT_AD</type>
<Ad.Type>TextAd</Ad.Type>
<headline>xxxxx</headline>
<description1>xxxxxxxxxxxx</description1>
<description2>xxxxxxxx</description2>
</ad>
<status>ENABLED</status>
<baseCampaignId>64646...</baseCampaignId>
</entries>
Do you know how I can filter out removed Ads using the latest API?
Thanks in advance,
Juan
--
--
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog:
https://googleadsdeveloper.blogspot.com/
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
You received this message because you are subscribed to the Google
Groups "AdWords API and Google Ads 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 and Google Ads 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/a8dd16a1-ce7c-4313-adc6-c5fd90be194e%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.