PC SOFT

ONLINE HELP
FOR WINDEV, WEBDEV AND WINDEV MOBILE

Home | Sign in | English US
  • Properties specific to the description of gglAdWRegionTarget variables
  • Codes of regions
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
gglAdWRegionTarget (Type of variable)
In French: gglAdWRégionCible (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 gglAdWRegionTarget type is used to describe the list of regions to target during a Google AdWords campaign. The characteristics of this type can be defined and modified by several WLanguage properties.
This 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 gglAdWRegionTarget variables

The following properties can be used to handle the list of regions targeted by a Google AdWords campaign:
NameType usedEffect
RegionCharacter stringList of codes corresponding to the regions to target. The different codes are separated by CR characters (Carriage Return).
ExcludedRegionCharacter stringList of codes corresponding to the regions that must not be targeted. The different codes are separated by CR characters (Carriage Return).
Note: These properties can be handled by using one of the following syntaxes:
  • <Variable Name>..<Property Name>
  • <Variable Name>.<Property Name>

Codes of regions

To find out the exhaustive list of supported regions, see http://code.google.com/intl/en/apis/adwords/docs/developer/adwords_api_regions.html.
Minimum required version
  • Version 14
This page is also available for…
Comments
Click [Add] to post a comment