Hi,

I want to write an Ads-script to call GoogleAds url nad BQ url using a 
service account.

I saw this code. 
Are my urls to the GAds and BQ api correct?


Thanks!

=====================
  // Natural Language API Sentiment URL
  var url =
      'https://language.googleapis.com/v1beta1/documents:analyzeEntities';
  
  
  
//https://adwords.google.com/cm/CampaignMgmt?authuser=1&__u=%param_one%&__c=%param_two%#c.%param_three%.create&app=cm
 * //https://bigquery.googleapis.com*
*  //https://adwords.google.com/cm/CampaignMgmt?*
  
  
  var options = {
    method: 'POST',
    contentType: 'application/json',
    payload: JSON.stringify(body)
  };
  var response = authUrlFetchApp.fetch(url, options);
  var result = JSON.parse(response.getContentText());
  Logger.log(result);
  if (result.entities) {
    // return a list of identified entities
    return result.entities;
  }
  throw Error('No entities response returned');
}

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
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 adwords-api+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/1df382f3-f6d9-4c2f-9012-b1f134d09cdcn%40googlegroups.com.
  • Which url to call AdWords... 'EladB' via AdWords API and Google Ads API Forum

Reply via email to