Re: find gclid using campaign id

2024-05-19 Thread D. H.
And with apologies for missing the 90 days part, as well as limiting results to one day, you cannot fetch results older than 90 days. This query returns an error for me: SELECT click_view.gclid, campaign.id FROM click_view WHERE segments.date = '2024-02-01' GoogleAdsException:

Re: find gclid using campaign id

2024-05-19 Thread D. H.
Hi, You need to include a filter to limit the results to a single day. This query works for me: SELECT click_view.gclid, campaign.id FROM click_view WHERE segments.date = '2024-05-01' As does this: SELECT click_view.gclid, campaign.id FROM click_view WHERE segments.date BETWEEN '2024-05-01'

Re: Google Ads API header_error: INVALID_LOGIN_CUSTOMER_ID

2024-04-23 Thread D. H.
"The login customer id header \\\'Optional[XXX-XXX-]\\\' could not be validated." If you're passing in the customer ID value with hyphens like "111-222-" you need to pass without for the API: "111222". D.H. -- -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ Also find

Re: Exponential/scientific notation for DUOBLE fields

2024-02-15 Thread D. H.
Hi, Using the python client library I get values returned as "normal" floats like "0.9605413375709904" for campaign optimization score, from the campaign query report. Is it possible something in your process is converting/interpreting the number in scientific notation? What does the initial

Re: Error on getting Metrics from Asset_group

2023-11-21 Thread D. H.
Hi, Are you using v15 of the API or an earlier version? Looks like metrics for asset groups were added in v15: https://ads-developers.googleblog.com/2023/10/announcing-v15-of-google-ads-api.html And: https://developers.google.com/google-ads/api/fields/v15/asset_group I get a similar error

Re: Mutating Ad by specifying ad_id and ad_group_id / campaign_id

2023-10-29 Thread D. H.
Hi, I've run into the same issue when creating Campaign Experiments. There are two states with three different campaigns with different results. Let's consider this to be our BASE campaign: customers/1234567890/campaigns/2345678901. This campaign will have a campaign.experiment_type field

Re: forecast_period: The end time is invalid.

2023-10-29 Thread D. H.
The forecast period must be within one day from today (e.g., tomorrow) to within one year from today: https://developers.google.com/google-ads/api/reference/rpc/v15/GenerateKeywordForecastMetricsRequest So when you were testing on 2023-10-25 the last date you could have requested was