Add Responsive Search Ad

Body JSON
{
  "AdTextAssetHeadline1": "headline1 dashboard",
  "AdTextAssetHeadline2": "headline2",
  "AdTextAssetHeadline3": "headline3",
  "AdTextAssetdescriptions1": "description1",
  "AdTextAssetdescriptions2": "descriptions2",
  "adGroupId": "143868717286",
  "final_urls": [
    "https://appgregator.co"
  ],
  "path1": "dashboard",
  "path2": "user"
}

POST https://us-central1-appgregator.cloudfunctions.net/googleads/ads/

Query Parameters

Name
Type
Description

name*

String

ft-4

connection_name*

String

ga-06

customer_id*

String

8171576147

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/143868717286~646003226593"
}
var axios = require('axios');

var config = {
  method: 'get',
  url: 'https://us-central1-appgregator.cloudfunctions.net/googleads/ads?name=ft-4&connection_name=ga-06&customer_id=8171576147',
  headers: { 
    'login-customer-id': '1894250756', 
    'client_id': 'XXX-XXX.apps.googleusercontent.com', 
    'client_secret': 'XXX-XXX', 
    'developer_token': 'XXXX', 
    'x-api-key': 'U2Fsd...'
  }
};

axios(config)
.then(function (response) {
  console.log(JSON.stringify(response.data));
})
.catch(function (error) {
  console.log(error);
});

Last updated