Can I assume that I can always get all the REMOVED campaigns using campaignService.get(selector) no matter how old the data is?

17 views
Skip to first unread message

Qiyuan Liu

unread,
Jul 12, 2017, 5:31:33 PM7/12/17
to AdWords API Forum
If I specify the "REMOVED" status in the selector of course.

Example:

SelectorBuilder builder = new SelectorBuilder();
Selector selector = builder
   
.fields(CampaignField.Id, CampaignField.Name, CampaignField.Status)
   
.orderAscBy(CampaignField.Id)
   
.in(CampaignField.Status, CampaignStatus._UNKNOWN, CampaignStatus._ENABLED, CampaignStatus._PAUSED, CampaignStatus._REMOVED)
   
.offset(offset)
   
.limit(PAGE_SIZE)
   
.build();


Peter Oliquino

unread,
Jul 13, 2017, 2:00:45 AM7/13/17
to AdWords API Forum
Hi Qiyuan,

Yes, the AdWords API does not necessarily delete these entities, but rather, still keep them even with having the Status = REMOVED, and you may still access their details using the said field and value as filter.

Best regards,
Peter
AdWords API Team
Reply all
Reply to author
Forward
0 new messages