PC SOFT

ONLINE HELP
FOR WINDEV, WEBDEV AND WINDEV MOBILE

Home | Sign in | English US
  • Overview
  • How to proceed?
  • Creating criteria
WINDEV
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadApple WatchUniversal Windows 10 AppWindows Mobile
Others
Stored procedures
Warning
From version 17, this feature is not available anymore. To use Google AdWords, check the corresponding Google API: https://developers.google.com/adwords/api/docs/guides/start
Overview
Google AdWords proposes the "CriterionService". This service is used to manage the display criteria for an ad group.
The criteria are used to define the display mode of ads:
  • a keyword criterion is used to define the text used for the search: the ad will be displayed when this keyword is used. For example, a search performed on the word "Trees" or a Web page containing information about trees will display the ads whose criterion is "Tree".
    This type of criterion can be used with a content network or with a search network
  • A Web Site criterion is used to define a targeting by location.: the ad will be displayed when the specified site is displayed. This type of criterion can be used with a content network.
Each ad group can have one or more criteria that will be used to display the ad.
This help page explains how to use the "CriterionService" service with the WLanguage functions. See the help of Google AdWords for more details.
Reminder: To handle the Google AdWords service by programming, you must necessarily use the Google AdWords APIs. These APIs have a cost associated to them. GglAdWGetMethodCost is used to estimate the cost of each function.
Warning: Before using a feature linked to Google services, we strongly recommend that you check the license for using this service. Some restrictions may apply. The content of licenses may change over time.
PC SOFT is in no case responsible for the way the native access functions are used. Make sure that you comply with the license of service provider.
Caution: If you are using a proxy to access Internet, the proxy must be configured (Proxy) to use the Google functions.
How to proceed?

Creating criteria

Caution: Before creating a criterion, you must create an ad group.
  1. Create a variable corresponding to the type of criterion to create:
    • a gglAdWKeyword variable for a keyword criteria.
    • a gglAdWWebSite variable for a Web Site criterion.
      In the variable, ..GroupIdentifier is used to associate the criterion with the ad group.
      If the criterion is an exclusion criterion (the ad must not be displayed), ..Excluded must be set to True.
  2. Use GglWrite.
Note: Before creating a new criterion, you should use GglAdWCheckCriterion to make sure that this criterion will not cause any problem.
Minimum required version
  • Version 14
This page is also available for…
Comments
Click [Add] to post a comment