Hello,
Can you please clarify what you are looking to accomplish with your code
snippet? In your first snippet, I can see that you are creating a campaign and
then retrieving it. However, it is unclear what you are looking to do in your
second snippet. Kindly clarify so that I may guide you in
I may did mistake, have used SET but it for update operation instead that i
may need to use selectors with get method as in below
$selector = new Selector();
$selector->setFields(['Id']);
$selector->setPredicates(
[
new Predicate('Id', PredicateOperator
Thanks for the quick response, i have done with Campaign and AdGroups data
using get method, working on Ads part, if any will ask you. FYI - added
part of my code to get campaign details, the same way done for adgroups,
please correct me if am in wrong way.
$session = self::setSession();
Hello,
Yes, you will have to use the get() methods within each service to pull the
data you are looking for. Here are the respective links to the services you are
looking for in AdWords API:
CampaignService
AdService
AdGroupService
For code samples, you can refer to this documentation. If you
So you mean that i need to call respective getter method to fetch details
right. However am using Adwords API v201809, please share link respective
to this. Thanks.
On Wednesday, August 5, 2020 at 11:22:44 PM UTC+5:30, adsapiforumadvisor
wrote:
>
> Hello,
>
> Thank you for reaching out. Using t
Hello,
Thank you for reaching out. Using the respective get() methods within
CampaignService, AdGroupService, and AdService will allow you to retrieve data
on Campaign, AdGroup and Ad, respectively. You will be able to filter your
requests by id by using Google Ads Query Language. For sample co