Re: java streaming to google ads

2024-03-20 Thread Don Mitchell
Thanks. Given that we average 500k records in this one job, that's 250 API calls. How awkward. Seems strange for a protocol (protobuf) which natively supports streaming. If you could put in a request for enhancement, that'd be great. On Wed, 20 Mar 2024 at 08:20, Google Ads API Forum Advisor

Re: actor pattern to maximize parallel api requests while honoring rate limit exceptions

2023-08-01 Thread Don Mitchell
I wrote it to handle QuotaErrorEnum.QuotaError when I had dozens of concurrent processes hitting your API and your API getting very upset that the other process stacks kept sending API requests, but that said, it's not a request for help but instead help for those who may be in a similar

Re: Mutate Campaign partial failures?

2021-04-05 Thread Don Mitchell
Ugh, I see, need to create and pass MutateCampaignsRequest and set it there. On Mon, Apr 5, 2021 at 9:04 AM Google Ads API Forum Advisor Prod < adsapiforumadvi...@gmail.com> wrote: > Hi Don, > > I see that you were trying to set the partial failure on > the CampaignOperation. You will need to

Re: Mutate Campaign partial failures?

2021-04-01 Thread Don Mitchell
com.google.ads.googleads.v6.services.CampaignOperation.Builder denies the setPartialFailures method's existence. Nothing in CampaignOperation nor the builder's superclasses references failure. On Thu, Apr 1, 2021 at 10:08 AM Google Ads API Forum Advisor Prod < adsapiforumadvi...@gmail.com> wrote:

Re: EntityCountLimitExceeded.ADGROUP_LIMIT of "TEXT_CREATIVES_PER_ADGROUP"

2020-06-02 Thread Don Mitchell
It's interesting that the OP's example says there are 32 existing out of a limit of 50. I'm seeing similar numbers with this exception. However, I also see in the OP that the error occurs on item 19; so, it could be that all 18 operations before this one were against the same ad group which

Keyword length limit: is it chars or bytes?

2019-10-09 Thread Don Mitchell
The docs say "Keyword length 80 characters" If the keyword has doublebyte chars, is it 80 chars or 80 bytes? -- -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ Also find us on our blog: https://googleadsdeveloper.blogspot.com/ =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ You received

Re: AdGroupFeedError.CANNOT_OPERATE_ON_DELETED_ADGROUP_FEED

2019-04-30 Thread Don Mitchell
afaik, there's no such thing as an ad group feed. There's a feed which is defined at the account. The feed has items (also account wide addressable). You can map and unmap ad groups, campaigns, and accounts to feed items in feeds (many:many) to designate which items should show with which

API paging while deleting

2019-03-07 Thread Don Mitchell
If my account has over 5000 of an object type (say ad_group, feed mapping, feed items, keywords), If I write a loop intending to remove them all, If the loop first does a get where status = ENABLED for the 5000 page size, then the loop does a mutate with operation REMOVE against all the entities

feed status from feed service is 'removed' but from ad group feed service it's 'enabled'

2019-02-20 Thread Don Mitchell
FeedService returns status REMOVED for 26652541 but AdGroupFeedService returns ENABLED which is causing my code to think there's an active feed it doesn't know about. 1. does my feed deletion need to also delete it at the ad group level even tho it's the same object? 2. is there any

Re: Ads (beta) api operation limits

2018-08-10 Thread Don Mitchell
Ctype.googleapis.com/google.ads.googleads.v0.errors.GoogleAdsFailure\x12@\n>\n\x02\b\r\x128Received 2000 operations, exceeding the maximum of 1000.", "request-id"=> "aIELZe9qUXmF1KoeDy2tTA"} On Wednesday, 8 August 2018 16:15:59 UTC-4, Don Mitchell wrote: > >

Ads (beta) api operation limits

2018-08-08 Thread Don Mitchell
Even though the beta Ads api uses a streaming protocol, it still has operation limits. For CampaignBudget.mutate_campaign_budgets (DELETE operation), it told me the limit is 1000. In general are the limits 5000 per request as per the adwords limits

*Ads* (not adwords) api: how to query for and decode repeated object fields?

2018-08-03 Thread Don Mitchell
For a field like `ad_group_ad.ad.url_custom_parameters` which is a repeated field of objects, will `GoogleAds.search` return a list of objects if queried like that or does your code need to query ` ad_group_ad.ad.url_custom_parameters.key, ad_group_ad.ad.url_custom_parameters.value` and then

Ads API operations limits

2018-07-20 Thread Don Mitchell
I can't find doc on the operations limits for the Ads API (beta). Does anyone know is it per service or universal? Is it a the same over all customers? Can they point me to the doc or tell me the

Feedback for google-ads-ruby

2018-07-20 Thread Don Mitchell
I believe the resources should define getters and setters for all the attributes which do the appropriate wrapper calls rather than expecting the user of the api to tediously call wrapper as in the following payload = client.resource(:CampaignBudget) payload.name = client.wrapper.string(name)