|
||||||
Hi Jinky,
Thank you for your response, Initially we thought we set the CPA aswell, but as far as I can tell we haven’t. (Strategy id=9460504564)
Both are unchecked:
I’ve attached the log as per your request.
creating campaign:7_12027_appr_essca_online_campus
[2022-07-05T15:24:21.375462+00:00] google-ads.INFO: Request made: Host: "googleads.googleapis.com", Method: "/google.ads.googleads.v10.services.CampaignBudgetService/MutateCampaignBudgets", CustomerId: 2122223252, RequestId: "TCMNlAE1OJnSsrYyC2Fr_Q", IsFault: 0, FaultMessage: "None"
Added budget named 'customers/2122223252/campaignBudgets/11157895331'
[2022-07-05T15:24:21.718716+00:00] google-ads.WARNING: Request made: Host: "googleads.googleapis.com", Method: "/google.ads.googleads.v10.services.CampaignService/MutateCampaigns", CustomerId: 2122223252, RequestId: "fqw6JdeFbZB_B6EpgkCsgA", IsFault: 1, FaultMessage: "["Cannot attach bidding strategy to campaign."]"
[2022-07-05T15:24:21.718829+00:00] google-ads.NOTICE: Request
-------
Method Name: /google.ads.googleads.v10.services.CampaignService/MutateCampaigns
Host: googleads.googleapis.com
Headers: {
"x-goog-api-client": "gl-php\/8.0.18 gccl\/14.0.0 gapic\/14.0.0 gax\/1.12.0 grpc\/1.42.0 rest\/1.12.0",
"x-goog-request-params": "customer_id=2122223252",
"developer-token": "REDACTED",
"login-customer-id": "1496918513"
}
Request:
{"customerId":"2122223252","operations":[{"create":{"name":"7_12027_appr_essca_online_campus","status":"ENABLED","advertisingChannelType":"DISPLAY","networkSettings":{"targetGoogleSearch":false,"targetSearchNetwork":false,"targetContentNetwork":true,"targetPartnerSearchNetwork":false},"geoTargetTypeSetting":{"positiveGeoTargetType":"PRESENCE"},"campaignBudget":"customers/2122223252/campaignBudgets/11157895331","startDate":"20220705","endDate":"20230422","frequencyCaps":[{"key":{"level":"CAMPAIGN","eventType":"IMPRESSION","timeUnit":"DAY"},"cap":3}],"biddingStrategy":"customers/2122223252/biddingStrategies/9460504564"}}]}
Response
-------
Headers: {
"request-id": "fqw6JdeFbZB_B6EpgkCsgA",
"date": "Tue, 05 Jul 2022 15:24:09 GMT",
"alt-svc": "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000,h3-Q050=\":443\"; ma=2592000,h3-Q046=\":443\"; ma=2592000,h3-Q043=\":443\"; ma=2592000,quic=\":443\"; ma=2592000; v=\"46,43\""
}
Fault
-------
Status code: 3
Details: Request contains an invalid argument.
Failure: {"errors":[{"errorCode":{"biddingError":"CANNOT_ATTACH_BIDDING_STRATEGY_TO_CAMPAIGN"},"message":"Cannot attach bidding strategy to campaign.","trigger":{"stringValue":""},"location":{"fieldPathElements":[{"fieldName":"operations","index":0},{"fieldName":"create"},{"fieldName":"bidding_strategy"}]}}],"requestId":"fqw6JdeFbZB_B6EpgkCsgA"}
Google\Ads\GoogleAds\Lib\V10\GoogleAdsException
{
"message": "Request contains an invalid argument.",
"code": 3,
"status": "INVALID_ARGUMENT",
"details": [
{
"@type": "google.ads.googleads.v10.errors.googleadsfailure-bin",
"data": "<Unknown Binary Data>"
},
{
"@type": "grpc-status-details-bin",
"data": "<Unknown Binary Data>"
},
{
"@type": "request-id",
"data": "fqw6JdeFbZB_B6EpgkCsgA"
}
]
}
Met vriendelijke groet,
Remco van Grinsven
|
T +31 (0) 413 395 400 |
Van: Google Ads API Forum Advisor <ads...@forumsupport.google>
Verzonden: dinsdag 5 juli 2022 12:15
Aan: Studyportals <studyp...@lanthopusmarketing.nl>
CC: adwor...@googlegroups.com
Onderwerp: RE: Applying "Portfolio Bid Strategy" With "Maximize conversions" to a Display campaign results into CANNOT_ATTACH_BIDDING_STRATEGY_TO_CAMPAIGN
Hi,
Thank you for raising this to the Google Ads API Forum.
To provide insights in this scenario, you mentioned this line " When trying to apply a custom bid strategy with "Maximize conversions" to a Display campaign through the API we get the following response: ".
With this, when you are attaching maximize conversion, I am assuming that you are setting the target CPA as well. However,kindly note that according to this
document
, the setting of the target CPA is for Search-only and this is the possible reason why the error persists.
That said, I would suggest to not set the target CPA when attaching a maximize conversion bidding strategy to display campaigns.
If the error still persists after trying the provided suggestions, you can provide the complete API request and response logs with request-id and login-customer-id that
generated on your end? You can provide it via the Reply privately to author option. If this option is not available, then send it instead on this email address googleadsa...@google.com.
Best regards,
|
||||||