Hello, I deleted your post as it contains your confidential information such as billing information. In the future, you may refer to this post <https://groups.google.com/forum/?utm_medium=email&utm_source=footer#!topic/adwords-api/bBdNvBqDx1I> for guidelines on posting in this forum
On Wednesday, October 24, 2018 at 6:58:33 AM UTC-4, Максим Пахряев wrote: > > First I try to get a list of BudgetOrders: > $budget = $google->service(BudgetOrderService::class)->getService()->get(new > Selector([]))->getEntries()[0]; > > Result: > > BudgetOrder {#809 ▼ > #billingAccountId: "#######" > #id: ######## > #billingAccountName: "AdWords #######" > #poNumber: null > #budgetOrderName: null > #primaryBillingId: "#########" > #secondaryBillingId: null > #spendingLimit: Money {#### ▶} > #totalAdjustments: Money {#### ▶} > #startDateTime: "20160421 180610 Asia/Yekaterinburg" > #endDateTime: "20371231 125959 Asia/Yekaterinburg" > #lastRequest: BudgetOrderRequest {#### ▶}} > > > Then I try to get a list of Budget Orders by specifying DateRange: > > $dateRange->setMin(Carbon::now()->subMonth()->format('Ymd')); > $dateRange->setMax(Carbon::now()->format('Ymd')); > $selector = new Selector(); > $selector->setDateRange($dateRange); > > $budget2 = > $google->service(BudgetOrderService::class)->getService()->get($selector)->getEntries()[0]; > > > And result again: > > BudgetOrder {#739 ▼ > #billingAccountId: "######" > #id: #### > #billingAccountName: "AdWords ######" > #poNumber: null > #budgetOrderName: null > #primaryBillingId: "######" > #secondaryBillingId: null > #spendingLimit: Money {#### ▶} > #totalAdjustments: Money {#### ▶} > #startDateTime: "20160421 180610 Asia/Yekaterinburg" > #endDateTime: "20371231 125959 Asia/Yekaterinburg" > #lastRequest: BudgetOrderRequest {#### ▶}} > > > Why is the DateRange parameter ignored? > -- -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ 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 adwords-api@googlegroups.com To unsubscribe from this group, send email to adwords-api+unsubscr...@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 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 adwords-api+unsubscr...@googlegroups.com. 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/207aed1a-8142-4b17-9f05-336742aae95d%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.