RE: TargetingIdeaService NetworkSetting XML Error

2020-12-14 Thread Google Ads API Forum Advisor Prod
Hi Jared,

Thank you for reaching out. If you elect to configure the 
NetworkSearchParameter, then please add in all the four networkSettings, which 
means also provide the configurations for the targetSearchNetwork, 
targetContentNetwork and targetPartnerSearchNetwork as described in this 
example.

Thanks and regards,
Xiaoming, Google Ads API Team

Xiaoming
Google Ads API Team
ref:_00D1U1174p._5004Q28p81M:ref

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog:
https://googleadsdeveloper.blogspot.com/
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords API and Google Ads API Forum" group.
To post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"AdWords API and Google Ads API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/ARDWd0QLCK9P00O84S6ELvQkuCqEqVZA71aA%40sfdc.net.


Re: TargetingIdeaService NetworkSetting XML Error

2020-12-10 Thread jal...@roirevolution.com
Looks like my screenshots aren't being shown in my message above.

Here's the raw text of the error:

Error: soap:Client: Unmarshalling Error: cvc-complex-type.2.4.a: Invalid 
content was found starting with element 
'{"https://adwords.google.com/api/adwords/o/v201809":targetGoogleSearch}'. 
One of 
'{"https://adwords.google.com/api/adwords/cm/v201809":targetGoogleSearch, 
"https://adwords.google.com/api/adwords/cm/v201809":targetSearchNetwork, 
"https://adwords.google.com/api/adwords/cm/v201809":targetContentNetwork, 
"https://adwords.google.com/api/adwords/cm/v201809":targetPartnerSearchNetwork}'
 
is expected.


And here's the selector we're using in our request:

const selector = {
  searchParameters: [{
  'xsi:type': 'RelatedToQuerySearchParameter',
  queries: ['coffee']
},
{
  'xsi:type': 'NetworkSearchParameter',
  networkSetting: {
 targetGoogleSearch: true
  }
},
  ],
  ideaType: 'KEYWORD',
  requestType: 'STATS',
  requestedAttributeTypes: ['SEARCH_VOLUME', 'KEYWORD_TEXT'],
  paging: {
numberResults: 10
  },
  localeCode: 'en_US'
}
On Thursday, December 10, 2020 at 4:09:15 PM UTC-5 jal...@roirevolution.com 
wrote:

> Hello,
>
> We are having trouble making a request to the TargetingIdeaService using 
> the 'NetworkSearchParameter' using the 'networkSetting' option. 
>
> Here's the error indicating that we have the incorrect value for 
> 'targetGoogleSearch' even though it's specified as a boolean in the 
> reference docs:
>
> Here's the selector we are using in the request:
>
>
> Can anyone clarify what's going wrong here?
>
> Thanks!
> Jared Allen
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog:
https://googleadsdeveloper.blogspot.com/
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords API and Google Ads API Forum" group.
To post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"AdWords API and Google Ads API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/7cc55aa5-34b2-4c53-a56e-fbabb4068833n%40googlegroups.com.