I want to use cURL to send our request to Google Ads API, and I have 2 querstions.
looking forward for your answers.
1. What is the difference between the CustomerService and CustomerFeedService.
2. How can I make a CURL to create an customer? The product documentation on :
https://developers.google.com/google-ads/api/docs/account-management/create-account tells us to use CreateCustomerClient method on the CustomerService rather than a "mutate" method, but we have to uses CURL to complete our mission, because our development language is C++, not access to the client libraries(which include Java,C#,PHP,Python,Ruby,Perl).
here's my code example:
curl --request POST \
--header "Content-Type: application/json" \
--header "Authorization: Bearer XXX" \
--header "developer-token: kxILp-C_Bvxx" \
--data @create_budget.json \
create_budget.json
{
operations:
[
{
create:
{
name: "new budget 234",
amount_micros: "60000000"
}
}
],
"validate_only":"true"
}
We are expecting a reply, thank tou very much!