Home | Sign in | English UK
  • Properties specific to the description of gglAdWNetworkTargeting variables
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WindowsLinuxPHPWEBDEV - Browser code
AndroidAndroid Widget iPhone/iPadApple WatchUniversal Windows 10 AppWindows Mobile
Stored procedures
gglAdWNetworkTargeting (Type of variable)
In french: gglAdWCiblageRéseau (Type de variable)
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 gglAdWNetworkTargeting type is used to describe the network targeting of an AdWords campaign. The characteristics of this type can be defined and modified by several WLanguage properties.
This type of variable is used by:
Remark: See Declaring a variable for more details on the declaration of this type of variable and the use of WLanguage properties.
// Connection to Google
Cnt is gglAdWConnection
Cnt..Email = "vince@gmail.com"
Cnt..Password = "azerty"
Cnt..UserAgent = "MyApp-01"
Cnt..DeveloperToken = "ABcdeFGH93KL-NOPQ_STUv"
Cnt..ApplicationToken = "ZYXwvu-TSR123_456ABCDE"
Cnt..SandboxMode = True
Cnt..ClientEmail = "Client_1+vince@gmail.com"

// Retrieve the account information
AccountInfo is gglAdWAccountInfo
AccountInfo = GglAdWGetAccountInfo(Cnt)

// Modify the default network targeting
AccountInfo..DefaultNetworkTargeting..Type = "GoogleSearch" + CR + "ContentNetwork"

// Apply the changes to the server
GglWrite(Cnt, AccountInfo)

Properties specific to the description of gglAdWNetworkTargeting variables

The following properties can be used to handle the network targeting of an AdWords campaign:
Name Type used Effect
TypeCharacter stringContains the types of targeted networks separated by CR characters (Carriage Return). The available types of networks are as follows:
  • "GoogleSearch": Google search network. The ads may be displayed beside the search results on Google.
  • "SearchNetwork": Search network taking into account the search partners. The search network allows you to publish your ads according to several methods: in association with the search results, on a result page that can be accessed by the Web user via the directory of a site and on any other relevant search page. The global search network includes search sites such as AOL.
  • "ContentNetwork": Content network. Your ad will be published on sites whose content is linked to your ad.
Remark: These properties can be handled by using one of the following syntaxes:
  • <Variable name>..<Property name>
  • <Variable name>.<Property name>
Minimum version required
  • Version 14
This page is also available for…
Click [Add] to post a comment