To whom it may concern

Hello. I have a question for google API usage. It will be appreciate if you 
make me clear of this.

1. Customer ID
6820470188

2. Currently using for getting budgets
SELECT 
  account_budget_proposal.id, 
  account_budget_proposal.resource_name,
  account_budget_proposal.proposal_type,
  account_budget_proposal.status,
  account_budget_proposal.approved_spending_limit_micros,
  account_budget_proposal.proposed_spending_limit_micros,
  account_budget_proposal.creation_date_time,
  account_budget_proposal.approval_date_time,
  account_budget_proposal.approved_start_date_time,
  account_budget_proposal.approved_end_date_time,
  account_budget_proposal.approved_end_time_type,
  account_budget_proposal.approved_spending_limit_type,
  account_budget_proposal.proposed_start_date_time,
  account_budget_proposal.proposed_end_date_time,
  account_budget_proposal.proposed_end_time_type,
  account_budget_proposal.proposed_spending_limit_type
FROM account_budget_proposal
WHERE {Where clauses}

3. Reponse
Array
(
  [0] => Array
  (
    [id] => 604370333
    [name] => ..
    [resourceName] => customers/6820470188/accountBudgets/604370333
    [status] => APPROVED
    [adjustedSpendingLimitMicros] => 118782258
    [adjustedSpendingLimitType] => UNSPECIFIED
    [totalAdjustmentsMicros] => 1682258
    [approvedSpendingLimitMicros] => 117100000
    [approvedSpendingLimitType] => UNSPECIFIED
    [approvedStartDateTime] => 2019-12-24 18:08:15
    [approvedEndDateTime] =>
    [approvedEndTimeType] => FOREVER
    [proposedStartDateTime] => 2019-12-24 18:08:15
    [proposedEndDateTime] =>
    [proposedEndTimeType] => FOREVER
    [billingSetupId] => 604233976
    [billingSetupStatus] => CANCELLED
...
  )
  [1] => Array
  (
    [id] => 427473773
    [name] => ...
    [resourceName] => customers/6820470188/accountBudgets/427473773
    [status] => APPROVED
    [adjustedSpendingLimitMicros] => 25004238
    [adjustedSpendingLimitType] => UNSPECIFIED
    [totalAdjustmentsMicros] => 4238
    [approvedSpendingLimitMicros] => 0
    [approvedSpendingLimitType] => UNSPECIFIED
    [approvedStartDateTime] =>
    [approvedEndDateTime] =>
    [approvedEndTimeType] => UNSPECIFIED
    [proposedStartDateTime] => 2017-12-15 15:40:09
    [proposedEndDateTime] =>
    [proposedEndTimeType] => FOREVER
    [billingSetupId] => 427414629
    [billingSetupStatus] => CANCELLED
...
  )
)

4. Question
The ID, 427473773, is not valid status (expired as I know). But I don't 
know how to distinguish which one is expired with the response. Please let 
me know the way to do it.

Best regards,
Hwan Sang Cho

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 
"Google Ads API and AdWords API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/634b50e8-6ab8-4431-8f38-cc3d9dedadf4n%40googlegroups.com.

Reply via email to