Title: | Access the 'Google Adwords' API |
---|---|
Description: | Allows access to selected services that are part of the 'Google Adwords' API <https://developers.google.com/adwords/api/docs/guides/start>. 'Google Adwords' is an online advertising service by 'Google', that delivers Ads to users. This package offers a authentication process using 'OAUTH2'. Currently, there are two methods of data of accessing the API, depending on the type of request. One method uses 'SOAP' requests which require building an 'XML' structure and then sent to the API. These are used for the 'ManagedCustomerService' and the 'TargetingIdeaService'. The second method is by building 'AWQL' queries for the reporting side of the 'Google Adwords' API. |
Authors: | Sean Longthorpe [aut, cre, cph], Johannes Burkhardt [ctb, cph] |
Maintainer: | Sean Longthorpe <[email protected]> |
License: | MIT + file LICENSE |
Version: | 0.3.1 |
Built: | 2024-11-14 06:20:43 UTC |
Source: | CRAN |
Adds saved credentials to .gitignore so they are not saved.
addToGitignore(addGitignore = NULL)
addToGitignore(addGitignore = NULL)
addGitignore |
Option to add the credentials to the .gitignore file (Optional) |
By default, this does not add to or create a .gitignore file.
Adds credentials to the .gitignore file.
Enter the currently available Google Login Details
apiDetails()
apiDetails()
lists all credentials needed for loading Adwords data
Build the AWQL statement before posting to the API
buildAwqlStatement(reportType, startDate, endDate, attributes = NULL, segment = NULL, metrics = NULL, where = NULL)
buildAwqlStatement(reportType, startDate, endDate, attributes = NULL, segment = NULL, metrics = NULL, where = NULL)
reportType |
The report being queries. |
startDate |
The start date for the request. |
endDate |
The end date for the request. |
attributes |
The attributes of the report. |
segment |
The segment of the report. |
metrics |
The metrics of the report. |
where |
The conditions of the report. (Optional) |
Arguments attributes, segment and metrics are not currently validated so any of these can be used for a request.
Returns the statement that will be posted to the Adwords API.
buildAwqlStatement("KEYWORDS_PERFORMANCE_REPORT", "2018-01-01", "2018-01-31", attributes = "AdGroupName", segment = "Month", metrics = "Clicks")
buildAwqlStatement("KEYWORDS_PERFORMANCE_REPORT", "2018-01-01", "2018-01-31", attributes = "AdGroupName", segment = "Month", metrics = "Clicks")
Build the XML Body for the XML Envelope.
buildXmlBody(adwordsService, ManagedCustomerService_Selector_fields = NULL, categoryProductsAndServices = NULL, competition = NULL, ideaTextFilter_included = NULL, ideaTextFilter_excluded = NULL, includeAdultContent = NULL, language = NULL, location = NULL, network_GoogleSearch = NULL, network_SearchNetwork = NULL, relatedToQuery = NULL, relatedToUrl = NULL, searchVolumeMinimum = NULL, searchVolumeMaximum = NULL, seedAdGroupId = NULL, requestType = NULL, attributeTypes = NULL, pagingStartIndex = NULL, pagingNumberResults = NULL, apiVersion)
buildXmlBody(adwordsService, ManagedCustomerService_Selector_fields = NULL, categoryProductsAndServices = NULL, competition = NULL, ideaTextFilter_included = NULL, ideaTextFilter_excluded = NULL, includeAdultContent = NULL, language = NULL, location = NULL, network_GoogleSearch = NULL, network_SearchNetwork = NULL, relatedToQuery = NULL, relatedToUrl = NULL, searchVolumeMinimum = NULL, searchVolumeMaximum = NULL, seedAdGroupId = NULL, requestType = NULL, attributeTypes = NULL, pagingStartIndex = NULL, pagingNumberResults = NULL, apiVersion)
adwordsService |
The chosen Adwords Service for the request |
ManagedCustomerService_Selector_fields |
The requested fields from the ManagedCustomerService, such as CustomerId. |
categoryProductsAndServices |
A keyword category ID (Integer) in the "Products and Services" taxonomy that all search results should belong to. |
competition |
Vector of Levels of competition that should be included in the results |
ideaTextFilter_included |
The vector of strings that should be included |
ideaTextFilter_excluded |
The vector of strings that should be excluded |
includeAdultContent |
TRUE or FALSE option for including the targeting of Adult Content. |
language |
The Language (or Criterion ID) that all results should be targeted against. |
location |
The Location (or Criterion ID) that all results should be targeted against. |
network_GoogleSearch |
Whether search should be targeting Google Search |
network_SearchNetwork |
Whether search should be targeting the Google Search Network (AFS) |
relatedToQuery |
The vector of queries to post to the API as a Search Parameter. |
relatedToUrl |
The vector of URLs to post to the API, which results will be related to. |
searchVolumeMinimum |
The minimum Search Volume that should be targeted. |
searchVolumeMaximum |
The maximum Search Volume that should be targeted. |
seedAdGroupId |
The Adgroup ID that should be used as a seed for generating new ideas. |
requestType |
Represents the type of the request. |
attributeTypes |
Vector of Attributes Types. |
pagingStartIndex |
Index of the first result to return. (Optional) |
pagingNumberResults |
Maximum number of results to return. This figure is limited to 700. (Optional) |
apiVersion |
Version of the API being used. |
Returns the XML Body for the Envelope
buildXmlBody("ManagedCustomerService", c("Name", "CustomerId"), apiVersion = "v201806")
buildXmlBody("ManagedCustomerService", c("Name", "CustomerId"), apiVersion = "v201806")
Build the XML Envelope that contains the Header and Body needed for the SOAP request.
buildXmlEnvelope(myMcc, userAgent, developerToken, adwordsService, ManagedCustomerService_Selector_fields = NULL, categoryProductsAndServices = NULL, competition = NULL, ideaTextFilter_included = NULL, ideaTextFilter_excluded = NULL, includeAdultContent = NULL, language = NULL, location = NULL, network_GoogleSearch = NULL, network_SearchNetwork = NULL, relatedToQuery = NULL, relatedToUrl = NULL, searchVolumeMinimum = NULL, searchVolumeMaximum = NULL, seedAdGroupId = NULL, requestType = NULL, attributeTypes = NULL, pagingStartIndex = NULL, pagingNumberResults = NULL, apiVersion = NULL)
buildXmlEnvelope(myMcc, userAgent, developerToken, adwordsService, ManagedCustomerService_Selector_fields = NULL, categoryProductsAndServices = NULL, competition = NULL, ideaTextFilter_included = NULL, ideaTextFilter_excluded = NULL, includeAdultContent = NULL, language = NULL, location = NULL, network_GoogleSearch = NULL, network_SearchNetwork = NULL, relatedToQuery = NULL, relatedToUrl = NULL, searchVolumeMinimum = NULL, searchVolumeMaximum = NULL, seedAdGroupId = NULL, requestType = NULL, attributeTypes = NULL, pagingStartIndex = NULL, pagingNumberResults = NULL, apiVersion = NULL)
myMcc |
The Manager Account (MCC) needed to access the Adwords API |
userAgent |
The user agent required for the header of the XML request |
developerToken |
The developerToken required for accessing the API. Found in the API settings of the Adwords Account. |
adwordsService |
The chosen Adwords Service for the request |
ManagedCustomerService_Selector_fields |
The requested fields from the ManagedCustomerService, such as CustomerId. |
categoryProductsAndServices |
A keyword category ID (Integer) in the "Products and Services" taxonomy that all search results should belong to. |
competition |
Vector of Levels of competition that should be included in the results |
ideaTextFilter_included |
The vector of strings that should be included |
ideaTextFilter_excluded |
The vector of strings that should be excluded |
includeAdultContent |
TRUE or FALSE option for including the targeting of Adult Content. |
language |
The Language (or Criterion ID) that all results should be targeted against. |
location |
The Location (or Criterion ID) that all results should be targeted against. |
network_GoogleSearch |
Whether search should be targeting Google Search |
network_SearchNetwork |
Whether search should be targeting the Google Search Network (AFS) |
relatedToQuery |
The vector of queries to post to the API as a Search Parameter. |
relatedToUrl |
The vector of URLs to post to the API, which results will be related to. |
searchVolumeMinimum |
The minimum Search Volume that should be targeted. |
searchVolumeMaximum |
The maximum Search Volume that should be targeted. |
seedAdGroupId |
The Adgroup ID that should be used as a seed for generating new ideas. |
requestType |
Represents the type of the request. |
attributeTypes |
Vector of Attributes Types. |
pagingStartIndex |
Index of the first result to return. (Optional) |
pagingNumberResults |
Maximum number of results to return. This figure is limited to 700. (Optional) |
apiVersion |
Version of the API being used. |
The only required parameters are as follows: myMcc, userAgent, developerToken, adwordsService.
Returns the fully built XML text ready for sending to the API.
buildXmlEnvelope(myMcc = "123-456-7890", userAgent = "myUserAgent", developerToken = "myD3v3l0p3r70k3n", adwordsService = "ManagedCustomerService", ManagedCustomerService_Selector_fields = c("Name", "CustomerId"), apiVersion = "v201806")
buildXmlEnvelope(myMcc = "123-456-7890", userAgent = "myUserAgent", developerToken = "myD3v3l0p3r70k3n", adwordsService = "ManagedCustomerService", ManagedCustomerService_Selector_fields = c("Name", "CustomerId"), apiVersion = "v201806")
Build the XML Header for the XML Envelope.
buildXmlHeader(myMcc, userAgent, developerToken, apiVersion)
buildXmlHeader(myMcc, userAgent, developerToken, apiVersion)
myMcc |
The Manager Account (MCC) needed to access the Adwords API |
userAgent |
The user agent required for the header of the XML request |
developerToken |
The developerToken required for accessing the API. Found in the API settings of the Adwords Account. |
apiVersion |
Version of the API being used. |
Returns the XML Header for the Envelope
buildXmlHeader("123-456-7890", "myUserAgent", "myD3v3l0p3r70k3n", "v201806")
buildXmlHeader("123-456-7890", "myUserAgent", "myD3v3l0p3r70k3n", "v201806")
Checks the existing Adwords token to determine whether it needs updating, and updates if necessary
checkAdwordsToken(credentials, saveNewToken = NULL, addGitignore = NULL)
checkAdwordsToken(credentials, saveNewToken = NULL, addGitignore = NULL)
credentials |
The current available token credentials which includes the access token |
saveNewToken |
Option to save the credentials to the file. (Optional) |
addGitignore |
Option to add the credentials to the .gitignore file (Optional) |
The credentials that will work in a request
Generates the initial Adwords Token
generateAdwordsToken(saveNewToken = NULL, addGitignore = NULL)
generateAdwordsToken(saveNewToken = NULL, addGitignore = NULL)
saveNewToken |
Option to save the credentials to the file. (Optional) |
addGitignore |
Option to add the credentials to the .gitignore file (Optional) |
credentials entered and generates the initial token
Retrieve the Adwords Data from the Adwords API
getReportData(reportType, startDate, endDate, clientCustomerId, credentials, attributes = NULL, segment = NULL, metrics = NULL, where = NULL, apiVersion = NULL, useRawEnumValues = NULL, includeZeroImpressions = NULL, useRequestedHeaders = NULL)
getReportData(reportType, startDate, endDate, clientCustomerId, credentials, attributes = NULL, segment = NULL, metrics = NULL, where = NULL, apiVersion = NULL, useRawEnumValues = NULL, includeZeroImpressions = NULL, useRequestedHeaders = NULL)
reportType |
The report being queries. |
startDate |
The start date for the request. |
endDate |
The end date for the request. |
clientCustomerId |
The Client Customer Id to retrieve data for. This should be in the format ("123-456-7890"). |
credentials |
The credentials for accessing the Adwords API. |
attributes |
The attributes of the report. |
segment |
The segment of the report. |
metrics |
The metrics of the report. |
where |
The conditions of the report. (Optional) |
apiVersion |
The API version that will be accessed. Defaults to "v201806". |
useRawEnumValues |
Use specified column headers used with the request, or the Adwords Display Names for column headers. Defaults to TRUE. |
includeZeroImpressions |
Whether Entries with zero impressions should be included in the data. Defaults to FALSE. |
useRequestedHeaders |
Use the headers used to retrieve the Adwords data or the Display names. |
Returns Data for the requested report.
Send XML Get Request to get a XML response.
getXmlRequest(adwordsService, xmlEnvelope, credentials, saveNewToken = NULL, addGitignore = NULL, apiVersion = NULL)
getXmlRequest(adwordsService, xmlEnvelope, credentials, saveNewToken = NULL, addGitignore = NULL, apiVersion = NULL)
adwordsService |
The Adwords service that is being requested |
xmlEnvelope |
The full XML request to be sent to the Adwords API |
credentials |
The list that contains the access token. This does not need to be valid. |
saveNewToken |
Option to save the new access token if access token has been refreshed. (Optional) |
addGitignore |
Option to add new access token to Gitignore if required. (Optional) |
apiVersion |
The version of the API being requested. Defaults to v201806. |
Please note that sending your XML request to the API does check and refresh the token automatically, if necessary.
Returns the XML output from the API request.
Loads a pre-existing token if it exists, or generates a token if it does not exist.
loadAdwordsToken(saveNewToken = NULL, addGitignore = NULL)
loadAdwordsToken(saveNewToken = NULL, addGitignore = NULL)
saveNewToken |
Option to save the credentials to the file. (Optional) |
addGitignore |
Option to add the credentials to the .gitignore file (Optional) |
loads credentials from existing token or new token
ManagedCustomerService.get
ManagedCustomerService_get(ManagedCustomerService_Selector_fields, apiVersion)
ManagedCustomerService_get(ManagedCustomerService_Selector_fields, apiVersion)
ManagedCustomerService_Selector_fields |
The fields required from the ManagedCustomerService API |
apiVersion |
Version of the API for the request. Argument is passed through from buildXmlEnvelope |
Returns the XML text for the .get request
Documentation content adapted from Google Adwords API documentation under license from CC BY 3.0
ManagedCustomerService_get(c("Name", "CustomerId"), "v201806")
ManagedCustomerService_get(c("Name", "CustomerId"), "v201806")
ManagedCustomerService.serviceSelector
ManagedCustomerService_serviceSelector(ManagedCustomerService_Selector_fields, apiVersion)
ManagedCustomerService_serviceSelector(ManagedCustomerService_Selector_fields, apiVersion)
ManagedCustomerService_Selector_fields |
The fields required from the ManagedCustomerService API |
apiVersion |
Version of the API for the request. Argument is passed through from buildXmlEnvelope |
This is used to specify the type of information to return.
Returns the XML text for the Service Selector
Documentation content adapted from Google Adwords API documentation under license from CC BY 3.0
ManagedCustomerService_get(c("Name", "CustomerId"), "v201806")
ManagedCustomerService_get(c("Name", "CustomerId"), "v201806")
Refresh the Adwords token to access the API.
refreshAdwordsToken(credentials, saveNewToken = NULL, addGitignore = NULL)
refreshAdwordsToken(credentials, saveNewToken = NULL, addGitignore = NULL)
credentials |
The current available token credentials which includes the access token |
saveNewToken |
Option to save the credentials to the file. (Optional) |
addGitignore |
Option to add the credentials to the .gitignore file (Optional) |
The credentials containing the access token that needs updating using the refresh token
TargetingIdeaService.CategoryProductsAndServicesSearchParameter
TargetingIdeaService_categoryProductsAndServicesSearchParameter( categoryProductsAndServices)
TargetingIdeaService_categoryProductsAndServicesSearchParameter( categoryProductsAndServices)
categoryProductsAndServices |
A keyword category ID (Integer) in the "Products and Services" taxonomy that all search results should belong to. |
Idea Type supported: KEYWORD
Request Type supported: IDEAS
Returns the XML text for CategoryProductsAndServicesSearchParameter Search Parameter
Documentation content adapted from Google Adwords API documentation under license from CC BY 3.0
TargetingIdeaService.CompetitionSearchParameter
TargetingIdeaService_competitionSearchParameter(competition)
TargetingIdeaService_competitionSearchParameter(competition)
competition |
Vector of Levels of competition that should be included in the results |
LOW - competition rate [0.0000, 0.3333]
MEDIUM - competition rate (0.3333, 0.6667]
HIGH - competition rate (0.6667, 1.0000]
This is not currently supported.
Documentation content adapted from Google Adwords API documentation under license from CC BY 3.0
TargetingIdeaService#get
TargetingIdeaService_get(categoryProductsAndServices, competition, ideaTextFilter_included, ideaTextFilter_excluded, includeAdultContent, language, location, network_GoogleSearch, network_SearchNetwork, relatedToQuery, relatedToUrl, searchVolumeMinimum, searchVolumeMaximum, seedAdGroupId, requestType, attributeTypes, pagingStartIndex, pagingNumberResults, apiVersion)
TargetingIdeaService_get(categoryProductsAndServices, competition, ideaTextFilter_included, ideaTextFilter_excluded, includeAdultContent, language, location, network_GoogleSearch, network_SearchNetwork, relatedToQuery, relatedToUrl, searchVolumeMinimum, searchVolumeMaximum, seedAdGroupId, requestType, attributeTypes, pagingStartIndex, pagingNumberResults, apiVersion)
categoryProductsAndServices |
A keyword category ID (Integer) in the "Products and Services" taxonomy that all search results should belong to. |
competition |
Vector of Levels of competition that should be included in the results |
ideaTextFilter_included |
The vector of strings that should be included |
ideaTextFilter_excluded |
The vector of strings that should be excluded |
includeAdultContent |
TRUE or FALSE option for including the targeting of Adult Content. |
language |
The Language (or Criterion ID) that all results should be targeted against. |
location |
The Location (or Criterion ID) that all results should be targeted against. |
network_GoogleSearch |
Whether search should be targeting Google Search |
network_SearchNetwork |
Whether search should be targeting the Google Search Network (AFS) |
relatedToQuery |
The vector of queries to post to the API as a Search Parameter. |
relatedToUrl |
The vector of URLs to post to the API, which results will be related to. |
searchVolumeMinimum |
The minimum Search Volume that should be targeted. |
searchVolumeMaximum |
The maximum Search Volume that should be targeted. |
seedAdGroupId |
The Adgroup ID that should be used as a seed for generating new ideas. |
requestType |
Represents the type of the request. |
attributeTypes |
Vector of Attributes Types. |
pagingStartIndex |
Index of the first result to return. (Optional) |
pagingNumberResults |
Maximum number of results to return. This figure is limited to 700. (Optional) |
apiVersion |
Version of the API for the request |
The main request that returns a page of ideas that match the query described by the specified TargetingIdeaSelector.
Returns the XML text for Targeting Idea Service Selector
Documentation content adapted from Google Adwords API documentation under license from CC BY 3.0
TargetingIdeaService.IdeaTextFilterSearchParameter
TargetingIdeaService_ideaTextFilterSearchParameter(ideaTextFilter_included, ideaTextFilter_excluded)
TargetingIdeaService_ideaTextFilterSearchParameter(ideaTextFilter_included, ideaTextFilter_excluded)
ideaTextFilter_included |
The vector of strings that should be included |
ideaTextFilter_excluded |
The vector of strings that should be excluded |
A maximum 200 included/excluded strings can be used
Returns the XML text for IdeaTextFilterSearchParameter Search Parameter
Documentation content adapted from Google Adwords API documentation under license from CC BY 3.0
TargetingIdeaService.IdeaType
TargetingIdeaService_ideaType()
TargetingIdeaService_ideaType()
Idea Type is currently limited to "KEYWORD" only.
Returns the XML text for Idea Type. By default, the Idea Type will be "KEYWORD" as this is the only option.
Documentation content adapted from Google Adwords API documentation under license from CC BY 3.0
TargetingIdeaService.IncludeAdultContentSearchParameter
TargetingIdeaService_includeAdultContentSearchParameter()
TargetingIdeaService_includeAdultContentSearchParameter()
If used, this function specifies whether adult content should be returned.
Returns the XML text for IncludeAdultContentSearchParameter Search Parameter if Adult content is requested to be included.
Documentation content adapted from Google Adwords API documentation under license from CC BY 3.0
TargetingIdeaService.LanguageSearchParameter
TargetingIdeaService_languageSearchParameter(language, apiVersion)
TargetingIdeaService_languageSearchParameter(language, apiVersion)
language |
The Language (or Criterion ID) of the desired languages being targeted in the results. |
apiVersion |
The API version. |
Multiple languages can be chosen, as a list. This must be in vector format.
Returns the XML text for LanguageSearchParameter Search Parameter
Documentation content adapted from Google Adwords API documentation under license from CC BY 3.0
TargetingIdeaService.LocationSearchParameter
TargetingIdeaService_locationSearchParameter(location, apiVersion)
TargetingIdeaService_locationSearchParameter(location, apiVersion)
location |
The location (or Criterion ID) of the desired locations being targeted in the results. |
apiVersion |
The API version. |
Multiple locations can be chosen.
Returns the XML text for LocationSearchParameter Search Parameter
Documentation content adapted from Google Adwords API documentation under license from CC BY 3.0
TargetingIdeaService.NetworkSearchParameter
TargetingIdeaService_networkSearchParameter(network_GoogleSearch, network_SearchNetwork, apiVersion)
TargetingIdeaService_networkSearchParameter(network_GoogleSearch, network_SearchNetwork, apiVersion)
network_GoogleSearch |
Whether results should be targeting Google Search |
network_SearchNetwork |
Whether results should be targeting the Google Search Network (AFS) |
apiVersion |
The API version |
Returns the XML text for NetworkSearchParameter Search Parameter
Documentation content adapted from Google Adwords API documentation under license from CC BY 3.0
TargetingIdeaService.Paging
TargetingIdeaService_paging(pagingStartIndex, pagingNumberResults, apiVersion)
TargetingIdeaService_paging(pagingStartIndex, pagingNumberResults, apiVersion)
pagingStartIndex |
Index of the first result to return. (Optional) |
pagingNumberResults |
Maximum number of results to return. This figure is limited to 700. (Optional) |
apiVersion |
Version of the API for the request |
pagingNumberResults is limited to 700. Any figure over 700 will be reduced to 700.
Returns the XML text for paging
Documentation content adapted from Google Adwords API documentation under license from CC BY 3.0
TargetingIdeaService.AttributeType
TargetingIdeaService_requestedAttributeTypes(attributeTypes)
TargetingIdeaService_requestedAttributeTypes(attributeTypes)
attributeTypes |
Vector of Attributes Types. |
Returns the XML text for attributeTypes
Documentation content adapted from Google Adwords API documentation under license from CC BY 3.0
TargetingIdeaService.RequestType
TargetingIdeaService_requestType(requestType)
TargetingIdeaService_requestType(requestType)
requestType |
Represents the type of the request. |
The Request Type is limited to "IDEAS" and "STATS".
"IDEAS" is currently unsupported.
Returns the XML text for request type.
Documentation content adapted from Google Adwords API documentation under license from CC BY 3.0
TargetingIdeaService.SeedAdGroupIdSearchParameter
TargetingIdeaService_searchParameters(categoryProductsAndServices, competition, ideaTextFilter_included, ideaTextFilter_excluded, includeAdultContent, language, location, network_GoogleSearch, network_SearchNetwork, relatedToQuery, relatedToUrl, searchVolumeMinimum, searchVolumeMaximum, seedAdGroupId, apiVersion)
TargetingIdeaService_searchParameters(categoryProductsAndServices, competition, ideaTextFilter_included, ideaTextFilter_excluded, includeAdultContent, language, location, network_GoogleSearch, network_SearchNetwork, relatedToQuery, relatedToUrl, searchVolumeMinimum, searchVolumeMaximum, seedAdGroupId, apiVersion)
categoryProductsAndServices |
A keyword category ID (Integer) in the "Products and Services" taxonomy that all search results should belong to. |
competition |
Vector of Levels of competition that should be included in the results |
ideaTextFilter_included |
The vector of strings that should be included |
ideaTextFilter_excluded |
The vector of strings that should be excluded |
includeAdultContent |
TRUE or FALSE option for whether results would include the targeting of Adult Content. |
language |
The Language (or Criterion ID) that all results should be targeted against. |
location |
The Location (or Criterion ID) that all results should be targeted against. |
network_GoogleSearch |
Whether results should be targeting Google Search |
network_SearchNetwork |
Whether results should be targeting the Google Search Network (AFS) |
relatedToQuery |
The vector of queries to post to the API as a Search Parameter. |
relatedToUrl |
The vector of URLs to post to the API, which results will be related to. |
searchVolumeMinimum |
The minimum Search Volume that should be targeted. |
searchVolumeMaximum |
The maximum Search Volume that should be targeted. |
seedAdGroupId |
The Adgroup ID that should be used as a seed for generating new ideas. |
apiVersion |
The version of the API |
Returns the XML text for all of the requested Search Parameters
Documentation content adapted from Google Adwords API documentation under license from CC BY 3.0
TargetingIdeaService.SearchVolumeSearchParameter
TargetingIdeaService_searchVolumeSearchParameter(searchVolumeMinimum, searchVolumeMaximum)
TargetingIdeaService_searchVolumeSearchParameter(searchVolumeMinimum, searchVolumeMaximum)
searchVolumeMinimum |
The minimum Search Volume that should be targeted. |
searchVolumeMaximum |
The maximum Search Volume that should be targeted. |
Using both parameters returns results with search volume in this regon.
Returns the XML text for SearchVolumeSearchParameter Search Parameter
Documentation content adapted from Google Adwords API documentation under license from CC BY 3.0
TargetingIdeaService.SeedAdGroupIdSearchParameter
TargetingIdeaService_seedAdGroupIdSearchParameter(seedAdGroupId)
TargetingIdeaService_seedAdGroupIdSearchParameter(seedAdGroupId)
seedAdGroupId |
The Adgroup ID that should be used as a seed for generating new ideas. |
Returns the XML text for SeedAdGroupIdSearchParameter Search Parameter
Documentation content adapted from Google Adwords API documentation under license from CC BY 3.0
TargetingIdeaService.TargetingIdeaSelector
TargetingIdeaService_selector(categoryProductsAndServices, competition, ideaTextFilter_included, ideaTextFilter_excluded, includeAdultContent, language, location, network_GoogleSearch, network_SearchNetwork, relatedToQuery, relatedToUrl, searchVolumeMinimum, searchVolumeMaximum, seedAdGroupId, requestType, attributeTypes, pagingStartIndex, pagingNumberResults, apiVersion)
TargetingIdeaService_selector(categoryProductsAndServices, competition, ideaTextFilter_included, ideaTextFilter_excluded, includeAdultContent, language, location, network_GoogleSearch, network_SearchNetwork, relatedToQuery, relatedToUrl, searchVolumeMinimum, searchVolumeMaximum, seedAdGroupId, requestType, attributeTypes, pagingStartIndex, pagingNumberResults, apiVersion)
categoryProductsAndServices |
A keyword category ID (Integer) in the "Products and Services" taxonomy that all search results should belong to. |
competition |
Vector of Levels of competition that should be included in the results |
ideaTextFilter_included |
The vector of strings that should be included |
ideaTextFilter_excluded |
The vector of strings that should be excluded |
includeAdultContent |
TRUE or FALSE option for including the targeting of Adult Content. |
language |
The Language (or Criterion ID) that all results should be targeted against. |
location |
The Location (or Criterion ID) that all results should be targeted against. |
network_GoogleSearch |
Whether search should be targeting Google Search |
network_SearchNetwork |
Whether search should be targeting the Google Search Network (AFS) |
relatedToQuery |
The vector of queries to post to the API as a Search Parameter. |
relatedToUrl |
The vector of URLs to post to the API, which results will be related to. |
searchVolumeMinimum |
The minimum Search Volume that should be targeted. |
searchVolumeMaximum |
The maximum Search Volume that should be targeted. |
seedAdGroupId |
The Adgroup ID that should be used as a seed for generating new ideas. |
requestType |
Represents the type of the request. |
attributeTypes |
Vector of Attributes Types. |
pagingStartIndex |
Index of the first result to return. (Optional) |
pagingNumberResults |
Maximum number of results to return. This figure is limited to 700. (Optional) |
apiVersion |
Version of the API for the request |
The main descriptor for choosing specified criteria.
Returns the XML text for Targeting Idea Service Selector
Documentation content adapted from Google Adwords API documentation under license from CC BY 3.0