PC SOFT

ONLINE HELP
FOR WINDEV, WEBDEV AND WINDEV MOBILE

Home | Sign in | English US
  • Properties specific to the description of gglAdWCityTarget 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
gglAdWCityTarget (Type of variable)
In French: gglAdWVilleCible (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 gglAdWCityTarget type is used to describe the cities targeted by a Google AdWords campaign. The characteristics of this type can be defined and modified by several WLanguage properties.
The gglAdWCityTarget type is used by the gglAdWGeoTarget variables.
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 gglAdWCityTarget variables

The following properties can be used to handle the list of cities targeted by a Google AdWords advertising campaign:
Name Type used Effect
CityCharacter stringList of codes corresponding to the cities to target. The different codes are separated by CR characters (Carriage Return).
ExcludedCityCharacter stringList of codes corresponding to the cities that must not be targeted. The different codes are separated by CR characters (Carriage Return).
The codes of the different cities are available from the following address:
Note: These properties can be handled by using one of the following syntaxes:
  • <Variable Name>..<Property Name>
  • <Variable Name>.<Property Name>
Minimum required version
  • Version 14
This page is also available for…
Comments
Click [Add] to post a comment