PC SOFT

ONLINE HELP
FOR WINDEV, WEBDEV AND WINDEV MOBILE

Home | Sign in | English US
  • Properties specific to the description of gglAdWGeoTarget variables
  • Functions that use the gglAdWGeoTarget variables:
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
gglAdWGeoTarget (Type of variable)
In French: gglAdWGéoCiblage (Type de variable)
Warning
From version 17, this feature is not available anymore. To use Google AdWords, see the corresponding Google API: https://developers.google.com/adwords/api/docs/guides/start
The gglAdWGeoTarget type is used to describe the parameters of geographical targeting for a Google AdWords campaign. The characteristics of this campaign can be defined and modified by several WLanguage properties.
This type is used by the gglAdWCampaign type.
Note: See Declaring a variable for more details.
Example
// Create a campaign
MyCampaign is gglAdWCampaign
MyCampaign..BudgetAmount = 20000
...
Circle is gglAdWGeoCircle
Circle..Latitude = 15,632657
Circle..Longitude = 26,548453
Circle..RadiusMeters = 10000
Add(MyCampaign..GeoTargeting..ProximityTarget..Circle, Circle)

MyCampaign..GeoTargeting..CityTarget..City = "Paris, J FR" + CR + "Fenouillet-du-Razes, K FR"
MyCampaign..GeoTargeting..CityTarget..ExcludedCity = "Nimes, K FR" + CR + "Illkirch, A FR"

MyCampaign..GeoTargeting..CountryTarget..Country = "FR" + CR + "DE"
MyCampaign..GeoTargeting..CountryTarget..ExcludedCountry = "GA" + CR + "GI"

MyCampaign..GeoTargeting..MetropolisTarget..Metropolis = "743" + CR + "745"
MyCampaign..GeoTargeting..MetropolisTarget..ExcludedMetropolis = "866" + CR + "771"

MyCampaign..GeoTargeting..RegionTarget..Région = "IT-NO" + CR + "NO-01"
MyCampaign..GeoTargeting..RegionTarget..ExcludedRegion = "ES-CL" + CR + "TR-22"
Remarks

Properties specific to the description of gglAdWGeoTarget variables

The following properties can be used to handle the characteristics of geographical targeting for an AdWords campaign:
Name Type used Effect
TargetAllBooleanTrue to target all the countries, False to target some countries only. If this property is set to True, the content of the other properties is ignored.
MetropolisTargetgglAdWMetropolisTargetList of major American cities to target.
CountryTargetgglAdWCountryTargetList of countries to target.
ProximityTargetgglAdWProximityTargetGeographical area to target.
RegionTargetgglAdWRegionTargetList of regions to target.
CityTargetgglAdWCityTargetList of cities to target.
Note: These properties can be handled by using one of the following syntaxes:
  • <Variable Name>..<Property Name>
  • <Variable Name>.<Property Name>

Functions that use the gglAdWGeoTarget variables:

Versions 14 and later
GglAdWCheckAd
New in version 14
GglAdWCheckAd
GglAdWCheckAd
Checks the validity of several Google AdWords ads.
Versions 14 and later
GglAdWCheckCriterion
New in version 14
GglAdWCheckCriterion
GglAdWCheckCriterion
Checks the validity of a set of criteria.
Minimum required version
  • Version 14
This page is also available for…
Comments
Click [Add] to post a comment