sending url request

37 views
Skip to first unread message

HsenWehbe

unread,
Aug 3, 2020, 11:02:54 AM8/3/20
to AdWords API and Google Ads API Forum
im trying to get the campaigns of my client account using url request endpoint , how can i do this?
thanks in advance 

Google Ads API Forum Advisor Prod

unread,
Aug 3, 2020, 3:46:02 PM8/3/20
to hsenw...@gmail.com, adwor...@googlegroups.com
Hello,

Thank you for reaching out. You can make requests to the campaign resource in order to get data on your campaigns. You can refer to this sample code to see how to pull all campaigns for the customer ID specified. 

If this is not what you are looking for, please elaborate so that I can better assist you.

Regards,
Danica, Google Ads API Team

ref:_00D1U1174p._5004Q22bB2U:ref

HsenWehbe

unread,
Aug 4, 2020, 4:58:27 AM8/4/20
to AdWords API and Google Ads API Forum
hi,
thanks alot , but I want to construct a url request to make the operation 
as an example :
customers/{customer_id}/campaignBudgets/{budget_id} (this is to refer to campaignBudget)
regards,
hussein wehbe, AUB student  

Google Ads API Forum Advisor Prod

unread,
Aug 4, 2020, 2:33:38 PM8/4/20
to hsenw...@gmail.com, adwor...@googlegroups.com
Hi Hussein,

Campaign resource names have the following form:

customers/{customer_id}/campaigns/{campaign_id}

Hope this helps! Let me know if you have any additional questions.

HsenWehbe

unread,
Aug 7, 2020, 7:04:22 AM8/7/20
to AdWords API and Google Ads API Forum
thanks alot
sorry for asking alot , but can i access the google ads api directly without a service ? in other words , can i access google ads without creating an account ?
regards.

Google Ads API Forum Advisor Prod

unread,
Aug 7, 2020, 2:35:48 PM8/7/20
to hsenw...@gmail.com, adwor...@googlegroups.com
Hi Hussein,

All the prerequisites for using the API are mentioned in this guide. You will need a developer token, client customer ID (Google Ads account), OAuth2 credentials, and a refresh token. You can find out how to retrieve these in the guide I provided.

HsenWehbe

unread,
Aug 8, 2020, 8:44:35 AM8/8/20
to AdWords API and Google Ads API Forum
thanks alot !
Reply all
Reply to author
Forward
0 new messages