string StartDate = "20200706"; (There are my campaign which start with this date)
string EndDate = "20200731";
selector.predicates = new Predicate[]
{
Predicate.GreaterThanEquals(Campaign.Fields.StartDate, StartDate),
Predicate.LessThanEquals(Campaign.Fields.EndDate, EndDate)
};
GREATER_THAN_EQUALS
Checks if the field is greater or equal to the given value.
This operator is used with numbers and dates.
xsd:string
Date the campaign begins. On add, defaults to the current day in the parent account's local timezone. The date's format should be YYYYMMDD.
string StartDate = "20200706";
string EndDate = "20200731";
selector.predicates = new Predicate[]
{
Predicate.GreaterThanEquals(Campaign.Fields.StartDate, StartDate),
Predicate.LessThanEquals(Campaign.Fields.EndDate, EndDate) Wrong (my Campaign.Fields.EndDate = 20371230)
Predicate.LessThanEquals(Campaign.Fields.StartDate , EndDate) Success Filter
};
--
--
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 adwor...@googlegroups.com
To unsubscribe from this group, send email to
adwords-api...@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 a topic in the Google Groups "AdWords API and Google Ads API Forum" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/adwords-api/GABxh4IqXt8/unsubscribe.
To unsubscribe from this group and all its topics, send an email to adwords-api...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/adwords-api/57f1505f-4320-4127-80a8-71488b9f475bn%40googlegroups.com.