Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can add NetworkSearchParameter on TargetIdeaService #58

Open
maran1989 opened this issue Feb 6, 2018 · 3 comments
Open

Can add NetworkSearchParameter on TargetIdeaService #58

maran1989 opened this issue Feb 6, 2018 · 3 comments

Comments

@maran1989
Copy link

Hello Chris,

Does your TargetIdeaService can add NetWorkSearchParameter?

Thanks!

Best Regards,
maran

@maran1989
Copy link
Author

I have tried this:
'xsi:type': 'NetworkSearchParameter',
networkSetting: [{'targetGoogleSearch': true}, {'targetSearchNetwork': false}, {'targetContentNetwork': false}, {'targetPartnerSearchNetwork': false} ]

but it will get an error: "faultstring": "Unmarshalling Error: cvc-complex-type.2.4.a: Invalid content was found starting with element 'targetGoogleSearch'. One of '{"https://adwords.google.com/api/adwords/cm/v201710\":targetGoogleSearch, "https://adwords.google.com/api/adwords/cm/v201710\":targetSearchNetwork, "https://adwords.google.com/api/adwords/cm/v201710\":targetContentNetwork, "https://adwords.google.com/api/adwords/cm/v201710\":targetPartnerSearchNetwork}' is expected."

@ChrisAlvares
Copy link
Owner

ChrisAlvares commented May 23, 2018

You need to make sure your keys are in the order of the documentation, see: https://github.com/ChrisAlvares/node-adwords#ordering

@Katsios
Copy link

Katsios commented Mar 4, 2019

            {
                    'xsi:type': 'NetworkSearchParameter',
                    networkSetting: {
                        'cm:targetGoogleSearch': true, 
                        'cm:targetSearchNetwork': false, 
                        'cm:targetContentNetwork': false, 
                        'cm:targetPartnerSearchNetwork': false
                        }
            },

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants