You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It does not print anything, I have tries with multiple customer ids.
Also , by looking at the API and other example of apply recommendation , I tried to use get recommendation from Recommendation Service. I do not know what should be resource name to get recommendations for text ads. I tried with 'google.ads.googleads.v1.resources.Recommendation.TextAdRecommendation' but it gives the following error.
`google.ads.google_ads.errors.GoogleAdsException: (<_Rendezvous of RPC that terminated with:
status = StatusCode.NOT_FOUND
details = "Requested entity was not found."
debug_error_string = "{"created":"@1553604325.576345000","description":"Error received from peer","file":"src/core/lib/surface/call.cc","file_line":1036,"grpc_message":"Requested entity was not found.","grpc_status":5}"
, <_Rendezvous of RPC that terminated with:
status = StatusCode.NOT_FOUND
details = "Requested entity was not found."
debug_error_string = "{"created":"@1553604325.576345000","description":"Error received from peer","file":"src/core/lib/surface/call.cc","file_line":1036,"grpc_message":"Requested entity was not found.","grpc_status":5}"
, errors {
error_code {
request_error: BAD_RESOURCE_ID
}
message: "'google.ads.googleads.v1.resources.Recommendation.TextAdRecommendation' part of the resource name is invalid."
}
`
Kindly update how to use the example to get recommendations for text ad.
Regards
Pratiksha
The text was updated successfully, but these errors were encountered:
@pratiksha-cobiro Apologies for the delay here - are you continuing to have this problem? For reference, resource names are unique identifiers for individual resources, such as recommendations. See the reference page for recommendations for more details on each field.
To select recommendations for text ads, you will need to filter by the type field, for example:
Hello
I am trying the following piece of code
https://github.com/googleads/google-ads-python/blob/master/examples/recommendations/get_text_ad_recommendations.py
It does not print anything, I have tries with multiple customer ids.
Also , by looking at the API and other example of apply recommendation , I tried to use get recommendation from Recommendation Service. I do not know what should be resource name to get recommendations for text ads. I tried with 'google.ads.googleads.v1.resources.Recommendation.TextAdRecommendation' but it gives the following error.
`google.ads.google_ads.errors.GoogleAdsException: (<_Rendezvous of RPC that terminated with:
status = StatusCode.NOT_FOUND
details = "Requested entity was not found."
debug_error_string = "{"created":"@1553604325.576345000","description":"Error received from peer","file":"src/core/lib/surface/call.cc","file_line":1036,"grpc_message":"Requested entity was not found.","grpc_status":5}"
Kindly update how to use the example to get recommendations for text ad.
Regards
Pratiksha
The text was updated successfully, but these errors were encountered: