इंटरनेट वर पैसे कसे कमवायचे?

Friday, 5 December 2014

how to create new script in google adwords

Target a campaign in  a country

  1.  list of locations targeted by  campaign


*******************************************************************************
function targetCampaignByCountry() {
  var campaignIterator = AdWordsApp.campaigns()
        .withCondition('Name = "INSERT_CAMPAIGN_NAME_HERE"')
        .get();
  if (campaignIterator.hasNext()) {
    var campaign = campaignIterator.next();
    // Target France (location id = 2250) and set a bid modifier of +50%. See
    // https://developers.google.com/adwords/api/docs/appendix/geotargeting
    // for details.
    campaign.addLocation(2250, 1.5);
  }
}
******************************************************************************

how to create-new-script google adword
create-new-script in google adword 

No comments:

Post a Comment

Thanks