Hi,
Getting "CANNOT_TARGET_PARTNER_SEARCH_NETWORK" error while setting partner
search network in campaign networkSettings.How to I enable or disable
partner search network as this feature was available in Adwords API. Any
guidance on the same would be nice.
Below is the request and response for the same.
Request
-------
MethodName: google.ads.googleads.v2.services.CampaignService/MutateCampaigns
Endpoint: googleads.googleapis.com:443
Headers: {developer-token=REDACTED, login-customer-id=aaaaa,
x-goog-api-client=gl-java/1.8.0_201 gapic/ gax/1.45.0 grpc/1.21.0}
Body: customer_id: "bbbbb"
operations {
update {
resource_name: "customers/bbbbb/campaigns/ccccc"
status: PAUSED
network_settings {
target_google_search {
value: true
}
target_search_network {
value: true
}
target_content_network {
}
target_partner_search_network {
value: true
}
}
}
update_mask {
paths: "resource_name"
paths: "status"
paths: "network_settings.target_google_search"
paths: "network_settings.target_search_network"
paths: "network_settings.target_content_network"
paths: "network_settings.target_partner_search_network"
}
}
partial_failure: true
Response
--------
Headers:
Metadata(content-disposition=attachment,content-type=application/grpc,request-id=38MFo1PgB1TYAL3yGPmm2w,date=Tue,
14 Jan 2020 11:40:51 GMT,alt-svc=quic=":443"; ma=2592000;
v="46,43",h3-Q050=":443"; ma=2592000,h3-Q049=":443";
ma=2592000,h3-Q048=":443"; ma=2592000,h3-Q046=":443";
ma=2592000,h3-Q043=":443"; ma=2592000)
Body: results {
}
partial_failure_error {
code: 3
message: "Only some Google partners are allowed to target partner search
network., at operations[0].update.network_settings"
details {
type_url:
"type.googleapis.com/google.ads.googleads.v2.errors.GoogleAdsFailure"
value: "\n\201\001\n\002x\b\022GOnly some Google partners are allowed
to target partner search
network.\032\002*\000\".\022\016\n\noperations\022\000\022\b\n\006update\022\022\n\020network_settings"
}
}
Failure message: null
Status: Status{code=OK, description=null, cause=null}.
[error_code {
campaign_error: *CANNOT_TARGET_PARTNER_SEARCH_NETWORK*
}
message: "*Only some Google partners are allowed to target partner search
network.*"
trigger {
string_value: ""
}
location {
field_path_elements {
field_name: "operations"
index {
}
}
field_path_elements {
field_name: "update"
}
field_path_elements {
field_name: "network_settings"
}
}
]
--
--
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 [email protected]
To unsubscribe from this group, send email to
[email protected]
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 [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/adwords-api/e0b135e6-6249-4b61-adb4-27dd0a12e916%40googlegroups.com.