Hi all:
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 \
    
 https://googleads.googleapis.com/v6/customers/1234567890/campaignBudgets:mutate
 
create_budget.json 
{
  operations:
  [
{
  create:
  {
name: "new budget 234",
amount_micros: "60000000"
  }
}
  ],
  "validate_only":"true"
}

We are expecting a reply, thank tou very much!


[image: 企业咚咚20210128235047.png]

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/6f56c1ea-6a29-4b40-ace4-1156326a02a1n%40googlegroups.com.

Reply via email to