Hi,
I'm trying to fetch the budget for a particular account using Google Id in
JAVA. I want to send a date range which is my start date and end date. I
can't find any documentation on how to add date range in Budget API. I have
converted into DateTime but still, it returns me all data for that account.
I'm using the below code to on Selector to get data. Please help me with
this.
DateTimeFormatter formatter = DateTimeFormat.forPattern("dd/MM/yyyy
HH:mm:ss");
DateTime start = formatter.parseDateTime(startdate);
DateTime end = formatter.parseDateTime(endate);
SelectorBuilder selectorBuilder1 =
new SelectorBuilder().forDateRange(start, end)
.limit(5)
.orderDescBy(BudgetOrderField.EndDateTime;.
Thank You.
--
--
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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].
To view this discussion on the web visit
https://groups.google.com/d/msgid/adwords-api/ba7f084b-9505-46da-9655-670371775b7bo%40googlegroups.com.