Remove Ads
DELETE
http://localhost:5001/appgregator/us-central1/googleads/ads/
Query Parameters
Name
Type
Description
name*
String
ft-4
connection_name*
String
ga-06
customer_id*
String
8171576147
ad_group_id*
String
151190014971
ad_id*
String
647259449971
status*
Number
0
Headers
Name
Type
Description
client_id*
String
XXXX-XXXX.apps.googleusercontent.com
client_secret*
String
XXXX-XXXX
login-customer-id*
String
1894250756
developer_token*
String
XXXX
x-api-key*
String
U2Fsd...
{
"resourceName": "customers/8171576147/adGroupAds/151190014971~647259449971"
}
var axios = require('axios');
var config = {
method: 'delete',
url: 'https://us-central1-appgregator.cloudfunctions.net/googleads/ads?name=ft-4&connection_name=ga-06&customer_id=8171576147&ad_group_id=151190014971&ad_id=647259449971',
headers: {
'login-customer-id': '1894250756',
'client_id': 'XXX',
'client_secret': 'XXX',
'developer_token': 'XXX',
'x-api-key': 'XXX'
}
};
axios(config)
.then(function (response) {
console.log(JSON.stringify(response.data));
})
.catch(function (error) {
console.log(error);
});
Last updated