Here is my code. When I have campaign_budget.amount in the query the results say: "message": "Unrecognized field in the query: 'campaign_budget.amount'." I also tried Amount. The documentation says the field name is Amount but because I need to know what the budget amount is, I can't just ignore that it isn't available. The query works just fine if I leave out that line. What is the field name?
curl -X POST \\ https://googleads.googleapis.com/v4/customers/$Customer_Account/googleAds:search \\ -H 'Authorization: Bearer $access_token' \\ -H 'Content-Type: application/json' \\ -H 'developer-token: $DEVELOPER_TOKEN' \\ -H 'login-customer-id: $MANAGER_CUSTOMER_ID' \\ -d '{ "query": "SELECT campaign_budget.id, campaign_budget.name, campaign_budget.amount, campaign_budget.reference_count, campaign_budget.delivery_method, campaign_budget.status FROM campaign_budget WHERE campaign_budget.id = $Budget" } -- -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ 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/7eaedcf5-9f23-4757-a717-2c503510b619o%40googlegroups.com.
