Hi, 

I keep getting strange errors when I try to fetch a campaign report that 
includes the "campaign.labels" field in the SELECT query:


[2020-06-10 16:54:10,880 - INFO] Request
-------
Method: /google.ads.googleads.v3.services.GoogleAdsService/SearchStream
Host: googleads.googleapis.com:443
Headers: {
  "developer-token": "REDACTED",
  "login-customer-id": "987654321",
  "x-goog-api-client": "gl-python/3.8.2 grpc/1.27.2 gax/1.17.0 gapic/5.1.0",
  "x-goog-request-params": "customer_id=123456789"
}
Request: customer_id: "123456789"
query: "SELECT campaign.id, campaign.name, campaign.labels, 
campaign.advertising_channel_type, metrics.clicks, metrics.cost_micros, 
metrics.conversions, metrics.conversions_value FROM campaign WHERE 
segments.date BETWEEN \"2017-06-01\" AND \"2020-06-09\""


Response
-------
Headers: {
  "google.ads.googleads.v3.errors.googleadsfailure-bin": 
"\n7\n\u0002\b\u0001\u0012&The error code is not in this 
version.\u001a\t*\u0007Day.day\nY\n\u0002\b\u0001\u0012&The error code is 
not in this 
version.\u001a+*)A_campaign__CampaignAssociation.entity_id\nO\n\u0002\b\u0001\u0012&The
 
error code is not in this 
version.\u001a!*\u001fCampaignAssociation.campaign_id\nO\n\u0002\b\u0001\u0012&The
 
error code is not in this 
version.\u001a!*\u001fCampaignAssociation.entity_type\n,\n\u0002\b\u0001\u0012&The
 
error code is not in this version.",
  "grpc-status-details-bin": "\b\u0003\u0012%Request contains an invalid 
argument.\u001a\u0003\nCtype.googleapis.com/google.ads.googleads.v3.errors.GoogleAdsFailure\u0012\u0002\n7\n\u0002\b\u0001\u0012&The
 
error code is not in this 
version.\u001a\t*\u0007Day.day\nY\n\u0002\b\u0001\u0012&The error code is 
not in this 
version.\u001a+*)A_campaign__CampaignAssociation.entity_id\nO\n\u0002\b\u0001\u0012&The
 
error code is not in this 
version.\u001a!*\u001fCampaignAssociation.campaign_id\nO\n\u0002\b\u0001\u0012&The
 
error code is not in this 
version.\u001a!*\u001fCampaignAssociation.entity_type\n,\n\u0002\b\u0001\u0012&The
 
error code is not in this version.",
  "request-id": "-1LZX01Md9L2bk35eQFGug"
}
Fault: errors {
  error_code {
    request_error: UNKNOWN
  }
  message: "The error code is not in this version."
  trigger {
    string_value: "Day.day"
  }
}
errors {
  error_code {
    request_error: UNKNOWN
  }
  message: "The error code is not in this version."
  trigger {
    string_value: "A_campaign__CampaignAssociation.entity_id"
  }
}
errors {
  error_code {
    request_error: UNKNOWN
  }
  message: "The error code is not in this version."
  trigger {
    string_value: "CampaignAssociation.campaign_id"
  }
}
errors {
  error_code {
    request_error: UNKNOWN
  }
  message: "The error code is not in this version."
  trigger {
    string_value: "CampaignAssociation.entity_type"
  }
}
errors {
  error_code {
    request_error: UNKNOWN
  }
  message: "The error code is not in this version."
}


The error remains the same no matter if I there are lables to be fetched or 
not.

The exact same request without the "campaign.labels" field in the SELECT 
query works fine. 
Would you please look into it and tell me, what the problem is?

Regards 
Mat

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/c44bb093-e94b-4784-bed8-b748c413c635o%40googlegroups.com.

Reply via email to